[Bug 1493208] [NEW] local-avahi-notification doesn't show its message localized

Gabor Kelemen kelemeng at openscope.org
Tue Sep 8 05:28:28 UTC 2015


Public bug reported:

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.

** Affects: update-notifier (Ubuntu)
     Importance: Undecided
         Status: New

** Branch linked: lp:~kelemeng/update-notifier/bug1493208

-- 
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:
  New

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