aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/mozilla/add-ons/webextensions/manifest.json/name/index.html
blob: e8d40c3e2415c4ab1f951ad9475aeea87da7f7fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
title: 名称 - name
slug: Mozilla/Add-ons/WebExtensions/manifest.json/name
tags:
  - 名称
  - 附加组件
translation_of: Mozilla/Add-ons/WebExtensions/manifest.json/name
---
<div>{{AddonSidebar}}</div>

<table class="fullwidth-table standard-table">
 <tbody>
  <tr>
   <th scope="row" style="width: 30%;">值类型</th>
   <td><code>字符串(String)</code></td>
  </tr>
  <tr>
   <th scope="row">强制性</th>
   <td>强制</td>
  </tr>
  <tr>
   <th scope="row">示例</th>
   <td>
    <pre class="brush: json">
"name": "附加组件的名称"</pre>
   </td>
  </tr>
 </tbody>
</table>

<p>附加组件的名称. 用于在用户界面和 addons.mozilla.org 网站上显示标识名称.</p>

<p>关于本地化, 可查看 <a href="/en-US/Add-ons/WebExtensions/Internationalization#Internationalizing_manifest.json">localizable property</a>.</p>

<h2 id="示例">示例</h2>

<pre class="brush: json">"name": "插件的名称"</pre>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<p>{{Compat("webextensions.manifest.name")}}</p>