[DE][PE] Change title for split cell dialog.

This commit is contained in:
Julia Radzhabova 2017-08-07 12:23:03 +03:00
parent 6899a941ca
commit 5e2ef96d8a
7 changed files with 11 additions and 3 deletions

View file

@ -51,7 +51,8 @@ define([
height: 170,
header: false,
style: 'min-width: 230px;',
cls: 'modal-dlg'
cls: 'modal-dlg',
split: false
},
initialize : function(options) {
@ -59,7 +60,7 @@ define([
this.template = [
'<div class="box">',
'<h4>' + this.txtTitle + '</h4>',
'<h4>' + ((options.split) ? this.txtTitleSplit : this.txtTitle) + '</h4>',
'<div class="input-row" style="margin: 10px 0;">',
'<label class="text columns-text" style="width: 130px;">' + this.txtColumns + '</label><div class="columns-val" style="float: right;"></div>',
'</div>',
@ -132,7 +133,8 @@ define([
return false;
},
txtTitle: 'Table size',
txtTitle: 'Table Size',
txtTitleSplit: 'Split Cell',
txtColumns: 'Number of Columns',
txtRows: 'Number of Rows',
textInvalidRowsCols: 'You need to specify valid rows and columns count.',

View file

@ -2308,6 +2308,7 @@ define([
}).on('click', function(item) {
if (me.api){
(new Common.Views.InsertTableDialog({
split: true,
handler: function(result, value) {
if (result == 'ok') {
if (me.api) {

View file

@ -237,6 +237,7 @@ define([
splitCells: function(menu, item, e) {
var me = this;
(new Common.Views.InsertTableDialog({
split: true,
handler: function(result, value) {
if (result == 'ok') {
if (me.api) {

View file

@ -172,6 +172,7 @@
"Common.Views.InsertTableDialog.txtMinText": "The minimum value for this field is {0}.",
"Common.Views.InsertTableDialog.txtRows": "Number of Rows",
"Common.Views.InsertTableDialog.txtTitle": "Table Size",
"Common.Views.InsertTableDialog.txtTitleSplit": "Split Cell",
"Common.Views.LanguageDialog.btnCancel": "Cancel",
"Common.Views.LanguageDialog.btnOk": "Ok",
"Common.Views.LanguageDialog.labelSelect": "Select document language",

View file

@ -1915,6 +1915,7 @@ define([
}).on('click', function(item) {
if (me.api) {
(new Common.Views.InsertTableDialog({
split: true,
handler: function(result, value) {
if (result == 'ok') {
if (me.api) {

View file

@ -203,6 +203,7 @@ define([
splitCells: function(menu, item, e) {
var me = this;
(new Common.Views.InsertTableDialog({
split: true,
handler: function(result, value) {
if (result == 'ok') {
if (me.api) {

View file

@ -105,6 +105,7 @@
"Common.Views.InsertTableDialog.txtMinText": "The minimum value for this field is {0}.",
"Common.Views.InsertTableDialog.txtRows": "Number of Rows",
"Common.Views.InsertTableDialog.txtTitle": "Table Size",
"Common.Views.InsertTableDialog.txtTitleSplit": "Split Cell",
"Common.Views.LanguageDialog.btnCancel": "Cancel",
"Common.Views.LanguageDialog.btnOk": "Ok",
"Common.Views.LanguageDialog.labelSelect": "Select document language",