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

Side by Side Diff: chrome/common/extensions/docs/static/i18n.html

Issue 465039: Extension Doc Changes (no building or testable changes) (Closed)
Patch Set: Created 11 years 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
OLDNEW
1 <div id="pageData-title" class="pageData">i18n</div> 1 <div id="pageData-name" class="pageData">i18n</div>
2 2
3 <!-- BEGIN AUTHORED CONTENT --> 3 <!-- BEGIN AUTHORED CONTENT -->
4 <p id="classSummary"> 4 <p id="classSummary">
5 Use the <code>chrome.i18n</code> module to manipulate the i18n related browser 5 Use the <code>chrome.i18n</code> module to manipulate the i18n related browser
6 settings, such as the accept languages. 6 settings, such as the accept languages.
7 <!-- [PENDING: add when getMessage works: "or to get localized messages for the current locale."] --> 7 <!-- [PENDING: add when getMessage works: "or to get localized messages for the current locale."] -->
8 </p> 8 </p>
9 9
10 <h3 id="overview-examples">Examples</h3> 10 <h3 id="overview-examples">Examples</h3>
11 11
(...skipping 20 matching lines...) Expand all
32 32
33 <pre> 33 <pre>
34 function getMessage() { 34 function getMessage() {
35 var message = chrome.i18n.getMessage("click_here", ["arg1", "arg2"]); 35 var message = chrome.i18n.getMessage("click_here", ["arg1", "arg2"]);
36 document.getElementById("languageSpan").innerHTML = message; 36 document.getElementById("languageSpan").innerHTML = message;
37 } 37 }
38 </pre> 38 </pre>
39 --> 39 -->
40 40
41 <!-- END AUTHORED CONTENT --> 41 <!-- END AUTHORED CONTENT -->
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/static/hosting.html ('k') | chrome/common/extensions/docs/static/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698