Hi zh_TW translation team,
I'm reporting a bug in the zh_TW translation of util-linux.
In po/zh_TW.po, the translation for disk-utils/sfdisk.c contains an extra %s format
specifier:
Original (msgid):
"\n"
"Type 'help' to get more information.\n"
(This string does NOT contain any %s.)
Current translation (msgstr):
"\n"
"???绦小?%s --help”以?@得更多?Y??。\n"
(This incorrectly includes %s.)
This causes sfdisk to
segfault when run in zh_TW.UTF-8 locale,
because the code calls fdisk_info() with
no extra arguments, but printf tries
to read a %s from
the stack, hitting address 0x1.
Proposed fix:
- "???绦小?%s --help”以?@得更多?Y??。\n"
+ "????入 'help' 以?@得更多?Y??。\n"
(Or "???I入 'help'
以?@得更多?Y??。" — whichever is more natural for zh_TW.)
Could someone please submit this fix to the Translation Project?
Thanks!
4444ji
user863-dev