Re: [Gimp-docs] Translated strings in po remain in English in html

2010-12-24 Thread Ulf-D. Ehlert
Julien Hardelin (Thursday, 23. December 2010) 
 I tried deleting the fr string, and saving dialogs.po; then
 reopening dialogs.po and translating the string again, saving
 again. make html-fr: the string is still English :-(

Remove and recreate xml/fr/dialogs/templates-dialog.xml.

Bye,
Ulf

-- 
Ich denke, also bin ich kein Christ.
-- Karlheinz Deschner


signature.asc
Description: This is a digitally signed message part.
___
Gimp-docs mailing list
Gimp-docs@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs


Re: [Gimp-docs] Translated strings in po remain in English in html

2010-12-24 Thread Julien Hardelin
Hi,
 
 Remove and recreate xml/fr/dialogs/templates-dialog.xml.
 

All is OK now

Thank you and Merry Xmas!

Julien
___
Gimp-docs mailing list
Gimp-docs@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs


Re: [Gimp-docs] Translated strings in po remain in English in html

2010-12-23 Thread Julien Hardelin
Hi,

 what strings exactly you mean? 

#: src/dialogs/templates-dialog.xml:34(para)
msgid 
Templates are templates for an image format to be
created.acronymGIMP/acronym offers you a lot of templates and you
can create your owns. When you create a New image, you can access to the
list of existing templates but you can't manage them. The
quoteTemplates/quote dialog allows you to manage all these templates.
msgstr 
Il s'agit de modèles pour un format d'image à
créer.acronymGIMP/acronym vous offre un certain nombre de modèles,
et vous pouvez créer vos propres modèles. Quand vous créez une Nouvelle
image, vous pouvez accéder à la liste des modèles existants, mais vous
ne pouvez pas les gérer. La fenêtre de dialogue quoteModèles/quote
vous donne la possibilité de gérer ces différents modèles.

This French string is displayed in English in the French Html.

I tried deleting the fr string, and saving dialogs.po; then reopening
dialogs.po and translating the string again, saving again. make html-fr:
the string is still English :-(

Julien

___
Gimp-docs mailing list
Gimp-docs@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs


Re: [Gimp-docs] Translated strings in po remain in English in html

2010-12-23 Thread Julien Hardelin

 did you try to run make clean before make html-fr? you can also make
 sure xml directory is deleted after make clean (as files in this
 directory are used for generating of the html files).

~/gimp-help-2 make clean
Making clean in quickreference
make[1]: entrant dans le répertoire «
/home/julien/gimp-help-2/quickreference »
rm -rf docbook
rm -rf svg
rm -rf xml
rm -f .xml2po.mo
make[1]: quittant le répertoire « /home/julien/gimp-help-2/quickreference »
Making clean in .
make[1]: entrant dans le répertoire « /home/julien/gimp-help-2 »
make[1]: quittant le répertoire « /home/julien/gimp-help-2 »

~/gimp-help-2 make html-fr
Makefile:488: xml/de/.deps.mk: Aucun fichier ou dossier de ce type
Makefile:488: xml/fr/.deps.mk: Aucun fichier ou dossier de ce type
[SRC] src/preface/authors.xml
[DEP] xml/fr/.deps.mk
[DEP] xml/de/.deps.mk
[POT] pot/appendix.pot
[POT] pot/dialogs.pot
Traceback (most recent call last):
  File ./tools/xml2po.py, line 191, in module
main(sys.argv[1:])
  File ./tools/xml2po.py, line 184, in main
xml2po_main.to_pot(filenames)
  File /home/julien/gimp-help-2/tools/xml2po/__init__.py, line 570, in
to_pot
self.current_mode.preProcessXml(doc.doc, self.msg)
  File /home/julien/gimp-help-2/tools/xml2po/modes/gimphelp.py, line
85, in preProcessXml
root = doc.getRootElement()
  File /usr/lib64/python2.6/site-packages/libxml2.py, line 4199, in
getRootElement
if ret is None:raise treeError('xmlDocGetRootElement() failed')
libxml2.treeError: xmlDocGetRootElement() failed
make: *** [pot/dialogs.pot] Erreur 1

There is a serious problem!
If you understand that...

Julien
___
Gimp-docs mailing list
Gimp-docs@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs


Re: [Gimp-docs] Translated strings in po remain in English in html

2010-12-23 Thread Miroslav Šulc
Dne 23.12.2010 21:33, Julien Hardelin napsal(a):
 ~/gimp-help-2 make clean
 Making clean in quickreference
 make[1]: entrant dans le répertoire «
 /home/julien/gimp-help-2/quickreference »
 rm -rf docbook
 rm -rf svg
 rm -rf xml
 rm -f .xml2po.mo
 make[1]: quittant le répertoire « /home/julien/gimp-help-2/quickreference »
 Making clean in .
 make[1]: entrant dans le répertoire « /home/julien/gimp-help-2 »
 make[1]: quittant le répertoire « /home/julien/gimp-help-2 »

 ~/gimp-help-2 make html-fr
 Makefile:488: xml/de/.deps.mk: Aucun fichier ou dossier de ce type
 Makefile:488: xml/fr/.deps.mk: Aucun fichier ou dossier de ce type
 [SRC] src/preface/authors.xml
 [DEP] xml/fr/.deps.mk
 [DEP] xml/de/.deps.mk
 [POT] pot/appendix.pot
 [POT] pot/dialogs.pot
 Traceback (most recent call last):
   File ./tools/xml2po.py, line 191, in module
 main(sys.argv[1:])
   File ./tools/xml2po.py, line 184, in main
 xml2po_main.to_pot(filenames)
   File /home/julien/gimp-help-2/tools/xml2po/__init__.py, line 570, in
 to_pot
 self.current_mode.preProcessXml(doc.doc, self.msg)
   File /home/julien/gimp-help-2/tools/xml2po/modes/gimphelp.py, line
 85, in preProcessXml
 root = doc.getRootElement()
   File /usr/lib64/python2.6/site-packages/libxml2.py, line 4199, in
 getRootElement
 if ret is None:raise treeError('xmlDocGetRootElement() failed')
 libxml2.treeError: xmlDocGetRootElement() failed
 make: *** [pot/dialogs.pot] Erreur 1

 There is a serious problem!
 If you understand that...
it is already fixed
(https://bugzilla.gnome.org/show_bug.cgi?id=637505#c23 and following),
just push from repo.
 Julien
miroslav
___
Gimp-docs mailing list
Gimp-docs@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs