diff options
Diffstat (limited to 'logo/src/xlogo/kernel')
-rw-r--r-- | logo/src/xlogo/kernel/LaunchPrimitive.java | 3 | ||||
-rw-r--r-- | logo/src/xlogo/kernel/Primitive.java | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/logo/src/xlogo/kernel/LaunchPrimitive.java b/logo/src/xlogo/kernel/LaunchPrimitive.java index aaa765e..d52bac8 100644 --- a/logo/src/xlogo/kernel/LaunchPrimitive.java +++ b/logo/src/xlogo/kernel/LaunchPrimitive.java @@ -69,6 +69,7 @@ import xlogo.gui.Lis; import xlogo.gui.MyTextAreaDialog; import xlogo.kernel.DrawPanel; import xlogo.gui.HistoryPanel; +import xlogo.AppSettings; import xlogo.Application; import xlogo.Logo; import xlogo.kernel.network.*; @@ -200,7 +201,7 @@ public class LaunchPrimitive } else { - Language lang = WSManager.getInstance().getWorkspaceConfigInstance().getLanguage(); + Language lang = AppSettings.getInstance().getLanguage(); switch (id) { diff --git a/logo/src/xlogo/kernel/Primitive.java b/logo/src/xlogo/kernel/Primitive.java index b6f2aa5..5a9cb14 100644 --- a/logo/src/xlogo/kernel/Primitive.java +++ b/logo/src/xlogo/kernel/Primitive.java @@ -45,7 +45,6 @@ import java.math.BigDecimal; import xlogo.kernel.LoopProperties; import xlogo.messages.async.history.HistoryMessenger; -import xlogo.storage.WSManager; import xlogo.storage.workspace.LogoLanguage; import xlogo.utils.Utils; import xlogo.AppSettings; @@ -102,7 +101,7 @@ public class Primitive protected String getAllPrimitives() { Vector<String> list = new Vector<String>(); - Locale locale = WSManager.getInstance().getWorkspaceConfigInstance().getLanguage().getLocale(); + Locale locale = AppSettings.getInstance().getLanguage().getLocale(); ResourceBundle prim = ResourceBundle.getBundle("primitives", locale); try { |