WordPress.org

Make WordPress Core

Opened 5 months ago

Closed 5 months ago

#38880 closed defect (bug) (fixed)

i18n: localize support links

Reported by: ramiy Owned by: SergeyBiryukov
Milestone: 4.7 Priority: normal
Severity: normal Version: 4.7
Component: I18N Keywords: has-patch
Focuses: administration Cc:

Description

In translation strings that have links, we usually use placeholders. e.g. some <a href="%s">link</a>

See the attached patch that moves the URL out of the strings.

Attachments (1)

38880.patch (3.4 KB) - added by ramiy 5 months ago.

Download all attachments as: .zip

Change History (4)

@ramiy
5 months ago

#1 @ramiy
5 months ago

  • Keywords has-patch added

The URL https://wordpress.org/support/ is translatable to allow other languages to redirect the user to local support forums.

#2 @SergeyBiryukov
5 months ago

  • Milestone changed from Awaiting Review to 4.7

#3 @SergeyBiryukov
5 months ago

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

In 39325:

I18N: Move the support forums URL in update-related HTTP API error messages to a separate translatable string that is already used elsewhere.

Props ramiy, SergeyBiryukov.
Fixes #38880.

Note: See TracTickets for help on using tickets.