Class Translator2


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

      • 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 Detail

      • Translator2

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

      • 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
      • 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()