parent
c7a1b78536
commit
39533190c2
@ -0,0 +1,13 @@ |
|||||||
|
# frozen_string_literal: true |
||||||
|
|
||||||
|
module SettingsHelper |
||||||
|
HUMAN_LOCALES = { |
||||||
|
en: 'English', |
||||||
|
de: 'Deutsch', |
||||||
|
es: 'Español', |
||||||
|
}.freeze |
||||||
|
|
||||||
|
def human_locale(locale) |
||||||
|
HUMAN_LOCALES[locale] |
||||||
|
end |
||||||
|
end |
Loading…
Reference in new issue