1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-19 13:54:25 +01:00

[bug] unable to configure the app to use a german locale

This commit is contained in:
Sylvain 2021-02-08 16:17:40 +01:00
parent 2d378ea9da
commit e4d82070da
2 changed files with 8 additions and 2 deletions

View File

@ -2,6 +2,8 @@
## Next release
- Fix a bug: unable to configure the app to use a german locale
## v4.6.6 2021 February 02
- Full German translation (thanks to [@korrupt](https://crowdin.com/profile/korrupt))
- OpenAPI endpoints to create/update/show/delete machines

View File

@ -1,7 +1,11 @@
# frozen_string_literal: true
# List of all allowed values for RAILS_LOCALE
I18n.config.available_locales += %i[en en-AU-CA en-GB en-IE en-IN en-NZ en-US en-ZA fr fa-CA fr-CH fr-CM fr-FR es es-419
es-AR es-CL es-CO es-CR es-DO es-EC es-ES es-MX es-PA es-PE es-US es-VE pt pt-BR zu]
I18n.config.available_locales += %i[de de-AT de-CH de-DE
en en-AU-CA en-GB en-IE en-IN en-NZ en-US en-ZA
fr fa-CA fr-CH fr-CM fr-FR
es es-419 es-AR es-CL es-CO es-CR es-DO es-EC es-ES es-MX es-PA es-PE es-US es-VE
pt pt-BR
zu]
# we allow the Zulu locale (zu) as it is used for In-Context translation
# @see https://support.crowdin.com/in-context-localization/