updated translations

This commit is contained in:
Maxim Kadushkin 2017-07-21 13:44:07 +03:00
parent 0a1324217e
commit 7473e641d6
6 changed files with 36 additions and 9 deletions

View file

@ -256,20 +256,21 @@ define([
if ( !mode.isEdit ) {
if ( me.btnDownload ) {
me.btnDownload.updateHint('Download document');
me.btnDownload.updateHint(me.tipDowload);
me.btnDownload.on('click', function (e) {
me.fireEvent('downloadas', ['original']);
});
}
if ( me.btnPrint ) {
me.btnDownload.updateHint('Print');
me.btnPrint.updateHint(me.tipPrint);
me.btnPrint.on('click', function (e) {
me.fireEvent('print', me);
});
}
if ( me.btnEdit ) {
me.btnEdit.updateHint(me.tipGoEdit);
me.btnEdit.on('click', function (e) {
me.fireEvent('go:editor', me);
});
@ -522,7 +523,10 @@ define([
txtAccessRights: 'Change access rights',
tipAccessRights: 'Manage document access rights',
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 || {}))
});

View file

@ -151,6 +151,9 @@
"Common.Views.Header.tipAccessRights": "Manage document access rights",
"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.History.textCloseHistory": "Close History",
"Common.Views.History.textHide": "Collapse",
"Common.Views.History.textHideAll": "Hide detailed changes",

View file

@ -138,9 +138,9 @@ define([
Common.UI.Mixtbar.prototype.initialize.call(this, {
template: _.template(template),
tabs: [
{ caption: 'File', action: 'file', extcls: 'canedit'},
{ caption: 'Home', action: 'home', extcls: 'canedit'},
{ caption: 'Insert', action: 'ins', extcls: 'canedit'}
{ caption: me.textTabFile, action: 'file', extcls: 'canedit'},
{ caption: me.textTabHome, action: 'home', extcls: 'canedit'},
{ caption: me.textTabInsert, action: 'ins', extcls: 'canedit'}
]}
);
@ -1829,6 +1829,9 @@ define([
capTabHome: 'Home',
capTabInsert: 'Insert',
capBtnComment: 'Comment',
textTabFile: 'File',
textTabHome: 'Home',
textTabInsert: 'Insert',
textSurface: 'Surface'
}
}()), PE.Views.Toolbar || {}));

View file

@ -92,6 +92,10 @@
"Common.Views.Header.txtAccessRights": "Change 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.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.okButtonText": "OK",
"Common.Views.ImageFromUrlDialog.textUrl": "Paste an image URL:",
@ -1295,6 +1299,9 @@
"PE.Views.Toolbar.textStrikeout": "Strikeout",
"PE.Views.Toolbar.textSubscript": "Subscript",
"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.textTitleError": "Error",
"PE.Views.Toolbar.textUnderline": "Underline",

View file

@ -318,9 +318,9 @@ define([
Common.UI.Mixtbar.prototype.initialize.call(this, {
template: _.template(template),
tabs: [
{ caption: 'File'/*me.textTabFile*/, action: 'file', extcls: 'canedit'},
{ caption: 'Home'/*me.textTabHome*/, action: 'home', extcls: 'canedit'},
{ caption: 'Insert'/*me.textTabInsert*/, action: 'ins', extcls: 'canedit'}
{ caption: me.textTabFile, action: 'file', extcls: 'canedit'},
{ caption: me.textTabHome, action: 'home', extcls: 'canedit'},
{ caption: me.textTabInsert, action: 'ins', extcls: 'canedit'}
]}
);
@ -2056,6 +2056,9 @@ define([
capInsertHyperlink: 'Hyperlink',
capInsertEquation: 'Equation',
capBtnComment: 'Comment',
textTabFile: 'File',
textTabHome: 'Home',
textTabInsert: 'Insert',
textSurface: 'Surface'
}, SSE.Views.Toolbar || {}));
});

View file

@ -82,6 +82,10 @@
"Common.Views.Header.txtAccessRights": "Change 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.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.okButtonText": "OK",
"Common.Views.ImageFromUrlDialog.textUrl": "Paste an image URL:",
@ -1635,6 +1639,9 @@
"SSE.Views.Toolbar.textRotateUp": "Rotate Text Up",
"SSE.Views.Toolbar.textSparks": "Sparklines",
"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.textTopBorders": "Top Borders",
"SSE.Views.Toolbar.textUnderline": "Underline",