GNOME Bugzilla – Bug 574823
Wrong translation of boolean values in Dasher
Last modified: 2011-11-08 10:31:56 UTC
1) Start a terminal 2) LANG=sv_SE.utf8 3) dasher --options GameMode=true Get a warning that does not make sense at all: ** (dasher:12101): CRITICAL **: Ogiltig flaggsträng angiven: 'GameMode=true', booleskt värde måste anges som "true" eller "false". This happens because of the following three translations: ./sv.po-#: ../Src/Gtk2/DasherAppSettings.cpp:550 ./sv.po-#: ../Src/Gtk2/DasherAppSettings.cpp:554 ./sv.po-msgid "true" ./sv.po-msgstr "sant" ./sv.po- ./sv.po-#: ../Src/DasherCore/SettingsStore.cpp:78 ./sv.po-#: ../Src/Gtk2/DasherAppSettings.cpp:518 ./sv.po-#: ../Src/Gtk2/DasherAppSettings.cpp:550 ./sv.po-#: ../Src/Gtk2/DasherAppSettings.cpp:554 ./sv.po-msgid "false" ./sv.po-msgstr "falskt" ./sv.po- ./sv.po-#. Note to translators: This message will be output for a command line ./sv.po-#. with "--options foo=VAL" and foo is a boolean valued parameter, but ./sv.po-#. "VAL" is not true or false. ./sv.po-#: ../Src/DasherCore/SettingsStore.cpp:84 ./sv.po-#: ../Src/Gtk2/DasherAppSettings.cpp:521 ./sv.po:msgid "boolean value must be specified as 'true' or 'false'." ./sv.po-msgstr "booleskt värde måste anges som \"true\" eller \"false\"."
Thanks for reporting. This has been fixed in trunk ./sv.po-msgid "true" ./sv.po-msgstr "true" ./sv.po-msgid "false" ./sv.po-msgstr "false"
This is fixed in git master. Closing.