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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing events locales #9199

Merged
merged 5 commits into from May 13, 2022
Merged

Add missing events locales #9199

merged 5 commits into from May 13, 2022

Conversation

sdelcroix
Copy link
Contributor

馃帺 What? Why?

(please first excuse the poor quality of this PR which is my first ever :))

Few weeks ago I wanted to translate the first line of the notification card for the event "Welcome notification" but I didn't find the key in locales files.
Digging through the code lead me to add the locale key "welcome_notification_event" to the section related to activemodel and it worked.
Then I joined the French translation team on Crowdin but could not contribute, as the key is not present in Decidim locales files.

This PR just add some locales key related to activemodel events in order to be available in Crowdin.

馃摲 Screenshots

decidim welcome notification event card

鈾ワ笍 Thank you!

@andreslucena andreslucena added module: core module: comments type: fix PRs that implement a fix for a bug labels May 2, 2022
@andreslucena
Copy link
Member

Hello @sdelcroix, thanks for the PR!

(please first excuse the poor quality of this PR which is my first ever :))

Don't worry, there's always a first time for everyone 馃槃

@andreslucena
Copy link
Member

There's a failing spec with the YAML format. Can you check it out?
It should be fixed if you run the command that's in the spec output (bundle exec i18n-tasks normalize --locales en)

@andreslucena andreslucena changed the title Add some missing activemodel events locales (to be available in Crowdin) Add missing events locales May 2, 2022
@ahukkanen ahukkanen merged commit ae4dddb into decidim:develop May 13, 2022
andreslucena pushed a commit that referenced this pull request May 18, 2022
* Add locale for the Welcome notification event

* Add locales for the some events

* Add locale for comment upvoted event

* Fix typo on welcome message event

* Fix bad sorting
andreslucena pushed a commit that referenced this pull request May 19, 2022
* Add locale for the Welcome notification event

* Add locales for the some events

* Add locale for comment upvoted event

* Fix typo on welcome message event

* Fix bad sorting
ahukkanen pushed a commit that referenced this pull request May 19, 2022
* Add locale for the Welcome notification event

* Add locales for the some events

* Add locale for comment upvoted event

* Fix typo on welcome message event

* Fix bad sorting

Co-authored-by: sdelcroix <sdelcroix@rvvn.org>
andreslucena pushed a commit that referenced this pull request May 19, 2022
* Add locale for the Welcome notification event

* Add locales for the some events

* Add locale for comment upvoted event

* Fix typo on welcome message event

* Fix bad sorting
@sdelcroix sdelcroix deleted the make_-activemodel_event_locales_explicit branch June 23, 2022 14:37
eliegaboriau pushed a commit to eliegaboriau/decidim that referenced this pull request Oct 25, 2022
* Add locale for the Welcome notification event

* Add locales for the some events

* Add locale for comment upvoted event

* Fix typo on welcome message event

* Fix bad sorting
@alecslupu alecslupu added this to the 0.27.0 milestone Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: comments module: core type: fix PRs that implement a fix for a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants