[Libreoffice-commits] online.git: loleaflet/js

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Nov 1 09:29:51 UTC 2018


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

New commits:
commit ddafb573ed5b86c9324f3f2e051f95f7db615833
Author:     Andras Timar <andras.timar at collabora.com>
AuthorDate: Thu Nov 1 10:25:58 2018 +0100
Commit:     Andras Timar <andras.timar at collabora.com>
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 <andras.timar at collabora.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>

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: []
 		});
 


More information about the Libreoffice-commits mailing list