public class GettextPullStrategy extends AbstractGettextPullStrategy
Constructor and Description |
---|
GettextPullStrategy(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, writeSrcFile
getOpts, getTransFileToWrite, isTransOnly
public GettextPullStrategy(PullOptions opts)
public FileDetails writeTransFile(Resource doc, String docName, LocaleMapping locMapping, TranslationsResource targetDoc) throws IOException
PullStrategy
doc
- may be null if needsDocToWriteTrans() returns falsedocName
- may be null if needsDocToWriteTrans() returns falseIOException
Copyright © 2017 Zanata Project. All rights reserved.