Commit Graph
8 Commits
Author SHA1 Message Date
Liviu Rau 23283eb968 Doc update
Change-Id: I0738f293ff9f6ffb0a1398f9d3f4497f40e55fe1
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2104477
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
Commit-Queue: Liviu Rau <liviurau@chromium.org>
2020-03-17 08:34:47 +00:00
Peter Marshall 51afe2e3cc [docs] Update l10n docs to fix some markup
- Fix broken links
- Fix broken headers
- Change ticks from white to green on adding_strings.md
- Split apart good/bad examples for clarity

Change-Id: I547fc425658bf9dfe9fa4e06bfb6c6cbc1d42964
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2091446
Auto-Submit: Peter Marshall <petermarshall@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
2020-03-06 12:01:53 +00:00
Mathias Bynens 23ee1aad0a Reconfigure lint rule w.r.t. quotes
We prefer single quotes by default, but still want to allow double
quotes in cases where that helps avoid quote-escaping, and also want
to allow template literals in cases where string interpolation is
used. For example:

    const a = 'xxx';  // ok
    const b = "xxx";  // not ok, should use single quotes
    const c = "xxx'xxx";  // ok, double quotes avoid an escape sequence
    const d = `xxx`;  // not ok, frivolous use of template literal
    const e = `xxx ${42}`;  // ok

Per https://github.com/eslint/eslint/issues/12976, setting
the `allowTemplateLiterals` option for the `quotes` lint rule to
`false` gives us the desired behavior.

Note that the above lint rules are auto-fixed when running the linter;
there should be no need to manually make any changes to appease the
linter.

Per review feedback, this patch also removes the following escape
sequences for printable non-ASCII symbols:

- U+00D7 → ×
- U+2026 → …
- U+2019 → ’

Chromium CL temporarily updating test expectations:
https://chromium-review.googlesource.com/c/chromium/src/+/2083147

Cq-Depend: chromium:2083147
Bug: chromium:1057042
Change-Id: Id6bec3f96ca694d2fbc07dd8629fce305a58df8a
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2082372
Commit-Queue: Mathias Bynens <mathias@chromium.org>
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
Auto-Submit: Mathias Bynens <mathias@chromium.org>
2020-03-02 16:18:16 +00:00
Liviu Rau 2c4761856a [doc] Updated branches handling
No-Try: true
Change-Id: Id43b77b3fe9bbab70007829781f4c2399274c39a
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2031119
Commit-Queue: Liviu Rau <liviurau@chromium.org>
Reviewed-by: Michael Hablich <hablich@chromium.org>
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
2020-02-12 15:00:12 +00:00
Michael Hablich c36744bff1 [Docs] Add information on release management
R=yangguo@chromium.org
BUG=1021467

Change-Id: If1f354d4cbdc9153964804980d17dba2883da1c6
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1928918
Auto-Submit: Michael Hablich <hablich@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Commit-Queue: Michael Hablich <hablich@chromium.org>
2019-11-21 11:56:34 +00:00
Michael Hablich 3f3aa545f7 [Docs] Fix email in design guidelines graphic
TBR=yangguo@chromium.org,bmeurer@chromium.org

Change-Id: I855544c72aefa0c6af68989fd078f7a1fb09c1f3
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1913265
Reviewed-by: Michael Hablich <hablich@chromium.org>
Commit-Queue: Michael Hablich <hablich@chromium.org>
2019-11-13 17:28:21 +00:00
Michael Hablich 37becd02a0 [Docs] Add description about design review guidelines
Change-Id: I203fd6e4a8c471398d20e6c7a615153f99806beb
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1897675
Commit-Queue: Michael Hablich <hablich@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
2019-11-12 22:07:40 +00:00
Christy Chen 882eb05270 DevTools: Add localization documentation in devtools/langpacks folder
Port the localization documentation from wiki page https://github.com/ChromeDevTools/devtools-frontend/wiki/Localization to devtools/docs/langpacks/ for visibility.
The documentation includes the following topics:
-How to add a localizable string
-What are the localization APIs
-How to add descriptive information to GRDP messages
-How to prevent specific terms being localized

Bug: 941561
Change-Id: Ide16269d417d23142a042b92d2f25a2468839fa8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1740079
Reviewed-by: Yang Guo <yangguo@chromium.org>
Reviewed-by: Jeff Fisher <jeffish@microsoft.com>
Commit-Queue: Christy Chen <chrche@microsoft.com>
Cr-Original-Commit-Position: refs/heads/master@{#701159}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 88dbc6732156fb21c53c4f365c54c27c3f322760
2019-09-30 16:57:00 +00:00