Skip to:
Content

Opened 3 years ago

Closed 3 years ago

#2911 closed defect (fixed)

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

Reported by: ramiy Owned by: 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 3 years ago.
2911.2.patch (2.0 KB) - added by thebrandonallen 3 years ago.

Download all attachments as: .zip

Change History (7)

@ramiy
3 years ago

#1 @ramiy
3 years ago

Related: #2881

#2 @ramiy
3 years ago

Related: #2910

#3 @ramiy
3 years ago

Related: #2912

#4 @thebrandonallen
3 years ago

  • Milestone changed from Awaiting Review to 2.6

Refresh patch with formatting fixes.

#5 @netweb
3 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.