Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#34914 closed defect (bug) (fixed)

Merge 'View' strings with the same context

Reported by: SergeyBiryukov Owned by: SergeyBiryukov
Priority: normal Milestone: 4.5
Component: Administration Version:
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

[34006] added _x( 'View', 'verb' ) as a row action for approved comments in Dashboard.

We already have exactly the same string in list tables, but without a context.

We should either add the 'verb' context to other instances too, or remove it from this instance.

Attachments (2)

34006.diff​ (579 bytes ) - added by MikeHansenMe 11 years ago.
34914.patch​ (4.2 KB ) - added by subharanjan 11 years ago.
Added 'verb' context to other instances of 'View'

Download all attachments as: .zip

Change History (7)

#1 @wonderboymusic
11 years ago

  • Milestone Awaiting Review → 4.5

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


11 years ago

@MikeHansenMe
11 years ago

@subharanjan
11 years ago

Added 'verb' context to other instances of 'View'

#3 @swissspidy
11 years ago

  • Keywords has-patch added; needs-patch removed

#4 @SergeyBiryukov
11 years ago

Going with 34006.diff​, as it was an accidental change, and if we use __( 'View' ) anywhere else, the strings would become inconsistent again.

There is no _x( 'View', 'noun' ) in core yet, and if we do need additional context at some point, we can reconsider this.

#5 @SergeyBiryukov
11 years ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → closed

In 35900:

List tables: After [34006], remove unnecessary context from 'View' string, for consistency with other strings in the same context.

Props MikeHansenMe, subharanjan.
Fixes #34914.

Note: See TracTickets for help on using tickets.