Skip to content

Commit

Permalink
Fix missing translation on first login on Decidim v0.28 (#10)
Browse files Browse the repository at this point in the history
* Fix missing translation on first login

* Make GH Actions run against release branches

* Update Changelog and version

* Normalize translations

* Add first_login transations to ignore unused
  • Loading branch information
tramuntanal authored Nov 21, 2024
1 parent 79a833a commit cf9cf92
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- master
- release/*
- "*-stable"
pull_request:

env:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches:
- master
- release/*
- "*-stable"

pull_request:

env:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ Following Semantic Versioning 2.

## next version:

## Version 0.1.1 (PATCH)
- Breaking semanting versioning to have one minor for each decidim minor
- Fix missing translation on first login

## Version 0.0.7 (MINOR)
- Increase minimum Decidim version to 0.28
- Downgrade Ruby version to 3.1.1
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
decidim-verifications-members_picker (0.0.7)
decidim-verifications-members_picker (0.1.1)
decidim-core (>= 0.28.0)
decidim-verifications (>= 0.28.0)

Expand Down
1 change: 1 addition & 0 deletions config/i18n-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ locales: [en, ca, es]

ignore_unused:
- "decidim.authorization_handlers.members_picker_authorization_handler.*"
- "decidim.verifications.authorizations.first_login.*"
- "decidim.verifications.members_picker_authorization.extra_explanation"
4 changes: 4 additions & 0 deletions config/locales/ca.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ ca:
members_picker_help: "(separats per comes)"
name: Tria quins correus electrònics poden participar al component
verifications:
authorizations:
first_login:
actions:
members_picker_authorization_handler: Elecció de membres
members_picker_authorization:
extra_explanation: La participació està restringida a només uns participants
amb permís.
4 changes: 4 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ en:
name: Pick the emails of the users that will be able to participate in the
current component
verifications:
authorizations:
first_login:
actions:
members_picker_authorization_handler: Members picker
members_picker_authorization:
extra_explanation: Participation is restricted to participants with the permitted
email.
4 changes: 4 additions & 0 deletions config/locales/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ es:
members_picker_help: "(separado por comas)"
name: Elige qué correos electrónicos pueden participar en el componente
verifications:
authorizations:
first_login:
actions:
members_picker_authorization_handler: Elección de miembros
members_picker_authorization:
extra_explanation: La participación está restringida a sólo unos participantes
con permiso
2 changes: 1 addition & 1 deletion lib/decidim/verifications/members_picker/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module Decidim
module Verifications
module MembersPicker
def self.version
"0.0.7"
"0.1.1"
end
end
end
Expand Down

0 comments on commit cf9cf92

Please sign in to comment.