Making WordPress.org

Opened 17 months ago

Last modified 4 hours ago

#1853 new defect

Capitalize "WordPress" correctly in translations on saving

Reported by: SergeyBiryukov Owned by:
Milestone: Priority: normal
Component: Translate Site & Plugins Keywords: needs-patch


As reported by @wolly, there are 3 old strings in Italian translation that look proper in GlotPress (with "WordPress" capitalized correctly), but not on an actual install (with a lowercase "p" in "WordPress").

translate.wordpress.org could probably use capital_P_dangit() on saving to make sure "WordPress" is always capitalized correctly in new translations.

Attachments (1)

meta-1853.patch (1.7 KB) - added by SergeyBiryukov 17 months ago.

Download all attachments as: .zip

Change History (3)

#1 @SergeyBiryukov
17 months ago

meta-1853.patch works in my testing, but it performs an additional SQL query, as there's currently no way in GlotPress to customize translations before saving. I've opened a PR to introduce a filter for that.

#2 @ocean90
4 hours ago

  • Keywords needs-patch added

gp_translation_prepare_for_save is now available on translate.w.org. There's no need for a new plugin, wporg-gp-customizations can be used.

Note: See TracTickets for help on using tickets.