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

Side by Side Diff: chrome/common/extensions/docs/server2/templates/intros/i18n.html

Issue 10832042: Extensions Docs Server: Doc conversion script (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: script/build.py fixes Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!-- 1 <!--
2 [NOTEs for editors: 2 [NOTEs for editors:
3 * Try to be consistent about string vs. message (it's probably not yet). 3 * Try to be consistent about string vs. message (it's probably not yet).
4 --> 4 -->
5 <!-- BEGIN AUTHORED CONTENT -->
6 <p id="classSummary"> 5 <p id="classSummary">
7 An <em>internationalized</em> extension 6 An <em>internationalized</em> extension
8 can be easily 7 can be easily
9 <em>localized</em> &mdash; 8 <em>localized</em> &mdash;
10 adapted to languages and regions 9 adapted to languages and regions
11 that it didn't originally support. 10 that it didn't originally support.
12 </p> 11 </p>
13 <p> 12 <p>
14 To internationalize your extension, 13 To internationalize your extension,
15 you need to put all of its user-visible strings into a file 14 you need to put all of its user-visible strings into a file
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 function getAcceptLanguages() { 471 function getAcceptLanguages() {
473 chrome.i18n.getAcceptLanguages(function(languageList) { 472 chrome.i18n.getAcceptLanguages(function(languageList) {
474 var languages = languageList.join(","); 473 var languages = languageList.join(",");
475 document.getElementById("languageSpan").innerHTML = languages; 474 document.getElementById("languageSpan").innerHTML = languages;
476 }) 475 })
477 } 476 }
478 </pre> 477 </pre>
479 <p> 478 <p>
480 For details on calling <code>getAcceptLanguages()</code>, see the 479 For details on calling <code>getAcceptLanguages()</code>, see the
481 <a href="#method-getAcceptLanguages">API reference</a>. 480 <a href="#method-getAcceptLanguages">API reference</a>.
482 </p> 481 </p>
483 <!-- END AUTHORED CONTENT -->
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698