Make WordPress Core

Opened 16 years ago

Last modified 5 years ago

#7098 reviewing enhancement

Multiple entity codes in POT file for the same character

Reported by: leuce's profile leuce Owned by: chriscct7's profile chriscct7
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 13 years ago.
Convert ... => … => …
remove-larr.patch (1.2 KB) - added by ramiy 13 years ago.
Remove ←
187-to-raquo.patch (1.6 KB) - added by ramiy 13 years ago.
Convert » => »

Download all attachments as: .zip

Change History (19)

#1 @leuce
16 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.

#2 @ryan
15 years ago

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

Postponed to 2.8.

#3 @FFEMTcJ
15 years ago

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

#4 @solarissmoke
13 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.

#6 @ramiy
13 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 13 years ago by ramiy (previous) (diff)

#7 @ramiy
13 years ago

Same for ← and →.

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

@ramiy
13 years ago

Convert ... => … => …

#8 @ramiy
13 years ago

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

@ramiy
13 years ago

Remove ←

@ramiy
13 years ago

Convert » => »

#9 @SergeyBiryukov
13 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.

#10 @ramiy
13 years ago

Ok, i will remember that. thanks.

#11 @scribu
13 years ago

  • Cc scribu added

#12 @steveagl
13 years ago

  • Cc steveagl added

#13 @DrewAPicture
12 years ago

  • Cc xoodrew@… added

Semi-related: #8714

#14 @chriscct7
9 years ago

  • Keywords dev-feedback added

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

#15 @chriscct7
8 years ago

  • Owner set to chriscct7
  • Status changed from new to reviewing
Note: See TracTickets for help on using tickets.