[DE] Add translation for table styles

This commit is contained in:
Julia Radzhabova 2019-09-19 16:30:27 +03:00
parent 4b70e94c85
commit b6cd321e00
3 changed files with 35 additions and 2 deletions

View file

@ -718,11 +718,20 @@ define([
} else {
var arr = [];
_.each(Templates, function(template){
var tip = template.asc_getDisplayName();
if (template.asc_getType()==0) {
['Table Grid', 'Plain Table', 'Grid Table', 'List Table', 'Light', 'Dark', 'Colorful', 'Accent'].forEach(function(item){
var str = 'txtTable_' + item.replace(' ', '');
if (self[str])
tip = tip.replace(item, self[str]);
});
}
arr.push({
imageUrl: template.asc_getImage(),
id : Common.UI.getId(),
templateId: template.asc_getId(),
tip : template.asc_getDisplayName()
tip : tip
});
});
self.cmbTableTemplate.menuPicker.store.reset(arr);
@ -849,7 +858,15 @@ define([
textWidth: 'Width',
textDistributeRows: 'Distribute rows',
textDistributeCols: 'Distribute columns',
textAddFormula: 'Add formula'
textAddFormula: 'Add formula',
txtTable_TableGrid: 'Table Grid',
txtTable_PlainTable: 'Plain Table',
txtTable_GridTable: 'Grid Table',
txtTable_ListTable: 'List Table',
txtTable_Light: 'Light',
txtTable_Dark: 'Dark',
txtTable_Colorful: 'Colorful',
txtTable_Accent: 'Accent'
}, DE.Views.TableSettings || {}));
});

View file

@ -1920,6 +1920,14 @@
"DE.Views.TableSettings.tipRight": "Set outer right border only",
"DE.Views.TableSettings.tipTop": "Set outer top border only",
"DE.Views.TableSettings.txtNoBorders": "No borders",
"DE.Views.TableSettings.txtTable_TableGrid": "Table Grid",
"DE.Views.TableSettings.txtTable_PlainTable": "Plain Table",
"DE.Views.TableSettings.txtTable_GridTable": "Grid Table",
"DE.Views.TableSettings.txtTable_ListTable": "List Table",
"DE.Views.TableSettings.txtTable_Light": "Light",
"DE.Views.TableSettings.txtTable_Dark": "Dark",
"DE.Views.TableSettings.txtTable_Colorful": "Colorful",
"DE.Views.TableSettings.txtTable_Accent": "Accent",
"DE.Views.TableSettingsAdvanced.textAlign": "Alignment",
"DE.Views.TableSettingsAdvanced.textAlignment": "Alignment",
"DE.Views.TableSettingsAdvanced.textAllowSpacing": "Spacing between cells",

View file

@ -1905,6 +1905,14 @@
"DE.Views.TableSettings.tipRight": "Задать только внешнюю правую границу",
"DE.Views.TableSettings.tipTop": "Задать только внешнюю верхнюю границу",
"DE.Views.TableSettings.txtNoBorders": "Без границ",
"DE.Views.TableSettings.txtTable_TableGrid": "Сетка таблицы",
"DE.Views.TableSettings.txtTable_PlainTable": "Таблица простая",
"DE.Views.TableSettings.txtTable_GridTable": "Таблица-сетка",
"DE.Views.TableSettings.txtTable_ListTable": "Список-таблица",
"DE.Views.TableSettings.txtTable_Light": "светлая",
"DE.Views.TableSettings.txtTable_Dark": "темная",
"DE.Views.TableSettings.txtTable_Colorful": "цветная",
"DE.Views.TableSettings.txtTable_Accent": "акцент",
"DE.Views.TableSettingsAdvanced.textAlign": "Выравнивание",
"DE.Views.TableSettingsAdvanced.textAlignment": "Выравнивание",
"DE.Views.TableSettingsAdvanced.textAllowSpacing": "Интервалы между ячейками",