WordPress.org

Make WordPress Core

Opened 7 years ago

Last modified 4 months ago

#7098 new enhancement

Multiple entity codes in POT file for the same character

Reported by: leuce Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 2.5.1
Component: I18N Keywords: has-patch dev-feedback
Focuses: Cc:

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 4 years ago.
Convert ... => … => …
remove-larr.patch (1.2 KB) - added by ramiy 4 years ago.
Remove ←
187-to-raquo.patch (1.6 KB) - added by ramiy 4 years ago.
Convert » => »

Download all attachments as: .zip

Change History (17)

comment:1 @leuce7 years ago

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 @ryan6 years ago

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

Postponed to 2.8.

comment:3 @FFEMTcJ6 years ago

  • Keywords needs-patch added
  • Milestone changed from 2.8 to Future Release

comment:4 @solarissmoke4 years ago

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

comment:6 @ramiy4 years ago

+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 4 years ago by ramiy (previous) (diff)

comment:7 @ramiy4 years ago

Same for ← and →.

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

@ramiy4 years ago

Convert ... => … => …

comment:8 @ramiy4 years ago

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

@ramiy4 years ago

Remove ←

@ramiy4 years ago

Convert » => »

comment:9 @SergeyBiryukov4 years ago

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

comment:10 @ramiy4 years ago

Ok, i will remember that. thanks.

comment:11 @scribu4 years ago

  • Cc scribu added

comment:12 @steveagl4 years ago

  • Cc steveagl added

comment:13 @DrewAPicture3 years ago

  • Cc xoodrew@… added

Semi-related: #8714

comment:14 @chriscct74 months ago

  • Keywords dev-feedback added

Makes sense to me. Maybe a translation team wants to review the idea.

Note: See TracTickets for help on using tickets.