Chromium Code Reviews| 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 --> |