Making WordPress.org

Opened 2 years ago

Last modified 2 years 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 2 years ago.

Download all attachments as: .zip

Change History (3)

#1 @coreymckrill
2 years ago

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

#2 @iandunn
2 years ago

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