cfdisk 2.25 doesn't write partition table when using localized version
Hello,
I'm using LANG=pl_PL.UTF-8, my cfdisk is translated into Polish. When trying to write the partition table, cfdisk tells me that the the partition table wasn't written, no matter if I type yes in English or "tak" in Polish. I have briefly checked the pl.po file and it seems to be fine. When I set export LANG=en_US, then I was able to save the partition table on the device.
CC to the last translator.
Signature · 3 lines
Pozdrawiam / Greetings Marcin Kocur █ Dane kontaktowe / Contact details: http://koci.net.pl/email
Hello Marcin,
Quoted 4 lines · Marcin Kocur
I'm using LANG=pl_PL.UTF-8, my cfdisk is translated into Polish. When trying to write the partition table, cfdisk tells me that the the partition table wasn't written, no matter if I type yes in English or "tak" in Polish.
It was a mistake in cfdisk and has been fixed in git:
https://github.com/karelzak/util-linux/commit/ce3134dfdd3a9feb614050cbf742cec4c97e984b
https://github.com/karelzak/util-linux/commit/59af21c3f294b9fdec62914568de0455cf884623
It should work correctly in util-linux-2.25.1.
Quoted 3 lines
I have briefly checked the pl.po file and it seems to be fine. When I set export LANG=en_US, then I was able to save the partition table on the device.
Benno
Signature · 1 line
http://www.fastmail.fm - A fast, anti-spam email service.