[Bug 1493208] Re: local-avahi-notification doesn't show its message localized
Launchpad Bug Tracker
1493208 at bugs.launchpad.net
Fri Sep 18 09:01:41 UTC 2015
This bug was fixed in the package update-notifier - 3.163
---------------
update-notifier (3.163) wily; urgency=medium
* Call setlocale(LC_ALL, "") in avahi.c, so that the message there is
translated. Thanks Gabor Kelemen. (LP: #1493208)
-- Iain Lane <iain at orangesquash.org.uk> Thu, 17 Sep 2015 14:04:23
+0100
** Changed in: update-notifier (Ubuntu)
Status: Triaged => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-notifier in Ubuntu.
https://bugs.launchpad.net/bugs/1493208
Title:
local-avahi-notification doesn't show its message localized
Status in update-notifier package in Ubuntu:
Fix Released
Bug description:
This is a followup to bug #1478249 and this side effect commit:
http://bazaar.launchpad.net/~ubuntu-core-dev/update-
notifier/ubuntu/revision/863
So in there the domain name used for localization is fixed.
But that's not enough, the message local-avahi-notification displays is still not localized in a fresh build.
The reason is that the locale is not specified. In other binaries of update-notifier there is a call to gtk_init() which does that. This one has no gtk_init(), so we need to manually call setlocale(). After that the message appears just fine for me.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1493208/+subscriptions
More information about the foundations-bugs
mailing list