Ticket #7098 (new enhancement)

Opened 4 years ago

Last modified 5 weeks ago

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

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

Change History

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   ryan3 years ago

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

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.

Last edited 7 months ago by ramiy (previous) (diff)

Same for ← and →.

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

ramiy7 months ago

Convert ... => … => …

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

ramiy7 months ago

Remove ←

ramiy7 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.