am 6a6979ad: am 86315c45: Merge "Fixes issue causing pseudolocalization of strings in non-translatable resource files."
* commit '6a6979ad17dfb492fb85a979e8f8688e4ed973b2': Fixes issue causing pseudolocalization of strings in non-translatable resource files.
This commit is contained in:
@@ -1340,7 +1340,6 @@ status_t compileResourceFile(Bundle* bundle,
|
||||
name,
|
||||
locale,
|
||||
SourcePos(in->getPrintableSource(), block.getLineNumber()));
|
||||
curIsPseudolocalizable = fileIsTranslatable;
|
||||
}
|
||||
|
||||
if (formatted == false16) {
|
||||
@@ -1352,7 +1351,7 @@ status_t compileResourceFile(Bundle* bundle,
|
||||
curType = string16;
|
||||
curFormat = ResTable_map::TYPE_REFERENCE|ResTable_map::TYPE_STRING;
|
||||
curIsStyled = true;
|
||||
curIsPseudolocalizable = (translatable != false16);
|
||||
curIsPseudolocalizable = fileIsTranslatable && (translatable != false16);
|
||||
} else if (strcmp16(block.getElementName(&len), drawable16.string()) == 0) {
|
||||
curTag = &drawable16;
|
||||
curType = drawable16;
|
||||
|
||||
Reference in New Issue
Block a user