Skip to content

Conversation

@brentinrochester
Copy link

It is valid for Android XML files to have strings that disregard the formatting characters (like percent) by setting the tag formatted="false", such as:

50% off

This tag was previously not being carried through an export/import cycle. Now it is tracked properly. In the po file we will store the flag "no-c-format" to mean formatted="false" in the XML.

Note: this is only implemented for at this time, not and .

Closes #24

It is valid for Android XML files to have strings that disregard
the formatting characters (like percent) by setting the tag
formatted="false", such as:

   <string name="discount" formatted="false">50% off</string>

This tag was previously not being carried through an export/import
cycle. Now it is tracked properly. In the po file we will store
the flag "no-c-format" to mean formatted="false" in the XML.

Note: this is only implemented for <string> at this time, not
<plurals> and <string-array>.

Closes miracle2k#24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

losing string attribute: formatted="false"

2 participants