Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#35745 closed defect (bug) (fixed)

Avoid using HTML tags in translation strings (wp-admin/themes.php)

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

Description

See the attached patch.

Attachments (1)

35745.patch​ (1.3 KB ) - added by ramiy 11 years ago.

Download all attachments as: .zip

Change History (6)

#1 @ramiy
11 years ago

  • Keywords has-patch added

#2 @ramiy
11 years ago

Old strings:

  • Settings saved and theme activated. <a href="%s">Visit site</a>
  • New theme activated. <a href="%s">Visit site</a>

New strings:

  • Settings saved and theme activated.
  • New theme activated.
  • Visit site

No HTML tags, much easier to translate.

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


11 years ago

#4 @SergeyBiryukov
11 years ago

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

In 36657:

I18N: Remove <a> tags from translatable strings in wp-admin/themes.php.

Props ramiy.
Fixes #35745.

#5 @jorbin
11 years ago

  • Milestone Awaiting Review → 4.5
Note: See TracTickets for help on using tickets.