Hi Omar,
On Thu, Jun 25, 2009 at 10:54:27PM +0200, Omar Campagne wrote:
> I was building es.po and when I get to xsltproc -o
> output-html/ ../aptitude-html.xsl aptitude.xml I would get syntax
> errors, after correcting them all, I only get error like
> aptitude.xml:3630: parser error : Opening and ending tag mismatch:quote
> line 3625 and para
> </para>
>
> which refers to lines in the headers of the strings such as
>
> type: Content of: <book><chapter><section><section
>
> I don't get the what's the problem since I haven't touched those lines.
> Any help?
yep, the line numbers refer to errors in the generated file aptitude.xml not
to doc/po4a/po/es.po. I'm sure this is your problem.
I solved it by just searching for the corresponding text in the PO file and
my commit of your translation update contains this already. See the attached
patch for details.
> I'm pretty unfamiliar with this things.
It's obvious now, isn't it?
I think it is nevertheless possible that you get errors in strings you never
touched because of other changes. Consider e.g. a crossreference ("see
chapter <BLA>") where you forget to add the correct (untranslated) label
(id="...") in the corresponding chapter. Now you will probably get errors
everywhere where you refer to it.
Jens
diff -r 74098c05c742 doc/po4a/po/es.po
--- a/doc/po4a/po/es.po Fri Jun 26 09:01:26 2009 +0200
+++ b/doc/po4a/po/es.po Fri Jun 26 09:38:41 2009 +0200
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: aptitude doc es 0.5.2.1\n"
"POT-Creation-Date: 2009-04-26 20:35-0600\n"
-"PO-Revision-Date: 2009-06-25 18:42+0200\n"
+"PO-Revision-Date: 2009-06-26 09:31+0200\n"
"Last-Translator: Omar Campagne <[email protected]>\n"
"Language-Team: Spanish <[email protected]>\n"
"MIME-Version: 1.0\n"
@@ -6152,7 +6152,7 @@
msgstr ""
"El primero es un algoritmo que es también empleado en programas tales como "
"&apt-get; y <command>synaptic</command>; Me referiré a el como <"
-"quote>resolución inmediata<quote>. Es invocado cuando marca un paquete para "
+"quote>resolución inmediata</quote>. Es invocado cuando marca un paquete para "
"su instalación de forma interactiva, e inmediatamente después uno o más "
"paquetes son marcados en la linea de comandos. La resolución inmediata es "
"rápida y solucionara la mayoría de problemas de dependencias, aunque a veces "
@@ -6165,7 +6165,7 @@
"quote>, is invoked when packages have broken dependencies even after "
"immediate resolution<footnote>"
msgstr ""
-"El segundo algoritmo, que llamaré </quote>resolución interactiva<quote>, es "
+"El segundo algoritmo, que llamaré <quote>resolución interactiva</quote>, es "
"invocado cuando hay paquetes con dependencias rotas incluso tras la "
"resolución inmediate<footnote>"
_______________________________________________
Aptitude-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/aptitude-devel