bug-gnuzilla
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU IceCat - cannot install any Language Pack


From: Giuseppe Scrivano
Subject: Re: GNU IceCat - cannot install any Language Pack
Date: Sun, 19 Oct 2008 14:13:36 +0200

Please remove completely the directory ../l10n before execute again the script.  You must edit manually the file opened inside Emacs, it contains free text and it can't be translated automatically.

Giuseppe

On Sun, Oct 19, 2008 at 2:06 PM, Nicolas Hussein <address@hidden> wrote:
Without sudo, I obtain these errors :

/usr/src/icecat-3.0.3-g1$ sh ./localize.sh fr
Unknown host hidden.
ln: création d'un lien symbolique `../l10n/fr/browser/branding':
Permission non accordée
Can't remove ../l10n/fr/browser/chrome/overrides/appstrings.properties:
Permission non accordée, skipping file.
Can't remove ../l10n/fr/browser/chrome/overrides/netError.dtd: Permission
non accordée, skipping file.
Can't remove ../l10n/fr/browser/chrome/overrides/settingsChange.dtd:
Permission non accordée, skipping file.
Can't remove ../l10n/fr/browser/chrome/browser/browser.properties:
Permission non accordée, skipping file.
Can't remove ../l10n/fr/browser/chrome/browser/engineManager.properties:
Permission non accordée, skipping file.
Can't remove ../l10n/fr/browser/chrome/browser/metaData.properties:
Permission non accordée, skipping file.
Can't remove ../l10n/fr/browser/chrome/browser/openLocation.properties:
Permission non accordée, skipping file.
Can't remove ../l10n/fr/browser/chrome/browser/pageInfo.properties:
Permission non accordée, skipping file.
Can't remove ../l10n/fr/browser/chrome/browser/quitDialog.properties:
Permission non accordée, skipping file.
Can't remove ../l10n/fr/browser/chrome/browser/search.properties:
Permission non accordée, skipping file.
Can't remove ../l10n/fr/browser/chrome/browser/sessionstore.properties:
Permission non accordée, skipping file.
Can't remove ../l10n/fr/browser/chrome/browser/shellservice.properties:
Permission non accordée, skipping file.
Can't remove ../l10n/fr/browser/chrome/browser/tabbrowser.properties:
Permission non accordée, skipping file.
Can't remove ../l10n/fr/browser/chrome/browser/aboutDialog.dtd: Permission
non accordée, skipping file.
Can't remove ../l10n/fr/browser/chrome/browser/aboutRobots.dtd: Permission
non accordée, skipping file.
Can't remove ../l10n/fr/browser/chrome/browser/baseMenuOverlay.dtd:
Permission non accordée, skipping file.
Can't remove ../l10n/fr/browser/chrome/browser/browser.dtd: Permission non
accordée, skipping file.
Can't remove ../l10n/fr/browser/chrome/browser/credits.dtd: Permission non
accordée, skipping file.
Can't remove ../l10n/fr/browser/chrome/browser/engineManager.dtd:
Permission non accordée, skipping file.
Can't remove ../l10n/fr/browser/chrome/browser/metaData.dtd: Permission
non accordée, skipping file.
Can't remove ../l10n/fr/browser/chrome/browser/openLocation.dtd:
Permission non accordée, skipping file.
Can't remove ../l10n/fr/browser/chrome/browser/pageInfo.dtd: Permission
non accordée, skipping file.
Can't remove ../l10n/fr/browser/chrome/browser/pageReport.dtd: Permission
non accordée, skipping file.
Can't remove ../l10n/fr/browser/chrome/browser/pageReportFirstTime.dtd:
Permission non accordée, skipping file.
Can't remove ../l10n/fr/browser/chrome/browser/safeMode.dtd: Permission
non accordée, skipping file.
Can't remove ../l10n/fr/browser/chrome/browser/sanitize.dtd: Permission
non accordée, skipping file.
Can't remove ../l10n/fr/browser/chrome/browser/searchbar.dtd: Permission
non accordée, skipping file.
Can't remove ../l10n/fr/browser/chrome/browser/setDesktopBackground.dtd:
Permission non accordée, skipping file.
Can't remove ../l10n/fr/browser/chrome/browser/tabbrowser.dtd: Permission
non accordée, skipping file.
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.

Just before the end (before the make), it still opens Emacs with
aboutDialog.dtd, but I don't know what to do with this...

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
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >>
>> >>
>> >
>> >
>>
>>
>>
>
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]