Skip to:
Content

bbPress.org

Opened 10 years ago

Closed 10 years ago

#2911 closed defect (bug) (fixed)

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

Reported by: ramiy Owned by: netweb
Priority: normal Milestone: 2.6
Component: Locale - i18n/l10n Version:
Severity: normal 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 10 years ago.
2911.2.patch (2.0 KB ) - added by thebrandonallen 10 years ago.

Download all attachments as: .zip

Change History (7)

@ramiy
10 years ago

#1 @ramiy
10 years ago

Related: #2881

#2 @ramiy
10 years ago

Related: #2910

#3 @ramiy
10 years ago

Related: #2912

#4 @thebrandonallen
10 years ago

  • Milestone Awaiting Review2.6

Refresh patch with formatting fixes.

#5 @netweb
10 years ago

  • Owner set to netweb
  • Resolutionfixed
  • Status newclosed

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.