Skip to:
Content

bbPress.org

Opened 11 years ago

Closed 10 years ago

#2912 closed defect (bug) (fixed)

Avoid using HTML tags in translation strings (includes/admin/replies.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 core. Removing the HTML tags from translation strings to make the translation process faster and easier.

See the attached patch.


Old strings:

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

New strings:

  • Reply updated.
  • Reply created.
  • Reply submitted.
  • Reply draft updated.
  • View topic
  • Preview topic

Attachments (3)

2912.patch​ (2.0 KB ) - added by ramiy 11 years ago.
2912.2.patch​ (2.0 KB ) - added by thebrandonallen 10 years ago.
2912.2.2.patch​ (2.4 KB ) - added by thebrandonallen 10 years ago.

Download all attachments as: .zip

Change History (8)

@ramiy
11 years ago

#1 @ramiy
11 years ago

Related: #2881

#2 @ramiy
11 years ago

Related: #2910

#3 @ramiy
11 years ago

Related: #2911

#4 @thebrandonallen
10 years ago

  • Milestone Awaiting Review → 2.6

Refresh patch to apply cleanly on trunk.

#5 @netweb
10 years ago

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

In 6045:

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

Props ramiy, thebrandonallen
Fixes #2912

Note: See TracTickets for help on using tickets.