Class StringEntry

java.lang.Object
org.omegat.core.data.StringEntry

public class StringEntry extends Object
  • Constructor Details

    • StringEntry

      public StringEntry(String srcText)
      Creates a new string entry for a unique translatable string.
  • Method Details

    • getSrcText

      public String getSrcText()
      Returns the source string
    • getTranslation

      public String getTranslation()
      Returns the translation of the StringEntry.
    • setTranslation

      public void setTranslation(String trans)
      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.