Refactoring

This commit is contained in:
Julia Radzhabova 2020-06-05 20:34:50 +03:00
parent 8e9eb6ae3b
commit 0d3ba4831f
13 changed files with 21 additions and 21 deletions

View file

@ -128,7 +128,7 @@ define([
},
textDontShow : 'Don\'t show this message again',
textSynchronize : 'The document has been changed by another user.<br/>Please click to save your changes and reload the updates.'
textSynchronize : 'The document has been changed by another user.<br>Please click to save your changes and reload the updates.'
}
})(), Common.UI.SynchronizeTip || {}));
});

View file

@ -941,8 +941,8 @@ define([
textChart: 'Chart',
textShape: 'Shape',
textTableChanged: '<b>Table Settings Changed</b>',
textTableRowsAdd: '<b>Table Rows Added<b/>',
textTableRowsDel: '<b>Table Rows Deleted<b/>',
textTableRowsAdd: '<b>Table Rows Added</b>',
textTableRowsDel: '<b>Table Rows Deleted</b>',
textParaMoveTo: '<b>Moved:</b>',
textParaMoveFromUp: '<b>Moved Up:</b>',
textParaMoveFromDown: '<b>Moved Down:</b>',

View file

@ -1766,8 +1766,8 @@ define([
textChart: 'Chart',
textShape: 'Shape',
textTableChanged: '<b>Table Settings Changed</b>',
textTableRowsAdd: '<b>Table Rows Added<b/>',
textTableRowsDel: '<b>Table Rows Deleted<b/>',
textTableRowsAdd: '<b>Table Rows Added</b>',
textTableRowsDel: '<b>Table Rows Deleted</b>',
textParaMoveTo: '<b>Moved:</b>',
textParaMoveFromUp: '<b>Moved Up:</b>',
textParaMoveFromDown: '<b>Moved Down:</b>',

View file

@ -1592,7 +1592,7 @@ define([
config.closable = false;
if (this.appOptions.canBackToFolder && !this.appOptions.isDesktopApp && typeof id !== 'string') {
config.msg += '<br/><br/>' + this.criticalErrorExtText;
config.msg += '<br><br>' + this.criticalErrorExtText;
config.callback = function(btn) {
if (btn == 'ok')
Common.NotificationCenter.trigger('goback', true);

View file

@ -236,12 +236,12 @@ define([
'</tr>','<tr class="divider edit"></tr>',
'<tr class="edit">',
'<td class="left"><label><%= scope.strPaste %></label></td>',
'<td class="right"><div id="fms-chb-paste-settings"/></td>',
'<td class="right"><div id="fms-chb-paste-settings"></div></td>',
'</tr>','<tr class="divider edit"></tr>',
'<tr class="macros">',
'<td class="left"><label><%= scope.strMacrosSettings %></label></td>',
'<td class="right">',
'<div><div id="fms-cmb-macros" style="display: inline-block; margin-right: 15px;vertical-align: middle;"/>',
'<div><div id="fms-cmb-macros" style="display: inline-block; margin-right: 15px;vertical-align: middle;"></div>',
'<label id="fms-lbl-macros" style="vertical-align: middle;"><%= scope.txtWarnMacrosDesc %></label></div></td>',
'</tr>','<tr class="divider macros"></tr>',
'<tr>',

View file

@ -65,8 +65,8 @@
"Common.Controllers.ReviewChanges.textSubScript": "Subscript",
"Common.Controllers.ReviewChanges.textSuperScript": "Superscript",
"Common.Controllers.ReviewChanges.textTableChanged": "<b>Table Settings Changed</b>",
"Common.Controllers.ReviewChanges.textTableRowsAdd": "<b>Table Rows Added<b/>",
"Common.Controllers.ReviewChanges.textTableRowsDel": "<b>Table Rows Deleted<b/>",
"Common.Controllers.ReviewChanges.textTableRowsAdd": "<b>Table Rows Added</b>",
"Common.Controllers.ReviewChanges.textTableRowsDel": "<b>Table Rows Deleted</b>",
"Common.Controllers.ReviewChanges.textTabs": "Change tabs",
"Common.Controllers.ReviewChanges.textUnderline": "Underline",
"Common.Controllers.ReviewChanges.textUrl": "Paste a document URL",
@ -135,7 +135,7 @@
"Common.UI.SearchDialog.txtBtnReplace": "Replace",
"Common.UI.SearchDialog.txtBtnReplaceAll": "Replace All",
"Common.UI.SynchronizeTip.textDontShow": "Don't show this message again",
"Common.UI.SynchronizeTip.textSynchronize": "The document has been changed by another user.<br/>Please click to save your changes and reload the updates.",
"Common.UI.SynchronizeTip.textSynchronize": "The document has been changed by another user.<br>Please click to save your changes and reload the updates.",
"Common.UI.ThemeColorPalette.textStandartColors": "Standard Colors",
"Common.UI.ThemeColorPalette.textThemeColors": "Theme Colors",
"Common.UI.Window.cancelButtonText": "Cancel",

View file

@ -1264,7 +1264,7 @@ define([
config.closable = false;
if (this.appOptions.canBackToFolder && !this.appOptions.isDesktopApp && typeof id !== 'string') {
config.msg += '<br/><br/>' + this.criticalErrorExtText;
config.msg += '<br><br>' + this.criticalErrorExtText;
config.callback = function(btn) {
if (btn == 'ok') {
Common.NotificationCenter.trigger('goback', true);

View file

@ -210,12 +210,12 @@ define([
'</tr>','<tr class="divider edit"></tr>',
'<tr class="edit">',
'<td class="left"><label><%= scope.strPaste %></label></td>',
'<td class="right"><div id="fms-chb-paste-settings"/></td>',
'<td class="right"><div id="fms-chb-paste-settings"></div></td>',
'</tr>','<tr class="divider edit"></tr>',
'<tr class="macros">',
'<td class="left"><label><%= scope.strMacrosSettings %></label></td>',
'<td class="right">',
'<div><div id="fms-cmb-macros" style="display: inline-block; margin-right: 15px;vertical-align: middle;"/>',
'<div><div id="fms-cmb-macros" style="display: inline-block; margin-right: 15px;vertical-align: middle;"></div>',
'<label id="fms-lbl-macros" style="vertical-align: middle;"><%= scope.txtWarnMacrosDesc %></label></div></td>',
'</tr>','<tr class="divider macros"></tr>',
'<tr>',

View file

@ -1525,7 +1525,7 @@ define([
config.closable = false;
if (this.appOptions.canBackToFolder && !this.appOptions.isDesktopApp && typeof id !== 'string') {
config.msg += '<br/><br/>' + this.criticalErrorExtText;
config.msg += '<br><br>' + this.criticalErrorExtText;
config.callback = function(btn) {
if (btn == 'ok') {
Common.NotificationCenter.trigger('goback', true);

View file

@ -1642,8 +1642,8 @@ define([ 'text!spreadsheeteditor/main/app/template/ChartSettingsDlg.template'
textYAxisTitle: 'Y Axis Title',
txtEmpty: 'This field is required',
textInvalidRange: 'ERROR! Invalid cells range',
textTypeStyle: 'Chart Type, Style &<br/>Data Range',
textChartElementsLegend: 'Chart Elements &<br/>Chart Legend',
textTypeStyle: 'Chart Type, Style &<br>Data Range',
textChartElementsLegend: 'Chart Elements &<br>Chart Legend',
textLayout: 'Layout',
textLegendPos: 'Legend',
textHorTitle: 'Horizontal Axis Title',

View file

@ -669,12 +669,12 @@ define([
'</tr>','<tr class="divider edit"></tr>',
'<tr class="edit">',
'<td class="left"><label><%= scope.strPaste %></label></td>',
'<td class="right"><div id="fms-chb-paste-settings"/></td>',
'<td class="right"><div id="fms-chb-paste-settings"></div></td>',
'</tr>','<tr class="divider edit"></tr>',
'<tr class="macros">',
'<td class="left"><label><%= scope.strMacrosSettings %></label></td>',
'<td class="right">',
'<div><div id="fms-cmb-macros" style="display: inline-block; margin-right: 15px;vertical-align: middle;"/>',
'<div><div id="fms-cmb-macros" style="display: inline-block; margin-right: 15px;vertical-align: middle;"></div>',
'<label id="fms-lbl-macros" style="vertical-align: middle;"><%= scope.txtWarnMacrosDesc %></label></div></td>',
'</tr>','<tr class="divider macros"></tr>',
'<tr>',

View file

@ -85,7 +85,7 @@ define([
'</div></div>',
'</div>',
'</div>',
'<div class="separator horizontal"/>'
'<div class="separator horizontal"></div>'
].join('')
}, options);

View file

@ -88,7 +88,7 @@ define([
'<div>',
'<label class="checkbox-indeterminate" style="position:absolute;">',
'<input id="rdcheckbox-<%= id %>" type="checkbox" class="button__checkbox">',
'<label for="rdcheckbox-<%= id %>" class="checkbox__shape" />',
'<label for="rdcheckbox-<%= id %>" class="checkbox__shape" ></label>',
'</label>',
'<div id="<%= id %>" class="list-item" style="pointer-events:none; margin-left: 20px;display: flex;">',
'<div style="flex-grow: 1;"><%= Common.Utils.String.htmlEncode(value) %></div>',