I am working on the norwegian translations for mythfrontend.<br><br>When I update the translations using lupdate <a href="http://translate.pro">translate.pro</a> all occurences of the <location tags> are deleted from the ts file, as described below:<br>
<br>When I update to the latest svn, the mythfrontend_nb.ts contains (first 20 lines):<br><?xml version="1.0" encoding="utf-8"?><br><!DOCTYPE TS><br><TS version="2.0" language="nb_NO"><br>
<context><br> <name></name><br> <message><br> <location filename="../libs/libmythtv/jobqueue.h" line="20"/><br> <source>Unknown</source><br>
<translation>Ukjent</translation><br> </message><br> <message><br> <location filename="../libs/libmythtv/jobqueue.h" line="21"/><br> <source>Queued</source><br>
<translation>Lagt i kø</translation><br> </message><br> <message><br> <location filename="../libs/libmythtv/jobqueue.h" line="22"/><br> <source>Pending</source><br>
<translation>Venter</translation><br> </message><br><br>After executing lupdate <a href="http://translate.pro">translate.pro</a>, the following happens to the mythfrontend_nb.ts file (first 20 lines):<br>
<br><?xml version="1.0" encoding="utf-8"?><br><!DOCTYPE TS><br><TS version="2.0" language="nb_NO"><br><context><br> <name></name><br> <message><br>
<source>Unknown</source><br> <translation>Ukjent</translation><br> </message><br> <message><br> <source>Queued</source><br> <translation>Lagt i kø</translation><br>
</message><br> <message><br> <source>Pending</source><br> <translation>Venter</translation><br> </message><br> <message><br> <source>Starting</source><br>
<translation>Starter</translation><br><br>I.e all <location> xml tags disappear in the ts file.<br>To my limited understanding this tag provides a reference to the source in linguist which is very useful during translation.<br>
<br>I check another ts file (mythfrontend_da.ts) before and after the lupdate, and the <location> tags for this file is not affected by the lupdate command.<br><br>I am using svn Revision: 23520. The "lupdate effect" happens also in a new svn directory created with svn co...<br>
<br>Because of this my current updated norwegian_nb.ts.diff will remove the <location> reference for all updated strings which I suppose is not good.<br><br>How can I fix this ?<br><br>Best Regards,<br><br>Rune Evjen<br>
<br><br><br>