Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Fix issue #3556: Consolidate link handling code #4718

Merged
merged 3 commits into from
Sep 5, 2013
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Urls fixes
  • Loading branch information
TomMalbran committed Sep 5, 2013
commit 6d8d3b0b5e8d1273f9021bd455e93ba785eb53fc
4 changes: 2 additions & 2 deletions src/nls/cs/strings.js
Original file line number Diff line number Diff line change
@@ -293,11 +293,11 @@ define({
"ABOUT" : "O aplikaci",
"CLOSE" : "Zavřít",
"ABOUT_TEXT_LINE1" : "sprint {VERSION_MINOR} {BUILD_TYPE} {VERSION}",
"ABOUT_TEXT_LINE3" : "Oznámení, podmínky týkající se software třetích stran jsou umístěny na <a href='http://www.adobe.com/go/thirdparty/'>http://www.adobe.com/go/thirdparty/</a> a začleněny prostřednictvím odkazu zde.",
"ABOUT_TEXT_LINE3" : "Oznámení, podmínky týkající se software třetích stran jsou umístěny na <a href='{ADOBE_THIRD_PARTY}'>{ADOBE_THIRD_PARTY}</a> a začleněny prostřednictvím odkazu zde.",
"ABOUT_TEXT_LINE4" : "Dokumentace a zdrojový kód na <a href='https://github.com/adobe/brackets/'>https://github.com/adobe/brackets/</a>.",
"ABOUT_TEXT_LINE5" : "Vytvořeno s \u2764 a pomocí JavaScript těmito lidmi:",
"ABOUT_TEXT_LINE6" : "Mnoho lidí (ale momentálně máme problém s načítáním dat).",
"ABOUT_TEXT_WEB_PLATFORM_DOCS" : "Web Platform Docs a Web Platform logo využívají licenci Creative Commons Attribution, <a href='http://creativecommons.org/licenses/by/3.0/'>CC-BY 3.0 Unported</a>.",
"ABOUT_TEXT_WEB_PLATFORM_DOCS" : "Web Platform Docs a Web Platform logo využívají licenci Creative Commons Attribution, <a href='{WEB_PLATFORM_DOCS_LICENSE}'>CC-BY 3.0 Unported</a>.",
"UPDATE_NOTIFICATION_TOOLTIP" : "Je dostupná nová verze {APP_NAME} ! Klikněte zde pro více informací.",
"UPDATE_AVAILABLE_TITLE" : "Dostupná aktualizace",
"UPDATE_MESSAGE" : "Nová verze {APP_NAME} je dostupná. Seznam některých vylepšení:",
31 changes: 31 additions & 0 deletions src/nls/cs/urls.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*
* 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/deed.cs"
});
4 changes: 2 additions & 2 deletions src/nls/es/strings.js
Original file line number Diff line number Diff line change
@@ -301,11 +301,11 @@ define({
"ABOUT" : "Acerca de\u2026",
"CLOSE" : "Cerrar",
"ABOUT_TEXT_LINE1" : "sprint {VERSION_MINOR} {BUILD_TYPE} {VERSION}",
"ABOUT_TEXT_LINE3" : "Los avisos, términos y condiciones pertenecientes a software de terceros se encuentran en <a href='http://www.adobe.com/go/thirdparty/'>http://www.adobe.com/go/thirdparty/</a> y se incluyen aquí como referencia.",
"ABOUT_TEXT_LINE3" : "Los avisos, términos y condiciones pertenecientes a software de terceros se encuentran en <a href='{ADOBE_THIRD_PARTY}'>{ADOBE_THIRD_PARTY}</a> y se incluyen aquí como referencia.",
"ABOUT_TEXT_LINE4" : "Puedes encontrar la documentación y código fuente en <a href='https://github.com/adobe/brackets/'>https://github.com/adobe/brackets/</a>",
"ABOUT_TEXT_LINE5" : "Hecho con \u2764 y JavaScript por:",
"ABOUT_TEXT_LINE6" : "Mucha gente (pero ahora mismo estamos teniendo problemas para cargar esos datos).",
"ABOUT_TEXT_WEB_PLATFORM_DOCS" : "El contenido de Web Platform Docs y el logo de Web Platform están disponibles bajo una Licencia de Reconocimiento de Creative Commons, <a href='http://creativecommons.org/licenses/by/3.0/'>CC-BY 3.0 Unported</a>.",
"ABOUT_TEXT_WEB_PLATFORM_DOCS" : "El contenido de Web Platform Docs y el logo de Web Platform están disponibles bajo una Licencia de Reconocimiento de Creative Commons, <a href='{WEB_PLATFORM_DOCS_LICENSE}'>CC-BY 3.0 Unported</a>.",
"UPDATE_NOTIFICATION_TOOLTIP" : "¡Hay una nueva versión de {APP_NAME} disponible! Haz click aquí para más detalles.",
"UPDATE_AVAILABLE_TITLE" : "Actualización disponible",
"UPDATE_MESSAGE" : "¡Hay una nueva versión de {APP_NAME} disponible! Éstas son algunas de las nuevas características:",
2 changes: 1 addition & 1 deletion src/nls/it/strings.js
Original file line number Diff line number Diff line change
@@ -249,7 +249,7 @@ define({
"ABOUT" : "About",
"CLOSE" : "Chiudi",
"ABOUT_TEXT_LINE1" : "sprint {VERSION_MINOR} build sperimentale {VERSION}",
"ABOUT_TEXT_LINE3" : "Avvisi, termini e condizioni pertinenti software di terze parti sono disponibili all'indirizzo <a href='http://www.adobe.com/go/thirdparty/'>http://www.adobe.com/go/thirdparty/</a> e incorporati per riferimento in questo documento.",
"ABOUT_TEXT_LINE3" : "Avvisi, termini e condizioni pertinenti software di terze parti sono disponibili all'indirizzo <a href='{ADOBE_THIRD_PARTY}'>{ADOBE_THIRD_PARTY}</a> e incorporati per riferimento in questo documento.",
"ABOUT_TEXT_LINE4" : "Documentazione e codice sorgente sono disponibili all'indirizzo <a href='https://github.com/adobe/brackets/'>https://github.com/adobe/brackets/</a>",
"UPDATE_NOTIFICATION_TOOLTIP" : "E' disponibile una nuova versione di {APP_NAME}! Clicca qui per i dettagli.",
"UPDATE_AVAILABLE_TITLE" : "Aggiornamento disponibile",
4 changes: 3 additions & 1 deletion src/nls/it/urls.js
Original file line number Diff line number Diff line change
@@ -26,5 +26,7 @@

define({
// Relative to the samples folder
"GETTING_STARTED" : "it/Primi passi"
"GETTING_STARTED" : "it/Primi passi",
"ADOBE_THIRD_PARTY" : "http://www.adobe.com/go/thirdparty_it/",
"WEB_PLATFORM_DOCS_LICENSE" : "http://creativecommons.org/licenses/by/3.0/deed.it"
});
2 changes: 1 addition & 1 deletion src/nls/nb/strings.js
Original file line number Diff line number Diff line change
@@ -203,7 +203,7 @@ define({
"ABOUT" : "About",
"CLOSE" : "Lukk",
"ABOUT_TEXT_LINE1" : "sprint {VERSION_MINOR} experimental build {VERSION}",
"ABOUT_TEXT_LINE3" : "Notices, terms and conditions pertaining to third party software are located at <a href='http://www.adobe.com/go/thirdparty/'>http://www.adobe.com/go/thirdparty/</a> and incorporated by reference herein.",
"ABOUT_TEXT_LINE3" : "Notices, terms and conditions pertaining to third party software are located at <a href='{ADOBE_THIRD_PARTY}'>{ADOBE_THIRD_PARTY}</a> and incorporated by reference herein.",
"ABOUT_TEXT_LINE4" : "Documentation and source at <a href='https://github.com/adobe/brackets/'>https://github.com/adobe/brackets/</a>",
"UPDATE_NOTIFICATION_TOOLTIP" : "En ny for {APP_NAME} er tilgjengelig! Klikk her for mer informasjon.",
"UPDATE_AVAILABLE_TITLE" : "Oppdatering er tilgjengelig",
31 changes: 31 additions & 0 deletions src/nls/nb/urls.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*
* 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/deed.nb"
});
2 changes: 1 addition & 1 deletion src/nls/pl/strings.js
Original file line number Diff line number Diff line change
@@ -261,7 +261,7 @@ define({
"ABOUT" : "O programie",
"CLOSE" : "Zamknij",
"ABOUT_TEXT_LINE1" : "sprint {VERSION_MINOR} {BUILD_TYPE} {VERSION}",
"ABOUT_TEXT_LINE3" : "Adnotacje dotyczące warunków używania aplikacji firm trzecich znajdują się tutaj: <a href='http://www.adobe.com/go/thirdparty/'>http://www.adobe.com/go/thirdparty/</a> i zostały załączone jako odnośnik.",
"ABOUT_TEXT_LINE3" : "Adnotacje dotyczące warunków używania aplikacji firm trzecich znajdują się tutaj: <a href='{ADOBE_THIRD_PARTY}'>{ADOBE_THIRD_PARTY}</a> i zostały załączone jako odnośnik.",
"ABOUT_TEXT_LINE4" : "Dokumentacja i pliki żródłowe dostępne po adresem: <a href='https://github.com/adobe/brackets/'>https://github.com/adobe/brackets/</a>",
"ABOUT_TEXT_LINE5" : "Wykonano przy użyciu \u2764 i JavaScriptu przez:",
"ABOUT_TEXT_LINE6" : "Mnóstwo ludzi (niestety mamy problem z załadowaniem pełnej listy w tym momencie).",
4 changes: 3 additions & 1 deletion src/nls/pl/urls.js
Original file line number Diff line number Diff line change
@@ -26,5 +26,7 @@

define({
// Relative to the samples folder
"GETTING_STARTED" : "root/Szybki Start"
"GETTING_STARTED" : "root/Szybki Start",
"ADOBE_THIRD_PARTY" : "http://www.adobe.com/go/thirdparty_pl/",
"WEB_PLATFORM_DOCS_LICENSE" : "http://creativecommons.org/licenses/by/3.0/deed.pl"
});
2 changes: 1 addition & 1 deletion src/nls/ru/strings.js
Original file line number Diff line number Diff line change
@@ -243,7 +243,7 @@ define({
"ABOUT" : "О программе",
"CLOSE" : "Закрыть",
"ABOUT_TEXT_LINE1" : "sprint {VERSION_MINOR} {BUILD_TYPE} {VERSION}",
"ABOUT_TEXT_LINE3" : "Внимание, правила и условия, относящиеся к стороннему программному обеспечению находятся на <a href='http://www.adobe.com/go/thirdparty/'>http://www.adobe.com/go/thirdparty/</a> и включены здесь в качестве ссылки.",
"ABOUT_TEXT_LINE3" : "Внимание, правила и условия, относящиеся к стороннему программному обеспечению находятся на <a href='{ADOBE_THIRD_PARTY}'>{ADOBE_THIRD_PARTY}</a> и включены здесь в качестве ссылки.",
"ABOUT_TEXT_LINE4" : "Документация и исходные коды находятся на <a href='https://github.com/adobe/brackets/'>https://github.com/adobe/brackets/</a>",
"UPDATE_NOTIFICATION_TOOLTIP" : "Новая сборка {APP_NAME} доступна! Нажмите здесь для подробностей.",
"UPDATE_AVAILABLE_TITLE" : "Доступно обновление",
4 changes: 3 additions & 1 deletion src/nls/ru/urls.js
Original file line number Diff line number Diff line change
@@ -26,5 +26,7 @@

define({
// Relative to the samples folder
"GETTING_STARTED" : "ru/Getting Started"
"GETTING_STARTED" : "ru/Getting Started",
"ADOBE_THIRD_PARTY" : "http://www.adobe.com/go/thirdparty_ru/",
"WEB_PLATFORM_DOCS_LICENSE" : "http://creativecommons.org/licenses/by/3.0/deed.ru"
});
2 changes: 1 addition & 1 deletion src/nls/sv/strings.js
Original file line number Diff line number Diff line change
@@ -290,7 +290,7 @@ define({
"ABOUT" : "Om",
"CLOSE" : "Stäng",
"ABOUT_TEXT_LINE1" : "sprint {VERSION_MINOR} experimental build {VERSION}",
"ABOUT_TEXT_LINE3" : "Meddelanden och villkor gällande program från tredje part finns på <a href='http://www.adobe.com/go/thirdparty/'>http://www.adobe.com/go/thirdparty/</a> och inkluderas här som referens.",
"ABOUT_TEXT_LINE3" : "Meddelanden och villkor gällande program från tredje part finns på <a href='{ADOBE_THIRD_PARTY}'>{ADOBE_THIRD_PARTY}</a> och inkluderas här som referens.",
"ABOUT_TEXT_LINE4" : "Dokumentation och källkod återfinns på <a href='https://github.com/adobe/brackets/'>https://github.com/adobe/brackets/</a>",
"ABOUT_TEXT_LINE5" : "Skapat med \u2764 och JavaScript av:",
"ABOUT_TEXT_LINE6" : "Massor av människor (men vi har lite problem att visa dessa data just nu).",
12 changes: 10 additions & 2 deletions src/nls/urls.js
Original file line number Diff line number Diff line change
@@ -34,10 +34,18 @@ define(function (require, exports, module) {
// TODO: dynamically populate the local prefix list below?
module.exports = {
root: true,
"cs": true,
"de": true,
"fr": true,
"es": true,
"fr": true,
"it": true,
"ja": true,
"nb": true,
"pl": true,
"pt-br": true,
"pt-pt": true,
"ru": true,
"sv": true
"sv": true,
"zh-cn": true
};
});
2 changes: 1 addition & 1 deletion src/nls/zh-cn/strings.js
Original file line number Diff line number Diff line change
@@ -261,7 +261,7 @@ define({
"ABOUT" : "关于",
"CLOSE" : "关闭",
"ABOUT_TEXT_LINE1" : "冲刺 {VERSION_MINOR} {BUILD_TYPE} {VERSION}",
"ABOUT_TEXT_LINE3" : "关于第三方软件的条款,条例,声明 <a href='http://www.adobe.com/go/thirdparty/'>http://www.adobe.com/go/thirdparty/ </a> 以此作为参考.",
"ABOUT_TEXT_LINE3" : "关于第三方软件的条款,条例,声明 <a href='{ADOBE_THIRD_PARTY}'>{ADOBE_THIRD_PARTY}</a> 以此作为参考.",
"ABOUT_TEXT_LINE4" : "文档与源码在 <a href='https://github.com/adobe/brackets/'>https://github.com/adobe/brackets/</a>",
"ABOUT_TEXT_LINE5" : "基于\u2764和JavaScript由以下用户参与贡献设计:",
"ABOUT_TEXT_LINE6" : "有很多很多相当多的人,我这里就不给你看了,可以去Github上看吧.",
31 changes: 31 additions & 0 deletions src/nls/zh-cn/urls.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*
* 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/deed.zh"
});