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

Commit 84410b05 authored by Igor Viarheichyk's avatar Igor Viarheichyk
Browse files

Fixes issue causing pseudolocalization of strings

in non-translatable resource files.

Change-Id: Ic8e5effc86226d5be00561ac71bab7695ef90376
parent 56cd8dbf
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;