Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#42565 closed defect (bug) (fixed)

Customizer menu help text is incorrect

Reported by: johnbillion Owned by: johnbillion
Priority: normal Milestone: 4.9.3
Component: Text Changes Version: 4.9
Severity: normal Keywords: has-patch commit
Cc: Focuses:

Description

The help text shown in the Customizer after creating a new menu states:

Click “Add menu items” to start putting pages, categories, and custom links in your menu.

The actual button text says "Add Items", not "Add menu items".

Attachments (3)

42565.diff​ (1.1 KB ) - added by munyagu 9 years ago.
42565.patch​ (1.1 KB ) - added by rishishah 9 years ago.
42565.2.diff​ (1.5 KB ) - added by dlh 9 years ago.

Download all attachments as: .zip

Change History (13)

#1 @munyagu
9 years ago

  • Keywords has-patch added; needs-patch removed

#2 follow-up: @dlh
9 years ago

I have a question about good internationalization practices: Given that the help text is intended to show the literal button text, and not that same text in the context of the rest of the string, would it be preferable to insert the button text with sprintf()?

#3 in reply to: ↑ 2 @johnbillion
9 years ago

  • Component Customize → Text Changes

Replying to dlh:

would it be preferable to insert the button text with sprintf()?

Yep. 42565.2.diff​ looks good.

#4 @johnbillion
9 years ago

  • Milestone 4.9.1 → 4.9.2

This ticket was mentioned in ​Slack in #core by melchoyce. ​View the logs.


9 years ago

#6 @melchoyce
9 years ago

@johnbillion Looks good to me as well. Ready for commit?

#7 @johnbillion
9 years ago

  • Keywords commit added
  • Owner set to johnbillion
  • Status new → reviewing

#8 @dd32
9 years ago

  • Milestone 4.9.2 → 4.9.3

Bumping to 4.9.3 due to 4.9.2s release

#9 @SergeyBiryukov
9 years ago

  • Resolution → fixed
  • Status reviewing → closed

In 42568:

Customize: Correct "Add Items" button reference in help text shown after creating a new menu.

Props dlh, munyagu, rishishah.
Fixes #42565.

#10 @SergeyBiryukov
9 years ago

In 42569:

Customize: Correct "Add Items" button reference in help text shown after creating a new menu.

Props dlh, munyagu, rishishah.
Merges [42568] to the 4.9 branch.
Fixes #42565.

Note: See TracTickets for help on using tickets.