Ticket #8714 (new enhancement)
Ellipses instead of ... in UI
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.4 |
| Component: | UI | Version: | 2.7 |
| Severity: | trivial | Keywords: | has-patch gsoc |
| Cc: | wojtek.szkutnik@…, xoodrew@…, gary@…, r_a_m_i@… |
Description
In places where we use [...] to indicate that there's more content, we should use ellipses instead of three periods.
Attachments
Change History
comment:1
tjsingleton — 3 years ago
grepped for "..." and replaced what I found being outputted with "…"
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.
comment:4
coffee2code — 3 years ago
Also, there seems to be a preference for numbered rather than named entities, so ... should probably be replaced with …
- 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
- 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.
- Keywords needs-patch added; has-patch removed
- Milestone changed from 2.9 to Future Release
- Cc wojtek.szkutnik@… added
- Keywords has-patch gsoc added; needs-patch removed
comment:9
RyanMurphy — 17 months ago
Possible for 3.1?
comment:10
jane — 5 weeks 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.
comment:11
nacin — 5 weeks 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.)
comment:12
azaozz — 5 weeks 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.
comment:14
DrewAPicture — 5 weeks ago
- Cc xoodrew@… added
Semi-Related #7098 (attachment:ticket:7098:8230-to-hellip.patch)
Working on a refresh.
DrewAPicture — 5 weeks ago
-
attachment
8714.2.diff
added
Mostly standardizes …, some whitespacing in affected blocks
comment:16
DrewAPicture — 5 weeks 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.
