An English menu entry in German locale in gajim

Bug #162584 reported by Thomas Boje
2
Affects Status Importance Assigned to Milestone
gajim (Ubuntu)
Fix Released
Low
Nafallo Bjälevik

Bug Description

Binary package hint: gajim

Gajim reports itself as version 0.11.2

$LANG: de_DE.UTF-8@euro
English: Actions -> Add Contact
German (is now): Aktionen -> Add Contact
German (should be): Aktionen -> Kontakt hinzufügen
(note the umlaut (html's ü))

I think previous versions had this already translated.

Related branches

Revision history for this message
Nafallo Bjälevik (nafallo) wrote :

#: ../data/glade/account_context_menu.glade.h:2
msgid "_Add Contact..."
msgstr "Kontakt _hinzufügen..."

Revision history for this message
Nafallo Bjälevik (nafallo) wrote :

nafallo@wizard:~$ grep Kontakt\ \_hinzufügen /usr/share/locale/de/LC_MESSAGES/gajim.mo
Binary file /usr/share/locale/de/LC_MESSAGES/gajim.mo matches

It's in Gajim on my system. Please run that command and give the output.

Changed in gajim:
status: New → Invalid
Revision history for this message
Thomas Boje (tb7653) wrote :

$ LC_ALL=C grep Kontakt\ \_hinzufügen /usr/share/locale/de/LC_MESSAGES/gajim.mo
Binary file /usr/share/locale/de/LC_MESSAGES/gajim.mo matches

I looked around a little, and I think that the untranslated (i.e. English) string might have changed lately. If the translation has not been updated, the string can not be found and is not used.

(partially): grep Contact /usr/share/gajim/data/glade/*
/usr/share/gajim/data/glade/account_context_menu.glade: <property name="label" translatable="yes">_Add Contact...</property>
/usr/share/gajim/data/glade/roster_window.glade: <property name="label" translatable="yes">Add _Contact</property>

Especially interesting are the results of the following greps:
$ LC_ALL=C grep "Add _Contact" /usr/share/locale/de/LC_MESSAGES/gajim.mo
$ LC_ALL=C grep "_Add Contact" /usr/share/locale/de/LC_MESSAGES/gajim.mo
Binary file /usr/share/locale/de/LC_MESSAGES/gajim.mo matches

Revision history for this message
Nafallo Bjälevik (nafallo) wrote :

nafallo@wizard:~/devel/gajim/ubuntu/po$ grep -A1 Add\ Contact de.po
msgid "_Add Contact..."
msgstr "Kontakt _hinzufügen..."
nafallo@wizard:~/devel/gajim/ubuntu/po$ grep -A1 Add\ \_Contact de.po
msgid "Add _Contact"
msgstr "Kontakt _hinzufügen..."

BUT I can reproduce the failing grep.

Changed in gajim:
assignee: nobody → nafallo
importance: Undecided → Low
status: Invalid → New
Revision history for this message
Thomas Boje (tb7653) wrote :

I'm not sure whether it means something, but I downloaded the source from gajim.org and looked into de.po myself.
If found this:

#: ../data/glade/roster_window.glade.h:2
#, fuzzy
msgid "Add _Contact"
msgstr "Kontakt _hinzufügen..."

Could it be that the fuzzy comment is interpreted by the compiler that translates the .po into a .mo, so that the lines are in fact ignored? In any case, I think it is inconsistent, that the English version does not have an ellipsis, but the German has.

I also checked gajim.org's trac and that particular line was changed in revision 8706, about two months ago: http://trac.gajim.org/changeset/8706/trunk/data/glade/roster_window.glade

Revision history for this message
Thomas Boje (tb7653) wrote :

(Sorry for double post; apparently I can't edit my comments.)

Just to make sure I checked svn head de.po (http://trac.gajim.org/browser/trunk/po/de.po) and the entry in question there has changed:

2285 #: ../data/glade/roster_window.glade.h:2
2286 msgid "Add _Contact..."
2287 msgstr "Kontakt _hinzufügen..."

No "fuzzy" and ellipsis in both languages. I assume this is already fixed, I just have to wait for the next release.

Revision history for this message
Stephan Rügamer (sruegamer) wrote :

This is correct for the german translation. add contact is not translated at all...
the right translation needs to be "Kontakt hinzuf&uuml;gen"

Changed in gajim:
status: New → Confirmed
Changed in gajim:
status: Confirmed → Fix Committed
Revision history for this message
Nafallo Bjälevik (nafallo) wrote :

gajim (0.11.3-0ubuntu1) hardy; urgency=low

  * New upstream release:
    - Fix bookmarks support detection
    - Improve file transfer on windows
    - Fix some zeroconf bugs
    - Fix focus bug in chat window
    - Fix nickname changement behaviour in groupchats
  * Merge our changes, patches and backports
  * po/de.po:
    - Removed the fuzzy and the dots for a translation (LP: #162584)

gajim (0.11.2-0ubuntu2) UNRELEASED; urgency=low

  * debian/control:
    - Change bazaar.launchpad.net to code.launchpad.net
    - Change the recommend on dbus-glib to python-dbus (LP: #152333)
  * src/common/zeroconf/connection_zeroconf.py:
    - Apply patch from Stefan Bethge to fix an IndexError (LP: #151568)

 -- Nafallo Bjaelevik <email address hidden> Sat, 17 Nov 2007 13:26:57 +0000

Changed in gajim:
status: Fix Committed → Fix Released
Revision history for this message
Thomas Boje (tb7653) wrote :

Nice, thanks.

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.