"Settings..." button does not appear translated in the UI

Bug #434107 reported by Tomasz Dominikowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Translations
Fix Released
Undecided
Unassigned
update-manager (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: update-manager

It does appear in the template, with a fairly cryptic "Settings…" string, but nevertheless the button does not appear translated in the UI of update manager in karmic current.

Tags: i18n
tags: added: i18n
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

It seems like this is currently not translatable, might be a gettext issue. A trivial fix is to apply:

--- data/glade/UpdateManager.ui 2009-09-24 11:29:09 +0000
+++ data/glade/UpdateManager.ui 2009-09-24 12:34:41 +0000
@@ -418,7 +418,7 @@
             <property name="spacing">12</property>
             <child>
               <object class="GtkButton" id="button_settings">
- <property name="label" translatable="yes">Settings&#x2026;</property>
+ <property name="label" translatable="yes">Settings...</property>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="can_default">True</property>

Changed in update-manager (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
milestone: none → ubuntu-9.10-beta
Revision history for this message
Michael Vogt (mvo) wrote :

For the record, i tried:

=== modified file 'data/glade/UpdateManager.ui'
--- data/glade/UpdateManager.ui 2009-09-24 15:50:01 +0000
+++ data/glade/UpdateManager.ui 2009-09-24 15:53:23 +0000
@@ -418,7 +418,7 @@
             <property name="spacing">12</property>
             <child>
               <object class="GtkButton" id="button_settings">
- <property name="label" translatable="yes">Settings...</property>
+ <property name="label" translatable="yes">Settings…</property>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="can_default">True</property>

=== modified file 'po/de.po'
--- po/de.po 2009-09-06 20:41:05 +0000
+++ po/de.po 2009-09-24 15:54:44 +0000
@@ -2002,8 +2002,8 @@
 " ◦ Bei Verwendung einer Vorabversion von Ubuntu"

 #: ../data/glade/UpdateManager.ui.h:19
-msgid "Settings&#x2026;"
-msgstr ""
+msgid "Settings…"
+msgstr "Einstellungen…"

To see if it is a gettext issue and that does not work for me.

Revision history for this message
Michael Vogt (mvo) wrote :

But it appears in the mo file:

$ msgunfmt /usr/share/locale/de/LC_MESSAGES/update-manager.mo|grep -A2 Sett
...
msgid "Settings…"
msgstr "Einstellungen…"
...

Revision history for this message
Michael Vogt (mvo) wrote :

Comment #2 is wrong, with the unicode char in the .ui file it works correctly.

Revision history for this message
Данило Шеган (danilo) wrote :

The bug doesn't sound like a gettext (or intltool) bug to me. I'd say it points at GtkBuilder issue, but I haven't at all looked into it, so it'd just a very wild guess.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package update-manager - 1:0.125.3

---------------
update-manager (1:0.125.3) karmic; urgency=low

  * DistUpgrade/DistUpgrade.cfg.hardy:
    - fix upgrades from hardy by allowing the removal of sysvutils
  * data/glade/UpdateManager.ui:
    - remove dialog title for cache open progress (LP: #435653)
  * DistUpgrade/DistUpgradeQuirks.py:
    - add translators hints for some strings (LP: #433116)
  * UpdateManager/Core/DistUpgradeFetcherCore.py:
    - fixed typo (thanks to Henrique P. Machado)
  * UpdateManager/UpdateManager.py:
    - fix i18n issues with gtkbuilder
  * DistUpgrade/DistUpgradeQuirks.py:
    - stop kblueplugd kbluetooth when the upgrade starts to
      avoid them crashing during the upgrade
      (thanks to Jonathan Riddell)
  * UpdateManager/backend/InstallBackendAptdaemon.py
    - setup correct window icon
  * data/glade/UpdateManager.ui:
    - switch from unicode &#x2026; to "..." until the issues with
      gettext is resolved (LP: #434107)

 -- Michael Vogt <email address hidden> Thu, 24 Sep 2009 18:41:22 +0200

Changed in update-manager (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks Danilo for looking into this. I was initially thinking it might be fixed via intltool-extract by simply unescaping the char, but I guess its best if glade just writes it out without escaping into the .ui file.

Adi Roiban (adiroiban)
Changed in ubuntu-translations:
status: New → Fix Released
Changed in glade-2.old:
status: Unknown → Fix Released
Changed in glade-2.old:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.