Skip to content

Commit

Permalink
fix key "_"
Browse files Browse the repository at this point in the history
  • Loading branch information
flexsurfer committed Jan 27, 2020
1 parent 4258f51 commit b8e10c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion prod/status_im/i18n_resources.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit b8e10c9

Please sign in to comment.