[pacman-dev] zh_CN issues in makepkg
Hi, Currently makepkg can not run in zh_CN due to (at least) this translated string: msgid "Extracting %s with %s" msgstr "正在使用 %2$s 解压缩 %1$s" The issue is due to bash not being able to handle positional parameters (1$ and 2$) as "$" are special characters to bash. Is there a way to translate this string without changing the order of the strings? Allan
Allan McRae wrote:
Hi,
Currently makepkg can not run in zh_CN due to (at least) this translated string:
msgid "Extracting %s with %s" msgstr "正在使用 %2$s 解压缩 %1$s"
The issue is due to bash not being able to handle positional parameters (1$ and 2$) as "$" are special characters to bash. Is there a way to translate this string without changing the order of the strings?
Attached is an updated translation which fixes/works around that issue. I do not usually deal with translations, so could someone more familiar with the issue please apply the changes. Many thanks to our zh_CN translator 甘露(Gan Lu) for fixing this issue. Thanks, Allan
On Tue, Oct 20, 2009 at 4:08 PM, Allan McRae <allan@archlinux.org> wrote:
Allan McRae wrote:
Hi,
Currently makepkg can not run in zh_CN due to (at least) this translated string:
msgid "Extracting %s with %s" msgstr "正在使用 %2$s 解压缩 %1$s"
The issue is due to bash not being able to handle positional parameters (1$ and 2$) as "$" are special characters to bash. Is there a way to translate this string without changing the order of the strings?
Attached is an updated translation which fixes/works around that issue. I do not usually deal with translations, so could someone more familiar with the issue please apply the changes.
Many thanks to our zh_CN translator 甘露(Gan Lu) for fixing this issue.
Thanks, Allan
participants (2)
-
Allan McRae
-
Xavier