GNOME Bugzilla – Bug 574827
Wrong translation of boolean values in Dasher
Last modified: 2009-03-10 22:45:39 UTC
1) Start a terminal 2) LANG=nl_NL.utf8 3) dasher --options GameMode=true Get a warning that does not make sense at all: ** (dasher:12135): CRITICAL **: Ongeldige optie-tekenreeks opgegeven: 'GameMode=true', Boolese waarde moet zijn: ‘true’ of ‘false’. This happens because of the following three translations: ./nl.po-#: ../Src/DasherCore/SettingsStore.cpp:76 ./nl.po-#: ../Src/Gtk2/DasherAppSettings.cpp:516 ../Src/Gtk2/DasherAppSettings.cpp:550 ./nl.po-#: ../Src/Gtk2/DasherAppSettings.cpp:554 ./nl.po-msgid "true" ./nl.po-msgstr "waar" ./nl.po- ./nl.po-#: ../Src/DasherCore/SettingsStore.cpp:78 ./nl.po-#: ../Src/Gtk2/DasherAppSettings.cpp:518 ../Src/Gtk2/DasherAppSettings.cpp:550 ./nl.po-#: ../Src/Gtk2/DasherAppSettings.cpp:554 ./nl.po-msgid "false" ./nl.po-msgstr "onwaar" ./nl.po- ./nl.po-#. Note to translators: This message will be output for a command line ./nl.po-#. with "--options foo=VAL" and foo is a boolean valued parameter, but ./nl.po-#. "VAL" is not true or false. ./nl.po-#: ../Src/DasherCore/SettingsStore.cpp:84 ./nl.po-#: ../Src/Gtk2/DasherAppSettings.cpp:521 ./nl.po:msgid "boolean value must be specified as 'true' or 'false'." ./nl.po-msgstr "Boolese waarde moet zijn: ‘true’ of ‘false’."
So isn't the real bug here that 'true' and 'false' are translatable strings in the first place?
I'm not sure what the problem is, so I don't know how to resolve it. Andre, any ideas?
dasher --options GameMode=true Ongeldige optie-tekenreeks opgegeven: 'GameMode=true', Boolese waarde moet zijn: ‘true’ of ‘false’. does not make sense. I DID enter "true" obviously. Either change "Boolese waarde moet zijn: ‘true’ of ‘false’." to "Boolese waarde moet zijn: ‘waar’ of ‘onwaar’." or keep the strings ./nl.po-msgid "true" ./nl.po-msgid "false" in english...
Okay. Fixed in SVN. Thanks for the report.