Changes

Jump to navigation Jump to search
762 bytes removed ,  01:20, 9 February 2008
m
Line 28: Line 28:       −
*possible bug
+
*possible BIG bug
 
:xml2po fails when converting back to xml if duplicate <trans> exist
 
:xml2po fails when converting back to xml if duplicate <trans> exist
::Apply the new module smerev.py at newxml script. I have tested and working ok.
   
  FM XML:
 
  FM XML:
 
       <entry>
 
       <entry>
Line 42: Line 41:  
       </entry>
 
       </entry>
   −
Converted PO:
+
and the english <trans> values may be the same, but the translation may not
#: on:30(trans) on:35(trans)
  −
msgid "Online manual"
  −
msgstr ""
  −
  −
Back converted XML:
  −
      <entry>
  −
        <base>Online manual</base>
  −
        <trans>Online manual</trans>
  −
      </entry>
  −
  −
      <entry>
  −
        <base>Test</base>
  −
        <trans>Online manual</trans>
  −
      </entry>
  −
 
  −
::and if you have translated, logically you get:
  −
  −
Translated PO:
  −
#: on:30(trans) on:35(trans)
  −
msgid "Online manual"
  −
msgstr "Children"
  −
  −
Back converted XML:
  −
      <entry>
  −
        <base>Online manual</base>
  −
        <trans>Children</trans>
  −
      </entry>
  −
  −
      <entry>
  −
        <base>Test</base>
  −
        <trans>Children</trans>
  −
      </entry>
  −
 
  −
 
  −
It may still be a problem, the english <trans> values may be the same, but the translation may not
   
  FM XML in fr:
 
  FM XML in fr:
 
       <entry>
 
       <entry>
Line 86: Line 50:  
       <entry>
 
       <entry>
 
         <base>Test</base>
 
         <base>Test</base>
         <trans>Le online manual</trans>
+
         <trans>Le manual online</trans>
 
       </entry>
 
       </entry>
   Line 97: Line 61:  
::May be you can preprocess this tag at script level.
 
::May be you can preprocess this tag at script level.
 
::: Yes, these can be preprocessed, others can be added if required
 
::: Yes, these can be preprocessed, others can be added if required
 +
    
*localnetworks, has no value for ROUTER_DESC
 
*localnetworks, has no value for ROUTER_DESC

Navigation menu