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

Side by Side Diff: chrome/common/extensions/api/i18n.json

Issue 12996003: Dynamically generate a heading for Extension Docs API pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing comments - Patch currently being broken up Created 7 years, 6 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
« no previous file with comments | « chrome/common/extensions/api/history.json ('k') | chrome/common/extensions/api/idle.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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": "An <em>internationalized</em> extension or app can be easily <em>localized</em> &mdash; adapted to languages and regions that it didn't orig inally support.",
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 23 matching lines...) Expand all
41 ], 42 ],
42 "returns": { 43 "returns": {
43 "type": "string", 44 "type": "string",
44 "description": "Message localized for current locale." 45 "description": "Message localized for current locale."
45 } 46 }
46 } 47 }
47 ], 48 ],
48 "events": [] 49 "events": []
49 } 50 }
50 ] 51 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/history.json ('k') | chrome/common/extensions/api/idle.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698