File tree Expand file tree Collapse file tree 4 files changed +0
-35
lines changed
Expand file tree Collapse file tree 4 files changed +0
-35
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -199,7 +199,6 @@ import AddTreeElementCommand from "@/commands/AddTreeElementCommand";
199199import ChangeBackgroundCommand from " @/commands/ChangeBackgroundCommand" ;
200200import ChangeWholeTreeCommand from " @/commands/ChangeWholeTreeCommand" ;
201201import DestroyTreeElementCommand from " @/commands/DestroyTreeElementCommand" ;
202- import Locale , { defaultLocale } from " @/Locale" ;
203202import BackgroundSkin from " @/BackgroundSkin" ;
204203import TreeType from " @/TreeType" ;
205204import uuid from " @/utils/uuid" ;
@@ -218,7 +217,6 @@ export default class STApp extends Vue {
218217 super ();
219218 }
220219
221- private locale: Locale = defaultLocale ();
222220 private strings: {} = {};
223221 private game: Game | null = null ;
224222 private scene: TreeDesignerScene | null = null ;
@@ -250,15 +248,6 @@ export default class STApp extends Vue {
250248 */
251249 created() {
252250 this .tutorial = localStorage .getItem (" tutorial" ) !== " true" ;
253- fetch (` /assets/locale/${Locale [this .locale ]}.json ` )
254- .then (data => data .json ())
255- .then (json => {
256- console .log (" Loaded locale ..." , json );
257- this .strings = json ;
258- if (this .game ) {
259- this .game .cache .json .add (" locale" , json );
260- }
261- });
262251 }
263252
264253 /**
You can’t perform that action at this time.
0 commit comments