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

Normalize de locales file #146

Merged
merged 2 commits into from
Apr 5, 2019
Merged

Conversation

coorasse
Copy link
Collaborator

This PR normalises German locales file.

I followed the README and decided to update these locales since there are some missing. During this process, the task i18n-tasks add-missing normalised my file.

I decided to split my work into different PRs and avoid mixing the addition of new translations with the normalisation of the file.

Since the rubocop configuration is set to a maximum length for the line of 140 characters, I configured i18n-tasks to behave the same during the normalization.

I then simply run i18n-tasks normalize on the German translations.

I think this task should be part of the CI, in order to keep our translations in order (pun intended).

If you also think this is a good thing, I will open a PR to introduce i18n-tasks check-normalized in the CI and fix all the other locales.

TL;DR;
This PR does not add any translation but just commit the result of i18n-tasks normalize --locale de

@coorasse coorasse changed the title Normalise de locales file Normalize de locales file Jan 23, 2019
@kennyadsl
Copy link
Member

If you also think this is a good thing, I will open a PR to introduce i18n-tasks check-normalized in the CI and fix all the other locales.

I think it's a good idea.

We've started something similar in core as well for en. Some related PRs to check:

Feel free to propose the same solution for Solidus core. 🙂

@coorasse coorasse merged commit e8ed820 into solidusio:master Apr 5, 2019
@coorasse coorasse deleted the normalize_de_locales branch April 5, 2019 21:37
@coorasse coorasse mentioned this pull request Apr 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants