diff options
author | kathyw@chromium.org <kathyw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-19 23:50:00 +0000 |
---|---|---|
committer | kathyw@chromium.org <kathyw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-19 23:50:00 +0000 |
commit | 1ab370fcdbcde6b2c1ff476a9db5c9ad183ecb24 (patch) | |
tree | 169337900027639484834ae0031e301ceaf6666a /chrome/common/extensions/api | |
parent | 140ee653f8fdfa395cb829e40e5cc991dc0e86e0 (diff) | |
download | chromium_src-1ab370fcdbcde6b2c1ff476a9db5c9ad183ecb24.zip chromium_src-1ab370fcdbcde6b2c1ff476a9db5c9ad183ecb24.tar.gz chromium_src-1ab370fcdbcde6b2c1ff476a9db5c9ad183ecb24.tar.bz2 |
Fleshing out the i18n doc. Added a page for the messages.json
format (i18n-messages.html). Miscellaneous small improvements to i18n.html and to the generated API doc.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/546060
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36573 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/api')
-rwxr-xr-x | chrome/common/extensions/api/extension_api.json | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json index 1daeb09..5a3e6c5 100755 --- a/chrome/common/extensions/api/extension_api.json +++ b/chrome/common/extensions/api/extension_api.json @@ -1635,11 +1635,11 @@ "name": "getMessage", "type": "function", "unprivileged": true, - "description": "Gets the localized string for the specified message.", + "description": "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>.", "parameters": [ { "type": "string", "name": "messageName", - "description": "The name of the message, as specified in the <code>messages.json</code> file." + "description": "The name of the message, as specified in the <a href='i18n-messages.html'><code>messages.json</code></a> file." }, { "choices": [ @@ -1653,7 +1653,7 @@ ], "name": "substitutions", "optional": true, - "description": "1 - 9 substitution parameters, if the message requires any." + "description": "1 - 9 substitution strings, if the message requires any." } ], "returns": { |