Re: [translations] Re: Catalan translation priority 1 (issue 102170048) |
[ Thread Index |
Date Index
| More lilynet.net/translations Archives
]
- To: Translations Lilypond <translations@xxxxxxxxxxx>
- Subject: Re: [translations] Re: Catalan translation priority 1 (issue 102170048)
- From: Walter Garcia-Fontes <walter.garcia@xxxxxxx>
- Date: Mon, 9 Jun 2014 17:12:01 +0200
- Organization: Departament of Economics and Business, Universitat Pompeu Fabra
* Federico Bruni, fedelogy@xxxxxxxxx [09/06/14 16:56]:
> 2014-06-09 12:27 GMT+02:00 Walter Garcia-Fontes <walter.garcia@xxxxxxx>:
>
> > Anyway, I wait for you or Federico to try my patches and tell me if
> > there is any problem. At least your advise made me correct a couple of
> > wrong line endings in Documenation/po/ca.po.
> >
Thanks Federico for your comments, I try to take a look and see if I
can figure it out.
I think I can have a try to debug it.
> Hi Walter, see below.
> First, some files should not be in web/
>
> $ git status
> Sul branch translation
> Il tuo branch è avanti rispetto a 'origin/translation' di 17 commit.
> (use "git push" to publish your local commits)
>
> Changes to be committed:
> (use "git reset HEAD <file>..." to unstage)
>
> deleted: ca/web/common-macros.itexi
> deleted: ca/web/cyrillic.itexi
> deleted: ca/web/macros.itexi
>
> Changes not staged for commit:
> (use "git add <file>..." to update what will be committed)
> (use "git checkout -- <file>..." to discard changes in working directory)
>
> modified: ../python/langdefs.py
>
>
> Second, you forgot to add ca in langdefs.py:
>
> fede@federico:~/lilypond-git/Documentation$ git diff
> diff --git a/python/langdefs.py b/python/langdefs.py
> index 51c38de..7511ffb 100644
> --- a/python/langdefs.py
> +++ b/python/langdefs.py
> @@ -74,8 +74,8 @@ zh = LanguageDef ('zh', '中文',
> enable_ly_identifier_l10n=False)
> # (please run 'make doc-clean' before doing that):
> #fr.enabled = False
>
> -LANGUAGES = (site, cs, de, es, fr, hu, it, ja, nl, zh)
> -WEB_LANGUAGES = (site, cs, de, es, fr, hu, it, ja, nl, zh)
> +LANGUAGES = (site, ca, cs, de, es, fr, hu, it, ja, nl, zh)
> +WEB_LANGUAGES = (site, ca, cs, de, es, fr, hu, it, ja, nl, zh)
>
> if os.getenv("MAKEWEB") == '1':
> LANGUAGES=WEB_LANGUAGES
>
>
> Now, ca is recognized but I'm getting this error:
>
> $ cat Documentation/ca/web.splittexi.log
> Processing web site: [ca]
> ** closing qq (2 braces missing) (l. 346)
> ** `Introduccció' doesn't appear in menus
> ** `Top' is up for `Introduccció', but has no menu entry for this node
> WARNING: Unable to load the map file
> WARNING: Unable to find node 'Introducció' in book .
> WARNING: Unable to find node 'Introducció' in book .
> *** Undefined node `Introducció' in @ref (l. 133 in @divClass)
> Max error number exceeded
>
> Do you know how to debug it?
--
Walter Garcia-Fontes
mailto: walter.garcia@xxxxxxx - http://puna.upf.edu
Departament d'Economia i Empresa - http://www.econ.upf.edu
Universitat Pompeu Fabra
Ramon Trias Fargas 25-27, 08005 Barcelona, Spain
Tel. +34 93 542 2722 - Fax. +34 93 542 1746