loleaflet/js/toolbar.js |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ddafb573ed5b86c9324f3f2e051f95f7db615833
Author:     Andras Timar <[email protected]>
AuthorDate: Thu Nov 1 10:25:58 2018 +0100
Commit:     Andras Timar <[email protected]>
CommitDate: Thu Nov 1 10:29:34 2018 +0100

    Font size dropdown placeholder string 'Size' and its translations were too 
long and did not fit
    
    Change-Id: I7950f2411f5f148043390277566b0ecd15961085
    Reviewed-on: https://gerrit.libreoffice.org/62719
    Reviewed-by: Andras Timar <[email protected]>
    Tested-by: Andras Timar <[email protected]>

diff --git a/loleaflet/js/toolbar.js b/loleaflet/js/toolbar.js
index a1ebdea05..4391c8472 100644
--- a/loleaflet/js/toolbar.js
+++ b/loleaflet/js/toolbar.js
@@ -1013,7 +1013,7 @@ function updateFontSizeList(font) {
        data = 
data.concat(map.getToolbarCommandValues('.uno:CharFontName')[font]);
        $('.fontsizes-select').select2({
                data: data,
-               placeholder: _('Size'),
+               placeholder: ' ',
                //Allow manually entered font size.
                createTag: function(query) {
                        return {
@@ -1586,7 +1586,7 @@ function updateCommandValues() {
 
        if ($('.fontsizes-select option').length === 0) {
                $('.fontsizes-select').select2({
-                       placeholder: _('Size'),
+                       placeholder: ' ',
                        data: []
                });
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to