Thanks,
Nicolas
--
Professionnels et passionnés des transports publics
d'Île-de-France - <
http://www.metro-pole.net>
> can you please remove the locales directory created by the script? After
> please run it again
> as (without sudo):
>
> sh ./localize.sh fr
>
> Sorry if I didn't say you before but I thought you had a reason to use
> "sudo" instead of be a
> normal user.
>
> Giuseppe
>
> On Sun, Oct 19, 2008 at 1:01 PM, Nicolas Hussein
> <
address@hidden>wrote:
>
>> Oh, sorry for this stupid mistake :-)
>>
>> But I still have a problem
>>
>> While running the script, it opens Emacs with a file aboutDialog.dtd,
>> and
>> when I close it, I have this error :
>>
>> cp: opérande du fichier cible manquant après
>> `./browser/branding/unofficial/locales/en-US/aboutDialog.dtd'
>> Pour en savoir davantage, faites: « cp --help ».
>> ./localize.sh: 17: ../l10n/fr/browser/chrome/browser/aboutDialog.dtd:
>> Permission denied
>> make: *** Pas de règle pour fabriquer la cible « langpack-fr ». Arrêt.
>>
>> Thanks,
>> Nicolas
>>
>> --
>> Professionnels et passionnés des transports publics
>> d'Île-de-France - <
http://www.metro-pole.net>
>>
>> > yes :) You must specify the locale you want:
>> >
>> > sudo sh ./localize.sh fr
>> >
>> > Giuseppe
>> >
>> > On Sun, Oct 19, 2008 at 12:24 PM, Nicolas Hussein
>> > <
address@hidden
>> >> wrote:
>> >
>> >> I used sudo sh ./localize.sh
>> >>
>> >> It worked, but I obtain only this :
>> >>
>> >> « Usage: ./localize.sh locale »
>> >>
>> >> Is it normal ?
>> >>
>> >> Thanks,
>> >> Nicolas
>> >>
>> >> --
>> >> Professionnels et passionnés des transports publics
>> >> d'Île-de-France - <
http://www.metro-pole.net>
>> >>
>> >> > Hello,
>> >> >
>> >> > does the script have execution permissions?
>> >> >
>> >> > You can do:
>> >> > chmod 755 ./localize.sh && ./localize.sh
>> >> >
>> >> > or just:
>> >> > sudo sh ./localize.sh
>> >> >
>> >> > Giuseppe
>> >> >
>> >> > On Sun, Oct 19, 2008 at 12:09 PM, Nicolas Hussein
>> >> > <
address@hidden
>> >> >> wrote:
>> >> >
>> >> >> Hello,
>> >> >>
>> >> >> I tried to create a .xpi for French localization for IceCat 3.0.3,
>> >> but I
>> >> >> have some problems...
>> >> >>
>> >> >> I downloaded the IceCat source code in /usr/src/
>> >> >>
>> >> >> I saved your script as « localize.sh » in /usr/src/icecat-3.0.3-g1
>> >> >>
>> >> >> I copied the two brand files in
>> >> >> /usr/src/icecat-3.0.3-g1/browser/branding/unofficial
>> >> >>
>> >> >> Then when I type « sudo ./localize.sh fr » it doesn't work : «
>> sudo:
>> >> >> ./localize.sh: command not found »
>> >> >>
>> >> >> Where am I wrong ?
>> >> >>
>> >> >> Thanks,
>> >> >> Nicolas
>> >> >>
>> >> >> --
>> >> >> Professionnels et passionnés des transports publics
>> >> >> d'Île-de-France - <
http://www.metro-pole.net>
>> >> >>
>> >> >> > Hello,
>> >> >> >
>> >> >> > I wrote this simple script to help the IceCat localization. It
>> was
>> >> >> > written quickly but it seemed to work well.
>> >> >> >
>> >> >> > To use it, simply put in the icecat source code directory and
>> >> specify
>> >> >> > the locale, for example to generate the `it' localization:
>> >> >> >
>> >> >> > ./localize.sh it
>> >> >> >
>> >> >> > The aboutDialog.dtd file contains some free text that must be
>> >> modified
>> >> >> > manually. If you don't have Emacs installed, modify the script
>> to
>> >> use
>> >> >> > your favorite editor.
>> >> >> >
>> >> >> > Before use the script, copy these two files in the
>> >> >> > browser/branding/unofficial/ directory, they were added recently
>> to
>> >> >> the
>> >> >> > SVN repository and will be present in future releases:
>> >> >> >
>> >> >> >
>> >> >>
>> >>
>>
http://svn.savannah.gnu.org/viewvc/*checkout*/trunk/icecat/browser/branding/unofficial/brand.dtd?root=gnuzilla
>> >> >> >
>> >> >>
>> >>
>>
http://svn.savannah.gnu.org/viewvc/*checkout*/trunk/icecat/browser/branding/unofficial/brand.properties?root=gnuzilla
>> >> >> >
>> >> >> >
>> >> >> > I hope it simplifies the job. Please share the final .xpi file!
>> >> >> >
>> >> >> > Happy Hacking!
>> >> >> > Giuseppe
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> >
http://gnuzilla.gnu.org
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >>
>> >>
>> >
>> >
>>
>>
>>
>
>