After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 574827 - Wrong translation of boolean values in Dasher
Wrong translation of boolean values in Dasher
Status: RESOLVED FIXED
Product: l10n
Classification: Infrastructure
Component: Dutch [nl]
git master
Other Linux
: Normal normal
: ---
Assigned To: NL translators
NL translators
Depends on:
Blocks:
 
 
Reported: 2009-03-10 20:37 UTC by André Klapper
Modified: 2009-03-10 22:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description André Klapper 2009-03-10 20:37:46 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’."
Comment 1 Reinout van Schouwen 2009-03-10 21:15:05 UTC
So isn't the real bug here that 'true' and 'false' are translatable strings in the first place?
Comment 2 Wouter Bolsterlee (uws) 2009-03-10 22:20:42 UTC
I'm not sure what the problem is, so I don't know how to resolve it. Andre, any ideas?
Comment 3 André Klapper 2009-03-10 22:23:51 UTC
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...
Comment 4 Wouter Bolsterlee (uws) 2009-03-10 22:45:39 UTC
Okay. Fixed in SVN. Thanks for the report.