Date: Sun, 04 Jan 2004 14:42:14 +0100 From: Franz Klammer <klammer@webonaut.com> To: FreeBSD GNOME Users <gnome@freebsd.org> Subject: new bugzilla.gnome.org entry: extend i18n.py to try default "gdesklets"-gettext domain Message-ID: <3FF81836.2020809@webonaut.com>
index | next in thread | raw e-mail
[-- Attachment #1 --] http://bugzilla.gnome.org/show_bug.cgi?id=130509 i18n doesn't work with most gdesklets-sensors because the developers are defining a domain but providing there files under gdesklets.mo i've extended i18n.py to catch this. i've submitted a PR (ports/60891) that installes the mo-files but i think it's easier to add the attached patch to gdesklets in the meantime. franz. [-- Attachment #2 --] --- utils/i18n.py.orig Sun Jan 4 13:56:21 2004 +++ utils/i18n.py Sun Jan 4 14:26:10 2004 @@ -12,6 +12,9 @@ translate = gettext.translation(domain, localedir).gettext except: - translate = dummy + try: + translate = gettext.translation("gdesklets", localedir).gettext + except: + translate = dummy return translatehome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FF81836.2020809>
