From 996b934422ed6183727955c400ce9858eb934e07 Mon Sep 17 00:00:00 2001 From: THIAGO DE QUEIROZ Date: Fri, 13 Aug 2021 07:39:11 -0400 Subject: [PATCH] Removing hardcoded texts Removed hardcoded texts and allowing them to be translated. --- lib/configs/image_picker_configs.dart | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/configs/image_picker_configs.dart b/lib/configs/image_picker_configs.dart index f1f7eff..afc668e 100644 --- a/lib/configs/image_picker_configs.dart +++ b/lib/configs/image_picker_configs.dart @@ -139,7 +139,15 @@ class ImagePickerConfigs { String get textImageStickerGuide => getTranslatedString( "image_picker_image_sticker_guide", "You can click on below icons to add into image, double click to remove it from image"); - + String get textExposure => getTranslatedString( + "image_picker_exposure_title", + "Exposure"); + String get textExposureLocked => getTranslatedString( + "image_picker_exposure_locked_title", + "Locked"); + String get textExposureLocked => getTranslatedString( + "image_picker_exposure_auto_title", + "auto"); /// Translate string by translateFunc String getTranslatedString(String name, String defaultValue) { return translateFunc.call(name, defaultValue);