Skip to content

Commit

Permalink
Update locale keys to comply with Crowdin's defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
BGMP committed Mar 19, 2024
1 parent 6cd0203 commit 2228c8c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
12 changes: 6 additions & 6 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ module SYS

LOCALES_MAP = {
'English, US' => :en,
'English, UK' => :en_gb,
'English, UK' => :'en-GB',
'Español' => :es,
'Español, Argentina' => :es_ar,
'Español, Bolivia' => :es_bo,
'Español, Chile' => :es_cl,
'Español, Argentina' => :'es-AR',
'Español, Bolivia' => :'es-BO',
'Español, Chile' => :'es-CL',
'Italiano' => :it,
'LOLCAT' => :lol,
'Português, Brasil' => :pt_br,
'Português, Brasil' => :pt,
'한국어' => :ko
}

Expand Down Expand Up @@ -199,7 +199,7 @@ def rva_role=(role)
config.hosts << "staging.#{ORG::DOMAIN}"
config.hosts << "production.#{ORG::DOMAIN}"

config.i18n.available_locales = [:en, :en_gb, :es, :es_ar, :es_bo, :es_cl, :it, :lol, :pt_br, :ko]
config.i18n.available_locales = [:en, :'en-GB', :es, :'es-AR', :'es-BO', :'es-CL', :it, :lol, :pt, :ko]
config.i18n.default_locale = :en
config.i18n.fallbacks = true

Expand Down

0 comments on commit 2228c8c

Please sign in to comment.