Address rows: the State box reads 'Zustand' in German, because the core's 'State' (a status) answers for the plugin's #651
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
performance
security
tier
1
tier
2
tier
3
tier/4
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Postulo/postulo#651
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found while reviewing #306; older than it, and now beside #306's "needs a state".
What happens
On Your details, the box for the state of a postal address in the United States, Australia
or Brazil reads Zustand in German and Κατάσταση in Greek: the word for a condition, a
status. The address-rules plugin's own catalogues say Bundesstaat and Πολιτεία, which
is right, and they are never reached.
Why
The plugin's label is the msgid
Statewith no context. The core has the same msgid, for astatus, and the core's catalogue answers first. Two meanings share one msgid, so whichever
catalogue is asked first decides for both.
What should happen
The address part's label carries a context (
pgettext_lazy("part of a postal address", "State")), so it is a message of its own and the plugin's translation is the one drawn.The translations the plugin's catalogues already hold for
Statemove to the entry withthe context, in every language that has one: they are carried, not written again.
Look for the same collision on the plugin's other labels (Province, District, County,
Region, Town, City, Postcode): any that the core also has under another meaning gets
the same treatment.
Acceptance
message says how many entries moved.
a message of the core.