FS#26382 - pacman-key's help doesn't display one translated string
Attached to Project:
Pacman
Opened by Rafael Fontenelle (josephg) - Monday, 10 October 2011, 18:44 GMT
Last edited by Dan McGee (toofishes) - Tuesday, 11 October 2011, 13:44 GMT
Opened by Rafael Fontenelle (josephg) - Monday, 10 October 2011, 18:44 GMT
Last edited by Dan McGee (toofishes) - Tuesday, 11 October 2011, 13:44 GMT
|
Details
Summary and Info:
When run "pacman-key --help" I get all output in my native language (pt_BR), except for "Manage pacman's list of trusted keys" which is all english. The expected output, already translated in Transifex, is "Gerencia lista de chaves confiáveis do pacman" Steps to Reproduce: pacman-key --help Version: pacman-git 20111006-1 (or pacman 4.0.0rc2) |
This task depends upon
Closed by Dan McGee (toofishes)
Tuesday, 11 October 2011, 13:44 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in git
Tuesday, 11 October 2011, 13:44 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in git
scripts/pacman-key.sh.in: printf "$(gettext "Manage pacman\'s list of trusted keys")\n"
scripts/po/pt_BR.po: msgid "Manage pacman's list of trusted keys"
Maybe this string should be renamed to something like "Manage the list of trusted keys of Pacman", or something similar.
$ export TEXTDOMAIN='pacman-scripts'
$ LANG=es_MX.utf8 printf "$(gettext "Manage pacman's list of trusted keys")\n"
Manage pacman's list of trusted keys
$ LANG=es_MX.utf8 echo $(gettext "Manage pacman's list of trusted keys")
Manage pacman's list of trusted keys
$ LANG=es_MX.utf8 gettext "Manage pacman's list of trusted keys"
Administrar la lista de claves confiadas por pacman
So it works when it isn't executed inside $() and isn't escaped. I was trying to find a quick solution for 4.0 before we just reword the message in 4.0.1 to avoid this.
At least for now, I'd like to fix it this way because we get the benefit of anyone having translated this string actually seeing their work and having the output fully translated. I'm up for alternate fixes or wording changes for 4.0.1 but it seems to me we should let geany developers (although scintilla looks like the root of the problem) know of the issue here.