From b69ec7e42395cd58e9f2f2b37a56fc5a5d0540a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Malbr=C3=A1n?= Date: Wed, 27 Mar 2013 05:25:38 -0300 Subject: [PATCH] Move the strings prefs inside core --- src/project/ProjectManager.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/project/ProjectManager.js b/src/project/ProjectManager.js index 33ef0f035e5..2120af7c88c 100644 --- a/src/project/ProjectManager.js +++ b/src/project/ProjectManager.js @@ -388,11 +388,10 @@ define(function (require, exports, module) { plugins : ["ui", "themes", "json_data", "crrm", "sort"], ui : { select_limit: 1, select_multiple_modifier: "", select_range_modifier: "" }, json_data : { data: treeDataProvider, correct_state: false }, - core : { animation: 0 }, + core : { animation: 0, strings : { loading : Strings.PROJECT_LOADING, new_node : "New node" } }, 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 : 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