summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2021-06-04 15:17:33 +0200
committerAndras Timar <andras.timar@collabora.com>2021-06-04 15:24:39 +0200
commitfd78e9acf48e32f63b19aafe1c33a49b3b74b7e0 (patch)
tree22e990e8f5cd2881b58c19840a686f4c768eaf42
parentadd hello-world.odg to .gitignore (diff)
downloadonline-fd78e9acf48e32f63b19aafe1c33a49b3b74b7e0.tar.gz
online-fd78e9acf48e32f63b19aafe1c33a49b3b74b7e0.zip
Fix tooltip text for some notebookbar items
Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: Ia1e4e1a624483408d311fc0ac9aff08b3fef53cd
-rw-r--r--loleaflet/src/control/Control.NotebookbarDraw.js6
-rw-r--r--loleaflet/src/control/Control.NotebookbarImpress.js6
-rw-r--r--loleaflet/src/control/Control.NotebookbarWriter.js2
3 files changed, 7 insertions, 7 deletions
diff --git a/loleaflet/src/control/Control.NotebookbarDraw.js b/loleaflet/src/control/Control.NotebookbarDraw.js
index 35b23def01..bda9ab7436 100644
--- a/loleaflet/src/control/Control.NotebookbarDraw.js
+++ b/loleaflet/src/control/Control.NotebookbarDraw.js
@@ -591,12 +591,12 @@ L.Control.NotebookbarDraw = L.Control.NotebookbarImpress.extend({
'children': [
{
'type': 'toolitem',
- 'text': _UNO('.uno:InsertPage'),
+ 'text': _UNO('.uno:InsertPage', 'presentation'),
'command': '.uno:InsertPage'
},
{
'type': 'toolitem',
- 'text': _UNO('.uno:DuplicatePage'),
+ 'text': _UNO('.uno:DuplicatePage', 'presentation'),
'command': '.uno:DuplicatePage'
},
{
@@ -606,7 +606,7 @@ L.Control.NotebookbarDraw = L.Control.NotebookbarImpress.extend({
},
{
'type': 'toolitem',
- 'text': _UNO('.uno:InsertTable'),
+ 'text': _UNO('.uno:InsertTable', 'presentation'),
'command': '.uno:InsertTable'
}
]
diff --git a/loleaflet/src/control/Control.NotebookbarImpress.js b/loleaflet/src/control/Control.NotebookbarImpress.js
index 2860bb45f0..1129375390 100644
--- a/loleaflet/src/control/Control.NotebookbarImpress.js
+++ b/loleaflet/src/control/Control.NotebookbarImpress.js
@@ -615,12 +615,12 @@ L.Control.NotebookbarImpress = L.Control.NotebookbarWriter.extend({
'children': [
{
'type': 'toolitem',
- 'text': _UNO('.uno:InsertPage'),
+ 'text': _UNO('.uno:InsertSlide', 'presentation'),
'command': '.uno:InsertPage'
},
{
'type': 'toolitem',
- 'text': _UNO('.uno:DuplicatePage'),
+ 'text': _UNO('.uno:DuplicateSlide', 'presentation'),
'command': '.uno:DuplicatePage'
},
{
@@ -630,7 +630,7 @@ L.Control.NotebookbarImpress = L.Control.NotebookbarWriter.extend({
},
{
'type': 'toolitem',
- 'text': _UNO('.uno:InsertTable'),
+ 'text': _UNO('.uno:InsertTable', 'presentation'),
'command': '.uno:InsertTable'
}
]
diff --git a/loleaflet/src/control/Control.NotebookbarWriter.js b/loleaflet/src/control/Control.NotebookbarWriter.js
index 2cd414f07c..f83869bd07 100644
--- a/loleaflet/src/control/Control.NotebookbarWriter.js
+++ b/loleaflet/src/control/Control.NotebookbarWriter.js
@@ -396,7 +396,7 @@ L.Control.NotebookbarWriter = L.Control.Notebookbar.extend({
},
{
'type': 'toolitem',
- 'text': _UNO('.uno:BackColor'),
+ 'text': _UNO('.uno:BackColor', 'text'),
'command': '.uno:BackColor'
},
{