Lines Matching refs:xliff
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);
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);
371 Stats afterFilterStats = xliff->GetStats(config);
377 TransUnit* tu = xliff->EditTransUnit(reject->file, reject->name);
381 // config-locale-current_cl.xliff
386 filename << config << '-' << targetLocale << '-' << setting.currentVersion << ".xliff";
387 xliffs.push_back(pair<string,XLIFFFile*>(filename.str(), xliff));
397 // write the XLIFF files
401 XLIFFFile* xliff = it->second;
402 string text = xliff->ToString();
439 XLIFFFile* xliff;
486 target->config = settings->xliff->TargetConfig();
493 pseudolocalize_xliff(XLIFFFile* xliff, bool expand)
497 settings.xliff = xliff;
499 xliff->Map(pseudolocalize_trans_unit, &settings);
508 XLIFFFile* xliff = XLIFFFile::Parse(infile);
509 if (xliff == NULL) {
513 pseudolocalize_xliff(xliff, expand);
515 err = write_to_file(outfile, xliff->ToString());
517 delete xliff;
566 " CONFIG-LOCALE-CURRENT_CL.xliff\n"
571 "Import a translated XLIFF file back into the tree.\n"
593 "Read INFILE, an XLIFF file, and output a pseudotranslated version of that file. If\n"