[DE] Translate new editor styles
This commit is contained in:
parent
cd45f0ae06
commit
1a4d88fcc8
|
@ -129,7 +129,7 @@ define([
|
|||
window["flat_desine"] = true;
|
||||
|
||||
var styleNames = ['Normal', 'No Spacing', 'Heading 1', 'Heading 2', 'Heading 3', 'Heading 4', 'Heading 5',
|
||||
'Heading 6', 'Heading 7', 'Heading 8', 'Heading 9', 'Title', 'Subtitle', 'Quote', 'Intense Quote', 'List Paragraph'],
|
||||
'Heading 6', 'Heading 7', 'Heading 8', 'Heading 9', 'Title', 'Subtitle', 'Quote', 'Intense Quote', 'List Paragraph', 'footnote text'],
|
||||
translate = {
|
||||
'Series': this.txtSeries,
|
||||
'Diagram Title': this.txtDiagramTitle,
|
||||
|
@ -153,6 +153,8 @@ define([
|
|||
styleNames.forEach(function(item){
|
||||
translate[item] = me.translationTable[item] = me['txtStyle_' + item.replace(/ /g, '_')] || item;
|
||||
});
|
||||
me.translationTable['Header'] = this.txtHeader;
|
||||
me.translationTable['Footer'] = this.txtFooter;
|
||||
|
||||
this.api = new Asc.asc_docs_api({
|
||||
'id-view' : 'editor_sdk',
|
||||
|
@ -2224,6 +2226,7 @@ define([
|
|||
txtStyle_Quote: 'Quote',
|
||||
txtStyle_Intense_Quote: 'Intense Quote',
|
||||
txtStyle_List_Paragraph: 'List Paragraph',
|
||||
txtStyle_footnote_text: 'Footnote Text',
|
||||
saveTextText: 'Saving document...',
|
||||
saveTitleText: 'Saving Document',
|
||||
txtBookmarkError: "Error! Bookmark not defined.",
|
||||
|
|
|
@ -405,6 +405,7 @@
|
|||
"DE.Controllers.Main.txtSection": " -Section ",
|
||||
"DE.Controllers.Main.txtSeries": "Series",
|
||||
"DE.Controllers.Main.txtStarsRibbons": "Stars & Ribbons",
|
||||
"DE.Controllers.Main.txtStyle_footnote_text": "Footnote Text",
|
||||
"DE.Controllers.Main.txtStyle_Heading_1": "Heading 1",
|
||||
"DE.Controllers.Main.txtStyle_Heading_2": "Heading 2",
|
||||
"DE.Controllers.Main.txtStyle_Heading_3": "Heading 3",
|
||||
|
|
|
@ -405,6 +405,7 @@
|
|||
"DE.Controllers.Main.txtSection": "-Раздел",
|
||||
"DE.Controllers.Main.txtSeries": "Ряд",
|
||||
"DE.Controllers.Main.txtStarsRibbons": "Звезды и ленты",
|
||||
"DE.Controllers.Main.txtStyle_footnote_text": "Текст сноски",
|
||||
"DE.Controllers.Main.txtStyle_Heading_1": "Заголовок 1",
|
||||
"DE.Controllers.Main.txtStyle_Heading_2": "Заголовок 2",
|
||||
"DE.Controllers.Main.txtStyle_Heading_3": "Заголовок 3",
|
||||
|
|
|
@ -102,13 +102,15 @@ define([
|
|||
window["flat_desine"] = true;
|
||||
|
||||
var styleNames = ['Normal', 'No Spacing', 'Heading 1', 'Heading 2', 'Heading 3', 'Heading 4', 'Heading 5',
|
||||
'Heading 6', 'Heading 7', 'Heading 8', 'Heading 9', 'Title', 'Subtitle', 'Quote', 'Intense Quote', 'List Paragraph'],
|
||||
'Heading 6', 'Heading 7', 'Heading 8', 'Heading 9', 'Title', 'Subtitle', 'Quote', 'Intense Quote', 'List Paragraph', 'footnote text'],
|
||||
translate = {
|
||||
'Series': this.txtSeries,
|
||||
'Diagram Title': this.txtDiagramTitle,
|
||||
'X Axis': this.txtXAxis,
|
||||
'Y Axis': this.txtYAxis,
|
||||
'Your text here': this.txtArt
|
||||
'Your text here': this.txtArt,
|
||||
'Header': this.txtHeader,
|
||||
'Footer': this.txtFooter
|
||||
};
|
||||
styleNames.forEach(function(item){
|
||||
translate[item] = me['txtStyle_' + item.replace(/ /g, '_')] || item;
|
||||
|
@ -1287,6 +1289,9 @@ define([
|
|||
txtStyle_Quote: 'Quote',
|
||||
txtStyle_Intense_Quote: 'Intense Quote',
|
||||
txtStyle_List_Paragraph: 'List Paragraph',
|
||||
txtStyle_footnote_text: 'Footnote Text',
|
||||
txtHeader: "Header",
|
||||
txtFooter: "Footer",
|
||||
warnNoLicenseUsers: 'This version of ONLYOFFICE Editors has certain limitations for concurrent users.<br>If you need more please consider upgrading your current license or purchasing a commercial one.'
|
||||
}
|
||||
})(), DE.Controllers.Main || {}))
|
||||
|
|
|
@ -119,7 +119,10 @@
|
|||
"DE.Controllers.Main.txtArt": "Your text here",
|
||||
"DE.Controllers.Main.txtDiagramTitle": "Chart Title",
|
||||
"DE.Controllers.Main.txtEditingMode": "Set editing mode...",
|
||||
"DE.Controllers.Main.txtFooter": "Footer",
|
||||
"DE.Controllers.Main.txtHeader": "Header",
|
||||
"DE.Controllers.Main.txtSeries": "Series",
|
||||
"DE.Controllers.Main.txtStyle_footnote_text": "footnote text",
|
||||
"DE.Controllers.Main.txtStyle_Heading_1": "Heading 1",
|
||||
"DE.Controllers.Main.txtStyle_Heading_2": "Heading 2",
|
||||
"DE.Controllers.Main.txtStyle_Heading_3": "Heading 3",
|
||||
|
|
|
@ -138,6 +138,8 @@
|
|||
"DE.Controllers.Main.txtStyle_Title": "Название",
|
||||
"DE.Controllers.Main.txtXAxis": "Ось X",
|
||||
"DE.Controllers.Main.txtYAxis": "Ось Y",
|
||||
"DE.Controllers.Main.txtFooter": "Нижний колонтитул",
|
||||
"DE.Controllers.Main.txtHeader": "Верхний колонтитул",
|
||||
"DE.Controllers.Main.unknownErrorText": "Неизвестная ошибка.",
|
||||
"DE.Controllers.Main.unsupportedBrowserErrorText": "Ваш браузер не поддерживается.",
|
||||
"DE.Controllers.Main.uploadImageExtMessage": "Неизвестный формат изображения.",
|
||||
|
|
Loading…
Reference in a new issue