question about translations
Hi,
I have no much knowledge about the whole translations thing but the new setarch message "Execute command" looks odd to me.
$ git grep -A1 "Execute command" -- po/ po/ca.po:msgid "Execute command `%s'.\n" po/ca.po-msgstr "S'està executant l'ordre date: %s\n" -- po/cs.po:msgid "Execute command `%s'.\n" po/cs.po-msgstr "Spouští se příkaz „date„: %s\n" -- po/da.po:msgid "Execute command `%s'.\n" po/da.po-msgstr "Udfører kommandoen date: %s\n" -- po/de.po:msgid "Execute command `%s'.\n" po/de.po-msgstr "Der „date“-Befehl wird aufgerufen: %s\n" -- [...]
Why they always say that "date" is executed?
cu,
Rudi
6 квітня 2016, 14:06:39, від "Ruediger Meier" <[email protected]>:
Quoted 20 lines
Hi,
I have no much knowledge about the whole translations thing but the new setarch message "Execute command" looks odd to me.
$ git grep -A1 "Execute command" -- po/ po/ca.po:msgid "Execute command `%s'.\n" po/ca.po-msgstr "S'està executant l'ordre date: %s\n" -- po/cs.po:msgid "Execute command `%s'.\n" po/cs.po-msgstr "Spouští se příkaz „date„: %s\n" -- po/da.po:msgid "Execute command `%s'.\n" po/da.po-msgstr "Udfører kommandoen date: %s\n" -- po/de.po:msgid "Execute command `%s'.\n" po/de.po-msgstr "Der „date“-Befehl wird aufgerufen: %s\n" -- [...]
Quoted 5 lines
Why they always say that "date" is executed?
cu,
Rudi
Hi,
These can be just fuzzy substitutions.
Example (Catalan, ca):
#: sys-utils/setarch.c:395
#, fuzzy, c-format
#| msgid "Issuing date command: %s\n"
msgid "Execute command `%s'.\n"
msgstr "S'està executant l'ordre date: %s\n"
Czech current from TP has correct translation:
#: sys-utils/setarch.c:395
#, c-format
msgid "Execute command `%s'.\n"
msgstr "Spouští se příkaz „%s“.\n"
So, I guess, there is nothing to worry now.
Best regards,
Yuri
Ukrainian translator
Karel Zak
maintainerQuoted 5 lines · Ruediger Meier
Hi,
I have no much knowledge about the whole translations thing but the new setarch message "Execute command" looks odd to me.
Quoted 12 lines
$ git grep -A1 "Execute command" -- po/ po/ca.po:msgid "Execute command `%s'.\n" po/ca.po-msgstr "S'està executant l'ordre date: %s\n" -- po/cs.po:msgid "Execute command `%s'.\n" po/cs.po-msgstr "Spouští se příkaz „date„: %s\n" -- po/da.po:msgid "Execute command `%s'.\n" po/da.po-msgstr "Udfører kommandoen date: %s\n" -- po/de.po:msgid "Execute command `%s'.\n" po/de.po-msgstr "Der „date“-Befehl wird aufgerufen: %s\n"
I guess you miss "#, fuzzy, c-format" note before the translation.
It's a translation generated by build-system and should be fixed by human. See for example (not yet merged)
http://translationproject.org/latest/util-linux/de.po
where is it already fixed.
Karel
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com
Quoted 19 lines · Karel Zak
Quoted 5 lines · Ruediger Meier
Hi,
I have no much knowledge about the whole translations thing but the new setarch message "Execute command" looks odd to me.
Quoted 12 lines
$ git grep -A1 "Execute command" -- po/ po/ca.po:msgid "Execute command `%s'.\n" po/ca.po-msgstr "S'est executant l'ordre date: %s\n" -- po/cs.po:msgid "Execute command `%s'.\n" po/cs.po-msgstr "Spout se pkaz date: %s\n" -- po/da.po:msgid "Execute command `%s'.\n" po/da.po-msgstr "Udfrer kommandoen date: %s\n" -- po/de.po:msgid "Execute command `%s'.\n" po/de.po-msgstr "Der date-Befehl wird aufgerufen: %s\n"
Quoted 1 line
I guess you miss "#, fuzzy, c-format" note before the translation.
Well, I was wondering if this fuzzy (non-sense) message would be really shown if translators do not fix it before release. (Because I've felt guilty to add a new message in 9508e297 (after rc1!).
Also I wonder what is the right way to test the translations without installing util-linux. I've managed it like this, but looks bit complicated:
$ ./configure --disable-use-tty-group --prefix=/tmp/dest --with-systemdsystemunitdir=/tmp/dest/whatever $ make install $ export LC_ALL=es_ES.UTF-8 $ ./setarch blub setarch: blub: Arquitectura no reconocida
BTW I think we are missing make dependencies. Editing a .po files and running make install again does not work.
Hmm ... I thought I would never spent one second of my life with these damn locales. Now I did it. Never say never. :)
Quoted 6 lines
It's a translation generated by build-system and should be fixed by human. See for example (not yet merged)
http://translationproject.org/latest/util-linux/de.po
where is it already fixed.
Again, regarding make deps. make distdir seems to pull these updates. But make install seems to install the ones we have in git.
cu,
Rudi
Quoted 2 lines · Ruediger Meier
Well, I was wondering if this fuzzy (non-sense) message would be really shown if translators do not fix it before release.
No, to gettext "fuzzy" means "invalid", "don't use". The PO files are 'compiled' by msgfmt into .MO files which are used at runtime, and msgfmt ignores any messages that are marked fuzzy.
Quoted 2 lines
(Because I've felt
guilty to add a new message in9508e297(after rc1!).
Adding or changing messages will never cause any /wrong/ translations to be shown, so there is no problem.
Benno
Signature · 1 line
http://www.fastmail.com - Same, same, but different...