Feito!
Excelente essa sugestão! :)
Em Seg, 2006-08-07 às 19:00 -0300, Rodrigo Padula de Oliveira escreveu:
anexo Mensagem de correio (Re: chkconfig: suggestion: LC_MESSAGES:
pt_BR)
> -------- Mensagem encaminhada --------
> De: Danilo Gimenez <danilo.gimenez(a)uol.com.br>
> Para: rodrigopadula(a)projetofedora.org
> Cc: ocarado102(a)msn.com, barzilay(a)redhat.com
> Assunto: Re: chkconfig: suggestion: LC_MESSAGES: pt_BR
> Data: Fri, 28 Jul 2006 12:25:24 -0300
>
> Oi Rodrigo, como vai?
>
> Na verdade, nem achei que fosse causar tanto barulho, mas enfim, já
> que a bola está rolando, vamos em frente com isso.
>
> Estou usando o RHEL 4 e o CentOS 4, já usei o FC1 até FC4, entre
> outros. Eu realmente gosto de usar o Linux em português do Brasil, e
> sempre tem uma ou outra coisa nas traduções que eu gostaria que
> fosse diferente.
>
> Uma delas foi o chkconfig que encontrei no RHEL e CentOS, confesso
> que não lembro mais como ele se comporta no FC. O caso é que
> executar o comando 'chkconfig --list' mostra o status dos serviços
> como 'ligado' e 'desligado', e isso faz com que o comando use mais
> que 80 colunas no output.
> # #### Resultado real do output do comando para LANG=pt_BR
> # chkconfig --list network
> network 0:desligado 1:desligado 2:ligado 3:ligado
4:ligado 5:ligado 6:desligado
>
> Como muitas vezes tenho que usar um terminal caracter, imaginei que
> seria uma boa idéia sugerir a troca de 'ligado' e 'desligado' por
> 'sim' e 'não'. O resultado ficaria algo como o seguinte:
> # #### Resultado sugerido do output do comando para LANG=pt_BR
> # chkconfig --list network
> network 0:não 1:não 2:sim 3:sim 4:sim 5:sim 6:não
>
> #### Apenas para comparar, resultado real do output do comando para
LANG=en_US
> # LANG=en_US chkconfig --list network
> network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
>
> Para fazer a sugestão, procurei o projeto 'chkconfig' no
>
sourceforge.net, e encontrei o nome do Bo Adler. Escrevi a ele, e
> ele me disse que já havia feito essa alteração no código fonte dele.
> Fiz, então, um 'strings chkconfig.mo', e achei o email do David
> Barzilay. Escrevi a ele, e ele me respondeu - com cópia para você -
> que a bola é sua.
>
> Por isso, passo aqui a sugestão para você de alterar a tradução das
> palavras 'ligado' e 'desligado' por 'sim' e 'não'.
>
> Obrigado pela atenção de todos vocês, só espero estar ajudando e não
> criando uma confusão, ok?
> Danilo Gimenez
>
>
> Em Ter, 2006-07-25 às 12:34 -0300, David Barzilay escreveu:
> > Oi Danilo,
> >
> > Rodrigo Padula (cc) agora é o coordenador do Projeto de Tradução do
> > Fedora para Português Brasileiro.
> >
> > Você pode acertar isso com ele?
> >
> > Obrigado!
> >
> > Abraços,
> > --
> > db
> >
> > Danilo Gimenez wrote:
> > > Hi David,
> > >
> > > I would like to make a suggestion regarding LC_MESSAGES for Brazilian
> > > Portuguese. I found your name and email executing "strings
> > > /usr/share/locale/pt_BR/LC_MESSAGES/chkconfig.mo", so I took the
> > > liberty of writing you about this utility.
> > >
> > > As a matter of fact, I've already written to Bo Adler about the same
> > > subject, and he believes you are the right person I would be writting
> > > to. I've found Bo Adler on
http://freshmeat.net/projects/chkconfig/
> > > <
http://freshmeat.net/projects/chkconfig/,>, and have sent him
exactly
> > > the same suggestion I am sending you now. Below you can find a copy of
> > > some messages I've sent him, I hope this can be useful for you.
> > >
> > > The point is, when I set LANG=pt_BR and then execute "chkconfig
> > > --list", the current translations for the words "on" and
"off" are
> > > "ligado" and "desligado". This is correct, but it
turns the output
> > > quite large for an 80 columns screen size.
> > >
> > > My suggestion is, instead of translating "on" and
"off" as "ligado"
> > > and "desligado", you may use the portuguese words
"sim" and "nao".
> > > These last two words are the translations for "yes" and
"no". As they
> > > both have three letters, and "off" also has three letters, the
output
> > > in English and Portuguese would both be the same size, and indenting
> > > would be preserved.
> > >
> > > Thanks in advance,
> > > Danilo Gimenez
> > >
> > > -------- Mensagem encaminhada --------
> > >> *De*: Danilo Gimenez <danilo.gimenez(a)uol.com.br
> > >> <mailto:Danilo%20Gimenez%20%3cdanilo.gimenez@uol.com.br%3e>>
> > >> *Para*: Bo Adler <thumper17(a)gmail.com
> > >> <mailto:Bo%20Adler%20%3cthumper17@gmail.com%3e>>
> > >> *Assunto*: Re: chkconfig: suggestion: LC_MESSAGES: pt_BR
> > >> *Data*: Fri, 07 Jul 2006 08:35:28 -0300
> > >> Hi Bo
> > >>
> > >> Brazil and Portugal have very different words for computer stuff. For
> > >> instance, "file" in Brazil is "arquivo" and in
Portugal is
> > >> "ficheiro". Because of these little but important
differences, it is
> > >> very easy to know if a system is using pt_BR or pt_PT. Anyway, I am
> > >> sending you some information about my system, so you can be sure
> > >> about my configuration:
> > >>
> > >> # cat /etc/redhat-release
> > >> CentOS release 4.3 (Final)
> > >>
> > >> # echo $LANG
> > >> pt_BR.UTF-8
> > >>
> > >> # chkconfig --version
> > >> chkconfig versão 1.3.13.3
> > >>
> > >> # chkconfig --list ntpd
> > >> ntpd 0:desligado 1:desligado 2:desligado
3:ligado 4:desligado 5:ligado 6:desligado
> > >>
> > >> # #### A quick view into my 'chkconfig.mo' file:
> > >> # strings /usr/share/locale/pt_BR/LC_MESSAGES/chkconfig.mo >
chkconfig-pt_BR.txt
> > >> ( ... stuff ... stuff ... stuff ... )
> > >> Project-Id-Version: pt_BR
> > >> POT-Creation-Date: 2004-06-04 12:22-0400
> > >> PO-Revision-Date: 2004-06-15 11:43+1000
> > >> Last-Translator: David Barzilay <barzilay(a)redhat.com
<mailto:barzilay@redhat.com>>
> > >> Language-Team: Portuguese <gnome-l10n-br(a)listas.cipsga.org.br
<mailto:gnome-l10n-br@listas.cipsga.org.br>>
> > >> MIME-Version: 1.0
> > >> Content-Type: text/plain; charset=UTF-8
> > >> Content-Transfer-Encoding: 8bit
> > >> Report-Msgid-Bugs-To:
> > >> X-Generator: KBabel 1.0
> > >> ( ... stuff ... stuff ... stuff ... )
> > >>
> > >>
> > >> Also, the entire "chkconfig-pt_BR.txt" file created by the
last
> > >> command above is attached to this email. I would like to say I only
> > >> think on this last command today, when you mentioned
"chkconfig.po"
> > >> file. As I said you before, I found your email at Freshmeat Projects.
> > >> I just realized that maybe there are different development trees for
> > >> chkconfig, and I am bothering you about issues that are specific to
> > >> RedHat / CentOS distribution. Do you think I should have written to
> > >> David Barzilay and/or to gnome-l10n-br(a)listas.cipsga.org.br?
> > >>
> > >> Thanks again for your attention,
> > >> Danilo Gimenez
> > >>
> > >>
> > >> Em Sex, 2006-06-30 às 17:00 -0700, Bo Adler escreveu:
> > >>> Hi Danilo,
> > >>>
> > >>> I was looking through the source code for chkconfig,
> > >>> and I see that the translation is already as you suggest
> > >>> in the file "pt_BR.po". The translations you are
> > >>> seeing ("ligado/desligado") are for plain Portuguese.
> > >>>
> > >>> Can you check your language setting and make sure
> > >>> that you are using "pt_BR"?
> > >>>
> > >>> thanks,
> > >>> -Bo Adler
> > >>> thumper(a)alumni.caltech.edu
<mailto:thumper@alumni.caltech.edu>
> > >>>
> > >>>
> > >>> On 6/14/06, *Danilo Gimenez* <danilo.gimenez(a)uol.com.br
> > >>> <mailto:danilo.gimenez@uol.com.br>> wrote:
> > >>>
> > >>> Hi Bo.
> > >>>
> > >>> I found your name on
http://freshmeat.net/projects/chkconfig/
> > >>> <
http://freshmeat.net/projects/chkconfig/,>, so I took
the
> > >>> liberty of writing you about this utility.
> > >>>
> > >>> I want to make a suggestion regarding LC_MESSAGES for
Brazilian
> > >>> Portuguese. When I execute "chkconfig --list", the
current
> > >>> translations for the words "on" and "off"
are "ligado" and
> > >>> "desligado". This is correct, but it turns the
output quite
> > >>> large for an 80 columns screen size.
> > >>>
> > >>> My suggestion is, instead of translating "on" and
"off" as
> > >>> "ligado" and "desligado", you may use the
portuguese words "sim"
> > >>> and "nao". These last two words are the translations
for "yes"
> > >>> and "no". As they both have three letters, and
"off" also has
> > >>> three letters, the output in English and Portuguese would
both
> > >>> be the same size, and indenting would be preserved.
> > >>>
> > >>> Thanks in advance,
> > >>> Danilo Gimenez