From 0836483c22efc6801cdf68bd942bb9cbc6b4db04 Mon Sep 17 00:00:00 2001 From: Jason San Jose Date: Tue, 3 Sep 2013 15:30:46 -0700 Subject: [PATCH 1/5] fix urls and strings pointers to localized getting started. sort languages. --- src/nls/strings.js | 12 ++++++------ src/nls/urls.js | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/nls/strings.js b/src/nls/strings.js index c5cddc55317..4579ff32ac7 100644 --- a/src/nls/strings.js +++ b/src/nls/strings.js @@ -39,19 +39,19 @@ define(function (require, exports, module) { root: true, "cs": true, "de": true, + "es": true, "fi": true, "fr": true, - "nb": true, - "es": true, + "hu": true, "it": true, + "ja": true, + "nb": true, "pl": true, "pt-br": true, "pt-pt": true, - "ja": true, - "tr": true, "ru": true, "sv": true, - "zh-cn": true, - "hu" : true + "tr": true, + "zh-cn": true }; }); diff --git a/src/nls/urls.js b/src/nls/urls.js index 7d66222031c..8db66da5018 100644 --- a/src/nls/urls.js +++ b/src/nls/urls.js @@ -35,6 +35,7 @@ define(function (require, exports, module) { module.exports = { root: true, "de": true, + "fi": true, "fr": true, "es": true, "ru": true, From db82b527bce12973637c4f11b9b1fef2756c37d0 Mon Sep 17 00:00:00 2001 From: Jason San Jose Date: Fri, 13 Sep 2013 14:33:07 -0700 Subject: [PATCH 2/5] remove slovak urls.js --- src/nls/urls.js | 52 ------------------------------------------------- 1 file changed, 52 deletions(-) delete mode 100644 src/nls/urls.js diff --git a/src/nls/urls.js b/src/nls/urls.js deleted file mode 100644 index f781a9dd9dc..00000000000 --- a/src/nls/urls.js +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, - * and/or sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER - * DEALINGS IN THE SOFTWARE. - * - */ - -/*jslint vars: true, plusplus: true, devel: true, nomen: true, indent: 4, maxerr: 50 */ -/*global define */ - -define(function (require, exports, module) { - - "use strict"; - - // Registry for languages that have specific per-language URLs or file paths that we use - // elsewhere in Brackets. - // - // TODO: dynamically populate the local prefix list below? - module.exports = { - root: true, - "cs": true, - "de": true, - "es": true, - "fi": true, - "fr": true, - "it": true, - "ja": true, - "nb": true, - "pl": true, - "pt-br": true, - "pt-pt": true, - "ru": true, - "sv": true, - "zh-cn": true - }; -}); From b6802ef8946aa537ee22723d1a7fa5ac13e434fe Mon Sep 17 00:00:00 2001 From: Jason San Jose Date: Fri, 13 Sep 2013 14:56:39 -0700 Subject: [PATCH 3/5] Revert "remove slovak urls.js" This reverts commit db82b527bce12973637c4f11b9b1fef2756c37d0. --- src/nls/urls.js | 52 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 src/nls/urls.js diff --git a/src/nls/urls.js b/src/nls/urls.js new file mode 100644 index 00000000000..f781a9dd9dc --- /dev/null +++ b/src/nls/urls.js @@ -0,0 +1,52 @@ +/* + * Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved. + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + * + */ + +/*jslint vars: true, plusplus: true, devel: true, nomen: true, indent: 4, maxerr: 50 */ +/*global define */ + +define(function (require, exports, module) { + + "use strict"; + + // Registry for languages that have specific per-language URLs or file paths that we use + // elsewhere in Brackets. + // + // TODO: dynamically populate the local prefix list below? + module.exports = { + root: true, + "cs": true, + "de": true, + "es": true, + "fi": true, + "fr": true, + "it": true, + "ja": true, + "nb": true, + "pl": true, + "pt-br": true, + "pt-pt": true, + "ru": true, + "sv": true, + "zh-cn": true + }; +}); From 79b1d2c4acc5a5eb2bd118d2883956aa3b029071 Mon Sep 17 00:00:00 2001 From: Jason San Jose Date: Fri, 13 Sep 2013 14:57:06 -0700 Subject: [PATCH 4/5] remove slovak urls.js, really this time --- src/nls/sk/urls.js | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 src/nls/sk/urls.js diff --git a/src/nls/sk/urls.js b/src/nls/sk/urls.js deleted file mode 100644 index 326c0412a04..00000000000 --- a/src/nls/sk/urls.js +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) 2013 Adobe Systems Incorporated. All rights reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, - * and/or sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER - * DEALINGS IN THE SOFTWARE. - * - */ - -/*jslint vars: true, plusplus: true, devel: true, nomen: true, indent: 4, maxerr: 50 */ -/*global define */ - -define({ - // Relative to the samples folder - "ADOBE_THIRD_PARTY" : "http://www.adobe.com/go/thirdparty/", - "WEB_PLATFORM_DOCS_LICENSE" : "http://creativecommons.org/licenses/by/3.0/" -}); From fb7d42f575c3a3aa9c06049497a85c2bcde8e367 Mon Sep 17 00:00:00 2001 From: Jason San Jose Date: Fri, 13 Sep 2013 16:12:45 -0700 Subject: [PATCH 5/5] add slovak locale name --- src/nls/root/strings.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nls/root/strings.js b/src/nls/root/strings.js index cdded42642a..ac967086a75 100644 --- a/src/nls/root/strings.js +++ b/src/nls/root/strings.js @@ -444,6 +444,7 @@ define({ "LOCALE_PT_BR" : "Portuguese, Brazil", "LOCALE_PT_PT" : "Portuguese", "LOCALE_RU" : "Russian", + "LOCALE_SK" : "Slovak", "LOCALE_SV" : "Swedish", "LOCALE_TR" : "Turkish", "LOCALE_ZH_CN" : "Chinese, simplified",