Modifier and Type | Method and Description |
---|---|
Map<LocaleId,List<GlossaryEntry>> |
GlossaryCSVReader.extractGlossary(Reader reader,
String qualifiedName) |
abstract Map<LocaleId,List<GlossaryEntry>> |
AbstractGlossaryPushReader.extractGlossary(Reader reader,
String qualifiedName)
Extract glossary entry using provided reader.
|
Map<LocaleId,List<GlossaryEntry>> |
GlossaryPoReader.extractGlossary(Reader reader,
String qualifiedName) |
Modifier and Type | Method and Description |
---|---|
protected GlossaryTerm |
AbstractGlossaryPullWriter.getGlossaryTerm(List<GlossaryTerm> terms,
LocaleId localeId) |
void |
GlossaryCSVWriter.write(OutputStream stream,
List<GlossaryEntry> entries,
LocaleId srcLocale,
List<LocaleId> transLocales) |
void |
GlossaryPoWriter.write(OutputStream stream,
List<GlossaryEntry> entries,
LocaleId srcLocale,
LocaleId targetLocale) |
void |
GlossaryCSVWriter.write(Writer fileWriter,
List<GlossaryEntry> entries,
LocaleId srcLocale,
List<LocaleId> transLocales)
This output a csv files of given
transLocales . |
void |
GlossaryPoWriter.write(Writer fileWriter,
List<GlossaryEntry> entries,
LocaleId srcLocale,
LocaleId targetLocale)
This output a single po files of given
targetLocale . |
Modifier and Type | Method and Description |
---|---|
void |
GlossaryCSVWriter.write(OutputStream stream,
List<GlossaryEntry> entries,
LocaleId srcLocale,
List<LocaleId> transLocales) |
void |
GlossaryCSVWriter.write(Writer fileWriter,
List<GlossaryEntry> entries,
LocaleId srcLocale,
List<LocaleId> transLocales)
This output a csv files of given
transLocales . |
Constructor and Description |
---|
GlossaryCSVReader(LocaleId srcLang)
This class will close the reader
|
GlossaryPoReader(LocaleId srcLang,
LocaleId transLang)
This class will close the reader
|
Modifier and Type | Method and Description |
---|---|
Resource |
PoReader2.extractTemplate(InputSource inputSource,
LocaleId sourceLocaleId,
String docName)
Extract contents of a POT file and convert to a Resource.
|
Constructor and Description |
---|
PropReader(PropWriter.CHARSET charset,
LocaleId sourceLocale,
ContentState contentState) |
Modifier and Type | Method and Description |
---|---|
Resource |
XliffReader.extractTemplate(File file,
LocaleId sourceLocaleId,
String docName,
String validationType) |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Map<LocaleId,PushPullCommand.TranslatedPercent>> |
PushPullCommand.getDocsTranslatedPercent(LocaleList locales) |
protected com.google.common.base.Optional<Map<String,Map<LocaleId,PushPullCommand.TranslatedPercent>>> |
PushPullCommand.prepareStatsIfApplicable(boolean pullTarget,
LocaleList locales)
this stats map will have docId as key, the value is another map with
localeId as key and translated percent as value.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
PushPullCommand.shouldPullThisLocale(com.google.common.base.Optional<Map<String,Map<LocaleId,PushPullCommand.TranslatedPercent>>> optionalStats,
String localDocName,
LocaleId serverLocale) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
PushPullCommand.shouldPullThisLocale(com.google.common.base.Optional<Map<String,Map<LocaleId,PushPullCommand.TranslatedPercent>>> optionalStats,
String localDocName,
LocaleId serverLocale) |
Modifier and Type | Field and Description |
---|---|
static LocaleId |
LocaleId.DE |
static LocaleId |
LocaleId.EN |
static LocaleId |
LocaleId.EN_US |
static LocaleId |
LocaleId.ES |
static LocaleId |
LocaleId.FR |
Modifier and Type | Method and Description |
---|---|
static LocaleId |
LocaleId.fromJavaName(String localeName) |
Modifier and Type | Method and Description |
---|---|
protected LocaleId |
LocaleIdSet.valueOfElem(String value) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
TransDocResourceClient.getTranslations(String idNoSlash,
LocaleId locale,
Set<String> extensions,
boolean createSkeletons,
String eTag) |
void |
GlossaryClient.post(List<GlossaryEntry> glossaryEntries,
LocaleId localeId,
String qualifiedName) |
ProcessStatus |
AsyncProcessClient.startTranslatedDocCreationOrUpdate(String idNoSlash,
String projectSlug,
String iterationSlug,
LocaleId locale,
TranslationsResource translatedDoc,
Set<String> extensions,
String merge,
boolean myTrans) |
Modifier and Type | Method and Description |
---|---|
LocaleId |
GlossaryTerm.getLocale() |
LocaleId |
LocaleDetails.getLocaleId() |
LocaleId |
ProjectStatisticsMatrix.getLocaleId() |
LocaleId |
GlossaryEntry.getSrcLang() |
LocaleId |
LocaleIdAdapter.unmarshal(String s) |
Modifier and Type | Method and Description |
---|---|
List<LocaleId> |
User.getLanguageTeams() |
Modifier and Type | Method and Description |
---|---|
String |
LocaleIdAdapter.marshal(LocaleId localeId) |
void |
GlossaryTerm.setLocale(LocaleId locale) |
void |
LocaleDetails.setLocaleId(LocaleId localeId) |
void |
ProjectStatisticsMatrix.setLocaleId(LocaleId localeId) |
void |
GlossaryEntry.setSrcLang(LocaleId srcLang) |
Modifier and Type | Method and Description |
---|---|
void |
User.setLanguageTeams(List<LocaleId> languageTeams) |
Constructor and Description |
---|
LocaleDetails(LocaleId localeId,
String displayName,
String alias,
String nativeName,
boolean enabled,
boolean enabledByDefault,
String pluralForms) |
ProjectStatisticsMatrix(String savedDate,
LocaleId localeId,
String localeDisplayName,
ContentState savedState,
long wordCount) |
Constructor and Description |
---|
User(String username,
String email,
String name,
String imageUrl,
List<LocaleId> languageTeams,
List<String> roles) |
Modifier and Type | Method and Description |
---|---|
LocaleId |
AbstractResourceMeta.getLang() |
LocaleId |
TextFlow.getLang()
Locale code for this text flow.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractResourceMeta.setLang(LocaleId lang) |
void |
TextFlow.setLang(LocaleId lang) |
Constructor and Description |
---|
TextFlow(String id,
LocaleId lang) |
TextFlow(String id,
LocaleId lang,
List<String> contentList) |
TextFlow(String id,
LocaleId lang,
String... content) |
Modifier and Type | Method and Description |
---|---|
LocaleId |
LocaleStatistics.getLocale() |
Constructor and Description |
---|
LocaleStatistics(LocaleId locale) |
LocaleStatistics(LocaleId locale,
BaseContributionStatistic translationStats,
BaseContributionStatistic reviewStats) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
MockTranslatedDocResource.deleteTranslations(String idNoSlash,
LocaleId locale) |
javax.ws.rs.core.Response |
TranslatedDocResource.deleteTranslations(String idNoSlash,
LocaleId locale)
Deletes a set of translations for a given locale.
|
javax.ws.rs.core.Response |
TranslationMemoryResource.getAllTranslationMemory(LocaleId locale) |
javax.ws.rs.core.Response |
MockGlossaryResource.getDetails(LocaleId locale,
List<Long> termIds) |
javax.ws.rs.core.Response |
GlossaryResource.getDetails(LocaleId locale,
List<Long> termIds)
Get the details for a set of glossary terms.
|
javax.ws.rs.core.Response |
MockGlossaryResource.getEntries(LocaleId srcLocale,
LocaleId transLocale,
int page,
int sizePerPage,
String filter,
String sort,
String qualifiedName) |
javax.ws.rs.core.Response |
GlossaryResource.getEntries(LocaleId srcLocale,
LocaleId transLocale,
int page,
int sizePerPage,
String filter,
String fields,
String qualifiedName)
Returns Glossary entries for the given source and translation locale with
paging
|
javax.ws.rs.core.Response |
TranslationMemoryResource.getProjectIterationTranslationMemory(String projectSlug,
String iterationSlug,
LocaleId locale) |
javax.ws.rs.core.Response |
TranslationMemoryResource.getProjectTranslationMemory(String projectSlug,
LocaleId locale) |
javax.ws.rs.core.Response |
MockTranslatedDocResource.getTranslations(String idNoSlash,
LocaleId locale,
Set<String> extensions,
boolean createSkeletons,
String eTag) |
javax.ws.rs.core.Response |
TranslatedDocResource.getTranslations(String idNoSlash,
LocaleId locale,
Set<String> extensions,
boolean createSkeletons,
String eTag)
Retrieves a set of translations for a given locale.
|
javax.ws.rs.core.Response |
MockTranslatedDocResource.putTranslations(String idNoSlash,
LocaleId locale,
TranslationsResource messageBody,
Set<String> extensions,
String merge) |
javax.ws.rs.core.Response |
TranslatedDocResource.putTranslations(String idNoSlash,
LocaleId locale,
TranslationsResource messageBody,
Set<String> extensions,
String merge)
Updates the translations for a document and a locale.
|
javax.ws.rs.core.Response |
MockGlossaryResource.search(LocaleId srcLocale,
LocaleId transLocale,
int maxResults,
String searchText,
String projectSlug) |
javax.ws.rs.core.Response |
GlossaryResource.search(LocaleId srcLocale,
LocaleId transLocale,
int maxResults,
String searchText,
String projectSlug)
Returns Glossary entries based on a fuzzy text search.
|
ProcessStatus |
MockAsynchronousProcessResource.startTranslatedDocCreationOrUpdate(String idNoSlash,
String projectSlug,
String iterationSlug,
LocaleId locale,
TranslationsResource translatedDoc,
Set<String> extensions,
String merge,
boolean myTrans) |
ProcessStatus |
AsynchronousProcessResource.startTranslatedDocCreationOrUpdate(String idNoSlash,
String projectSlug,
String iterationSlug,
LocaleId locale,
TranslationsResource translatedDoc,
Set<String> extensions,
String merge,
boolean assignCreditToUploader)
Attempts to start the translation of a document.
|
Copyright © 2017 Zanata Project. All rights reserved.