X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/22eef02a610c68826316e5ace7901f17a37b5c13..d284bd5142dc1ae7ed2396a6cd0eefcaa2a65264:/XMLNode.cpp diff --git a/XMLNode.cpp b/XMLNode.cpp index 8551b0f..cee8546 100644 --- a/XMLNode.cpp +++ b/XMLNode.cpp @@ -203,9 +203,13 @@ status_t parseStyledString(Bundle* bundle, } } if (xliffDepth == 0 && pseudolocalize) { +#ifdef ENABLE_PSEUDOLOCALIZE std::string orig(String8(text).string()); std::string pseudo = pseudolocalize_string(orig); curString.append(String16(String8(pseudo.c_str()))); +#else + assert(false); +#endif } else { if (isFormatted && hasSubstitutionErrors(fileName, inXml, text) != NO_ERROR) { return UNKNOWN_ERROR;