From 79ad0657d69cfba18598f08274f546f223f61089 Mon Sep 17 00:00:00 2001 From: Hamza Ahmed Khan Date: Tue, 5 Oct 2021 18:06:52 +0500 Subject: [PATCH 1/2] Add missing translateable fields to ExtendedRadioButtonWidgetFactory --- .../widgets/ExtendedRadioButtonWidgetFactory.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/android-json-form-wizard/src/main/java/com/vijay/jsonwizard/widgets/ExtendedRadioButtonWidgetFactory.java b/android-json-form-wizard/src/main/java/com/vijay/jsonwizard/widgets/ExtendedRadioButtonWidgetFactory.java index 2295c8938..163994c7d 100644 --- a/android-json-form-wizard/src/main/java/com/vijay/jsonwizard/widgets/ExtendedRadioButtonWidgetFactory.java +++ b/android-json-form-wizard/src/main/java/com/vijay/jsonwizard/widgets/ExtendedRadioButtonWidgetFactory.java @@ -170,6 +170,10 @@ private void addRadioButtons(String stepName, Context context, JSONObject jsonOb @Override public Set getCustomTranslatableWidgetFields() { - return new HashSet<>(); - } + Set customTranslatableWidgetFields = new HashSet<>(); + customTranslatableWidgetFields.add(JsonFormConstants.OPTIONS_FIELD_NAME + "." + JsonFormConstants.TEXT); + customTranslatableWidgetFields.add(JsonFormConstants.OPTIONS_FIELD_NAME + "." + JsonFormConstants.CONTENT_INFO); + customTranslatableWidgetFields.add(JsonFormConstants.LABEL_INFO_TEXT); + customTranslatableWidgetFields.add(JsonFormConstants.LABEL_INFO_TITLE); + return customTranslatableWidgetFields; } } From 0155acd818df7e139e616d949f306c38bdbea237 Mon Sep 17 00:00:00 2001 From: Hamza Ahmed Khan Date: Tue, 5 Oct 2021 18:07:51 +0500 Subject: [PATCH 2/2] Bump up library version --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 18681682c..144e78e0d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -VERSION_NAME=2.1.10-SNAPSHOT +VERSION_NAME=2.1.11-SNAPSHOT VERSION_CODE=1 GROUP=org.smartregister POM_SETTING_DESCRIPTION=OpenSRP Client Native Form Json Wizard