Commit d680154f authored by Maxim Kadushkin's avatar Maxim Kadushkin

[SSE mobile] updated translations

parent 64529f54
......@@ -186,19 +186,19 @@ define([
if ( this.api.isCellEdited ) {
menuItems = [{
caption: 'Copy',
caption: me.menuCopy,
event: 'copy'
}];
} else {
var menuItems = [{
caption: 'Cut',
caption: me.menuCut,
event: 'cut'
},{
caption: 'Copy',
caption: me.menuCopy,
event: 'copy'
},{
caption: 'Paste',
caption: me.menuPaste,
event: 'paste'
}];
......@@ -223,53 +223,53 @@ define([
istextshapemenu || istextchartmenu )
{
menuItems.push({
caption: 'Edit',
caption: me.menuEdit,
event: 'edit'
});
} else {
if ( iscolmenu || isrowmenu) {
menuItems.push({
caption: 'Delete',
caption: me.menuDelete,
event: 'del'
},{
caption: 'Hide',
caption: me.menuHide,
event: 'hide'
},{
caption: 'Show',
caption: me.menuShow,
event: 'show'
});
} else
if ( iscellmenu ) {
menuItems.push({
caption: 'Delete',
caption: me.menuDelete,
event: 'del'
});
!iscelllocked &&
menuItems.push({
caption: 'Cell',
caption: me.menuCell,
event: 'edit'
});
menuItems.push({
caption: 'Merge',
caption: me.menuMerge,
event: 'merge'
});
cellinfo.asc_getFlags().asc_getMerge() &&
menuItems.push({
caption: 'Unmerge',
caption: me.menuUnmerge,
event: 'unmerge'
});
menuItems.push(
cellinfo.asc_getFlags().asc_getWrapText() ?
{
caption: 'Unwrap',
caption: me.menuUnwrap,
event: 'unwrap'
} :
{
caption: 'Wrap',
caption: me.menuWrap,
event: 'wrap'
});
......@@ -277,7 +277,7 @@ define([
cellinfo.asc_getHyperlink().asc_getType() == Asc.c_oAscHyperlinkType.WebLink )
{
menuItems.push({
caption: 'Open Link',
caption: me.menuOpenLink,
event: 'openlink'
});
} else
......@@ -285,7 +285,7 @@ define([
!cellinfo.asc_getFlags().asc_getLockText() && !!cellinfo.asc_getText() )
{
menuItems.push({
caption: 'Add Link',
caption: me.menuAddLink,
event: 'addlink'
});
}
......@@ -300,7 +300,21 @@ define([
return menuItems;
},
warnMergeLostData: 'Operation can destroy data in the selected cells.<br>Continue?'
warnMergeLostData: 'Operation can destroy data in the selected cells.<br>Continue?',
menuCopy: 'Copy',
menuCut: 'Cut',
menuPaste: 'Paste',
menuDelete: 'Delete',
menuAddLink: 'Add Link',
menuOpenLink: 'Open Link',
menuWrap: 'Wrap',
menuUnwrap: 'Unwrap',
menuMerge: 'Merge',
menuUnmerge: 'Unmerge',
menuShow: 'Show',
menuHide: 'Hide',
menuEdit: 'Edit',
menuCell: 'Cell'
}
})(), SSE.Controllers.DocumentHolder || {}))
});
\ No newline at end of file
......@@ -110,6 +110,20 @@
"SSE.Controllers.Main.advDRMPassword": "Password",
"SSE.Controllers.DocumentHolder.warnMergeLostData": "Operation can destroy data in the selected cells.<br>Continue?",
"SSE.Controllers.DocumentHolder.menuCopy": "Copy",
"SSE.Controllers.DocumentHolder.menuCut": "Cut",
"SSE.Controllers.DocumentHolder.menuPaste": "Paste",
"SSE.Controllers.DocumentHolder.menuDelete": "Delete",
"SSE.Controllers.DocumentHolder.menuAddLink": "Add Link",
"SSE.Controllers.DocumentHolder.menuOpenLink": "Open Link",
"SSE.Controllers.DocumentHolder.menuWrap": "Wrap",
"SSE.Controllers.DocumentHolder.menuUnwrap": "Unwrap",
"SSE.Controllers.DocumentHolder.menuMerge": "Merge",
"SSE.Controllers.DocumentHolder.menuUnmerge": "Unmerge",
"SSE.Controllers.DocumentHolder.menuShow": "Show",
"SSE.Controllers.DocumentHolder.menuHide": "Hide",
"SSE.Controllers.DocumentHolder.menuEdit": "Edit",
"SSE.Controllers.DocumentHolder.menuCell": "Cell",
"SSE.Controllers.Search.textNoTextFound": "Text not found",
"SSE.Controllers.Search.textReplaceAll": "Replace All",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment