OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 [ | 5 [ |
6 { | 6 { |
7 "namespace": "i18n", | 7 "namespace": "i18n", |
8 "description": "With the <code>chrome.i18n</code> module, an <em>internation alized</em> extension or app can be easily <em>localized</em> — adapted to languages and regions that it didn't originally support.", | |
epeterson
2013/06/13 03:24:28
I modified this description a little bit, to inclu
not at google - send to devlin
2013/06/19 16:47:16
Could you also re-word it like the others? It's a
epeterson
2013/06/20 23:07:40
Done.
| |
8 "types": [], | 9 "types": [], |
9 "functions": [ | 10 "functions": [ |
10 { | 11 { |
11 "name": "getAcceptLanguages", | 12 "name": "getAcceptLanguages", |
12 "type": "function", | 13 "type": "function", |
13 "description": "Gets the accept-languages of the browser. This is differ ent from the locale used by the browser; to get the locale, use <code>window.nav igator.language</code>.", | 14 "description": "Gets the accept-languages of the browser. This is differ ent from the locale used by the browser; to get the locale, use <code>window.nav igator.language</code>.", |
14 "parameters": [ | 15 "parameters": [ |
15 { | 16 { |
16 "type": "function", | 17 "type": "function", |
17 "name": "callback", | 18 "name": "callback", |
(...skipping 24 matching lines...) Expand all Loading... | |
42 ], | 43 ], |
43 "returns": { | 44 "returns": { |
44 "type": "string", | 45 "type": "string", |
45 "description": "Message localized for current locale." | 46 "description": "Message localized for current locale." |
46 } | 47 } |
47 } | 48 } |
48 ], | 49 ], |
49 "events": [] | 50 "events": [] |
50 } | 51 } |
51 ] | 52 ] |
OLD | NEW |