Skip to:
Content

bbPress.org

Opened 8 years ago

Closed 8 years ago

#2911 closed defect (bug) (fixed)

Avoid using HTML tags in translation strings (includes/admin/forums.php)

Reported by: ramiy's profile ramiy Owned by: netweb's profile netweb
Milestone: 2.6 Priority: normal
Severity: normal Version:
Component: Locale - i18n/l10n Keywords: has-patch
Cc:

Description

In this ticket, we simplify the translation strings, like we did in wordpress code. Removing the HTML tags from translation strings to make the translation process faster and easier.

See the attached patch.


Old strings:

  • Forum updated. <a href="%s">View forum</a>
  • Forum created. <a href="%s">View forum</a>
  • Forum submitted. <a target="_blank" href="%s">Preview forum</a>
  • Forum draft updated. <a target="_blank" href="%s">Preview forum</a>

New strings:

  • Forum updated.
  • Forum created.
  • Forum submitted.
  • Forum draft updated.
  • View forum
  • Preview forum

Attachments (2)

2911.patch (2.0 KB) - added by ramiy 8 years ago.
2911.2.patch (2.0 KB) - added by thebrandonallen 8 years ago.

Download all attachments as: .zip

Change History (7)

@ramiy
8 years ago

#1 @ramiy
8 years ago

Related: #2881

#2 @ramiy
8 years ago

Related: #2910

#3 @ramiy
8 years ago

Related: #2912

#4 @thebrandonallen
8 years ago

  • Milestone changed from Awaiting Review to 2.6

Refresh patch with formatting fixes.

#5 @netweb
8 years ago

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

In 6044:

i18n: Avoid using HTML tags in translation strings (includes/admin/topics.php)

Props ramiy, thebrandonallen
Fixes #2911

Note: See TracTickets for help on using tickets.