updated translations
This commit is contained in:
parent
0a1324217e
commit
7473e641d6
|
@ -256,20 +256,21 @@ define([
|
||||||
|
|
||||||
if ( !mode.isEdit ) {
|
if ( !mode.isEdit ) {
|
||||||
if ( me.btnDownload ) {
|
if ( me.btnDownload ) {
|
||||||
me.btnDownload.updateHint('Download document');
|
me.btnDownload.updateHint(me.tipDowload);
|
||||||
me.btnDownload.on('click', function (e) {
|
me.btnDownload.on('click', function (e) {
|
||||||
me.fireEvent('downloadas', ['original']);
|
me.fireEvent('downloadas', ['original']);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( me.btnPrint ) {
|
if ( me.btnPrint ) {
|
||||||
me.btnDownload.updateHint('Print');
|
me.btnPrint.updateHint(me.tipPrint);
|
||||||
me.btnPrint.on('click', function (e) {
|
me.btnPrint.on('click', function (e) {
|
||||||
me.fireEvent('print', me);
|
me.fireEvent('print', me);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( me.btnEdit ) {
|
if ( me.btnEdit ) {
|
||||||
|
me.btnEdit.updateHint(me.tipGoEdit);
|
||||||
me.btnEdit.on('click', function (e) {
|
me.btnEdit.on('click', function (e) {
|
||||||
me.fireEvent('go:editor', me);
|
me.fireEvent('go:editor', me);
|
||||||
});
|
});
|
||||||
|
@ -522,7 +523,10 @@ define([
|
||||||
txtAccessRights: 'Change access rights',
|
txtAccessRights: 'Change access rights',
|
||||||
tipAccessRights: 'Manage document access rights',
|
tipAccessRights: 'Manage document access rights',
|
||||||
labelCoUsersDescr: 'Document is currently being edited by several users.',
|
labelCoUsersDescr: 'Document is currently being edited by several users.',
|
||||||
tipViewUsers: 'View users and manage document access rights'
|
tipViewUsers: 'View users and manage document access rights',
|
||||||
|
tipDownload: 'Download file',
|
||||||
|
tipPrint: 'Print file',
|
||||||
|
tipGoEdit: 'Edit current file'
|
||||||
}
|
}
|
||||||
}(), Common.Views.Header || {}))
|
}(), Common.Views.Header || {}))
|
||||||
});
|
});
|
||||||
|
|
|
@ -151,6 +151,9 @@
|
||||||
"Common.Views.Header.tipAccessRights": "Manage document access rights",
|
"Common.Views.Header.tipAccessRights": "Manage document access rights",
|
||||||
"Common.Views.Header.labelCoUsersDescr": "Document is currently being edited by several users.",
|
"Common.Views.Header.labelCoUsersDescr": "Document is currently being edited by several users.",
|
||||||
"Common.Views.Header.tipViewUsers": "View users and manage document access rights",
|
"Common.Views.Header.tipViewUsers": "View users and manage document access rights",
|
||||||
|
"Common.Views.Header.tipDownload": "Download file",
|
||||||
|
"Common.Views.Header.tipPrint": "Print file",
|
||||||
|
"Common.Views.Header.tipGoEdit": "Edit current file",
|
||||||
"Common.Views.History.textCloseHistory": "Close History",
|
"Common.Views.History.textCloseHistory": "Close History",
|
||||||
"Common.Views.History.textHide": "Collapse",
|
"Common.Views.History.textHide": "Collapse",
|
||||||
"Common.Views.History.textHideAll": "Hide detailed changes",
|
"Common.Views.History.textHideAll": "Hide detailed changes",
|
||||||
|
|
|
@ -138,9 +138,9 @@ define([
|
||||||
Common.UI.Mixtbar.prototype.initialize.call(this, {
|
Common.UI.Mixtbar.prototype.initialize.call(this, {
|
||||||
template: _.template(template),
|
template: _.template(template),
|
||||||
tabs: [
|
tabs: [
|
||||||
{ caption: 'File', action: 'file', extcls: 'canedit'},
|
{ caption: me.textTabFile, action: 'file', extcls: 'canedit'},
|
||||||
{ caption: 'Home', action: 'home', extcls: 'canedit'},
|
{ caption: me.textTabHome, action: 'home', extcls: 'canedit'},
|
||||||
{ caption: 'Insert', action: 'ins', extcls: 'canedit'}
|
{ caption: me.textTabInsert, action: 'ins', extcls: 'canedit'}
|
||||||
]}
|
]}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -1829,6 +1829,9 @@ define([
|
||||||
capTabHome: 'Home',
|
capTabHome: 'Home',
|
||||||
capTabInsert: 'Insert',
|
capTabInsert: 'Insert',
|
||||||
capBtnComment: 'Comment',
|
capBtnComment: 'Comment',
|
||||||
|
textTabFile: 'File',
|
||||||
|
textTabHome: 'Home',
|
||||||
|
textTabInsert: 'Insert',
|
||||||
textSurface: 'Surface'
|
textSurface: 'Surface'
|
||||||
}
|
}
|
||||||
}()), PE.Views.Toolbar || {}));
|
}()), PE.Views.Toolbar || {}));
|
||||||
|
|
|
@ -92,6 +92,10 @@
|
||||||
"Common.Views.Header.txtAccessRights": "Change access rights",
|
"Common.Views.Header.txtAccessRights": "Change access rights",
|
||||||
"Common.Views.Header.tipAccessRights": "Manage document access rights",
|
"Common.Views.Header.tipAccessRights": "Manage document access rights",
|
||||||
"Common.Views.Header.labelCoUsersDescr": "Document is currently being edited by several users.",
|
"Common.Views.Header.labelCoUsersDescr": "Document is currently being edited by several users.",
|
||||||
|
"Common.Views.Header.tipViewUsers": "View users and manage document access rights",
|
||||||
|
"Common.Views.Header.tipDownload": "Download file",
|
||||||
|
"Common.Views.Header.tipPrint": "Print file",
|
||||||
|
"Common.Views.Header.tipGoEdit": "Edit current file",
|
||||||
"Common.Views.ImageFromUrlDialog.cancelButtonText": "Cancel",
|
"Common.Views.ImageFromUrlDialog.cancelButtonText": "Cancel",
|
||||||
"Common.Views.ImageFromUrlDialog.okButtonText": "OK",
|
"Common.Views.ImageFromUrlDialog.okButtonText": "OK",
|
||||||
"Common.Views.ImageFromUrlDialog.textUrl": "Paste an image URL:",
|
"Common.Views.ImageFromUrlDialog.textUrl": "Paste an image URL:",
|
||||||
|
@ -1295,6 +1299,9 @@
|
||||||
"PE.Views.Toolbar.textStrikeout": "Strikeout",
|
"PE.Views.Toolbar.textStrikeout": "Strikeout",
|
||||||
"PE.Views.Toolbar.textSubscript": "Subscript",
|
"PE.Views.Toolbar.textSubscript": "Subscript",
|
||||||
"PE.Views.Toolbar.textSuperscript": "Superscript",
|
"PE.Views.Toolbar.textSuperscript": "Superscript",
|
||||||
|
"PE.Views.Toolbar.textTabFile": "File",
|
||||||
|
"PE.Views.Toolbar.textTabHome": "Home",
|
||||||
|
"PE.Views.Toolbar.textTabInsert": "Insert",
|
||||||
"PE.Views.Toolbar.textSurface": "Surface",
|
"PE.Views.Toolbar.textSurface": "Surface",
|
||||||
"PE.Views.Toolbar.textTitleError": "Error",
|
"PE.Views.Toolbar.textTitleError": "Error",
|
||||||
"PE.Views.Toolbar.textUnderline": "Underline",
|
"PE.Views.Toolbar.textUnderline": "Underline",
|
||||||
|
|
|
@ -318,9 +318,9 @@ define([
|
||||||
Common.UI.Mixtbar.prototype.initialize.call(this, {
|
Common.UI.Mixtbar.prototype.initialize.call(this, {
|
||||||
template: _.template(template),
|
template: _.template(template),
|
||||||
tabs: [
|
tabs: [
|
||||||
{ caption: 'File'/*me.textTabFile*/, action: 'file', extcls: 'canedit'},
|
{ caption: me.textTabFile, action: 'file', extcls: 'canedit'},
|
||||||
{ caption: 'Home'/*me.textTabHome*/, action: 'home', extcls: 'canedit'},
|
{ caption: me.textTabHome, action: 'home', extcls: 'canedit'},
|
||||||
{ caption: 'Insert'/*me.textTabInsert*/, action: 'ins', extcls: 'canedit'}
|
{ caption: me.textTabInsert, action: 'ins', extcls: 'canedit'}
|
||||||
]}
|
]}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -2056,6 +2056,9 @@ define([
|
||||||
capInsertHyperlink: 'Hyperlink',
|
capInsertHyperlink: 'Hyperlink',
|
||||||
capInsertEquation: 'Equation',
|
capInsertEquation: 'Equation',
|
||||||
capBtnComment: 'Comment',
|
capBtnComment: 'Comment',
|
||||||
|
textTabFile: 'File',
|
||||||
|
textTabHome: 'Home',
|
||||||
|
textTabInsert: 'Insert',
|
||||||
textSurface: 'Surface'
|
textSurface: 'Surface'
|
||||||
}, SSE.Views.Toolbar || {}));
|
}, SSE.Views.Toolbar || {}));
|
||||||
});
|
});
|
|
@ -82,6 +82,10 @@
|
||||||
"Common.Views.Header.txtAccessRights": "Change access rights",
|
"Common.Views.Header.txtAccessRights": "Change access rights",
|
||||||
"Common.Views.Header.tipAccessRights": "Manage document access rights",
|
"Common.Views.Header.tipAccessRights": "Manage document access rights",
|
||||||
"Common.Views.Header.labelCoUsersDescr": "Document is currently being edited by several users.",
|
"Common.Views.Header.labelCoUsersDescr": "Document is currently being edited by several users.",
|
||||||
|
"Common.Views.Header.tipViewUsers": "View users and manage document access rights",
|
||||||
|
"Common.Views.Header.tipDownload": "Download file",
|
||||||
|
"Common.Views.Header.tipPrint": "Print file",
|
||||||
|
"Common.Views.Header.tipGoEdit": "Edit current file",
|
||||||
"Common.Views.ImageFromUrlDialog.cancelButtonText": "Cancel",
|
"Common.Views.ImageFromUrlDialog.cancelButtonText": "Cancel",
|
||||||
"Common.Views.ImageFromUrlDialog.okButtonText": "OK",
|
"Common.Views.ImageFromUrlDialog.okButtonText": "OK",
|
||||||
"Common.Views.ImageFromUrlDialog.textUrl": "Paste an image URL:",
|
"Common.Views.ImageFromUrlDialog.textUrl": "Paste an image URL:",
|
||||||
|
@ -1635,6 +1639,9 @@
|
||||||
"SSE.Views.Toolbar.textRotateUp": "Rotate Text Up",
|
"SSE.Views.Toolbar.textRotateUp": "Rotate Text Up",
|
||||||
"SSE.Views.Toolbar.textSparks": "Sparklines",
|
"SSE.Views.Toolbar.textSparks": "Sparklines",
|
||||||
"SSE.Views.Toolbar.textStock": "Stock",
|
"SSE.Views.Toolbar.textStock": "Stock",
|
||||||
|
"SSE.Views.Toolbar.textTabFile": "File",
|
||||||
|
"SSE.Views.Toolbar.textTabHome": "Home",
|
||||||
|
"SSE.Views.Toolbar.textTabInsert": "Insert",
|
||||||
"SSE.Views.Toolbar.textSurface": "Surface",
|
"SSE.Views.Toolbar.textSurface": "Surface",
|
||||||
"SSE.Views.Toolbar.textTopBorders": "Top Borders",
|
"SSE.Views.Toolbar.textTopBorders": "Top Borders",
|
||||||
"SSE.Views.Toolbar.textUnderline": "Underline",
|
"SSE.Views.Toolbar.textUnderline": "Underline",
|
||||||
|
|
Loading…
Reference in a new issue