Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#39013 closed defect (bug) (fixed)

Merge similar translation strings in the rest API

Reported by: ramiy Owned by: ocean90
Priority: normal Milestone: 4.7
Component: Comments Version: 4.7
Severity: normal Keywords: has-patch commit dev-reviewed
Cc: Focuses: rest-api

Description

I found one more translation string in the new REST API that can be merged with an existing string.

This does not effect the soft string freeze, we don't add new translation strings.

Attachments (2)

more-similar-strings.png​ (25.4 KB ) - added by ramiy 10 years ago.
39013.patch​ (671 bytes ) - added by ramiy 10 years ago.

Download all attachments as: .zip

Change History (12)

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


10 years ago

#2 @ramiy
10 years ago

  • Keywords has-patch added

#3 @swissspidy
10 years ago

Shouldn't we rather use 'post' instead of 'item'? See #38811.

#4 @ramiy
10 years ago

@swissspidy I remember what we did in #38811. But this is a different case.

In this case we are talking about "comments" and "trackbacks", those are not "API Resources".

Besides, comments & trackbacks can be used in any post type, not only posts.

In my opinion, changing to "items" is the best solution.

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


10 years ago

#6 @ocean90
10 years ago

  • Keywords commit dev-feedback added
  • Milestone Awaiting Review → 4.7

Let's do 39013.patch​.

#7 @ocean90
10 years ago

  • Component REST API → Comments

#8 @ocean90
10 years ago

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

In 39508:

Comments: Merge a similar string between comments.php, XML-RPC and the REST API comments controller.

Props ramiy.
Fixes #39013.

#9 @ocean90
10 years ago

In 39509:

Comments: Merge a similar string between comments.php, XML-RPC and the REST API comments controller.

Merge of [39508] to the 4.7 branch.

Props ramiy.
See #39013.

#10 @ocean90
10 years ago

  • Keywords dev-reviewed added; dev-feedback removed
Note: See TracTickets for help on using tickets.