WordPress.org

Make WordPress Core

Opened 8 years ago

Last modified 7 months ago

#7098 reviewing enhancement

Multiple entity codes in POT file for the same character

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

Download all attachments as: .zip

Change History (18)

#1 @leuce
8 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
8 years ago

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

Postponed to 2.8.

#3 @FFEMTcJ
7 years ago

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

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

Version 0, edited 5 years ago by ramiy (next)

#7 @ramiy
5 years ago

Same for ← and →.

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

@ramiy
5 years ago

Convert ... => … => …

#8 @ramiy
5 years ago

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

@ramiy
5 years ago

Remove ←

@ramiy
5 years ago

Convert » => »

#9 @SergeyBiryukov
5 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
5 years ago

Ok, i will remember that. thanks.

#11 @scribu
5 years ago

  • Cc scribu added

#12 @steveagl
5 years ago

  • Cc steveagl added

#13 @DrewAPicture
4 years ago

  • Cc xoodrew@… added

Semi-related: #8714

#14 @chriscct7
20 months ago

  • Keywords dev-feedback added

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

#15 @chriscct7
7 months ago

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