From b8e10c92875efd2c3672226820820f9bf2ce7449 Mon Sep 17 00:00:00 2001 From: Andrey Shovkoplyas Date: Mon, 27 Jan 2020 16:18:36 +0100 Subject: [PATCH] fix key "_" --- prod/status_im/i18n_resources.cljs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/prod/status_im/i18n_resources.cljs b/prod/status_im/i18n_resources.cljs index 819da87e5694..22c5e7669d97 100644 --- a/prod/status_im/i18n_resources.cljs +++ b/prod/status_im/i18n_resources.cljs @@ -77,7 +77,9 @@ (cond-> {:en (require-translation :en)} (not= :en default-device-language) - (assoc default-device-language + (assoc (-> (name default-device-language) + (string/replace "_" "-") + keyword) (require-translation default-device-language)))) (defn load-language [lang]