summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/common/extensions/api/i18n.json
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chrome/common/extensions/api/i18n.json')
-rw-r--r--chromium/chrome/common/extensions/api/i18n.json12
1 files changed, 12 insertions, 0 deletions
diff --git a/chromium/chrome/common/extensions/api/i18n.json b/chromium/chrome/common/extensions/api/i18n.json
index d9fc39229d5..d819d3117ba 100644
--- a/chromium/chrome/common/extensions/api/i18n.json
+++ b/chromium/chrome/common/extensions/api/i18n.json
@@ -44,6 +44,18 @@
"name": "substitutions",
"optional": true,
"description": "Up to 9 substitution strings, if the message requires any."
+ },
+ {
+ "type": "object",
+ "name": "options",
+ "optional": true,
+ "properties": {
+ "escapeLt": {
+ "type": "boolean",
+ "optional": true,
+ "description": "Escape <code>&lt;</code> in translation to <code>&amp;lt;</code>. This applies only to the message itself, not to the placeholders. Developers might want to use this if the translation is used in an HTML context. Closure Templates used with Closure Compiler generate this automatically."
+ }
+ }
}
],
"returns": {