From 1c8f0ac7ec579010758c0969283978141cd42da3 Mon Sep 17 00:00:00 2001 From: Jay Harris Date: Wed, 18 Jun 2025 16:55:36 +1200 Subject: [PATCH] [explainers]: Update WebUI overriding explainer with a link to strings and note that storybook strings are automatic now. (#29620) --- docs/webui_overriding.md | 6 ++++++ docs/webui_strings_explainer.md | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/webui_overriding.md b/docs/webui_overriding.md index db9c3850a52..5c54c6bba43 100644 --- a/docs/webui_overriding.md +++ b/docs/webui_overriding.md @@ -176,3 +176,9 @@ the upstream build for that WebUI. See `//brave/browser/resources/settings/BUILD.gn` and `//brave/browser/resources/settings/settings.gni` for how to get this setup. + +## Strings + +When using translated strings you should follow the guidance in the +[webui strings explainer](./webui_strings_explainer.md) to reduce boilerplate +and ensure we catch misspelt strings. diff --git a/docs/webui_strings_explainer.md b/docs/webui_strings_explainer.md index 24639201d54..19c5c0f10d8 100644 --- a/docs/webui_strings_explainer.md +++ b/docs/webui_strings_explainer.md @@ -92,5 +92,4 @@ Afterwards everything should work the same as it does in our UIs. ## Storybook -We're looking into generating Storybook strings too, but that will be done as a -followup. +Storybook will automatically have the generated strings available.