Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i18n remove date.order key #3007

Merged
merged 1 commit into from
Nov 7, 2018
Merged

i18n remove date.order key #3007

merged 1 commit into from
Nov 7, 2018

Conversation

voodoorai2000
Copy link
Member

@voodoorai2000 voodoorai2000 commented Nov 6, 2018

References

PR Crowdin bot: #3005

Objectives

Remove problematic key date.order.

People are translating the date.order key, however, this key is supposed to have the symbols :year, :month, :day and not be translated to for example :año, :mes, :día as that raises an exception.

These keys are only used for defining the order of date selects which are not currently in use in CONSUL, so we can safely remove them for now.

We are having some trouble where people are translating the `date.order` key.

These keys are supposed to have the symbols :year, :month, :day and not be translated to for exampe :año, :mes, :día

Really these keys are not needed in the translation file as rails is picking up `date.format`[1] key instead of `date.order`

So we can safely remove this problematic key

[1] https://github.com/consul/consul/blob/master/config/locales/en/rails.yml#L54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants