Fix translations
This commit is contained in:
parent
39ddc24254
commit
9e48347652
|
@ -179,7 +179,7 @@ define([
|
||||||
this.api.asc_AddContentControlPicture(oFormPr);
|
this.api.asc_AddContentControlPicture(oFormPr);
|
||||||
else if (type == 'checkbox' || type == 'radiobox') {
|
else if (type == 'checkbox' || type == 'radiobox') {
|
||||||
oPr = new AscCommon.CSdtCheckBoxPr();
|
oPr = new AscCommon.CSdtCheckBoxPr();
|
||||||
(type == 'radiobox') && oPr.put_GroupKey('Group 1');
|
(type == 'radiobox') && oPr.put_GroupKey(this.toolbar.textGroup + ' 1');
|
||||||
this.api.asc_AddContentControlCheckBox(oPr, oFormPr);
|
this.api.asc_AddContentControlCheckBox(oPr, oFormPr);
|
||||||
} else if (type == 'combobox' || type == 'dropdown')
|
} else if (type == 'combobox' || type == 'dropdown')
|
||||||
this.api.asc_AddContentControlList(type == 'combobox', oPr, oFormPr);
|
this.api.asc_AddContentControlList(type == 'combobox', oPr, oFormPr);
|
||||||
|
|
|
@ -138,9 +138,10 @@ define([
|
||||||
"Error! Main Document Only.": this.txtMainDocOnly,
|
"Error! Main Document Only.": this.txtMainDocOnly,
|
||||||
"Error! Not a valid bookmark self-reference.": this.txtNotValidBookmark,
|
"Error! Not a valid bookmark self-reference.": this.txtNotValidBookmark,
|
||||||
"Error! No text of specified style in document.": this.txtNoText,
|
"Error! No text of specified style in document.": this.txtNoText,
|
||||||
"Choose an item.": this.txtChoose,
|
"Choose an item": this.txtChoose,
|
||||||
"Enter a date.": this.txtEnterDate,
|
"Enter a date": this.txtEnterDate,
|
||||||
"Type equation here.": this.txtTypeEquation
|
"Type equation here": this.txtTypeEquation,
|
||||||
|
"Click to load image": this.txtClickToLoad
|
||||||
};
|
};
|
||||||
styleNames.forEach(function(item){
|
styleNames.forEach(function(item){
|
||||||
translate[item] = me['txtStyle_' + item.replace(/ /g, '_')] || item;
|
translate[item] = me['txtStyle_' + item.replace(/ /g, '_')] || item;
|
||||||
|
@ -2825,15 +2826,15 @@ define([
|
||||||
uploadDocExtMessage: 'Unknown document format.',
|
uploadDocExtMessage: 'Unknown document format.',
|
||||||
uploadDocFileCountMessage: 'No documents uploaded.',
|
uploadDocFileCountMessage: 'No documents uploaded.',
|
||||||
errorUpdateVersionOnDisconnect: 'Internet connection has been restored, and the file version has been changed.<br>Before you can continue working, you need to download the file or copy its content to make sure nothing is lost, and then reload this page.',
|
errorUpdateVersionOnDisconnect: 'Internet connection has been restored, and the file version has been changed.<br>Before you can continue working, you need to download the file or copy its content to make sure nothing is lost, and then reload this page.',
|
||||||
txtChoose: 'Choose an item.',
|
txtChoose: 'Choose an item',
|
||||||
errorDirectUrl: 'Please verify the link to the document.<br>This link must be a direct link to the file for downloading.',
|
errorDirectUrl: 'Please verify the link to the document.<br>This link must be a direct link to the file for downloading.',
|
||||||
txtStyle_Caption: 'Caption',
|
txtStyle_Caption: 'Caption',
|
||||||
errorCompare: 'The Compare documents feature is not available in the co-editing mode.',
|
errorCompare: 'The Compare documents feature is not available in the co-editing mode.',
|
||||||
textConvertEquation: 'This equation was created with an old version of equation editor which is no longer supported. Converting this equation to Office Math ML format will make it editable.<br>Do you want to convert this equation?',
|
textConvertEquation: 'This equation was created with an old version of equation editor which is no longer supported. Converting this equation to Office Math ML format will make it editable.<br>Do you want to convert this equation?',
|
||||||
textApplyAll: 'Apply to all equations',
|
textApplyAll: 'Apply to all equations',
|
||||||
textLearnMore: 'Learn More',
|
textLearnMore: 'Learn More',
|
||||||
txtEnterDate: 'Enter a date.',
|
txtEnterDate: 'Enter a date',
|
||||||
txtTypeEquation: 'Type equation here.',
|
txtTypeEquation: 'Type equation here',
|
||||||
textHasMacros: 'The file contains automatic macros.<br>Do you want to run macros?',
|
textHasMacros: 'The file contains automatic macros.<br>Do you want to run macros?',
|
||||||
textRemember: 'Remember my choice',
|
textRemember: 'Remember my choice',
|
||||||
warnLicenseLimitedRenewed: 'License needs to be renewed.<br>You have a limited access to document editing functionality.<br>Please contact your administrator to get full access',
|
warnLicenseLimitedRenewed: 'License needs to be renewed.<br>You have a limited access to document editing functionality.<br>Please contact your administrator to get full access',
|
||||||
|
@ -2845,7 +2846,8 @@ define([
|
||||||
textRenameError: 'User name must not be empty.',
|
textRenameError: 'User name must not be empty.',
|
||||||
textLongName: 'Enter a name that is less than 128 characters.',
|
textLongName: 'Enter a name that is less than 128 characters.',
|
||||||
textGuest: 'Guest',
|
textGuest: 'Guest',
|
||||||
errorSubmit: 'Submit failed.'
|
errorSubmit: 'Submit failed.',
|
||||||
|
txtClickToLoad: 'Click to load image'
|
||||||
}
|
}
|
||||||
})(), DE.Controllers.Main || {}))
|
})(), DE.Controllers.Main || {}))
|
||||||
});
|
});
|
|
@ -1951,7 +1951,7 @@ define([
|
||||||
else if (item.value.indexOf('checkbox')>=0 || item.value.indexOf('radiobox')>=0) {
|
else if (item.value.indexOf('checkbox')>=0 || item.value.indexOf('radiobox')>=0) {
|
||||||
if (isnew) {
|
if (isnew) {
|
||||||
oPr = new AscCommon.CSdtCheckBoxPr();
|
oPr = new AscCommon.CSdtCheckBoxPr();
|
||||||
(item.value.indexOf('radiobox')>=0) && oPr.put_GroupKey('Group 1');
|
(item.value.indexOf('radiobox')>=0) && oPr.put_GroupKey(this.textGroup + ' 1');
|
||||||
}
|
}
|
||||||
this.api.asc_AddContentControlCheckBox(oPr, oFormPr);
|
this.api.asc_AddContentControlCheckBox(oPr, oFormPr);
|
||||||
} else if (item.value == 'date')
|
} else if (item.value == 'date')
|
||||||
|
@ -3568,7 +3568,8 @@ define([
|
||||||
txtMarginsW: 'Left and right margins are too high for a given page wight',
|
txtMarginsW: 'Left and right margins are too high for a given page wight',
|
||||||
txtMarginsH: 'Top and bottom margins are too high for a given page height',
|
txtMarginsH: 'Top and bottom margins are too high for a given page height',
|
||||||
textInsert: 'Insert',
|
textInsert: 'Insert',
|
||||||
textTabForms: 'Forms'
|
textTabForms: 'Forms',
|
||||||
|
textGroup: 'Group'
|
||||||
|
|
||||||
}, DE.Controllers.Toolbar || {}));
|
}, DE.Controllers.Toolbar || {}));
|
||||||
});
|
});
|
||||||
|
|
|
@ -591,6 +591,7 @@
|
||||||
"DE.Controllers.Main.txtCallouts": "Callouts",
|
"DE.Controllers.Main.txtCallouts": "Callouts",
|
||||||
"DE.Controllers.Main.txtCharts": "Charts",
|
"DE.Controllers.Main.txtCharts": "Charts",
|
||||||
"DE.Controllers.Main.txtChoose": "Choose an item",
|
"DE.Controllers.Main.txtChoose": "Choose an item",
|
||||||
|
"DE.Controllers.Main.txtClickToLoad": "Click to load image",
|
||||||
"DE.Controllers.Main.txtCurrentDocument": "Current Document",
|
"DE.Controllers.Main.txtCurrentDocument": "Current Document",
|
||||||
"DE.Controllers.Main.txtDiagramTitle": "Chart Title",
|
"DE.Controllers.Main.txtDiagramTitle": "Chart Title",
|
||||||
"DE.Controllers.Main.txtEditingMode": "Set editing mode...",
|
"DE.Controllers.Main.txtEditingMode": "Set editing mode...",
|
||||||
|
@ -866,6 +867,7 @@
|
||||||
"DE.Controllers.Toolbar.textScript": "Scripts",
|
"DE.Controllers.Toolbar.textScript": "Scripts",
|
||||||
"DE.Controllers.Toolbar.textSymbols": "Symbols",
|
"DE.Controllers.Toolbar.textSymbols": "Symbols",
|
||||||
"DE.Controllers.Toolbar.textTabForms": "Forms",
|
"DE.Controllers.Toolbar.textTabForms": "Forms",
|
||||||
|
"DE.Controllers.Toolbar.textGroup": "Group",
|
||||||
"DE.Controllers.Toolbar.textWarning": "Warning",
|
"DE.Controllers.Toolbar.textWarning": "Warning",
|
||||||
"DE.Controllers.Toolbar.txtAccent_Accent": "Acute",
|
"DE.Controllers.Toolbar.txtAccent_Accent": "Acute",
|
||||||
"DE.Controllers.Toolbar.txtAccent_ArrowD": "Right-left arrow above",
|
"DE.Controllers.Toolbar.txtAccent_ArrowD": "Right-left arrow above",
|
||||||
|
|
Loading…
Reference in a new issue