Support the <plurals> tag used in Android string resource files
Strings in Android strings.xml files are not always represented by a <string> tag e.g.
<string name="developer">Martin</string>
they are often represented by a <plurals> tag which contains <item> tags e.g.
<plurals name="person">
<item quantity="one">%d person</item>
<item quantity="other">%d people</item>
</plurals>
Amanuens caters only for <string> tags and ignores <plurals><item> tags.
1 comment
-
mjdenham
commented
It is possible to work around this by referencing normal strings from plurals tags e.g.
<plurals name="num_chapters">
<item quantity="one">@string/one_chapter</item>
<item quantity="other">@string/some_chapters</item>
</plurals>
<string name="one_chapter">%d chapter</string>
<string name="some_chapters">%d chapters</string>