summaryrefslogtreecommitdiffstats
path: root/browser/extensions/report-site-issue/experimentalAPIs/l10n.json
blob: 60942e726cbb057e8020abd0b00dbaad8cf17a6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[
  {
    "namespace": "l10n",
    "description": "A stop-gap L10N API only meant to be used until a Fluent-based API is added in bug 1425104",
    "functions": [
      {
        "name": "getMessage",
        "type": "function",
        "description": "Gets the message with the given name",
        "parameters": [
          {
            "name": "name",
            "type": "string",
            "description": "The name of the message"
          }
        ],
        "async": true
      }
    ]
  }
]