[Etoys] New etoys RPM
Bert Freudenberg
bert at freudenbergs.de
Fri Oct 19 13:43:29 EDT 2007
No problem, sure. I have that stuff in the Makefile. Gets a bit more
complicated but I'll manage.
- Bert -
On Oct 19, 2007, at 19:21 , Takashi Yamamiya wrote:
> Hi Bert,
>
> Could you change the directory for MO files next time to
> locales/<LANGUAGE>/LC_MESSAGES/<DOMAIN>.mo ?
> For example, locales/de/LC_MESSAGES/etoys.mo
>
> If you do, we can use standard gettext utilities to test it
> $ env LANG=de TEXTDOMAINDIR=locales/ gettext -d etoys "A rectangle"
> Ein Rechteck
>
> Also Korakurider's MO importer assumes this place.
> I think the directory name "locale" could be any name, "mo" is fine.
>
> I attached a shell script to make it.
>
> Cheers,
> - Takashi
>
> Bert Freudenberg wrote:
>> I published another version:
>> http://etoys.laptop.org/rpms/etoys-2.2.1715-1.noarch.rpm
>> http://etoys.laptop.org/rpms/Etoys-62.xo
>> This -62 xo bundle should work in both old an new Sugar versions.
>> And you can update using yum again:
>> wget etoys.laptop.org/olpc-etoys.repo
>> cp olpc-etoys.repo /etc/yum.repos.d/
>> yum upgrade etoys squeak-vm
>> The compiled .mo files are now installed (and included in the
>> etoys- image-and-pr.zip as well) so we could start using a runtime
>> translation.
> #!/bin/sh -x
>
> src="po"
> dest="locales"
>
> for filename in ${src}/etoys/*.po
> do
> poname=${filename##*/}
> locale=${poname%.po}
> mkdir -p ${dest}/${locale}/LC_MESSAGES
> msgfmt ${src}/etoys/${locale}.po -o ${dest}/${locale}/LC_MESSAGES/
> etoys.mo
> done
More information about the Etoys
mailing list