[Bug 263498] www/netsurf: Preferences UI builder init failed when running with LANG=pl_PL.UTF-8
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 23 Apr 2022 20:43:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263498 Bug ID: 263498 Summary: www/netsurf: Preferences UI builder init failed when running with LANG=pl_PL.UTF-8 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: nc@FreeBSD.org Reporter: saper@saper.info Flags: maintainer-feedback?(nc@FreeBSD.org) Assignee: nc@FreeBSD.org Created attachment 233424 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=233424&action=edit use "enoptions" resource name for unknown locales This is a follow up to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254702 running "env LANG=pl_PL.UTF-8 netsurf-gtk3 -v" : the browser starts fine, preferences windows does not open, the logfile says (9.232225) frontends/gtk/preferences.c:982 GtkWidget *nsgtk_preferences(struct browser_window *, GtkWindow *): Preferences UI builder init failed running "env LANG=fr_FR.UTF-8 netsurf-gtk3 -v" : the browser starts fine, the preferences window does open in French. I have traced this back to the issue with the patch for https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254702: fallback UI resource name has been called "enoption" and not "enoptions". FreeBSD locale problems have been also reported https://bugs.netsurf-browser.org/mantis/view.php?id=2045 maybe our solution is worth upstreaming. I think the whole fix to the issue at hand is a bit shabby, maybe we could come up with something better. Quick fix attached. -- You are receiving this mail because: You are the assignee for the bug.