| OLD | NEW |
| 1 <div id="pageData-name" class="pageData">Internationalization (i18n)</div> | 1 <div id="pageData-name" class="pageData">Internationalization (i18n)</div> |
| 2 | 2 |
| 3 <!-- | 3 <!-- |
| 4 [NOTEs for editors: | 4 [NOTEs for editors: |
| 5 * Try to be consistent about string vs. message (it's probably not yet). | 5 * Try to be consistent about string vs. message (it's probably not yet). |
| 6 --> | 6 --> |
| 7 | 7 |
| 8 <!-- BEGIN AUTHORED CONTENT --> | 8 <!-- BEGIN AUTHORED CONTENT --> |
| 9 <p id="classSummary"> | 9 <p id="classSummary"> |
| 10 An <em>internationalized</em> extension | 10 An <em>internationalized</em> extension |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 gadgets BIDI (bi-directional) API</a>. | 178 gadgets BIDI (bi-directional) API</a>. |
| 179 </p> | 179 </p> |
| 180 | 180 |
| 181 <p> | 181 <p> |
| 182 The special message <code>@@extension_id</code> | 182 The special message <code>@@extension_id</code> |
| 183 can be used in the CSS and JavaScript files of any extension, | 183 can be used in the CSS and JavaScript files of any extension, |
| 184 whether or not the extension is localized. | 184 whether or not the extension is localized. |
| 185 This message doesn't work in manifest files. | 185 This message doesn't work in manifest files. |
| 186 </p> | 186 </p> |
| 187 | 187 |
| 188 <p class="note"> | |
| 189 <b>Note:</b> | |
| 190 Content script CSS files can't use | |
| 191 predefined messages such as <code>@@extension_id</code>. | |
| 192 For details, see | |
| 193 <a href="http://crbug.com/39899">bug 39899</a>. | |
| 194 </p> | |
| 195 | |
| 196 <p> | 188 <p> |
| 197 The following table describes each predefined message. | 189 The following table describes each predefined message. |
| 198 </p> | 190 </p> |
| 199 | 191 |
| 200 <table> | 192 <table> |
| 201 <tr> | 193 <tr> |
| 202 <th>Message name</th> <th>Description</th> | 194 <th>Message name</th> <th>Description</th> |
| 203 </tr> | 195 </tr> |
| 204 <tr> | 196 <tr> |
| 205 <td> <code>@@extension_id</code> </td> | 197 <td> <code>@@extension_id</code> </td> |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 575 }) | 567 }) |
| 576 } | 568 } |
| 577 </pre> | 569 </pre> |
| 578 | 570 |
| 579 <p> | 571 <p> |
| 580 For details on calling <code>getAcceptLanguages()</code>, see the | 572 For details on calling <code>getAcceptLanguages()</code>, see the |
| 581 <a href="#method-getAcceptLanguages">API reference</a>. | 573 <a href="#method-getAcceptLanguages">API reference</a>. |
| 582 </p> | 574 </p> |
| 583 | 575 |
| 584 <!-- END AUTHORED CONTENT --> | 576 <!-- END AUTHORED CONTENT --> |
| OLD | NEW |