From 95f88cace94ce5702454afdaad0565159a313296 Mon Sep 17 00:00:00 2001 From: Bernhard Sirlinger Date: Sat, 2 Mar 2013 12:03:14 +0100 Subject: [PATCH 1/2] Added Localisation for the Loading... message --- src/nls/root/strings.js | 2 +- src/project/ProjectManager.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nls/root/strings.js b/src/nls/root/strings.js index c83aabb5f8d..52b116968f0 100644 --- a/src/nls/root/strings.js +++ b/src/nls/root/strings.js @@ -132,7 +132,7 @@ define({ /** * ProjectManager */ - + "PROJECT_LOADING" : "Loading ...", "UNTITLED" : "Untitled", /** diff --git a/src/project/ProjectManager.js b/src/project/ProjectManager.js index 9168b02fb3e..791044e7681 100644 --- a/src/project/ProjectManager.js +++ b/src/project/ProjectManager.js @@ -396,7 +396,7 @@ define(function (require, exports, module) { themes : { theme: "brackets", url: "styles/jsTreeTheme.css", dots: false, icons: false }, //(note: our actual jsTree theme CSS lives in brackets.less; we specify an empty .css // file because jsTree insists on loading one itself) - strings : { loading : "Loading ...", new_node : "New node" }, + strings : { loading : Strings.PROJECT_LOADING, new_node : "New node" }, sort : function (a, b) { if (brackets.platform === "win") { // Windows: prepend folder names with a '0' and file names with a '1' so folders are listed first From 3f7c266c51e07e8fef947a5dd64b98cb1b7758e1 Mon Sep 17 00:00:00 2001 From: Bernhard Sirlinger Date: Mon, 11 Mar 2013 21:27:08 +0100 Subject: [PATCH 2/2] Use \u2026 escape char --- src/nls/root/strings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nls/root/strings.js b/src/nls/root/strings.js index 52b116968f0..e364ac65b8f 100644 --- a/src/nls/root/strings.js +++ b/src/nls/root/strings.js @@ -132,7 +132,7 @@ define({ /** * ProjectManager */ - "PROJECT_LOADING" : "Loading ...", + "PROJECT_LOADING" : "Loading\u2026", "UNTITLED" : "Untitled", /**