Package org.jmol.i18n

Class GT

  • All Implemented Interfaces:
    Translator

    public class GT
    extends Object
    implements Translator
    The language list is now in org.jmol.i18n.Language -- Bob Hanson, 12/16/12 implementing translations in JavaScript
    • Field Detail

      • ignoreApplicationBundle

        private static boolean ignoreApplicationBundle
      • getTextWrapper

        private static GT getTextWrapper
      • languageList

        private static Language[] languageList
      • resources

        private Resource[] resources
      • resourceCount

        private int resourceCount
      • doTranslate

        private boolean doTranslate
      • language

        private String language
      • allowDebug

        private static boolean allowDebug
    • Constructor Detail

      • GT

        public GT()
    • Method Detail

      • getLanguageList

        public static Language[] getLanguageList​(GT gt)
      • getLanguage

        public static String getLanguage()
      • ignoreApplicationBundle

        public static void ignoreApplicationBundle()
      • setDoTranslate

        public static boolean setDoTranslate​(boolean TF)
        Parameters:
        TF -
        Returns:
        initial setting of GT.doTranslate
      • getDoTranslate

        public static boolean getDoTranslate()
      • escapeHTML

        public static String escapeHTML​(String msg)
      • getTextWrapper

        private static GT getTextWrapper()
      • createLanguageList

        private void createLanguageList()
      • getSupported

        private String getSupported​(String code)