public class GettextDirStrategy extends AbstractGettextPullStrategy
Constructor and Description |
---|
GettextDirStrategy(PullOptions opts) |
Modifier and Type | Method and Description |
---|---|
org.zanata.common.io.FileDetails |
writeTransFile(org.zanata.rest.dto.resource.Resource doc,
String docName,
LocaleMapping locMapping,
org.zanata.rest.dto.resource.TranslationsResource targetDoc)
pre: docWithLocalName.getName() must match docName if docWithLocalName is
not null
|
getExtensions, getPoWriter, needsDocToWriteTrans, writeSrcFile
getOpts, getTransFileToWrite, isTransOnly
public GettextDirStrategy(PullOptions opts)
public org.zanata.common.io.FileDetails writeTransFile(org.zanata.rest.dto.resource.Resource doc, String docName, LocaleMapping locMapping, org.zanata.rest.dto.resource.TranslationsResource targetDoc) throws IOException
PullStrategy
doc
- may be null if needsDocToWriteTrans() returns falsedocName
- may be null if needsDocToWriteTrans() returns falseIOException
Copyright © 2016 Zanata Project. All rights reserved.