[Bug 215635] New: yast control center uses gettext for module names partially only
https://bugzilla.novell.com/show_bug.cgi?id=215635 Summary: yast control center uses gettext for module names partially only Product: openSUSE 10.2 Version: Beta 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: sh@novell.com ReportedBy: svollath@novell.com QAContact: jsrain@novell.com Test Case 149896 - yast control center should use gettext for module names FATE ID 300460 If I modify desktop_translations.mo, the changes are applied partially only to yast. See screenshot of "YaST2-Netzwerkgeräte" compared to the changes in desktop_translations.mo listed below. "Netzwerkkarte" stays unchanged. That's true for many module names through the whole control center. Like suggested by sh@suse.de I tested this with: # msgunfmt /usr/share/locale/de/LC_MESSAGES/desktop_translations.mo
/tmp/deskop_translations.po # vi /tmp/desktop_translations.po # msgfmt -o /usr/share/locale/de/LC_MESSAGES/desktop_translations.mo /tmp/desktop_translations.po # export LANG=de_DE.UTF-8 # yast2
desktop_translations.mo changes: # grep -n1 Nope /tmp/desktop_translations.po 2990-msgid "GenericName(dsl.desktop): Configure a DSL connection" 2991:msgstr "Konfiguration der DSL-Verbindung - Nope" 2992- -- 3319-msgid "GenericName(isdn.desktop): Configure an ISDN connection" 3320:msgstr "Konfiguration der ISDN-Verbindung - Nope" 3321- -- 4038-msgid "GenericName(lan.desktop): Configure network cards" 4039:msgstr "Konfiguration der Netzwerkkarte - Nope" 4040- -- 4115-msgid "GenericName(modem.desktop): Configure a modem" 4116:msgstr "Konfiguration des Modems - Nope" 4117- -- 6324-msgid "Name(dsl.desktop): DSL" 6325:msgstr "DSL Nope" 6326- -- 7601-msgid "Name(isdn.desktop): ISDN" 7602:msgstr "ISDN Nope" 7603- -- 9462-msgid "Name(lan.desktop): Network Card" 9463:msgstr "Netzwerkkarte - Nope" 9464- -- 9801-msgid "Name(modem.desktop): Modem" 9802:msgstr "Modem Nope" 9803- -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=215635 ------- Comment #1 from svollath@novell.com 2006-10-27 05:06 MST ------- Created an attachment (id=102805) --> (https://bugzilla.novell.com/attachment.cgi?id=102805&action=view) yast2 w/ modified desktop_translations -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=215635 ------- Comment #2 from svollath@novell.com 2006-10-27 05:06 MST ------- Created an attachment (id=102806) --> (https://bugzilla.novell.com/attachment.cgi?id=102806&action=view) y2log of yast2 run -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=215635 svollath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #102806|application/octet-stream |text/plain mime type| | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=215635 sh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #3 from sh@novell.com 2006-10-31 09:43 MST ------- FYI: Thanks for including the y2logs, but for the (Qt) YaST2 control center they are not needed. The y2cc doesn't log to y2log. It's a very basic pure Qt app that doesn't use any of the YaST2 infrastructure. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=215635 sh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=215635 sh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |INVALID ------- Comment #4 from sh@novell.com 2006-11-02 08:21 MST ------- I just investigated this. Since there are changed strings with "Nope", the mechanism per se does work. I don't know if that .mo file was completely up-to-date, though. If the original message (msgid) in the .desktop file changed in the meantime, that msgid will no longer be used; rather, gettext() expects the changed one. So if there was only a little change like "Network card" -> "Network Card" the old msgid with "Network card" will no longer be used. Rather, gettext() now searches for a msgid "Network Card". If that is not found, gettext() returns the original string untranslated. Bottom line: It does work. The test data may not have been up-to-date. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com