Changes

Jump to navigation Jump to search
369 bytes removed ,  03:21, 3 February 2008
m
Line 17: Line 17:  
  http://mirror.contribs.org/smeserver/contribs/nhall/sme7/contribs/pootle/rpm/gnome-doc-utils-0.12.0-1.noarch.rpm
 
  http://mirror.contribs.org/smeserver/contribs/nhall/sme7/contribs/pootle/rpm/gnome-doc-utils-0.12.0-1.noarch.rpm
   −
Before try, you must edit a few files.  
+
Before try, you must edit a few lines.  
   −
The first is /usr/bin/xml2po
+
/usr/share/xml2po/empty.py
:Change at line 115 from "charset=UTF-8" to "charset=iso-8859-1"
+
Line 27 from "return []" to "return ['base']"
 
+
Line 31 from "return []" to "return ['trans', 'A']"
Then change /usr/share/xml2po/empty.py
+
Line 35 from "return []" to "return ['trans']"
:Line 27 from "return []" to "return ['base']"
  −
:Line 31 from "return []" to "return ['trans', 'A']"
  −
:Line 35 from "return []" to "return ['trans']"
      
===Create .po and export xml===
 
===Create .po and export xml===
Line 69: Line 66:  
There are a lot of double quotes, xml2po escape them correctly, but it isn't clear how the translator is to do this, and they shouldn't have, single quotes or nothing should do.
 
There are a lot of double quotes, xml2po escape them correctly, but it isn't clear how the translator is to do this, and they shouldn't have, single quotes or nothing should do.
   −
something went wrong with the encoding
+
something went wrong with the encoding [fixed, use UTF-8, the xml2po default]
-I created a po, copied to fr, added by copy and paste some of the translations, and uploaded
  −
-at pootle the text changed from
  −
modify a repository        /original
  −
modifier un dépôt          /local editor (the characters in dépôt cause the problem)
  −
modifier un dépôt  /pootle
      
until these are resolved i haven't check when the CDATA text should be changed,  
 
until these are resolved i haven't check when the CDATA text should be changed,  

Navigation menu