[glotpress-updates] [GlotPress] #251: Support StringArray in android xml
GlotPress
noreply at wordpress.org
Tue Jun 25 19:50:28 UTC 2013
#251: Support StringArray in android xml
--------------------------+-----------------
Reporter: peterdekr | Owner:
Type: enhancement | Status: new
Priority: major | Milestone:
Component: general | Version:
Resolution: | Keywords:
--------------------------+-----------------
Comment (by peterdekr):
Ok, I don't understand that.
If we give them these unique names, with a designated identifier as its
name, like __string1 __string2, then it is clear if we are exporting, that
those entries need to be in the same string array, isn't it?
input:
<string-array name="array1">
<item>a string</item>
<item>another string</item>
</string-array>
converted to:
"array1__string1" = "a string"
"array1__string2" = "another string"
And in export we check for : ends with "__string\d". If match, we keep it
in memory while processing other items, and if all items are collected we
generate the string-arrays and append them to the output file.
There is no relationship except for the order of the entries and the array
in which they belong.
So, what am I missing here?
--
Ticket URL: <http://glotpress.trac.wordpress.org/ticket/251#comment:5>
GlotPress <http://glotpress.trac.wordpress.org>
Easy comin', easy goin'
More information about the glotpress-updates
mailing list