206 lines
5.3 KiB
JavaScript
206 lines
5.3 KiB
JavaScript
/*
|
|
* (c) Copyright Ascensio System SIA 2010-2024
|
|
*
|
|
* This program is a free software product. You can redistribute it and/or
|
|
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
|
* version 3 as published by the Free Software Foundation. In accordance with
|
|
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
|
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
|
* of any third-party rights.
|
|
*
|
|
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
|
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
|
*
|
|
* You can contact Ascensio System SIA at 20A-6 Ernesta Birznieka-Upish
|
|
* street, Riga, Latvia, EU, LV-1050.
|
|
*
|
|
* The interactive user interfaces in modified source and object code versions
|
|
* of the Program must display Appropriate Legal Notices, as required under
|
|
* Section 5 of the GNU AGPL version 3.
|
|
*
|
|
* Pursuant to Section 7(b) of the License you must retain the original Product
|
|
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
|
* grant you any rights under trademark law for use of our trademarks.
|
|
*
|
|
* All the Product's GUI elements, including illustrations and icon sets, as
|
|
* well as technical writing content are licensed under the terms of the
|
|
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
|
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
|
*
|
|
*/
|
|
|
|
"use strict";
|
|
|
|
(function(window, undefined){
|
|
|
|
var translations_map = {};
|
|
var styles_index_map = {};
|
|
styles_index_map["Normal"] = 0;
|
|
styles_index_map["No list"] = 1;
|
|
styles_index_map["Heading 1"] = 2;
|
|
styles_index_map["Heading 2"] = 3;
|
|
styles_index_map["Heading 3"] = 4;
|
|
styles_index_map["Heading 4"] = 5;
|
|
styles_index_map["Heading 5"] = 6;
|
|
styles_index_map["Heading 6"] = 7;
|
|
styles_index_map["Heading 7"] = 8;
|
|
styles_index_map["Heading 8"] = 9;
|
|
styles_index_map["Heading 9"] = 10;
|
|
styles_index_map["Paragraph List"] = 11;
|
|
styles_index_map["Normal Table"] = 12;
|
|
styles_index_map["No Spacing"] = 13;
|
|
|
|
|
|
// en
|
|
translations_map["en"] = {};
|
|
translations_map["en"].DefaultStyles =
|
|
[
|
|
"Normal",
|
|
"No List",
|
|
"Heading 1",
|
|
"Heading 2",
|
|
"Heading 3",
|
|
"Heading 4",
|
|
"Heading 5",
|
|
"Heading 6",
|
|
"Heading 7",
|
|
"Heading 8",
|
|
"Heading 9",
|
|
"Paragraph List",
|
|
"Normal Table",
|
|
"No Spacing"
|
|
];
|
|
translations_map["en"].StylesText = "AaBbCcDdEeFf";
|
|
|
|
// ru
|
|
translations_map["ru"] = {};
|
|
translations_map["ru"].DefaultStyles =
|
|
[
|
|
"Обычный",
|
|
"Нет списка",
|
|
"Заголовок 1",
|
|
"Заголовок 2",
|
|
"Заголовок 3",
|
|
"Заголовок 4",
|
|
"Заголовок 5",
|
|
"Заголовок 6",
|
|
"Заголовок 7",
|
|
"Заголовок 8",
|
|
"Заголовок 9",
|
|
"Абзац списка",
|
|
"Обычная таблица",
|
|
"Без интервала"
|
|
];
|
|
translations_map["ru"].StylesText = "АаБбВвГгДдЕе";
|
|
|
|
// de
|
|
translations_map["de"] = {};
|
|
translations_map["de"].DefaultStyles =
|
|
[
|
|
"Standard",
|
|
"Keine Liste",
|
|
"Überschrift 1",
|
|
"Überschrift 2",
|
|
"Überschrift 3",
|
|
"Überschrift 4",
|
|
"Überschrift 5",
|
|
"Überschrift 6",
|
|
"Überschrift 7",
|
|
"Überschrift 8",
|
|
"Überschrift 9",
|
|
"Listenabsatz",
|
|
"Normale Tabelle",
|
|
"Kein Leerraum"
|
|
];
|
|
translations_map["de"].StylesText = "AaBbCcDdEeFf";
|
|
|
|
// fr
|
|
translations_map["fr"] = {};
|
|
translations_map["fr"].DefaultStyles =
|
|
[
|
|
"Normal",
|
|
"Sans liste",
|
|
"Titre 1",
|
|
"Titre 2",
|
|
"Titre 3",
|
|
"Titre 4",
|
|
"Titre 5",
|
|
"Titre 6",
|
|
"Titre 7",
|
|
"Titre 8",
|
|
"Titre 9",
|
|
"Paragraphe de liste",
|
|
"Tableau normal",
|
|
"Sans interligne"
|
|
];
|
|
translations_map["fr"].StylesText = "AaBbCcDdEeFf";
|
|
|
|
// it
|
|
translations_map["it"] = {};
|
|
translations_map["it"].DefaultStyles =
|
|
[
|
|
"Normale",
|
|
"Nessun elenco",
|
|
"Titolo 1",
|
|
"Titolo 2",
|
|
"Titolo 3",
|
|
"Titolo 4",
|
|
"Titolo 5",
|
|
"Titolo 6",
|
|
"Titolo 7",
|
|
"Titolo 8",
|
|
"Titolo 9",
|
|
"Paragrafo elenco",
|
|
"Tabella normale",
|
|
"Nessuna spaziatura"
|
|
];
|
|
translations_map["it"].StylesText = "AaBbCcDdEeFf";
|
|
|
|
// es
|
|
translations_map["es"] = {};
|
|
translations_map["es"].DefaultStyles =
|
|
[
|
|
"Normal",
|
|
"No lista",
|
|
"Título 1",
|
|
"Título 2",
|
|
"Título 3",
|
|
"Título 4",
|
|
"Título 5",
|
|
"Título 6",
|
|
"Título 7",
|
|
"Título 8",
|
|
"Título 9",
|
|
"Lista de párrafos",
|
|
"Tabla",
|
|
"Sin espaciado"
|
|
];
|
|
translations_map["es"].StylesText = "AaBbCcDdEeFf";
|
|
|
|
// lv
|
|
translations_map["lv"] = {};
|
|
translations_map["lv"].DefaultStyles =
|
|
[
|
|
"Normāls",
|
|
"Nav saraksts",
|
|
"Virsraksts 1",
|
|
"Virsraksts 2",
|
|
"Virsraksts 3",
|
|
"Virsraksts 4",
|
|
"Virsraksts 5",
|
|
"Virsraksts 6",
|
|
"Virsraksts 7",
|
|
"Virsraksts 8",
|
|
"Virsraksts 9",
|
|
"Panta saraksts",
|
|
"Normāla tabula",
|
|
"Bez atstarpes"
|
|
];
|
|
translations_map["lv"].StylesText = "AaBbCcDdEeFf";
|
|
|
|
//--------------------------------------------------------export----------------------------------------------------
|
|
window['AscCommonWord'] = window['AscCommonWord'] || {};
|
|
window['AscCommonWord'].translations_map = translations_map;
|
|
})(window);
|