#8714 closed enhancement (fixed)
Ellipses instead of ... in UI
Reported by: | janeforshort | Owned by: | |
---|---|---|---|
Milestone: | 3.6 | Priority: | normal |
Severity: | trivial | Version: | 2.7 |
Component: | Text Changes | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
In places where we use [...] to indicate that there's more content, we should use ellipses instead of three periods.
Attachments (10)
Change History (51)
#3
@
16 years ago
Line 47 of formatting.php should not change. Some occurrences of ... should be replaced with a period. The ones in wp-login.php, for example. Some error message need to be reworded. "Error in deleting..." for one.
#4
@
16 years ago
Also, there seems to be a preference for numbered rather than named entities, so ...
should probably be replaced with …
#5
@
16 years ago
- Keywords needs-patch added; ellipses has-patch removed
- Milestone changed from 2.8 to 2.9
bumping to 2.9, since patch needs to be refreshed
#6
@
16 years ago
- Keywords has-patch added; needs-patch removed
Similar patch as before, uses numeric entities, ellipses are removed from certain phrases where they shouldn't exist and the 3 periods are left unchanged on line 47 of formatting.php.
#7
@
16 years ago
- Keywords needs-patch added; has-patch removed
- Milestone changed from 2.9 to Future Release
#10
@
13 years ago
- Milestone changed from Future Release to 3.4
Is the latest patch good to go? It's embarrassing that this little thing still hasn't been fixed. I didn't mention it in the original ticket, but this flaw was called out by Chris Messina when he was a participant in 2.7 testing.
#11
@
13 years ago
Ellipses should either be part of a translated string (as many are here), or if used as part of text, should be __( '…' )
for translators. (We currently do '…' for translators, but we can standardize either way.)
#12
@
13 years ago
Agreed, best to be either one or the other. Also worth mentioning that we shouldn't use HTML entities in JS strings like the translated strings in script-loader.
#14
follow-up:
↓ 19
@
13 years ago
- Cc xoodrew@… added
Semi-Related #7098 (attachment:ticket:7098:8230-to-hellip.patch)
Working on a refresh.
#16
@
13 years ago
- Keywords needs-refresh removed
After some discussion in IRC, settled on … over … and '...' as it was already pretty widely used in Core. Refreshed patch attached for 3.4.
#18
@
13 years ago
- Keywords commit added; gsoc removed
Looks good. We need to audit these though, for context (making sure they aren't escaped, for example).
Should probably avoid changing 8230 to hellip if only to not break all of those strings.
#19
in reply to:
↑ 14
@
13 years ago
Replying to nacin:
Should probably avoid changing 8230 to hellip if only to not break all of those strings.
Nacin, this ticket was created 3 years ago. I think that if we already addressing the issue, we should fix the 8230 as well.
#20
@
13 years ago
- Keywords needs-refresh added; commit removed
Patch is stale. Can someone refresh it?
#23
@
13 years ago
Breaking strings in an update is to be expected when the fix is text related. Since this just got punted again, when it goes in eventually, let's not not water it down.
#25
@
12 years ago
- Component changed from UI to Text Changes
- Keywords needs-refresh added; early removed
- Milestone changed from Future Release to 3.6
#26
@
12 years ago
- Keywords needs-refresh removed
Skipped the changes in wp-admin/network.php
, didn't look good in the <code>
tag.
wp-includes/deprecated.php
should probably also be skipped.
#27
follow-ups:
↓ 29
↓ 30
@
12 years ago
Agree on skipping wp-includes/deprecated.php
.
The ones at the ends of error messages should probably change to single periods (as Ryan noted up at comment 3).
Lastly don't we need to avoid using named entities in an XML context?
#30
in reply to:
↑ 27
@
12 years ago
Replying to markjaquith:
Lastly don't we need to avoid using named entities in an XML context?
For polyglot markup, yes, and note the W3C Recommendation that numbered entities SHOULD use the hexadecimal form when it exists.
#31
in reply to:
↑ 29
@
12 years ago
Replying to ramiy:
Skipping depricated strings will only make more simmilar strings and make the transtation file larger.
The strings in question are not translatable, see lines 1707 and 1734:
http://core.trac.wordpress.org/browser/tags/3.5.1/wp-includes/deprecated.php#L1707
#32
@
12 years ago
8714.7.diff miraculously still applies cleanly. Seems like the consensus is that this should happen early in a cycle so maybe punt (again) to 3.7 early?
#34
follow-up:
↓ 35
@
12 years ago
It is downright embarrassing that something like this should take us ten versions to do. Chris Messina has mocking rights on me/us for the rest of eternity; I told him back in 2008 that we'd get this fixed before we launched 2.7 (he discovered it during usability testing before beta).
#35
in reply to:
↑ 34
@
12 years ago
Replying to jenmylo:
It is downright embarrassing that something like this should take us ten versions to do.
*Rubs Eyes*...
*Chokes*...
[Caugh! Caugh!]
*Pinches himself... Looks around...*
Did you actually write that, Jane? :-D
#36
@
12 years ago
- Keywords commit added; 3.7-early removed
- Milestone changed from Future Release to 3.6
Moving back to 3.6 per the IRC chat.
#37
@
12 years ago
Refreshed in 8714.8.diff:
- Skipped
deprecated.php
and "Hello World" post content. - Changed the instances in error messages to single periods, per comment:27.
- Used numeric entities in XML content, also per comment:27.
grepped for "..." and replaced what I found being outputted with "…"