Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#49244 closed defect (bug) (fixed)

i18n: Merge similar translation strings in rest api

Reported by: ramiy's profile ramiy Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 5.4 Priority: normal
Severity: normal Version:
Component: I18N Keywords: has-screenshots has-patch
Focuses: administration, rest-api Cc:

Description

Current strings:

  • %1$s is not of type %2$s (1 references)
  • %1$s is not of type %2$s. (7 references)

New String:

  • %1$s is not of type %2$s.



Both strings are in wp-includes/rest-api.php file.

Attachments (2)

49244.png (26.2 KB) - added by ramiy 4 years ago.
49244.patch (586 bytes) - added by ramiy 4 years ago.

Download all attachments as: .zip

Change History (6)

@ramiy
4 years ago

@ramiy
4 years ago

#1 @ramiy
4 years ago

  • Keywords has-screenshots has-patch added

#2 @ramiy
4 years ago

See the source at translate.wp.org

#3 @SergeyBiryukov
4 years ago

  • Milestone changed from Awaiting Review to 5.4

#4 @SergeyBiryukov
4 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 47091:

I18N: Merge duplicate %1$s is not of type %2$s strings in rest_validate_value_from_schema().

Props ramiy.
Fixes #49244.

Note: See TracTickets for help on using tickets.