Skip to contentSkip to conversation

gettext error

DISCUSSION Trần Ngọc Quân 3 participants 4 messages Oct 17, 2013 – Oct 18, 2013 Util-Linux package

lore
Share & tools
lore
#0 lore raw

Hello,
in util-linux-2.24-rc2

$ nsenter --help
display l10n incorrecttly.
Fix:
Change sys-utils/nsenter.c:189 to:
setlocale(LC_ALL, "");

I have a question:
I will sent rc2 translation, so do I have to sent util-linux-2.24-rc1.vi.po?

Signature · 1 line
Trần Ngọc Quân.
maintainer
#1 lore raw
Quoted 5 lines · Trần Ngọc Quân
$ nsenter --help
display l10n incorrecttly.
Fix:
Change sys-utils/nsenter.c:189 to:
setlocale(LC_ALL, "");

Fixed.

Quoted 2 lines

I have a question:
I will sent rc2 translation, so do I have to sent util-linux-2.24-rc1.vi.po?

Well, I'm going download the latest translation (newer than the previous u-l release) from http://translationproject.org/latest/util-linux/. So, I care more about date then about a version.

... and it seems there is already your vi.po. Thanks.

Karel

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com
#2 lore raw
Quoted 7 lines · Karel Zak
Quoted 5 lines · Trần Ngọc Quân
$ nsenter --help
display l10n incorrecttly.
Fix:
Change sys-utils/nsenter.c:189 to:
setlocale(LC_ALL, "");

Fixed.

Thanks,
You can find more by:

$ grep -r 'setlocale(LC_MESSAGES, "")' ./
$ git grep 'setlocale(LC_MESSAGES, "")' # if use GIT

Please l10n blkid.c
Thanks in advance!

Signature · 1 line
Trần Ngọc Quân.
#3 lore raw

Re: gettext question

In reply to Trần Ngọc Quân
Quoted 2 lines · Trần Ngọc Quân

I have a question:
I will sent rc2 translation, so do I have to sent util-linux-2.24-rc1.vi.po?

It is never needed to upload a PO file for an older version. Even stronger:
upstream will ever only see your PO file if you upload one for the latest shown version.

Those older versions of PO files are only kept around for history sake, and for when you know that a distribution uses a specific version and you want to make it easy for them to update the translation. But I don't know of any distribution that actually does this.

Benno

Signature · 1 line
http://www.fastmail.fm - Access your email from home and the web