diff options
Diffstat (limited to 'logo/src/xlogo/gui/translation/TranslateXLogo.java')
-rw-r--r-- | logo/src/xlogo/gui/translation/TranslateXLogo.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/logo/src/xlogo/gui/translation/TranslateXLogo.java b/logo/src/xlogo/gui/translation/TranslateXLogo.java index 2206f8d..db4b5ac 100644 --- a/logo/src/xlogo/gui/translation/TranslateXLogo.java +++ b/logo/src/xlogo/gui/translation/TranslateXLogo.java @@ -111,10 +111,10 @@ public class TranslateXLogo extends JFrame implements ActionListener { try { Locale locale=null; if (action.equals(TranslateXLogo.CREATE)){ - locale = Language.getLanguage(0).getLocale(); + locale = Language.valueOf(0).getLocale(); } else if (!action.equals(TranslateXLogo.CONSULT)){ - locale = Language.getLanguage(Integer.parseInt(id)).getLocale(); + locale = Language.valueOf(Integer.parseInt(id)).getLocale(); } java.util.Vector<String> v=bottom.getPrimTable().getKeys(); ResourceBundle rb = ResourceBundle.getBundle("primitives", locale); |