Re: sysinst in pt_BR

Daniel Cunha <[email protected]> Thu, 25 Jul 2024 09:08:01 -0300
Newsgroups gmane.os.netbsd.documentation
Message-ID <CAHLHu458WJQoCr_-Uy+PvUktYHFjB-gdif049O3ovPHKiZRe6A@mail.gmail.com>
--000000000000c46a92061e113ff8
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Martin,

is there a way to build just the sysinst and validate if everything is as
expected?
I got some issues in the first steps during the translation because it does
some checks to verify if the correct files were generated and to validate
it I'm using the following command:* ./build.sh -O /tmp/obj -U -u -m amd64
-N1 -j6 release *but it will build the world/kernel, which takes about 1h
in my machine, if you have some tips to improve the time here, I appreciate
it.

I also intend to send small patches, so I'll start with arch directories.
The idea is in the last patch to send the updates of sets and enable the
new language in the sysinst menu!


Em ter., 23 de jul. de 2024 =C3=A0s 08:09, Daniel Cunha <[email protected]=
om>
escreveu:

> Hi Martin,
>
> thank you for your detailed reply.
> About the Portuguese, yes, I can provide something more generic. There ar=
e
> some differences between pt and pt_BR but they are not so different for
> someone who speaks Portuguese.
> Based on that, I'll start my first hack on NetBSD.
>
> Thank you!
>
> Em ter., 23 de jul. de 2024 =C3=A0s 07:39, Martin Husemann <martin@duskwa=
re.de>
> escreveu:
>
>> On Sun, Jul 21, 2024 at 09:38:07AM -0300, Daniel Cunha wrote:
>> > Let me know if you think it interesting, if yes, I would like to start
>> an
>> > adventure on it.
>>
>> Sysinst is one of the places in our source tree where translations are
>> always welcome, as it helps new users trying NetBSD for the first time.
>>
>> The process is a bit tricky due to the strange "message" format,
>> but you can probably find your way through it. Basically it is
>> free flowing text but hard line breaks are encoded as a space right
>> before the end of a line (in C notation: " \n").
>>
>> You can look at the english messages and other already existing
>> translations
>> e.g. on github:
>>
>>         https://github.com/NetBSD/src/tree/trunk/usr.sbin/sysinst
>>
>> and this are the non-empty english files below that tree:
>>
>> ./arch/acorn32/msg.md.en
>> ./arch/alpha/msg.md.en
>> ./arch/amiga/msg.md.en
>> ./arch/arc/msg.md.en
>> ./arch/atari/msg.md.en
>> ./arch/bebox/msg.md.en
>> ./arch/cats/msg.md.en
>> ./arch/cobalt/msg.md.en
>> ./arch/dummy/msg.md.en
>> ./arch/emips/msg.md.en
>> ./arch/evbarm/msg.md.en
>> ./arch/evbmips/msg.md.en
>> ./arch/evbppc/msg.md.en
>> ./arch/evbsh3/msg.md.en
>> ./arch/ews4800mips/msg.md.en
>> ./arch/hp300/msg.md.en
>> ./arch/hpcarm/msg.md.en
>> ./arch/hpcmips/msg.md.en
>> ./arch/hpcsh/msg.md.en
>> ./arch/hppa/msg.md.en
>> ./arch/i386/msg.md.en
>> ./arch/landisk/msg.md.en
>> ./arch/luna68k/msg.md.en
>> ./arch/mac68k/msg.md.en
>> ./arch/macppc/msg.md.en
>> ./arch/mipsco/msg.md.en
>> ./arch/mvme68k/msg.md.en
>> ./arch/news68k/msg.md.en
>> ./arch/newsmips/msg.md.en
>> ./arch/ofppc/msg.md.en
>> ./arch/playstation2/msg.md.en
>> ./arch/pmax/msg.md.en
>> ./arch/prep/msg.md.en
>> ./arch/sandpoint/msg.md.en
>> ./arch/sgimips/msg.md.en
>> ./arch/shark/msg.md.en
>> ./arch/sparc/msg.md.en
>> ./arch/sparc64/msg.md.en
>> ./arch/vax/msg.md.en
>> ./arch/x68k/msg.md.en
>> ./arch/zaurus/msg.md.en
>> ./arch/virt68k/msg.md.en
>> ./msg.entropy.en
>> ./msg.mbr.en
>> ./msg.mi.en
>> ./msg.pm.en
>>
>>
>> Can you try do do generic portugese versions instead of brazilian
>> portugese?
>> In computer technical context, are there many differences?
>>
>> You could download the above listed files and translate them to files
>> names
>> with .pt suffix.
>>
>> Martin
>>
>
>
> --
> Daniel Cunha
> https://github.com/danielsoro
> https://twitter.com/danielvlcunha
> https://www.linkedin.com/in/danielvlcunha/
>


--=20
Daniel Cunha
https://github.com/danielsoro
https://twitter.com/danielvlcunha
https://www.linkedin.com/in/danielvlcunha/

--000000000000c46a92061e113ff8
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi Martin,<br><br>is there a way to build just the sy=
sinst and validate if everything is as expected?<br>I got some issues in th=
e first steps during the translation because it does some checks to verify =
if the correct files were generated and to validate it I&#39;m using the fo=
llowing command:<b> ./build.sh -O /tmp/obj -U -u -m amd64 -N1 -j6 release <=
/b>but it will build the world/kernel, which takes about 1h in my machine, =
if you have some tips to improve the time here, I appreciate it. <br><br>I =
also intend to send small patches, so I&#39;ll start with arch directories.=
 The idea is in the last patch to send the updates of sets and enable the n=
ew language in the sysinst menu! <br><br></div></div><br><div class=3D"gmai=
l_quote"><div dir=3D"ltr" class=3D"gmail_attr">Em ter., 23 de jul. de 2024 =
=C3=A0s 08:09, Daniel Cunha &lt;<a href=3D"mailto:[email protected]">dan=
[email protected]</a>&gt; escreveu:<br></div><blockquote class=3D"gmail_quo=
te" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204=
);padding-left:1ex"><div dir=3D"ltr">Hi Martin,<br><br>thank you for your d=
etailed reply.<br>About the Portuguese, yes, I can provide something more g=
eneric. There are some differences between pt and pt_BR but they are not so=
 different for someone who speaks Portuguese.=C2=A0<br>Based on that, I&#39=
;ll start my first hack on NetBSD.<br><br>Thank you!=C2=A0</div><br><div cl=
ass=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">Em ter., 23 de ju=
l. de 2024 =C3=A0s 07:39, Martin Husemann &lt;<a href=3D"mailto:martin@dusk=
ware.de" target=3D"_blank">[email protected]</a>&gt; escreveu:<br></div><b=
lockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-le=
ft:1px solid rgb(204,204,204);padding-left:1ex">On Sun, Jul 21, 2024 at 09:=
38:07AM -0300, Daniel Cunha wrote:<br>
&gt; Let me know if you think it interesting, if yes, I would like to start=
 an<br>
&gt; adventure on it.<br>
<br>
Sysinst is one of the places in our source tree where translations are<br>
always welcome, as it helps new users trying NetBSD for the first time.<br>
<br>
The process is a bit tricky due to the strange &quot;message&quot; format,<=
br>
but you can probably find your way through it. Basically it is<br>
free flowing text but hard line breaks are encoded as a space right<br>
before the end of a line (in C notation: &quot; \n&quot;).<br>
<br>
You can look at the english messages and other already existing translation=
s<br>
e.g. on github:<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"https://github.com/NetBSD/src/tree/t=
runk/usr.sbin/sysinst" rel=3D"noreferrer" target=3D"_blank">https://github.=
com/NetBSD/src/tree/trunk/usr.sbin/sysinst</a><br>
<br>
and this are the non-empty english files below that tree:<br>
<br>
./arch/acorn32/msg.md.en<br>
./arch/alpha/msg.md.en<br>
./arch/amiga/msg.md.en<br>
./arch/arc/msg.md.en<br>
./arch/atari/msg.md.en<br>
./arch/bebox/msg.md.en<br>
./arch/cats/msg.md.en<br>
./arch/cobalt/msg.md.en<br>
./arch/dummy/msg.md.en<br>
./arch/emips/msg.md.en<br>
./arch/evbarm/msg.md.en<br>
./arch/evbmips/msg.md.en<br>
./arch/evbppc/msg.md.en<br>
./arch/evbsh3/msg.md.en<br>
./arch/ews4800mips/msg.md.en<br>
./arch/hp300/msg.md.en<br>
./arch/hpcarm/msg.md.en<br>
./arch/hpcmips/msg.md.en<br>
./arch/hpcsh/msg.md.en<br>
./arch/hppa/msg.md.en<br>
./arch/i386/msg.md.en<br>
./arch/landisk/msg.md.en<br>
./arch/luna68k/msg.md.en<br>
./arch/mac68k/msg.md.en<br>
./arch/macppc/msg.md.en<br>
./arch/mipsco/msg.md.en<br>
./arch/mvme68k/msg.md.en<br>
./arch/news68k/msg.md.en<br>
./arch/newsmips/msg.md.en<br>
./arch/ofppc/msg.md.en<br>
./arch/playstation2/msg.md.en<br>
./arch/pmax/msg.md.en<br>
./arch/prep/msg.md.en<br>
./arch/sandpoint/msg.md.en<br>
./arch/sgimips/msg.md.en<br>
./arch/shark/msg.md.en<br>
./arch/sparc/msg.md.en<br>
./arch/sparc64/msg.md.en<br>
./arch/vax/msg.md.en<br>
./arch/x68k/msg.md.en<br>
./arch/zaurus/msg.md.en<br>
./arch/virt68k/msg.md.en<br>
./msg.entropy.en<br>
./msg.mbr.en<br>
./msg.mi.en<br>
./msg.pm.en<br>
<br>
<br>
Can you try do do generic portugese versions instead of brazilian portugese=
?<br>
In computer technical context, are there many differences?<br>
<br>
You could download the above listed files and translate them to files names=
<br>
with .pt suffix.<br>
<br>
Martin<br>
</blockquote></div><br clear=3D"all"><div><br></div><span class=3D"gmail_si=
gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><d=
iv dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=
=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr=
"><div style=3D"color:rgb(136,136,136);font-size:13px"><div><div><div><font=
 size=3D"2" color=3D"#000000" face=3D"arial, helvetica, sans-serif">Daniel =
Cunha<br></font></div><div><div style=3D"color:rgb(32,33,36);font-size:smal=
l"><font size=3D"2" color=3D"#000000" face=3D"arial, helvetica, sans-serif"=
><a href=3D"https://github.com/danielsoro" target=3D"_blank">https://github=
.com/danielsoro</a><br></font></div><div><font size=3D"2" color=3D"#000000"=
 face=3D"arial, helvetica, sans-serif"><a href=3D"https://twitter.com/danie=
lvlcunha" target=3D"_blank"><font color=3D"#1155cc">https://twitter.com/d</=
font>anielvlcunha</a></font></div><div><a href=3D"https://www.linkedin.com/=
in/danielvlcunha/" target=3D"_blank">https://www.linkedin.com/in/danielvlcu=
nha/</a></div></div></div></div></div></div></div></div></div></div></div><=
/div></div></div></div>
</blockquote></div><br clear=3D"all"><br><span class=3D"gmail_signature_pre=
fix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><div dir=3D"l=
tr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><di=
v dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div style=
=3D"color:rgb(136,136,136);font-size:13px"><div style=3D"overflow-wrap: bre=
ak-word;"><div style=3D"overflow-wrap: break-word;"><div><font size=3D"2" c=
olor=3D"#000000" face=3D"arial, helvetica, sans-serif">Daniel Cunha<br></fo=
nt></div><div><div style=3D"color:rgb(32,33,36);font-size:small"><font size=
=3D"2" color=3D"#000000" face=3D"arial, helvetica, sans-serif"><a href=3D"h=
ttps://github.com/danielsoro" target=3D"_blank">https://github.com/danielso=
ro</a><br></font></div><div><font size=3D"2" color=3D"#000000" face=3D"aria=
l, helvetica, sans-serif"><a href=3D"https://twitter.com/danielvlcunha" tar=
get=3D"_blank"><font color=3D"#1155cc">https://twitter.com/d</font>anielvlc=
unha</a></font></div><div><a href=3D"https://www.linkedin.com/in/danielvlcu=
nha/" target=3D"_blank">https://www.linkedin.com/in/danielvlcunha/</a></div=
></div></div></div></div></div></div></div></div></div></div></div></div></=
div></div>

--000000000000c46a92061e113ff8--