-
Notifications
You must be signed in to change notification settings - Fork 3
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
1843: Missing application labels #1855
Conversation
…ByMinisterPresidentEntitlement, consider parents for resolving keys for attachments, fix wrong label
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The architecture of these translations keys seems quite fragile to me...
I haven't checked if you caught every translation key. I also did not test anything.
…keys as they were stored in the database
fa961e2
to
55f5d48
Compare
@seluianova and @bahaaTuffaha this pr needs really proper testing, since we will have bad issues with wrong i18n keys in the database, if there is a mess. If you have any questions don't hesitate to ask me |
administration/src/bp-modules/applications/JsonFieldElemental.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked every application type (or I hope so)
Just a couple nitpicks from my side 👍
@@ -20,11 +20,25 @@ | |||
"wantsDigitalCard": "Ich beantrage eine digitale Ehrenamtskarte", | |||
"wantsPhysicalCard": "Ich beantrage eine physische Ehrenamtskarte", | |||
"blueCardJuleicaEntitlement": "Ich bin Inhaber:in einer JuLeiCa (Jugendleiter:in-Card)", | |||
"blueCardWorkAtDepartmentEntitlement": "Ich bin aktiv in der Freiwilligen Feuerwehr mit abgeschlossener Truppmannausbildung bzw. abgeschlossenem Basis-Modul der Modularen Truppausbildung (MTA), oder im Katastrophenschutz oder im Rettungsdienst mit abgeschlossener Grundausbildung.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙃 maybe we don't need the "." at the end of the entitlement descriptions.
or at least it should be the same for all items.
currently there is no "." in blueCardJuleicaEntitlement and goldenCardHonoredByMinisterPresidentEntitlement, but we have the "." for other items.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well i think the requirements are entire sentences so they should have a dot when the user selects a requirement.
I think its not really needed to strip that. But you are right it should be equal for all requirements
Co-authored-by: Tory <115008338+seluianova@users.noreply.github.com>
Short description
Some application labels were not resolved properly
Proposed changes
goldenCardHonoredByMinisterPresidentEntitlement
,Side effects
Testing
de.json
, there were some keys likecertificate
resolved wrong because the parents wasn't usedResolved issues
Fixes: #1843
Fixes: #1852