Package org.omegat.core.data
Class StringEntry
java.lang.Object
org.omegat.core.data.StringEntry
-
Constructor Summary
ConstructorsConstructorDescriptionStringEntry(String srcText) Creates a new string entry for a unique translatable string. -
Method Summary
Modifier and TypeMethodDescriptionReturns the source stringReturns the translation of the StringEntry.booleanReturns whether the given string entry is already translated.voidsetTranslation(String trans) Sets the translation of the StringEntry.
-
Constructor Details
-
StringEntry
Creates a new string entry for a unique translatable string.
-
-
Method Details
-
getSrcText
Returns the source string -
getTranslation
Returns the translation of the StringEntry. -
setTranslation
Sets the translation of the StringEntry. If translation given is null or equal to the source, than the empty string is set as a translation to indicate that there's no translation. -
isTranslated
public boolean isTranslated()Returns whether the given string entry is already translated.
-