diff options
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/common/extensions/docs/i18n.html | 18 | ||||
-rw-r--r-- | chrome/common/extensions/docs/static/i18n.html | 12 |
2 files changed, 23 insertions, 7 deletions
diff --git a/chrome/common/extensions/docs/i18n.html b/chrome/common/extensions/docs/i18n.html index a4f068f..c9d0f80 100644 --- a/chrome/common/extensions/docs/i18n.html +++ b/chrome/common/extensions/docs/i18n.html @@ -193,10 +193,10 @@ <div id="toc"> <h2>Contents</h2> <ol> - <li style="display: none; "> - <a>h2Name</a> + <li> + <a href="#overview-examples">Examples</a> <ol> - <li> + <li style="display: none; "> <a>h3Name</a> </li> </ol> @@ -256,10 +256,10 @@ settings, such as the accept languages. <!-- [PENDING: add when getMessage works: "or to get localized messages for the current locale."] --> </p> -<h3 id="overview-examples">Examples</h3> +<h2 id="overview-examples">Examples</h2> <p> -The following code gets accept-languages from the browser and display them as a +The following code gets accept-languages from the browser and displays them as a string by separating each accept-language with ','. </p> @@ -286,6 +286,14 @@ function getMessage() { </pre> --> +<p> +You can find simple examples of internationalization in the +<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/i18n/">examples/api/i18n</a> +directory. +For other examples and for help in viewing the source code, see +<a href="samples.html">Samples</a>. +</p> + <!-- END AUTHORED CONTENT --> </div> diff --git a/chrome/common/extensions/docs/static/i18n.html b/chrome/common/extensions/docs/static/i18n.html index eda9d2a..58c7488 100644 --- a/chrome/common/extensions/docs/static/i18n.html +++ b/chrome/common/extensions/docs/static/i18n.html @@ -7,10 +7,10 @@ settings, such as the accept languages. <!-- [PENDING: add when getMessage works: "or to get localized messages for the current locale."] --> </p> -<h3 id="overview-examples">Examples</h3> +<h2 id="overview-examples">Examples</h2> <p> -The following code gets accept-languages from the browser and display them as a +The following code gets accept-languages from the browser and displays them as a string by separating each accept-language with ','. </p> @@ -38,4 +38,12 @@ function getMessage() { </pre> --> +<p> +You can find simple examples of internationalization in the +<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/i18n/">examples/api/i18n</a> +directory. +For other examples and for help in viewing the source code, see +<a href="samples.html">Samples</a>. +</p> + <!-- END AUTHORED CONTENT --> |