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

Side by Side Diff: chrome/common/extensions/docs/manifest.html

Issue 525077: First pass at expanded i18n doc.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc. Note: 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc. Note:
2 1) The <head> information in this page is significant, should be uniform 2 1) The <head> information in this page is significant, should be uniform
3 across api docs and should be edited only with knowledge of the 3 across api docs and should be edited only with knowledge of the
4 templating mechanism. 4 templating mechanism.
5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a 5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a
6 browser, it will be re-generated from the template, json schema and 6 browser, it will be re-generated from the template, json schema and
7 authored overview content. 7 authored overview content.
8 4) The <body>.innerHTML is also generated by an offline step so that this 8 4) The <body>.innerHTML is also generated by an offline step so that this
9 page may easily be indexed by search engines. 9 page may easily be indexed by search engines.
10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head>
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 <li><a href="events.html">Events</a></li> 144 <li><a href="events.html">Events</a></li>
145 <li><a href="tabs.html">Tabs</a></li> 145 <li><a href="tabs.html">Tabs</a></li>
146 <li><a href="windows.html">Windows</a></li> 146 <li><a href="windows.html">Windows</a></li>
147 </ul> 147 </ul>
148 </li> 148 </li>
149 <li>Implementation 149 <li>Implementation
150 <ul> 150 <ul>
151 <li><a href="background_pages.html">Background Pages</a></li> 151 <li><a href="background_pages.html">Background Pages</a></li>
152 <li><a href="content_scripts.html">Content Scripts</a></li> 152 <li><a href="content_scripts.html">Content Scripts</a></li>
153 <li><a href="xhr.html">Cross-Origin XHR</a></li> 153 <li><a href="xhr.html">Cross-Origin XHR</a></li>
154 <li><a href="i18n.html">Internationalization</a></li>
154 <li><a href="messaging.html">Message Passing</a></li> 155 <li><a href="messaging.html">Message Passing</a></li>
155 <li><a href="npapi.html">NPAPI Plugins</a></li> 156 <li><a href="npapi.html">NPAPI Plugins</a></li>
156 </ul> 157 </ul>
157 </li> 158 </li>
158 <li>Finishing 159 <li>Finishing
159 <ul> 160 <ul>
160 <li><a href="autoupdate.html">Autoupdating</a></li> 161 <li><a href="autoupdate.html">Autoupdating</a></li>
161 <li><a href="packaging.html">Packaging</a></li> 162 <li><a href="packaging.html">Packaging</a></li>
162 </ul> 163 </ul>
163 </li> 164 </li>
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 </li> 202 </li>
202 </ol> 203 </ol>
203 </li><li> 204 </li><li>
204 <a href="#H2-1">Field details</a> 205 <a href="#H2-1">Field details</a>
205 <ol> 206 <ol>
206 <li> 207 <li>
207 <a href="#description">description</a> 208 <a href="#description">description</a>
208 </li><li> 209 </li><li>
209 <a href="#icons">icons</a> 210 <a href="#icons">icons</a>
210 </li><li> 211 </li><li>
212 <a href="#default_locale">default_locale</a>
213 </li><li>
211 <a href="#name">name</a> 214 <a href="#name">name</a>
212 </li><li> 215 </li><li>
213 <a href="#minimum_chrome_version">Minimum Chrome Version</a> 216 <a href="#minimum_chrome_version">Minimum Chrome Version</a>
214 </li><li> 217 </li><li>
215 <a href="#permissions">permissions</a> 218 <a href="#permissions">permissions</a>
216 </li><li> 219 </li><li>
217 <a href="#version">version</a> 220 <a href="#version">version</a>
218 </li> 221 </li>
219 </ol> 222 </ol>
220 </li> 223 </li>
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 </p> 283 </p>
281 284
282 <pre>{ 285 <pre>{
283 <em>// Required</em> 286 <em>// Required</em>
284 "<a href="#name">name</a>": "<em>My Extension</em>", 287 "<a href="#name">name</a>": "<em>My Extension</em>",
285 "<a href="#version">version</a>": "<em>versionString</em>", 288 "<a href="#version">version</a>": "<em>versionString</em>",
286 289
287 <em>// Recommended</em> 290 <em>// Recommended</em>
288 "<a href="#description">description</a>": "<em>A plain text description</em>", 291 "<a href="#description">description</a>": "<em>A plain text description</em>",
289 "<a href="#icons">icons</a>": { ... }, 292 "<a href="#icons">icons</a>": { ... },
293 "<a href="#default_locale">default_locale</a>": "en",
290 294
291 <em>// Pick one (or none)</em> 295 <em>// Pick one (or none)</em>
292 "<a href="browserAction.html">browser_action</a>": {...}, 296 "<a href="browserAction.html">browser_action</a>": {...},
293 "<a href="pageAction.html">page_action</a>": {...}, 297 "<a href="pageAction.html">page_action</a>": {...},
294 "<a href="themes.html">theme</a>": {...}, 298 "<a href="themes.html">theme</a>": {...},
295 299
296 <em>// Add any of these that you need</em> 300 <em>// Add any of these that you need</em>
297 "<a href="background_pages.html">background_page</a>": "<em>aFile</em>.html", 301 "<a href="background_pages.html">background_page</a>": "<em>aFile</em>.html",
298 "<a href="override.html">chrome_url_overrides</a>": {...}, 302 "<a href="override.html">chrome_url_overrides</a>": {...},
299 "<a href="content_scripts.html">content_scripts</a>": [...], 303 "<a href="content_scripts.html">content_scripts</a>": [...],
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 If you submit your extension to the 359 If you submit your extension to the
356 <a href="https://chrome.google.com/extensions">gallery</a>, 360 <a href="https://chrome.google.com/extensions">gallery</a>,
357 you'll need to upload additional images, 361 you'll need to upload additional images,
358 including a 32x32-pixel logo 362 including a 32x32-pixel logo
359 and at least one screenshot of your extension. 363 and at least one screenshot of your extension.
360 For more information on gallery requirements, 364 For more information on gallery requirements,
361 see the 365 see the
362 <a href="http://www.google.com/support/chrome/bin/answer.py?answer=113909">galle ry help</a>. 366 <a href="http://www.google.com/support/chrome/bin/answer.py?answer=113909">galle ry help</a>.
363 </p> 367 </p>
364 368
369 <h3 id="default_locale">default_locale</h3>
370
371 <p>
372 Specifies the subdirectory of <code>_locales</code>
373 that contains the default strings for this extension.
374 This field is <b>required</b> in extensions
375 that have a <code>_locales</code> directory;
376 it <b>must be absent</b> in extensions
377 that have no <code>_locales</code> directory.
378 For details, see
379 <a href="i18n.html">Internationalization</a>.
380 </p>
381
365 <h3 id="name">name</h3> 382 <h3 id="name">name</h3>
366 383
367 <p> 384 <p>
368 A short, plain text string 385 A short, plain text string
369 (no more than 45 characters) 386 (no more than 45 characters)
370 that identifies the extension. 387 that identifies the extension.
371 The name is used in the install dialog, 388 The name is used in the install dialog,
372 extension management UI, 389 extension management UI,
373 and the <a href="https://chrome.google.com/extensions">extension gallery</a>. 390 and the <a href="https://chrome.google.com/extensions">extension gallery</a>.
374 </p> 391 </p>
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 _uff=0; 670 _uff=0;
654 urchinTracker(); 671 urchinTracker();
655 } 672 }
656 catch(e) {/* urchinTracker not available. */} 673 catch(e) {/* urchinTracker not available. */}
657 </script> 674 </script>
658 <!-- end analytics --> 675 <!-- end analytics -->
659 </div> 676 </div>
660 </div> <!-- /gc-footer --> 677 </div> <!-- /gc-footer -->
661 </div> <!-- /gc-container --> 678 </div> <!-- /gc-container -->
662 </body></html> 679 </body></html>
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/index.html ('k') | chrome/common/extensions/docs/match_patterns.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698