Chromium Code Reviews| Index: chrome/common/extensions/docs/templates/articles/settings_override.html |
| diff --git a/chrome/common/extensions/docs/templates/articles/settings_override.html b/chrome/common/extensions/docs/templates/articles/settings_override.html |
| index f00167ab9b2dc9973f234b53132e33f4295dd0fc..cf6246971f4f90cb80d1d78c26491bc39f61009d 100644 |
| --- a/chrome/common/extensions/docs/templates/articles/settings_override.html |
| +++ b/chrome/common/extensions/docs/templates/articles/settings_override.html |
| @@ -46,6 +46,32 @@ manifest</a>.</p> |
| <code>search_provider</code>, and <code>startup_pages</code> are only enabled |
| in the Chrome Dev release.</p> |
| +<h2 id="customizing">Customizing values</h2> |
| +<p>Values in the manifest can be customized in the following ways:</p> |
| +<ul> |
| + <li> |
| + All values of the <code>search_provider</code>, <code>homepage</code> and |
| + <code>startup_pages</code> properties can be localized by means of the |
| + <a href="http://developer.chrome.com/extensions/i18n">chrome.i18n API</a>. |
|
not at google - send to devlin
2014/03/28 14:36:25
you should be able to use $(ref:i18n chrome.i18n A
vasilii
2014/03/28 15:23:47
Done.
|
| + </li> |
| + <li> |
| + For <a href="http://developer.chrome.com/extensions/external_extensions">external extensions</a>, |
| + all URLs values of <code>search_provider</code>, <code>homepage</code> and |
| + <code>startup_pages</code> can be parametrized using a registry key. A new |
| + registry entry should be created next to the "update_url" key (see |
| + instructions <a href=http://developer.chrome.com/extensions/external_extensions#registry>here</a>). |
| + The value name is "install_parameter", the value data is an arbitrary string: |
| + <pre>{ |
| + "update_url": "https://clients2.google.com/service/update2/crx", |
| + "install_parameter": "Value" |
| + }</pre> |
| + All occurrences of the substring "__PARAM__" in the manifest URLs will be |
| + substituted with the "install_parameter" value. If “install_parameter” is |
| + absent, "__PARAM__" are just removed. Note that "__PARAM__" must be beyond the |
| + first / after the hostname, it can NOT be part of the hostname. |
| + </li> |
| +</ul> |
| + |
| <h2 id="reference">Reference</h2> |
| <p> |
| An extension can override one or more of the following properties in the |