summaryrefslogtreecommitdiffstats
path: root/logo/src/xlogo/gui/Traduc.java
diff options
context:
space:
mode:
authorMarko Živković <[email protected]>2015-03-04 02:14:13 +0000
committerMarko Živković <[email protected]>2015-03-04 02:14:13 +0000
commit165ae48b8d4f3c8d8ea8f4b090398e712e3f765e (patch)
treea1b829879fc1877ae47a7d8f191356aea4e9f50b /logo/src/xlogo/gui/Traduc.java
parentdc91b93f19d07b77403b75247519e21d7190b24d (diff)
Introduce default language. Use correct language/logo language everywhere
git-svn-id: https://svn.code.sf.net/p/xlogo4schools/svn/trunk@37 3b0d7934-f7ef-4143-9606-b51f2e2281fd
Diffstat (limited to 'logo/src/xlogo/gui/Traduc.java')
-rw-r--r--logo/src/xlogo/gui/Traduc.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/logo/src/xlogo/gui/Traduc.java b/logo/src/xlogo/gui/Traduc.java
index 7fa1b3c..7e8ca97 100644
--- a/logo/src/xlogo/gui/Traduc.java
+++ b/logo/src/xlogo/gui/Traduc.java
@@ -41,6 +41,7 @@ import xlogo.storage.WSManager;
import xlogo.storage.workspace.Language;
import xlogo.storage.workspace.WorkspaceConfig;
import xlogo.utils.Utils;
+import xlogo.AppSettings;
import xlogo.Logo;
/**
* Title : XLogo
@@ -87,7 +88,7 @@ public class Traduc extends JFrame implements ActionListener {
public Traduc(){
WorkspaceConfig wc = WSManager.getWorkspaceConfig();
Font font = wc.getFont();
- Language lang = wc.getLanguage();
+ Language lang = AppSettings.getInstance().getLanguage();
setTitle(Logo.messages.getString("menu.tools.translate"));
setIconImage(Toolkit.getDefaultToolkit().createImage(Utils.class.getResource("icone.png")));