Class Translator2

java.lang.Object
org.pentaho.di.ui.i18n.editor.Translator2

public class Translator2 extends Object
Class to allow non-developers to edit translation messages files.
Author:
matt
  • Field Details

    • APP_NAME

      public static final String APP_NAME
    • lastValue

      protected String lastValue
    • lastValueChanged

      protected boolean lastValueChanged
    • selectedKey

      protected String selectedKey
    • searchString

      protected String searchString
    • lastFoundKey

      protected String lastFoundKey
  • Constructor Details

    • Translator2

      public Translator2(org.eclipse.swt.widgets.Display display)
  • Method Details

    • showKey

      public boolean showKey(String key, String messagesPackage)
    • readFiles

      public void readFiles() throws org.pentaho.di.core.exception.KettleFileException
      Throws:
      org.pentaho.di.core.exception.KettleFileException
    • loadConfiguration

      public void loadConfiguration(String configFile, String sourceFolder) throws Exception
      Throws:
      Exception
    • open

      public void open()
    • reload

      public void reload()
    • quitFile

      public boolean quitFile()
    • saveFiles

      protected boolean saveFiles()
    • saveFilesToZip

      protected void saveFilesToZip()
    • search

      protected void search(String searchLocale)
    • searchAgain

      protected void searchAgain(String searchLocale)
    • showKeySelection

      protected void showKeySelection(String key)
    • refreshGrid

      public void refreshGrid()
    • refresh

      public void refresh()
    • refreshPackages

      public void refreshPackages()
    • refreshLocale

      public void refreshLocale()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception