Impress Draw: Fix insert field buttons

Draw: We should use uno:InsertPage* commands instead of uno:InsertSlide same
like compact view. We should use "Page Count, Page Number" instead of
Slide count Slide Number as button text. "Slide" word should be used for
only impress.

Impress: We should use InsertPage* commands instead of InsertSlide* same
like compact view.

Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Change-Id: I91989d4d61b65bd3b719753300a14a5177ca9e95
pull/6352/head
Gülşah Köse 2023-05-12 14:56:20 +03:00 committed by Andras Timar
parent 4220305fb6
commit da19d1b39f
6 changed files with 9 additions and 9 deletions

View File

Before

Width:  |  Height:  |  Size: 690 B

After

Width:  |  Height:  |  Size: 690 B

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

Before

Width:  |  Height:  |  Size: 707 B

After

Width:  |  Height:  |  Size: 707 B

View File

@ -956,13 +956,13 @@ L.Control.NotebookbarDraw = L.Control.NotebookbarImpress.extend({
},
{
'type': 'toolitem',
'text': _UNO('.uno:InsertSlideField', 'presentation'),
'command': '.uno:InsertSlideField'
'text': _UNO('.uno:InsertPageField', 'presentation'),
'command': '.uno:InsertPageField'
},
{
'type': 'toolitem',
'text': _UNO('.uno:InsertSlidesField', 'presentation'),
'command': '.uno:InsertSlidesField'
'text': _UNO('.uno:InsertPagesField', 'presentation'),
'command': '.uno:InsertPagesField'
}
]
},
@ -981,8 +981,8 @@ L.Control.NotebookbarDraw = L.Control.NotebookbarImpress.extend({
},
{
'type': 'toolitem',
'text': _UNO('.uno:InsertSlideTitleField', 'presentation'),
'command': '.uno:InsertSlideTitleField'
'text': _UNO('.uno:InsertPageTitleField', 'presentation'),
'command': '.uno:InsertPageTitleField'
}
]
}

View File

@ -986,12 +986,12 @@ L.Control.NotebookbarImpress = L.Control.NotebookbarWriter.extend({
{
'type': 'toolitem',
'text': _UNO('.uno:InsertSlideField', 'presentation'),
'command': '.uno:InsertSlideField'
'command': '.uno:InsertPageField'
},
{
'type': 'toolitem',
'text': _UNO('.uno:InsertSlidesField', 'presentation'),
'command': '.uno:InsertSlidesField'
'command': '.uno:InsertPagesField'
}
]
},
@ -1011,7 +1011,7 @@ L.Control.NotebookbarImpress = L.Control.NotebookbarWriter.extend({
{
'type': 'toolitem',
'text': _UNO('.uno:InsertSlideTitleField', 'presentation'),
'command': '.uno:InsertSlideTitleField'
'command': '.uno:InsertPageTitleField'
}
]
}