/frameworks/base/tools/localize/ |
merge_res_and_xliff.h | 9 const string& filename, const XLIFFFile* xliff);
|
localize_test.cpp | 7 int pseudolocalize_xliff(XLIFFFile* xliff, bool expand); 57 XLIFFFile* xliff = XLIFFFile::Parse("testdata/strip_xliff.xliff"); local 58 if (xliff == NULL) { 63 printf("XLIFF was [[%s]]\n", xliff->ToString().c_str()); 66 xliff->Filter(return_false, NULL); 69 printf("XLIFF is [[%s]]\n", xliff->ToString().c_str()); 71 set<StringResource> const& strings = xliff->GetStringResources() 88 XLIFFFile* xliff = XLIFFFile::Parse("testdata\/strip_xliff.xliff"); local 169 XLIFFFile* xliff = XLIFFFile::Parse("testdata\/pseudo.xliff"); local [all...] |
merge_res_and_xliff_test.cpp | 33 XLIFFFile* xliff = XLIFFFile::Parse("testdata/merge.xliff"); local 36 "//device/tools/localize/testdata/res/values/strings.xml", xliff);
|
merge_res_and_xliff.cpp | 80 set<StringResource> xliff = xliffFile->GetStringResources(); local 87 set<StringResource>::const_iterator xlf = find_in_xliff(xliff, en_c->file, en_c->id, 94 printf("xlf: "); printit(xliff, xlf); 112 // if it is present in xliff, use that 114 if (xlf != xliff.end() && xlf->value->ToString(ANDROID_NAMESPACES) != "") { 133 // one at runtime, and the xliff export code will pick it up for translation next time. 146 XLIFFFile* xliff; member in struct:MergedFile 171 :xliff(NULL), 187 :xliff(that.xliff), 217 XLIFFFile* xliff = XLIFFFile::Parse(*xliffFilename); local [all...] |
localize.cpp | 116 ValuesFile_to_XLIFFFile(const ValuesFile* values, XLIFFFile* xliff, const string& englishFilename) 122 xliff->AddStringResource(res); 160 * now, so it shouldn't be in the XLIFF file. 171 * the xliff files reducing in size, so we pick the latter. Obviously, if the string has 315 XLIFFFile* xliff = XLIFFFile::Create(english, translated, setting.currentVersion); local 330 ValuesFile_to_XLIFFFile(currentFile, xliff, resFile); 343 ValuesFile_to_XLIFFFile(oldFile, xliff, resFile); 356 ValuesFile_to_XLIFFFile(transFile, xliff, resFile); 364 Stats beforeFilterStats = xliff->GetStats(config); 369 xliff->Filter(keep_this_trans_unit, (void*)&setting) 401 XLIFFFile* xliff = it->second; local 439 XLIFFFile* xliff; member in struct:PseudolocalizeSettings 508 XLIFFFile* xliff = XLIFFFile::Parse(infile); local [all...] |
XLIFFFile_test.cpp | 10 XLIFFFile* xf = XLIFFFile::Parse("testdata/xliff1.xliff"); 68 XMLNode* xliff = create_string_node(res, "blah"); local 71 string newString = xliff->ToString(XLIFF_NAMESPACES);
|