diff options
author | 2010-05-28 15:44:32 -0700 | |
---|---|---|
committer | 2010-06-03 09:33:43 -0700 | |
commit | 15fe2cb73b0770316db302f6502f568062d68e74 (patch) | |
tree | 9764af2f6feb0083e768779fc933de1b7f98f352 /tools/aapt/XMLNode.h | |
parent | a9f06fef8e2fff0c909132073203de5bd2461795 (diff) |
Add error checking for translatable strings
Translatable strings that have multiple substitutions should use
positional String.format() substitutions. This change makes it an error
not to use that format on translatable strings that have more than one
substitution in its text.
Change-Id: I3a19707f3804aa24e8568dc1653a11576cac5916
Diffstat (limited to 'tools/aapt/XMLNode.h')
-rw-r--r-- | tools/aapt/XMLNode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/aapt/XMLNode.h b/tools/aapt/XMLNode.h index e9a263bf41d8..05624b745176 100644 --- a/tools/aapt/XMLNode.h +++ b/tools/aapt/XMLNode.h @@ -25,6 +25,7 @@ status_t parseStyledString(Bundle* bundle, const String16& endTag, String16* outString, Vector<StringPool::entry_style_span>* outSpans, + bool isFormatted, bool isPseudolocalizable); void printXMLBlock(ResXMLTree* block); |