aboutsummaryrefslogtreecommitdiff
path: root/files/ja/mozilla/add-ons/webextensions/api/notifications
diff options
context:
space:
mode:
authorMasahiro FUJIMOTO <mfujimot@gmail.com>2021-09-14 23:03:12 +0900
committerGitHub <noreply@github.com>2021-09-14 23:03:12 +0900
commit4aaee0a1710f4df99bf4e07fa2ae8986b6219c62 (patch)
treea128d8207a561bd1a80de1aa1b95accfb5c39c3b /files/ja/mozilla/add-ons/webextensions/api/notifications
parentcc7e4c4ed34fe536356fdd39e9fc64935a1a2d05 (diff)
downloadtranslated-content-4aaee0a1710f4df99bf4e07fa2ae8986b6219c62.tar.gz
translated-content-4aaee0a1710f4df99bf4e07fa2ae8986b6219c62.tar.bz2
translated-content-4aaee0a1710f4df99bf4e07fa2ae8986b6219c62.zip
Mozilla/Add-on-url以下の文書内のリンクURLを正規化 (#2365)
- /en-US へのリンクを /ja へのリンクに修正 - /ja が付いていないものに /ja を付加 - MDN内のリンクが完全URLの場合、 /ja/docs からのURLに修正
Diffstat (limited to 'files/ja/mozilla/add-ons/webextensions/api/notifications')
-rw-r--r--files/ja/mozilla/add-ons/webextensions/api/notifications/create/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/files/ja/mozilla/add-ons/webextensions/api/notifications/create/index.html b/files/ja/mozilla/add-ons/webextensions/api/notifications/create/index.html
index 9230ce54bf..6285222c2b 100644
--- a/files/ja/mozilla/add-ons/webextensions/api/notifications/create/index.html
+++ b/files/ja/mozilla/add-ons/webextensions/api/notifications/create/index.html
@@ -11,7 +11,7 @@ translation_of: Mozilla/Add-ons/WebExtensions/API/notifications/create
<p>You can optionally provide an ID for the notification. If you omit the ID, an ID will be generated. You can use the ID to {{WebExtAPIRef("notifications.update()", "update")}} or {{WebExtAPIRef("notifications.clear()", "clear")}} the notification.</p>
-<p>This is an asynchronous function that returns a <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise">Promise</a></code>.</p>
+<p>This is an asynchronous function that returns a <code><a href="/ja/docs/Web/JavaScript/Reference/Global_Objects/Promise">Promise</a></code>.</p>
<div class="warning">
<p>If you call <code>notifications.create()</code> more than once in rapid succession, Firefox may end up not displaying any notification at all.</p>
@@ -36,7 +36,7 @@ translation_of: Mozilla/Add-ons/WebExtensions/API/notifications/create
<h3 id="返り値">返り値</h3>
-<p>A <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise">Promise</a></code> that will be fulfilled when the notification is created and the display process has been started, which is before the notification is actually displayed to the user. It is fulfilled with a string representing the notification's ID.</p>
+<p>A <code><a href="/ja/docs/Web/JavaScript/Reference/Global_Objects/Promise">Promise</a></code> that will be fulfilled when the notification is created and the display process has been started, which is before the notification is actually displayed to the user. It is fulfilled with a string representing the notification's ID.</p>
<h2 id="ブラウザ互換性">ブラウザ互換性</h2>
@@ -46,7 +46,7 @@ translation_of: Mozilla/Add-ons/WebExtensions/API/notifications/create
<p>Create and display a basic notification periodically, using an {{WebExtAPIRef("alarms", "alarm")}}. Clicking the browser action dismisses the notification.</p>
-<p>Note that you'll need the "alarms" <a href="/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/permissions">permission</a> to create alarms (as well as the "notifications" permission to create notifications).</p>
+<p>Note that you'll need the "alarms" <a href="/ja/docs/Mozilla/Add-ons/WebExtensions/manifest.json/permissions">permission</a> to create alarms (as well as the "notifications" permission to create notifications).</p>
<pre class="brush: js">var cakeNotification = "cake-notification"