Opened 7 years ago
Closed 5 years ago
#2885 closed defect (bug) (fixed)
WordCamp.org: Remove hardcoded CSS from translatable strings
Reported by: | SergeyBiryukov | Owned by: | |
---|---|---|---|
Milestone: | Priority: | low | |
Component: | WordCamp Site & Plugins | Keywords: | has-patch |
Cc: |
Description
Some strings in WordCamp_New_Site::get_stub_posts()
have hardcoded CSS that doesn't need to be translated.
Attachments (1)
Change History (5)
#1
@
7 years ago
- Owner set to iandunn
- Priority changed from normal to low
- Status changed from new to accepted
This ticket was mentioned in Slack in #meta-wordcamp by ryelle. View the logs.
5 years ago
#4
@
5 years ago
- Resolution set to fixed
- Status changed from assigned to closed
Fixed in PR 445 on github, by removing the translation wrappers from these strings.
Note: See
TracTickets for help on using
tickets.
I think those strings can be de-internationalized entirely, it was a mistake to internationalize them, since the posts get created before a site locale is assigned. See ticket:603#comment:2.
Or, we could try to set a locale on the
wordcamp
post type, but that'd require extra work from the Community team, and might have some technical issues that need to be sorted out. It'd probably require a discussion on make/Community first to sort out what they want to do.