Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#50709 closed enhancement (fixed)

i18n: Add context to translations strings in theme installer/upgrader/table

Reported by: ramiy Owned by: SergeyBiryukov
Priority: normal Milestone: 5.5
Component: I18N Version:
Severity: normal Keywords: has-patch
Cc: Focuses: accessibility, rtl

Description

See the attached screenshot.

Attachments (3)

50709.png​ (42.4 KB ) - added by ramiy 6 years ago.
50709.patch​ (1.6 KB ) - added by ramiy 6 years ago.
50709.2.patch​ (1.7 KB ) - added by ramiy 6 years ago.
with quotes

Download all attachments as: .zip

Change History (9)

#1 @ramiy
6 years ago

  • Keywords has-patch has-screenshots added

The attached patch merges similar translation strings.

Those strings are Theme a11y strings.

Same strings in plugins files already use _x() with plugin context.

The patch fixes a11y strings in theme files.

#2 @ocean90
6 years ago

  • Keywords has-screenshots removed
  • Type defect (bug) → enhancement

I'd rather leave the quotes around the plugin name to ensure it doesn't clash with a plugin name starting with "Activate", "Deactivate" or similar.

@ramiy
6 years ago

with quotes

#3 @ramiy
6 years ago

  • Summary i18n: Merge similar translation strings in theme installer/upgrader → i18n: Add context to translations strings in theme installer/upgrader/table

#4 @SergeyBiryukov
6 years ago

  • Milestone Awaiting Review → 5.5

#5 @SergeyBiryukov
6 years ago

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

In 48545:

I18N: Add context to some theme strings for consistency.

Props ramiy, ocean90.
Fixes #50709.

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


6 years ago

Note: See TracTickets for help on using tickets.