aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--files/ja/web/manifest/short_name/index.md82
1 files changed, 30 insertions, 52 deletions
diff --git a/files/ja/web/manifest/short_name/index.md b/files/ja/web/manifest/short_name/index.md
index c111fc2bc5..050a0125e9 100644
--- a/files/ja/web/manifest/short_name/index.md
+++ b/files/ja/web/manifest/short_name/index.md
@@ -2,73 +2,51 @@
title: short_name
slug: Web/Manifest/short_name
tags:
- - Manifest
- - Web
- - short_name
- マニフェスト
+ - ウェブ
+ - short_name
+browser-compat: html.manifest.short_name
translation_of: Web/Manifest/short_name
---
-<div>{{QuickLinksWithSubpages("/ja/docs/Web/Manifest")}}</div>
+{{QuickLinksWithSubpages("/ja/docs/Web/Manifest")}}
<table class="properties">
- <tbody>
- <tr>
- <th scope="row">型</th>
- <td><code>String</code></td>
- </tr>
- <tr>
- <th scope="row">必須</th>
- <td>はい</td>
- </tr>
- </tbody>
+ <tbody>
+ <tr>
+ <th scope="row">型</th>
+ <td><code>String</code></td>
+ </tr>
+ <tr>
+ <th scope="row">必須</th>
+ <td>はい</td>
+ </tr>
+ </tbody>
</table>
-<p><dfn><code>short_name</code></dfn> メンバーは文字列で、 <code><a href="./name">name</a></code> を表示するのに十分なスペースがない場合 (例えば、携帯電話のホーム画面にあるアイコンのラベルなど) に、ユーザーに表示するウェブアプリケーションの名前を表します。 <code>short_name</code> は書字方向に対応しており、 <code><a href="./dir">dir</a></code> および <code><a href="./lang">lang</a></code> の各マニフェストメンバーの値に基づいて左書きで表示されたり右書きで表示されたりします。</p>
+_`short_name`_ メンバーは文字列で、 [`name`](/ja/docs/Web/Manifest/name) を表示するのに十分なスペースがない場合 (例えば、携帯電話のホーム画面にあるアイコンのラベルなど) に、ユーザーに表示するウェブアプリケーションの名前を表します。 `short_name` は書字方向に対応しており、 [`dir`](/ja/docs/Web/Manifest/dir) および [`lang`](/ja/docs/Web/Manifest/lang) の各マニフェストメンバーの値に基づいて左書きで表示されたり右書きで表示されたりします。
-<h2 id="Examples" name="Examples">例</h2>
+## 例
-<p>単純な <code>short_name</code> を左書き言語で:</p>
+単純な `short_name` を左書き言語で:
-<pre class="brush: json">"name": "Awesome application",
-"short_name": "Awesome app"</pre>
+```json
+"name": "Awesome application",
+"short_name": "Awesome app"
+```
-<p>アラビア語で右書きの <code>short_name</code>:</p>
+アラビア語で右書きの `short_name`:
-<pre class="brush: json" dir="rtl"><code>"dir": "rtl",
+```json
+"dir": "rtl",
"lang": "ar",
-"nam</code>e": "تطبيق رائع",
+"name": "تطبيق رائع",
"short_name": "رائع"
-</pre>
+```
-<h2 id="Specification" name="Specification">仕様書</h2>
+## 仕様書
-<table class="standard-table">
- <thead>
- <tr>
- <th scope="col">仕様書</th>
- <th scope="col">状態</th>
- <th scope="col">備考</th>
- <th scope="col">フィードバック</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>
- <p>{{SpecName('Manifest', '#short_name-member', 'short_name')}}</p>
- </td>
- <td>
- <p>{{Spec2('Manifest')}}</p>
- </td>
- <td>
- <p>初回定義</p>
- </td>
- <td>
- <p><a href="https://github.com/w3c/manifest/issues/">Web App Manifest Working Group drafts</a></p>
- </td>
- </tr>
- </tbody>
-</table>
+{{Specifications}}
-<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2>
+## ブラウザーの互換性
-<p>{{Compat("html.manifest.short_name")}}</p>
+{{Compat}}