public class GettextDirStrategy extends AbstractGettextPullStrategy
| Constructor and Description |
|---|
GettextDirStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
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, getOpts, getPoWriter, needsDocToWriteTrans, setPullOptions, writeSrcFilepublic void writeTransFile(org.zanata.rest.dto.resource.Resource doc,
String docName,
LocaleMapping locMapping,
org.zanata.rest.dto.resource.TranslationsResource targetDoc)
throws IOException
PullStrategydoc - may be null if needsDocToWriteTrans() returns falsedocName - may be null if needsDocToWriteTrans() returns falseIOExceptionCopyright © 2012 Zanata Project. All Rights Reserved.