Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#66680 - The Tratitional Chinese translation in makepkg uses unsupported printf format string
Attached to Project:
Pacman
Opened by Rio (Rio6) - Sunday, 17 May 2020, 00:22 GMT
Last edited by Allan McRae (Allan) - Friday, 14 August 2020, 11:56 GMT
Opened by Rio (Rio6) - Sunday, 17 May 2020, 00:22 GMT
Last edited by Allan McRae (Allan) - Friday, 14 August 2020, 11:56 GMT
|
DetailsSummary and Info:
The Traditional Chinese translation in makepkg uses unsupported printf format string. In the zh_TW translation file of makepkg, some translations uses "%1$s" format to re-order the arguments, which isn't supported by bash's (5.0.16) builtin printf command. For example, in scripts/po/zh_TW.po: #: scripts/libmakepkg/source/file.sh.in:130 msgid "Extracting %s with %s" msgstr "正在使用 %2$s 解壓縮 %1$s" Steps to Reproduce: Using pacman's PKGBUILD as example $ export LC_ALL=zh_TW.UTF-8 $ makepkg -o ... ==> 正在解開來源... /usr/share/makepkg/util/message.sh: line 67: printf: `$': invalid format character -> 正在使用 ==> 正在啟動 prepare()... ... |
This task depends upon
Closed by Allan McRae (Allan)
Friday, 14 August 2020, 11:56 GMT
Reason for closing: Fixed
Additional comments about closing: 5.2.2
Friday, 14 August 2020, 11:56 GMT
Reason for closing: Fixed
Additional comments about closing: 5.2.2
Would you be interested in joining the translation team to help fix this? If there are no currently active translators for zh_TW (I don't follow translation status so I don't know what the case is here), Allan will usually accept new translators automatically for whichever language lacks translators.