diff options
author | kathyw@google.com <kathyw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-16 07:11:07 +0000 |
---|---|---|
committer | kathyw@google.com <kathyw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-16 07:11:07 +0000 |
commit | 005c57b97829fb58246417619b86ef6be45a753d (patch) | |
tree | 0020816de2d79835cec226a47e6f8c169d82a433 /chrome/common/extensions/docs/static/i18n.html | |
parent | cb6498db0ea28fd667b3e86646b84b169134ff3a (diff) | |
download | chromium_src-005c57b97829fb58246417619b86ef6be45a753d.zip chromium_src-005c57b97829fb58246417619b86ef6be45a753d.tar.gz chromium_src-005c57b97829fb58246417619b86ef6be45a753d.tar.bz2 |
Changes to follow the codesite L&F.
Also a bit of copyediting and cleanup.
Future work:
* improve these styles
* make these styles work well in IE
(the old styles didn't work well in IE, either)
* separate the codesite styles from ours (for easier update)
BUG=27434
TEST=none
TBR=aa
Review URL: http://codereview.chromium.org/398005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32043 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/docs/static/i18n.html')
-rw-r--r-- | chrome/common/extensions/docs/static/i18n.html | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/chrome/common/extensions/docs/static/i18n.html b/chrome/common/extensions/docs/static/i18n.html index 2ce586f..360a8d5 100644 --- a/chrome/common/extensions/docs/static/i18n.html +++ b/chrome/common/extensions/docs/static/i18n.html @@ -3,8 +3,11 @@ <!-- BEGIN AUTHORED CONTENT --> <p id="classSummary"> Use the <code>chrome.i18n</code> module to manipulate the i18n related browser -settings, such as the accept languages, or to get localized messages for current -locale. +settings, such as the accept languages. +<span class="comment"> +[PENDING: add when getMessage works: +"or to get localized messages for the current locale."] +</span> </p> <h3 id="overview-examples">Examples</h3> @@ -23,8 +26,11 @@ function getAcceptLanguages() { } </pre> +<div class="comment"> +[PENDING: add the following when getMessage is working] + <p> -The following code gets localized message from the browser and displays it as a +The following code gets a localized message from the browser and displays it as a string. It replaces two placeholders within the message with values arg1 and arg2. </p> @@ -35,4 +41,5 @@ function getMessage() { document.getElementById("languageSpan").innerHTML = message; } </pre> +</div> <!-- END AUTHORED CONTENT --> |