public class GettextDirStrategy extends AbstractGettextPullStrategy
| Constructor and Description |
|---|
GettextDirStrategy(PullOptions opts) |
| Modifier and Type | Method and Description |
|---|---|
FileDetails |
writeTransFile(Resource doc,
String docName,
LocaleMapping locMapping,
TranslationsResource targetDoc)
pre: docWithLocalName.getName() must match docName if docWithLocalName is
not null
|
getExtensions, getPoWriter, needsDocToWriteTrans, writeSrcFilegetOpts, getTransFileToWrite, isTransOnlypublic GettextDirStrategy(PullOptions opts)
public FileDetails writeTransFile(Resource doc, String docName, LocaleMapping locMapping, TranslationsResource targetDoc) throws IOException
PullStrategydoc - may be null if needsDocToWriteTrans() returns falsedocName - may be null if needsDocToWriteTrans() returns falseIOExceptionCopyright © 2018 Zanata Project. All rights reserved.