You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Translated strings are not saved correctly when there is a ph (placeholder) tag in source string.
Here is the example string before translation...
<trans-unitdatatype="plaintext"id="tu-25783">
<source>The system is archiving the <phid="bn-25785"ctype="x-bn-meth"assoc="both">[asis,Horde]</ph> data to the “<phid="bn-25787"ctype="x-bn-var"assoc="both">[_1]</ph>” file.</source>
<target>The system is archiving the <phid="bn-25785"ctype="x-bn-meth"assoc="both">[asis,Horde]</ph> data to the “<phid="bn-25787"ctype="x-bn-var"assoc="both">[_1]</ph>” file.</target>
</trans-unit>
Here is the string after translation and pootle sync_stores command. This is what's saved in translation file...
<trans-unitdatatype="plaintext"id="tu-58"approved="yes">
<source>The system is archiving the <phid="bn-60"ctype="x-bn-meth"assoc="both">[asis,Horde]</ph> data to the “<phid="bn-62"ctype="x-bn-var"assoc="both">[_1]</ph>” file.</source>
<targetstate="translated">Sistem arhivira [asis,Horde] podatke u fajl “[_1]”.<phid="bn-60"ctype="x-bn-meth"assoc="both">[asis,Horde]</ph> data to the “<phid="bn-62"ctype="x-bn-var"assoc="both">[_1]</ph>” file.</target>
</trans-unit>
The target string contains raw functions extracted from ph tags and everything after opening ph tag appended as-is to the target string.
The text was updated successfully, but these errors were encountered:
ljubisham
changed the title
Translations not saved correctly with placeholder (ph) tags #bug
Translations not saved correctly with placeholder (ph) tags
May 27, 2016
Translated strings are not saved correctly when there is a ph (placeholder) tag in source string.
Here is the example string before translation...
Here is the string after translation and pootle sync_stores command. This is what's saved in translation file...
The target string contains raw functions extracted from ph tags and everything after opening ph tag appended as-is to the target string.
The text was updated successfully, but these errors were encountered: