On Tue, 13 Jun 2017 at 18:35:23 +0200, Ludwig Nussel wrote:
> So this patch makes polkit call into gettext with the domain
> 'polkit-action-distro-translations' if an xml doesn't contain
> translations for the requested language.

Would it perhaps be better to have the XML specify a gettext domain,
perhaps with some default? That's what GLib's GSettings does: you
write something like <schemalist gettext-domain="gnome-terminal">
to look for translations in gnome-terminal.mo (which is a real example
if you want to see it in action).

(I assume you already have some way to ship updated versions of
arbitrary .mo files so that you can localize messages, etc.)

    S
_______________________________________________
polkit-devel mailing list
polkit-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/polkit-devel

Reply via email to