Re: [translations] Re: Catalan translation priority 1 (issue 102170048)

[ Thread Index | Date Index | More lilynet.net/translations Archives ]



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.


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?


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/