Changes

Jump to navigation Jump to search
953 bytes added ,  15:43, 8 February 2008
Line 34: Line 34:  
*possible bug
 
*possible 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:
 +
      <entry>
 +
        <base>Online manual</base>
 +
        <trans>Online manual</trans>
 +
      </entry>
 +
 +
      <entry>
 +
        <base>Test</base>
 +
        <trans>Online manual</trans>
 +
      </entry>
 +
 +
Converted PO:
 +
#: 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>
 +
     
985

edits

Navigation menu