Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Issue 2112653003: grit: Automatically replace ... with … (Closed)

Created:
4 years, 5 months ago by agrieve
Modified:
4 years, 5 months ago
CC:
chromium-apps-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, extensions-reviews_chromium.org, jam, kalyank, oshima+watch_chromium.org, sadrul, sdefresne+watch_chromium.org, Alexei Svitkine (slow), Daniel Erat, jochen (gone - plz use gerrit), jungshik at Google, msw, oshima, sdefresne, sky
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

grit: Automatically replace ... with … (U+2026) Android lint tool pointed out that ... should really be … (U+2026). Tested that this glyph renders well on Mac + Win as well, so applying to all OS's by default. TBR=flackr BUG=621772 Committed: https://crrev.com/e82c4e1b9de3b189c85bccff63d4ef3046e44d43 Cr-Commit-Position: refs/heads/master@{#407182}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Convert remaining ellipsis #

Total comments: 2

Patch Set 3 : remove accidental .cc change #

Patch Set 4 : switch to hex escapes. #

Patch Set 5 : Missed some files when converting to hex #

Patch Set 6 : Fix unittest and presubmit warnings about PRODUCT_NAME #

Patch Set 7 : grit-based-ellipsis #

Total comments: 4

Patch Set 8 : comments1 #

Patch Set 9 : fix test #

Patch Set 10 : Move replace to Translate() to avoid changing message IDs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -14 lines) Patch
M chrome/browser/download/download_item_model_unittest.cc View 1 2 3 4 5 7 8 2 chunks +4 lines, -4 lines 0 comments Download
M tools/grit/grit/node/message.py View 1 2 3 4 5 6 7 8 9 4 chunks +14 lines, -3 lines 0 comments Download
M tools/grit/grit/node/message_unittest.py View 1 2 3 4 5 6 7 8 9 2 chunks +19 lines, -3 lines 0 comments Download
M tools/grit/grit/tool/build.py View 1 2 3 4 5 6 7 8 9 5 chunks +15 lines, -4 lines 0 comments Download

Messages

Total messages: 74 (35 generated)
agrieve
sky - please advise whether you think this is a worthwhile change.
4 years, 5 months ago (2016-06-30 00:56:30 UTC) #2
sky
I think this makes sense. My only concern is how well the fonts we use ...
4 years, 5 months ago (2016-06-30 16:27:01 UTC) #4
sky
One more thought. Might using said glyph trigger additional loading we aren't doing now? On ...
4 years, 5 months ago (2016-06-30 17:02:32 UTC) #5
agrieve
On 2016/06/30 17:02:32, sky wrote: > One more thought. Might using said glyph trigger additional ...
4 years, 5 months ago (2016-06-30 17:55:30 UTC) #6
sky
+msw and +asvitkine for my eyes As to time to launch, I believe a branch ...
4 years, 5 months ago (2016-06-30 17:59:43 UTC) #8
msw
I wonder why we have so many ellipses in our UI strings; they don't seem ...
4 years, 5 months ago (2016-06-30 18:25:37 UTC) #9
Alexei Svitkine (slow)
I think ellipses are meant to say "a dialog will open with more options", so ...
4 years, 5 months ago (2016-06-30 18:32:15 UTC) #10
Daniel Erat
jungshik (added, but apparently ooo) will probably be able to comment on how well-supported 'HORIZONTAL ...
4 years, 5 months ago (2016-06-30 19:34:36 UTC) #12
agrieve
https://codereview.chromium.org/2112653003/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2112653003/diff/1/chrome/app/generated_resources.grd#newcode529 chrome/app/generated_resources.grd:529: + <message name="IDS_CONTENT_CONTEXT_PRINT" desc="The name of the Print&#8230; command ...
4 years, 5 months ago (2016-07-04 15:52:52 UTC) #13
agrieve
jochen@chromium.org: Please review changes in content/, components/ sdefresne@chromium.org: Please review changes in ios/ oshima@chromium.org: Please ...
4 years, 5 months ago (2016-07-04 15:58:35 UTC) #15
agrieve
On 2016/07/04 15:58:35, agrieve wrote: > mailto:jochen@chromium.org: Please review changes in content/, components/ > > ...
4 years, 5 months ago (2016-07-04 15:59:40 UTC) #16
sdefresne
ios/ lgtm
4 years, 5 months ago (2016-07-04 16:16:00 UTC) #17
jochen (gone - plz use gerrit)
I asked ainsle@ on the referenced bug to chime in
4 years, 5 months ago (2016-07-05 14:16:03 UTC) #18
oshima
ui/chromeos lgtm
4 years, 5 months ago (2016-07-07 22:56:31 UTC) #19
jungshik at Google
On 2016/06/30 19:34:36, Daniel Erat wrote: > jungshik (added, but apparently ooo) will probably be ...
4 years, 5 months ago (2016-07-08 20:57:53 UTC) #20
sky
I suspect ... is going to creep back into these files without a check. https://codereview.chromium.org/2112653003/diff/20001/components/policy/core/common/schema_registry.cc ...
4 years, 5 months ago (2016-07-08 21:05:26 UTC) #21
agrieve
A check is a good idea. I'll work on one in a follow-up. https://codereview.chromium.org/2112653003/diff/20001/components/policy/core/common/schema_registry.cc File ...
4 years, 5 months ago (2016-07-11 14:43:28 UTC) #22
agrieve
On 2016/07/11 14:43:28, agrieve wrote: > A check is a good idea. I'll work on ...
4 years, 5 months ago (2016-07-11 14:56:13 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2112653003/80001
4 years, 5 months ago (2016-07-11 14:56:38 UTC) #28
jochen (gone - plz use gerrit)
sorry for cancelling the commit, but can we please first wait for the UI team ...
4 years, 5 months ago (2016-07-11 14:57:51 UTC) #30
agrieve
On 2016/07/11 14:57:51, jochen wrote: > sorry for cancelling the commit, but can we please ...
4 years, 5 months ago (2016-07-11 15:03:36 UTC) #31
Alexei Svitkine (slow)
Okay, Mac/Windows screenshots look good. Thanks! Why is there a different ... for Cast... on ...
4 years, 5 months ago (2016-07-12 15:07:42 UTC) #34
agrieve
On 2016/07/12 15:07:42, Alexei Svitkine wrote: > Okay, Mac/Windows screenshots look good. Thanks! > > ...
4 years, 5 months ago (2016-07-12 15:24:56 UTC) #35
Alexei Svitkine (slow)
On 2016/07/12 15:24:56, agrieve wrote: > On 2016/07/12 15:07:42, Alexei Svitkine wrote: > > Okay, ...
4 years, 5 months ago (2016-07-12 15:31:14 UTC) #36
agrieve
On 2016/07/12 15:31:14, Alexei Svitkine wrote: > On 2016/07/12 15:24:56, agrieve wrote: > > On ...
4 years, 5 months ago (2016-07-12 15:34:50 UTC) #37
agrieve
+thakis for grit changes
4 years, 5 months ago (2016-07-13 18:11:59 UTC) #41
agrieve
+thakis for real this time.
4 years, 5 months ago (2016-07-14 20:03:34 UTC) #44
agrieve
On 2016/07/14 20:03:34, agrieve wrote: > +thakis for real this time. Looks like thakis has ...
4 years, 5 months ago (2016-07-20 14:18:32 UTC) #46
flackr
https://codereview.chromium.org/2112653003/diff/120001/tools/grit/grit/node/message.py File tools/grit/grit/node/message.py (right): https://codereview.chromium.org/2112653003/diff/120001/tools/grit/grit/node/message.py#newcode21 tools/grit/grit/node/message.py:21: _ELLIPSIS_PATTERN = lazy_re.compile(r'(?<!\.)\.\.\.(?=$|\s)') Can you add a simple description ...
4 years, 5 months ago (2016-07-20 18:23:37 UTC) #47
agrieve
https://codereview.chromium.org/2112653003/diff/120001/tools/grit/grit/node/message.py File tools/grit/grit/node/message.py (right): https://codereview.chromium.org/2112653003/diff/120001/tools/grit/grit/node/message.py#newcode21 tools/grit/grit/node/message.py:21: _ELLIPSIS_PATTERN = lazy_re.compile(r'(?<!\.)\.\.\.(?=$|\s)') On 2016/07/20 18:23:37, flackr wrote: > ...
4 years, 5 months ago (2016-07-20 20:09:36 UTC) #48
flackr
lgtm
4 years, 5 months ago (2016-07-20 20:13:31 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2112653003/140001
4 years, 5 months ago (2016-07-21 14:03:35 UTC) #52
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/266617)
4 years, 5 months ago (2016-07-21 15:01:02 UTC) #54
agrieve
On 2016/07/21 15:01:02, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 5 months ago (2016-07-21 18:31:39 UTC) #64
agrieve
On 2016/07/21 18:31:39, agrieve wrote: > On 2016/07/21 15:01:02, commit-bot: I haz the power wrote: ...
4 years, 5 months ago (2016-07-22 17:05:00 UTC) #66
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2112653003/180001
4 years, 5 months ago (2016-07-22 17:05:37 UTC) #69
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 5 months ago (2016-07-22 17:11:18 UTC) #71
commit-bot: I haz the power
Patchset 10 (id:??) landed as https://crrev.com/e82c4e1b9de3b189c85bccff63d4ef3046e44d43 Cr-Commit-Position: refs/heads/master@{#407182}
4 years, 5 months ago (2016-07-22 17:12:46 UTC) #73
Mark P
4 years, 5 months ago (2016-07-22 18:50:38 UTC) #74
Message was sent while issue was closed.
A revert of this CL (patchset #10 id:180001) has been created in
https://codereview.chromium.org/2176663003/ by mpearson@chromium.org.

The reason for reverting is: Likely cause of failures:

---
https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux/builds/6...

unexpected_failures:
fast/forms/color/color-suggestion-picker-appearance-zoom125.html
fast/forms/color/color-suggestion-picker-with-scrollbar-appearance.html
fast/forms/color/color-suggestion-picker-appearance-zoom200.html

all with the message
image diff
---

since it appears to replace "..." with a proper ellipsis, which all the three
tests show differences from:

https://storage.googleapis.com/chromium-layout-test-archives/WebKit_Linux/678...

also failures for

also some other bots for tests
fast/forms/color/color-suggestion-picker-appearance.html
fast/forms/color/color-suggestion-picker-one-row-appearance.html
fast/forms/color/color-suggestion-picker-two-row-appearance.html
appear on other bots.

And, for what it's worth,
the bot
https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Mac10.11%20%28...
started showing a renderer crash in
http/tests/images/restyle-decode-error.html
in a blamelist that includes this change as well.  Hopefully this revert will
fix that too. :-)

.

Powered by Google App Engine
This is Rietveld 408576698