Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(751)

Unified Diff: chrome/common/extensions/docs/i18n.html

Issue 9465005: Updating the doc to reflect the new experimental.keybinding API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/i18n.html
===================================================================
--- chrome/common/extensions/docs/i18n.html (revision 123468)
+++ chrome/common/extensions/docs/i18n.html (working copy)
@@ -809,7 +809,7 @@
<div class="summary"><span>string</span>
<!-- Note: intentionally longer 80 columns -->
<span>chrome.i18n.getMessage</span>(<span class="null"><span>string</span>
- <var><span>messageName</span></var></span><span class="optional"><span>, </span><span>boolean or number or string or array of boolean or number or string</span>
+ <var><span>messageName</span></var></span><span class="optional"><span>, </span><span>string or array of string</span>
Mike West 2012/02/24 14:24:24 Nit: Worth noting that this is an unintentional dr
<var><span>substitutions</span></var></span>)</div>
<div class="description">
<p>Gets the localized string for the specified message. If the message is missing, this method returns an empty string (''). If the format of the <code>getMessage()</code> call is wrong — for example, <em>messageName</em> is not a string or the <em>substitutions</em> array is empty or has more than 9 elements — this method returns <code>undefined</code>.</p>
@@ -850,14 +850,14 @@
<span class="optional">optional</span>
<span id="typeTemplate">
<span>
- <span>boolean or number or string or array of boolean or number or string</span>
+ <span>string or array of string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>Up to 9 substitution strings, if the message requires any.</dd>
+ <dd>1 - 9 substitution strings, if the message requires any.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->

Powered by Google App Engine
This is Rietveld 408576698