Opened 5 years ago

Last modified 17 months ago

#7098 new enhancement

Multiple entity codes in POT file for the same character

Reported by: leuce Owned by: anonymous
Priority: normal Milestone: Future Release
Component: I18N Version: 2.5.1
Severity: normal Keywords: has-patch
Cc: scribu, steveagl, xoodrew@…

Description

In the wordpress.pot file, two characters are represented by both their numbered and lettered HTML entities. These are:

Em-dash: the POT file contains both — and —

Right angle quote: the POT file contains both » and »

I'm not sure if it matters but it certainly is a little inconsistent.

Attachments (3)

8230-to-hellip.patch (12.3 KB) - added by ramiy 22 months ago.
Convert ... => … => …
remove-larr.patch (1.2 KB) - added by ramiy 22 months ago.
Remove ←
187-to-raquo.patch (1.6 KB) - added by ramiy 22 months ago.
Convert » => »

Download all attachments as: .zip

Change History (16)

Whoops... there are two more such cases I didn't even see:

Ellips: the POT file contains both … and …

Double right angle quote: the POT file contains both › and ›

I'm confident that these four are the only ones.

comment:2   ryan5 years ago

  • Milestone changed from 2.7 to 2.8
  • Type changed from defect to enhancement

Postponed to 2.8.

  • Keywords needs-patch added
  • Milestone changed from 2.8 to Future Release
  • Keywords close added; i18n comment translation l10n POT PO entities characters Unicode needs-patch removed

Inconsistent maybe, but I don't think it matters so much.

+1 for ... => … => …

And also, i think that wordpress strings should not use » (»), « («) › (›) ‹ (‹) becouse of the RTL support.

If we change Log out » => Log out users will still understand the meaning.

Version 0, edited 22 months ago by ramiy (next)

Same for ← and →.

We can change "← Back to %s" => "Back to %s" (wp-login.php:127).

ramiy22 months ago

Convert ... => … => …

  • Keywords has-patch added; close removed
  • Version set to 3.2.1

ramiy22 months ago

Remove ←

ramiy22 months ago

Convert » => »

  • Version changed from 3.2.1 to 2.5.1

Version number is used to track when the bug was introduced/reported.

June 5, 2008, that would be 2.5.1.

Ok, i will remember that. thanks.

  • Cc scribu added
  • Cc steveagl added
  • Cc xoodrew@… added

Semi-related: #8714

Note: See TracTickets for help on using tickets.