From bcf952d0f15bc1452d6acec361c11c80f963b774 Mon Sep 17 00:00:00 2001 From: KDwevedi Date: Wed, 29 Apr 2026 14:30:32 +0530 Subject: [PATCH] fix(loc): wire citizen login toggle keys, retitle CS_COMMON_HELPLINE Citizen UI walk on naipepea (digit-integration-tests#12) found the sidebar HELPLINE label rendered as the literal upper-case word and the mobile/email toggle below the login mobile-number input rendered as raw localization keys. The toggle keys (CS_LOGIN_REGISTER_WITH_EMAIL, CS_USE_MOBILE_INSTEAD, plus the LOGIN_WITH_EMAIL / LOGIN_WITH_MOBILE mobile-viewport variants) were referenced by SelectMobileNumber.js but never seeded; CS_COMMON_HELPLINE shipped with the placeholder value "HELPLINE", which reads as a raw key on the rendered sidebar. Mirrored the same change into both the en_IN and default seed files so fresh tenants don't reintroduce the gap. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../default/rainmaker-common.json | 26 ++++++++++++++++++- .../localisations/en_IN/rainmaker-common.json | 26 ++++++++++++++++++- 2 files changed, 50 insertions(+), 2 deletions(-) diff --git a/utilities/default-data-handler/src/main/resources/localisations/default/rainmaker-common.json b/utilities/default-data-handler/src/main/resources/localisations/default/rainmaker-common.json index c8aee3400..bea28886a 100644 --- a/utilities/default-data-handler/src/main/resources/localisations/default/rainmaker-common.json +++ b/utilities/default-data-handler/src/main/resources/localisations/default/rainmaker-common.json @@ -14911,7 +14911,7 @@ }, { "code": "CS_COMMON_HELPLINE", - "message": "HELPLINE", + "message": "Helpline", "module": "rainmaker-common", "locale": "default" }, @@ -81298,5 +81298,29 @@ "message": "Edit Profile", "module": "rainmaker-common", "locale": "default" + }, + { + "code": "CS_LOGIN_REGISTER_WITH_EMAIL", + "message": "Login or register with email", + "module": "rainmaker-common", + "locale": "default" + }, + { + "code": "CS_USE_MOBILE_INSTEAD", + "message": "Use mobile number instead", + "module": "rainmaker-common", + "locale": "default" + }, + { + "code": "LOGIN_WITH_EMAIL", + "message": "Login with email", + "module": "rainmaker-common", + "locale": "default" + }, + { + "code": "LOGIN_WITH_MOBILE", + "message": "Login with mobile", + "module": "rainmaker-common", + "locale": "default" } ] \ No newline at end of file diff --git a/utilities/default-data-handler/src/main/resources/localisations/en_IN/rainmaker-common.json b/utilities/default-data-handler/src/main/resources/localisations/en_IN/rainmaker-common.json index 7717d2d21..9a69bc97f 100644 --- a/utilities/default-data-handler/src/main/resources/localisations/en_IN/rainmaker-common.json +++ b/utilities/default-data-handler/src/main/resources/localisations/en_IN/rainmaker-common.json @@ -14911,7 +14911,7 @@ }, { "code": "CS_COMMON_HELPLINE", - "message": "HELPLINE", + "message": "Helpline", "module": "rainmaker-common", "locale": "en_IN" }, @@ -81298,5 +81298,29 @@ "message": "Edit Profile", "module": "rainmaker-common", "locale": "en_IN" + }, + { + "code": "CS_LOGIN_REGISTER_WITH_EMAIL", + "message": "Login or register with email", + "module": "rainmaker-common", + "locale": "en_IN" + }, + { + "code": "CS_USE_MOBILE_INSTEAD", + "message": "Use mobile number instead", + "module": "rainmaker-common", + "locale": "en_IN" + }, + { + "code": "LOGIN_WITH_EMAIL", + "message": "Login with email", + "module": "rainmaker-common", + "locale": "en_IN" + }, + { + "code": "LOGIN_WITH_MOBILE", + "message": "Login with mobile", + "module": "rainmaker-common", + "locale": "en_IN" } ] \ No newline at end of file