Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#34486 closed defect (bug) (fixed)

REST API and Deprecated functions: missing translator comments

Reported by: akirk's profile akirk Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 4.4 Priority: normal
Severity: normal Version: 4.4
Component: REST API Keywords:
Focuses: docs Cc:

Description

The strings returned by the REST API for deprecated functions are hard to translate because they use a lot of variables without stating for translators what they are.

These strings appear in rest_handle_deprecated_function and rest_handle_deprecated_argument.

See here how it appears in GlotPress: https://translate.wordpress.org/projects/wp/dev/de/default?filters[original_id]=1362422

Attachments (1)

34486.diff (1.3 KB) - added by akirk 9 years ago.

Download all attachments as: .zip

Change History (3)

@akirk
9 years ago

#1 @SergeyBiryukov
9 years ago

  • Milestone changed from Awaiting Review to 4.4

#2 @SergeyBiryukov
9 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 35433:

REST API: Add missing translator comments for deprecated function and argument strings.

Props akirk.
Fixes #34486.

Note: See TracTickets for help on using tickets.