Commit 50ab1e95 authored by Christopher Lam's avatar Christopher Lam Committed by Commit Bot

Add some $i18n{} information to the webui_explainer.md.

Change-Id: Ie15668cb56f165060f85d6fa11735b6823ad1793
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1877872
Auto-Submit: calamity <calamity@chromium.org>
Reviewed-by: default avatarDan Beam <dbeam@chromium.org>
Commit-Queue: calamity <calamity@chromium.org>
Cr-Commit-Position: refs/heads/master@{#710202}
parent 3c8a5079
...@@ -157,6 +157,12 @@ Visiting `chrome://donuts` should show in something like: ...@@ -157,6 +157,12 @@ Visiting `chrome://donuts` should show in something like:
Delicious success. Delicious success.
By default $i18n{} escapes strings for HTML. $i18nRaw{} can be used for
translations that embed HTML, and $i18nPolymer{} can be used for Polymer
bindings. See
[this comment](https://bugs.chromium.org/p/chromium/issues/detail?id=1010815#c1)
for more information.
## C++ classes ## C++ classes
### WebUI ### WebUI
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment