Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 86315c45 authored by Elliott Hughes's avatar Elliott Hughes Committed by Gerrit Code Review
Browse files

Merge "Fixes issue causing pseudolocalization of strings in non-translatable resource files."

parents 54c3529b 84410b05
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;