Making WordPress.org

Opened 11 months ago

Last modified 7 months ago

#2894 accepted defect

Admin Flags: Internationalise the post-status-change label

Reported by: dd32 Owned by: coreymckrill
Milestone: Priority: low
Component: WordCamp Site & Plugins Keywords: has-patch


When toggling a status in the Flag section, the toggle afterwards is missing the capitalisation, this is because it just sets the label afterwards to the command, rather than the textual label for it.

The attached patch adds internationalised Enable/Disable text which it switches in/out instead of using the command. It's hard-coded inline with the JS, as that's the format of the current JS and changing it up further probably deserves a rethink of the entire flagging UI and storage.

Attachments (1)

camptix-add-i18n-flag-labels.diff (2.5 KB) - added by dd32 11 months ago.

Download all attachments as: .zip

Change History (3)

#1 @coreymckrill
11 months ago

  • Owner set to coreymckrill
  • Status changed from new to accepted

#2 @iandunn
7 months ago

  • Priority changed from normal to low
Note: See TracTickets for help on using tickets.