From b1fe3a661cb294a76e03cb348be2e3142727ddb2 Mon Sep 17 00:00:00 2001 From: nathangray Date: Tue, 26 Feb 2019 09:54:16 -0700 Subject: [PATCH] Translation for toggle_on & toggle_off checkbox attributes --- api/js/etemplate/et2_widget_checkbox.js | 6 ++++-- api/lang/egw_de.lang | 2 ++ api/lang/egw_en.lang | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/api/js/etemplate/et2_widget_checkbox.js b/api/js/etemplate/et2_widget_checkbox.js index 5a52ecd2d5..2f9133ff3a 100644 --- a/api/js/etemplate/et2_widget_checkbox.js +++ b/api/js/etemplate/et2_widget_checkbox.js @@ -56,13 +56,15 @@ var et2_checkbox = (function(){ "use strict"; return et2_inputWidget.extend( "name": "Toggle on caption", "type": "string", "default": "", - "description": "String caption to show for ON status" + "description": "String caption to show for ON status", + "translate": true }, "toggle_off": { "name": "Toggle off caption", "type": "string", "default": "", - "description": "String caption to show OFF status" + "description": "String caption to show OFF status", + "translate": true } }, diff --git a/api/lang/egw_de.lang b/api/lang/egw_de.lang index b12027f10a..f5ca8ed27a 100644 --- a/api/lang/egw_de.lang +++ b/api/lang/egw_de.lang @@ -728,6 +728,7 @@ kuwait common de KUWAIT kyrgyzstan common de KYRGYZSTAN label common de Beschriftung label:[bold][italic] text:[len][,max] numbers:[min][,[max][,len]] t.area:[rows][,cols] radiob.:value h.rule:[width] templ.:[indexincontent] select:[multiselect] date:[values: eg. 'y-m-d'] common de Beschriftung:[bold][italic] Text:[len][,max] Zahlen:[min][,[max][,len]] mehrz.Text:[Zeilen][,Spalten] Radiok.:Wert Templ.:[IndexInContent] Auswahl:[mehrzeilig] Datum:[Format: zB. 'Y-m-d'] +landscape common de Querformat lang common de Sprache language common de Sprache language-short (eg. 'en' for english) for language-dependent template ('' reads your pref. languages or the default, us 'default' to read the default template '') common de Kürzel der Sprache (zb. 'en' für Englisch) für sprachabhängige Templates ('' ließt die bevorzugte Sprache, benutze 'default' für das Standard Template '') @@ -1015,6 +1016,7 @@ pm common de Nachmittag poland common de POLEN popup common de Pop-up popup with search common de weitere Teilnehmer suchen +portrait common de Hochformat portugal common de PORTUGAL postal common de Postadresse powered by common de Powered by diff --git a/api/lang/egw_en.lang b/api/lang/egw_en.lang index ffd669234b..9d1b8887df 100644 --- a/api/lang/egw_en.lang +++ b/api/lang/egw_en.lang @@ -727,6 +727,7 @@ kuwait common en KUWAIT kyrgyzstan common en KYRGYZSTAN label common en Label label:[bold][italic] text:[len][,max] numbers:[min][,[max][,len]] t.area:[rows][,cols] radiob.:value h.rule:[width] templ.:[indexincontent] select:[multiselect] date:[values: eg. 'y-m-d'] common en Label:[bold][italic] Text:[len][,max] Numbers:[min][,[max][,len]] T.area:[rows][,cols] Radiob.:value H.Rule:[width] Templ.:[IndexInContent] Select:[multiselect] Date:[values: eg. 'Y-m-d'] +landscape common en Landscape lang common en Lang language common en Language language-short (eg. 'en' for english) for language-dependent template ('' reads your pref. languages or the default, us 'default' to read the default template '') common en Language short (eg. 'en' for English) for language dependent template ('' reads your pref. languages or the default, us 'default' to read the default template '') @@ -1013,6 +1014,7 @@ pm common en pm poland common en POLAND popup common en Popup popup with search common en popup with search +portrait common en Portrait portugal common en PORTUGAL postal common en Postal powered by common en Powered by