Commit Graph
38 Commits
Author SHA1 Message Date
Johan Bay e7d193fc8b Fix link in design_guidelines.md
Bug: none
Change-Id: Icec4837285930b30f8628242bcdd5e6018a0f72a
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2929192
Commit-Queue: Johan Bay <jobay@google.com>
Reviewed-by: Mathias Bynens <mathias@chromium.org>
2021-06-01 13:16:25 +00:00
Tim van der Lippe 92bf1daa15 Add GN visibility and GRD file generation to ARCHITECTURE.md
For visualization, an image of the module visibility rules is included as well.

R=aerotwist@chromium.org,alexrudenko@chromium.org,jacktfranklin@chromium.org

Bug: none
Change-Id: Id644119234d75ed643408751dbf03f100386c25b
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2859918
Reviewed-by: Alex Rudenko <alexrudenko@chromium.org>
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
2021-04-30 15:18:23 +00:00
Tim van der Lippe 2e143870f7 Move owners files into config/owners
The separate *_OWNERS files are related and can be grouped together
in a folder to make this distinction clear. This will allow us
to update the PRESUBMIT script to explicitly mark them as
exclusive change directory.

Note that the directory is named "owner", as we can't name it
"owners" as that is case-insensitive equivalent to "OWNERS",
which Windows can't handle in its presubmits.

DISABLE_THIRD_PARTY_CHECK=OWNERS update
R=yangguo@chromium.org

Bug: 1187573
Change-Id: Ib94a544c9dc01f788a8b75a5c8111ab52fbc27b8
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2814658
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
2021-04-08 12:25:52 +00:00
Tim van der Lippe 20e5ff211a Add ARCHITECTURE.md
This document describes the high-level architecture of DevTools. While
not complete yet, this version adds the guiding principles and explains
the core-feature model used in the DevTools startup process.

Future updates will include an explanation of how individual high-level
features are implemented and what their building blocks are.

DISABLE_THIRD_PARTY_CHECK=OWNERS update for new file

Bug: none
Change-Id: I589ae3f646094ec92c27336b6282006ab4534d7f
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2791341
Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
Reviewed-by: Andres Olivares <andoli@chromium.org>
2021-04-07 07:00:59 +00:00
Peter Marshall faaef4e3e9 [l10n] Add docs for i18nLazyString
Also remove old docs that are no longer relevant for V2.
Update links in the README to the new files.

Bug: 1136655
Change-Id: Iec0277912eb24d1a2bff00792cb616c06156fab8
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2764221
Auto-Submit: Peter Marshall <petermarshall@chromium.org>
Commit-Queue: Alex Rudenko <alexrudenko@chromium.org>
Reviewed-by: Alex Rudenko <alexrudenko@chromium.org>
2021-03-17 06:49:45 +00:00
Peter Marshall e65a75f4e9 [l10n] Update the docs for writing UI string descriptions
Add some more detail and examples, re-order to make location look less
important. Explain why some things are necessary.

Bug: 1163928
Change-Id: Iaa34477097210672462f4b3df8d018c050e6cc9a
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2735674
Reviewed-by: Simon Zünd <szuend@chromium.org>
Commit-Queue: Peter Marshall <petermarshall@chromium.org>
2021-03-08 07:09:54 +00:00
Alex Rudenko aad7d9ade3 Add references to docs covering testing in DevTools
Bug: none
Change-Id: I46e82b7c0aa22aa1539c6e6d61cc920309882ec0
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2739599
Reviewed-by: Yang Guo <yangguo@chromium.org>
Commit-Queue: Alex Rudenko <alexrudenko@chromium.org>
2021-03-08 07:03:24 +00:00
Vidal Guillermo Diazleal Ortega b57e5df914 [Loc] Removing Localization V1 remnants.
Hi everyone,

Our plan for implementing Localization V2 considers 3 phases:

Infrastructure, Migration & Cleaning

This CL is part of the Cleaning phase, it's goal is to remove any
non-standard usage of V1 APIs (outside of the devtools_ui_strings.grd)
I'm splittling these changes into small pieces following this heuristic:
- make sense when logically grouped.
- keep them as small as possible
- can be atomically reverted.

I'll follow up with other changes removing usage on presubmit, scripts
and build.gn files (if any).

Bug: 1136655
Change-Id: I735dc8ba1045ed4afff7deb1a43cf02a7ab55865
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2733640
Commit-Queue: Vidal Diazleal <vidorteg@microsoft.com>
Reviewed-by: Simon Zünd <szuend@chromium.org>
2021-03-04 22:26:24 +00:00
Simon Zünd f34bb6c20d [l10n] Introduce i18n.i18n.lockedString
R=petermarshall@chromium.org

Bug: chromium:1180760
Change-Id: Ie2174bd3d16ef9f73c1197a62d64e8b668811cb6
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2731571
Commit-Queue: Simon Zünd <szuend@chromium.org>
Reviewed-by: Peter Marshall <petermarshall@chromium.org>
2021-03-03 13:22:19 +00:00
Peter Marshall 3ec813d57b [l10n] Update plural forms, fix some errors
- Clean up identical strings that had identical descriptions.
- Move whole plural text inside plural switches
- Add some notes to docs for plurals
- Use '=1' instead of 'one' for plurals because the linter for our
internal process requires this.


Bug: 1163928
Change-Id: Idba5a22424816225e4c8b0d465ec970a5b0f6e02
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2728075
Reviewed-by: Simon Zünd <szuend@chromium.org>
Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
Commit-Queue: Peter Marshall <petermarshall@chromium.org>
2021-03-02 08:34:56 +00:00
Peter Marshall a99c96c041 [l10n] Use ICU plural in Changes drawer
Update documentation for V2 to include an example of this, too.

After: https://imgur.com/a/S0DadTT

Bug: 1163928
Change-Id: I2fa7599abbed945982378f382ed83f5ca46aee61
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2726564
Commit-Queue: Peter Marshall <petermarshall@chromium.org>
Reviewed-by: Simon Zünd <szuend@chromium.org>
2021-03-01 12:23:28 +00:00
Tim van der Lippe f407ef2e64 Update build output location to gen/front_end
Since resources/inspector is now a complete copy of gen/front_end,
we can update the workflows documentation and switch the
hosted_mode server to the original location.

R=jacktfranklin@chromium.org

Bug: 1174013
Change-Id: I32eda3b64cdd461e670222a47b1d424604a989b5
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2673831
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
2021-02-04 14:53:47 +00:00
Jan Scheffler 698810c1ca Update workflow documentation
Change-Id: I22ad5399a7cf562d1b1a5e303fd320fe8191f5db
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2505132
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Commit-Queue: Jan Scheffler <janscheffler@chromium.org>
2020-10-28 13:05:54 +00:00
Yang Guo ef36cec5b9 Apply governance change
DISABLE_THIRD_PARTY_CHECK=no code changes
R=bmeurer@chromium.org

Change-Id: I2477c36f5ef2494ccae3efae3f1aee942f365fec
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2489420
Auto-Submit: Yang Guo <yangguo@chromium.org>
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
2020-10-21 07:54:15 +00:00
Alfonso Castaño ae3dc89611 [Devtools docs] Add build directory parameter in layout tests
The current proposed sequence of commands to run the layout tests is:

autoninja -C out/Default content_shell
third_party/blink/tools/run_web_tests.py http/tests/devtools

However, it leads to an error since by default it checks in out/Release. Therefore, it would be better to specify to use out/Default which was just built:

autoninja -C out/Default content_shell
third_party/blink/tools/run_web_tests.py -t Default http/tests/devtools

Change-Id: I2775e5ec9a6259d52b002126138e04c4a72d6120
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2479130
Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
Commit-Queue: Alfonso Castaño <alcastano@google.com>
2020-10-16 15:15:17 +00:00
vidorteg 6d2775c5ef Modifying scripts for i18nString localization call
Modifying some scripts that verify the shape of localization calls
to work with the i18nString shorthand:

const i18nString = i18.i18n.getLocalizedString.bind(undefined, str_);

Bug: 1136655
Change-Id: I09a961136dd89e8af11ab33f413f315e61184078
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2469903
Commit-Queue: Vidal Diazleal <vidorteg@microsoft.com>
Reviewed-by: Simon Zünd <szuend@chromium.org>
Reviewed-by: Peter Marshall <petermarshall@chromium.org>
Reviewed-by: Christy Chen <chrche@microsoft.com>
2020-10-14 21:12:22 +00:00
Christy Chen 1148dc0fda Remove backtick for lock terms in en-US.ctc.json files
In Lighthouse project, backtick is being used to indicate something that should not be localized.
(See 'inline code block' section in https://github.com/GoogleChrome/lighthouse/tree/master/lighthouse-core/lib/i18n)

We can adopt this with minor modification. When the lighthouse report is being rendered, the backtick in message will be converted to a special html tag and used to style the code snippets. Since we don't want to do special styling for locked terms, backtick can be removed after the term being converted to placeholder in en-US.ctc.json, then locale.json would have the term that is not translated and without the backtick .

For example
Before change: https://imgur.com/a/WqbVbXC
After change: https://imgur.com/a/EZjl6Gg

Note: There is no escape character for using backticks as part of the string, it can only be used for locked terms.

DISABLE_THIRD_PARTY_CHECK=Need to also update README that is in different folder
Bug: 1136655
Change-Id: I68ea305962beec4115d0a50f24e34546b92cadf7
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2463990
Commit-Queue: Christy Chen <chrche@microsoft.com>
Reviewed-by: Vidal Diazleal <vidorteg@microsoft.com>
Reviewed-by: Simon Zünd <szuend@chromium.org>
Reviewed-by: Peter Marshall <petermarshall@chromium.org>
2020-10-13 19:24:29 +00:00
Christy Chen f4b361b2ea [Loc] Update Documentation
Update the reference of Common.i18 to i18n.i18n in the docs.

Bug: 941561
Change-Id: I434378d9e1c51003a751edd42c4c3b73f6341a36
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2405626
Reviewed-by: Simon Zünd <szuend@chromium.org>
Commit-Queue: Christy Chen <chrche@microsoft.com>
2020-09-11 06:57:41 +00:00
Mathias Bynens a8c8707b99 Clarify how to request merge approval
Change-Id: I97bca354ab02595e6ad0ac9745cdcddb36192dfa
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2385576
Commit-Queue: Mathias Bynens <mathias@chromium.org>
Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
2020-08-31 14:49:23 +00:00
Michael Hablich 01f7fadf76 [Docs] Fix link to workflow.md
R=yangguo@chromium.org

Change-Id: I17be027946da746655cbf553c2686299683e159d
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2370638
Auto-Submit: Michael Hablich <hablich@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
2020-08-24 09:47:17 +00:00
Mathias Bynens 5a8fc1fe06 Improve “merges and cherry-picks” docs
Change-Id: If3cebd03cbf64142596525aa6ec4a76757d1408d
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2370631
Reviewed-by: Alex Rudenko <alexrudenko@chromium.org>
Commit-Queue: Mathias Bynens <mathias@chromium.org>
Auto-Submit: Mathias Bynens <mathias@chromium.org>
2020-08-24 08:09:37 +00:00
Mathias Bynens 5c24d7381a Correct backmerge doc link
The main README no longer has this information.

Change-Id: I36df75d0a90f6c65f96f8a89fcfb87409e8f06c9
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2370629
Auto-Submit: Mathias Bynens <mathias@chromium.org>
Commit-Queue: Alex Rudenko <alexrudenko@chromium.org>
Reviewed-by: Alex Rudenko <alexrudenko@chromium.org>
2020-08-24 07:44:57 +00:00
Peter Marshall 54a8a5a308 'themselves' in design guidelines
Change-Id: I3e5cd29bf7bd94bab1160b9617f98a25ea38e281
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2354089
Commit-Queue: Peter Marshall <petermarshall@chromium.org>
Commit-Queue: Mathias Bynens <mathias@chromium.org>
Auto-Submit: Peter Marshall <petermarshall@chromium.org>
Reviewed-by: Mathias Bynens <mathias@chromium.org>
2020-08-13 09:55:30 +00:00
Yang Guo a268369675 Fix image link in design_guidelines.md
TBR=mathias@chromium.org

Change-Id: I59564eac36c029c6b83b5bb10bb46971e565aa7a
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2249922
Reviewed-by: Yang Guo <yangguo@chromium.org>
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
2020-06-17 16:12:08 +00:00
Yang Guo 03e780ed1a Update and re-organize documentation
R=mathias@chromium.org, tvanderlippe@chromium.org

Bug:chromium:1095988
Change-Id: I72a27a91b0e8c5455dc851d73b62c9b11594b450
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2249662
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
2020-06-17 10:55:47 +00:00
Christy Chen 3fa95bc487 [Loc] Update localization documentation
Add some FAQs for Loc V2.

Bug: 941561
Change-Id: I23ce46bc01d567f20764c7de8ccd5d7583e017b0
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2238608
Reviewed-by: Vidal Diazleal <vidorteg@microsoft.com>
Reviewed-by: Simon Zünd <szuend@chromium.org>
Commit-Queue: Christy Chen <chrche@microsoft.com>
2020-06-12 00:16:15 +00:00
Mathias Bynens 22c55b7e85 Include Unconfirmed issues in triage guidelines
“Unconfirmed” is a lower state than “Untriaged”. Untriaged issues
that also have the `TE-NeedsTriageHelp` label should be considered
when triaging.

Here are the relevant states with their descriptions as displayed
in Monorail:

1. Unconfirmed = New, has not been verified or reproduced
2. Untriaged = Confirmed, not reviewed for priority and assignment
3. Available = Triaged, but no owner assigned
4. Assigned = In someone's queue, but not started
5. Started = Work in progress

At the time of writing, 233 DevTools issues are in the Unconfirmed
state. 57 of those also have the `TE-NeedsTriageHelp` label.

Bug: chromium:1022301
Change-Id: Ia05a46e87139a4168c48e746e2cad855c4e1bbff
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2232948
Commit-Queue: Mathias Bynens <mathias@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Reviewed-by: Peter Marshall <petermarshall@chromium.org>
Reviewed-by: Michael Hablich <hablich@chromium.org>
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
2020-06-10 06:22:50 +00:00
Shane Clifford 750036ef90 msft-consider instructions added to TRIAGE_GUIDELINES
This change adds to the TRIAGE_GUIDELINES FAQ section a note about
adding the msft-consider tag to issues that might best be handled
by Microsoft Edge DevTools team.

Change-Id: I4c66fd24c80b822955931acc86661ce21a653029
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2233225
Reviewed-by: Leo Lee <leolee@microsoft.com>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Commit-Queue: Shane Clifford <shanejc@microsoft.com>
2020-06-09 18:35:30 +00:00
Michael Hablich c73ffd7613 Add issue triage guidelines
Bug:1022301
Change-Id: Ibb1e3adec0b4507b1b838a979871a0474a935f6f
R=yangguo@chromium.org
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2194878
Commit-Queue: Yang Guo <yangguo@chromium.org>
Auto-Submit: Michael Hablich <hablich@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
2020-05-18 12:39:41 +00:00
Yang Guo b8584478dd More specific OWNERS where appropriate
DISABLE_THIRD_PARTY_CHECK=no code change

Change-Id: I02f6ae91f7412c287ecf931e5681c1c882faa26c
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2198956
Reviewed-by: Robert Paveza <Rob.Paveza@microsoft.com>
Reviewed-by: Shane Clifford <shanejc@microsoft.com>
Reviewed-by: Leo Lee <leolee@microsoft.com>
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
Reviewed-by: Peter Marshall <petermarshall@chromium.org>
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
2020-05-14 06:52:14 +00:00
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