Opened 8 years ago
Closed 8 years ago
#40865 closed defect (bug) (fixed)
Strings for city search in community events widget need improvement
Reported by: | dimadin | Owned by: | ocean90 |
---|---|---|---|
Milestone: | 4.8 | Priority: | normal |
Severity: | normal | Version: | 4.8 |
Component: | I18N | Keywords: | has-patch commit |
Focuses: | administration | Cc: |
Description
Two strings for new community events widgets use American cities that should be replaced with cities in places where that particular language is used. I think that it's not clear enough in translators comments that they should be replaced, not translated. Also, one comment is less descriptive than the other one and even less clear.
Another, more important thing is that context is not used for "Cincinnati" even though we don't want its translation but name of other local city.
Attachments (3)
Change History (11)
This ticket was mentioned in Slack in #core by iandunn. View the logs.
8 years ago
#4
@
8 years ago
I don't see the need for adding a context to the Cincinnati
string here. The context function should only be used to distinguish the same string in different contexts like verb/noun. That's not really the case here.
Changing translator comments is fine since it doesn't invalidate existing translations.
#6
@
8 years ago
Thanks for pointing that out. 40865.3.diff removes the esc_attr_x()
call, and tweaks the language so that both comments are consistent with each other.
These changes sound good to me.
I wonder if we should also add something like this:
Without that, I'd worry that some translators might just leave the American cities in place when there aren't any cities related to their locale that have events.