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.) GitHub Issue for reference: https://github.com/util-linux/util-linux/issues/4474 This is the same issue already fixed for zh_CN by @hosiet: https://github.com/util-linux/util-linux/pull/4475 Could someone please submit this fix to the Translation Project? Thanks! 4444ji user863-dev