You are not logged in.

#1 2012-08-15 18:38:04

xanb
Member
Registered: 2012-07-24
Posts: 420

[Solved] Bad translation in fsck: how can I change that?

Hi,

I use catalan language, and at boot I get:

/dev/sda1: [...] (es comprovarà en 2 mesos)

(english translation: it will be check in 2 more times)

I want to inform that it's a bad traduction and to translate properly if I could. How? Where? I think really is not a archlinux bug, rather than fsck vanilla bug, but I'm not sure. When I could find the svn version of archlinux of that?

Thanks in advance,
Xan.

Last edited by xanb (2012-08-15 22:31:14)


Owning one OpenRC (artoo way) and other three systemd machines

Offline

#2 2012-08-15 21:39:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Bad translation in fsck: how can I change that?

Offline

#3 2012-08-15 21:43:33

Liquen
Member
Registered: 2009-01-04
Posts: 40

Re: [Solved] Bad translation in fsck: how can I change that?

Maybe the right place is http://sourceforge.net/projects/e2fsprogs/support. You can either file a bug report or submit a patch.

Offline

#4 2012-08-15 22:06:00

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [Solved] Bad translation in fsck: how can I change that?

First let's see which package the fsck file belongs to:

$ pacman -Qo fsck
/sbin/fsck is owned by util-linux 2.21.2-5

Hmmm... I wonder if we can use ABS to pull in the source code and build this package. Maybe we'll find a translations.xml file or something.

# pacman -S abs
# abs
$ cp -R /var/abs/core/util-linux/ ~/builds/
$ cd ~/builds/util-linux/
$ makepkg

Unfortunately I can't find anything with "comprovarà" or "mesos" in ~/builds/util-linux/src/util-linux-2.21.2/po/ca.po. What, exactly, did you uncomment from /etc/locale.gen?

#ca_AD.UTF-8 UTF-8
#ca_AD ISO-8859-15
#ca_ES.UTF-8 UTF-8
#ca_ES ISO-8859-1
#ca_ES@euro ISO-8859-15
#ca_FR.UTF-8 UTF-8
#ca_FR ISO-8859-15
#ca_IT.UTF-8 UTF-8
#ca_IT ISO-8859-15

"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#5 2012-08-15 22:12:19

xanb
Member
Registered: 2012-07-24
Posts: 420

Re: [Solved] Bad translation in fsck: how can I change that?

karol wrote:

First of all, thanl you very much all of you for hints and suggestions. Good community. ;-)

Thanks, karol, but I don't see the translation error in this repo, even in previous versions. (I have util-linux 2.21.2-5.). Is it possible this error has not belong to util-linux? The messages in the file checking during the boot belong to util-linux?

Thanks in advance,
Xan.


Owning one OpenRC (artoo way) and other three systemd machines

Offline

#6 2012-08-15 22:13:33

Liquen
Member
Registered: 2009-01-04
Posts: 40

Re: [Solved] Bad translation in fsck: how can I change that?

Unfortunately I can't find anything with "comprovarà" or "mesos" in ~/builds/util-linux/src/util-linux-2.21.2/po/ca.po.

Probably because fsck calls fsck.ext*, which belongs to e2fsprogs and not util-linux.

Last edited by Liquen (2012-08-15 22:16:16)

Offline

#7 2012-08-15 22:15:40

xanb
Member
Registered: 2012-07-24
Posts: 420

Re: [Solved] Bad translation in fsck: how can I change that?

DSpider wrote:

First let's see which package the fsck file belongs to:

$ pacman -Qo fsck
/sbin/fsck is owned by util-linux 2.21.2-5

Hmmm... I wonder if we can use ABS to pull in the source code and build this package. Maybe we'll find a translations.xml file or something.

# pacman -S abs
# abs
$ cp -R /var/abs/core/util-linux/ ~/builds/
$ cd ~/builds/util-linux/
$ makepkg

Unfortunately I can't find anything with "comprovarà" or "mesos" in ~/builds/util-linux/src/util-linux-2.21.2/po/ca.po. What, exactly, did you uncomment from /etc/locale.gen?

#ca_AD.UTF-8 UTF-8
#ca_AD ISO-8859-15
#ca_ES.UTF-8 UTF-8
#ca_ES ISO-8859-1
#ca_ES@euro ISO-8859-15
#ca_FR.UTF-8 UTF-8
#ca_FR ISO-8859-15
#ca_IT.UTF-8 UTF-8
#ca_IT ISO-8859-15

I have only uncommented that:
ca_ES.UTF-8 UTF-8..

I had find "comprovarà" nop "mesos" but I'm sure I see several times (because "mesos" is month in catalan and it's sound ugly in this context). For this reason, I suspect that util-linux is not the "guilty" of the bug.

Can you suggest me any hint else?

Thanks,
Xan.


Owning one OpenRC (artoo way) and other three systemd machines

Offline

#8 2012-08-15 22:17:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Bad translation in fsck: how can I change that?

Liquen wrote:

Unfortunately I can't find anything with "comprovarà" or "mesos" in ~/builds/util-linux/src/util-linux-2.21.2/po/ca.po.

Probably because fsck calls fsck.ext*, which belongs to e2fsprogs and not util-linux.

Let's try again: http://git.kernel.org/?p=fs/ext2/e2fspr … 98;hb=HEAD

2873 #: e2fsck/unix.c:426
2874 #, c-format
2875 msgid " (check in %ld mounts)"
2876 msgstr " (es comprovarà en %ld mesos)"

Edit: Link directly to the snippet: http://git.kernel.org/?p=fs/ext2/e2fspr … HEAD#l2873

Last edited by karol (2012-08-15 22:18:36)

Offline

#9 2012-08-15 22:18:59

xanb
Member
Registered: 2012-07-24
Posts: 420

Re: [Solved] Bad translation in fsck: how can I change that?

Liquen wrote:

Unfortunately I can't find anything with "comprovarà" or "mesos" in ~/builds/util-linux/src/util-linux-2.21.2/po/ca.po.

Probably because fsck calls fsck.ext*, which belongs to e2fsprogs and not util-linux.

Yes:

2873 #: e2fsck/unix.c:426
2874 #, c-format
2875 msgid " (check in %ld mounts)"
2876 msgstr " (es comprovarà en %ld mesos)"

Lines 2873-2876 in http://git.kernel.org/?p=fs/ext2/e2fspr … 98;hb=HEAD

Thanks, I will submit the bug

Xan.


Owning one OpenRC (artoo way) and other three systemd machines

Offline

#10 2012-08-15 22:24:46

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [Solved] Bad translation in fsck: how can I change that?

If it bothers you that much, you can build the package (with an updated translation) and install it:

# pacman -U ~/builds/e2fsprogs-1.42.5-1-i686.pkg.tar.xz

At least until it's fixed.


PS: Don't forget to mark the topic as solved (by editing the first post).

Last edited by DSpider (2012-08-15 22:25:18)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#11 2012-08-15 22:30:34

xanb
Member
Registered: 2012-07-24
Posts: 420

Re: [Solved] Bad translation in fsck: how can I change that?

I submit the bug: http://sourceforge.net/tracker/?func=de … tid=102406

I hope maintainers will fix soon.

Thanks for all,
Xan.

PS: @DSpider: not, but translation is not hi priority for me, but excellent suggestion. I did not know that...


Owning one OpenRC (artoo way) and other three systemd machines

Offline

#12 2012-08-15 22:35:20

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Bad translation in fsck: how can I change that?

xanb wrote:

Iexcellent suggestion. I did not know that...

Nobody is forcing you, but you may want to read all the basic manpages, e.g. for pacman.

Offline

Board footer

Powered by FluxBB