aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiro FUJIMOTO <mfujimot@gmail.com>2021-06-25 01:21:55 +0900
committerGitHub <noreply@github.com>2021-06-25 01:21:55 +0900
commit8b81fb4997863dfc0e81fd3751e26a0a620b1548 (patch)
tree919c66477889558b7bb60cc2370c184b9cffa87a
parent9b965a794d8e500fc0414f234f451a0c6b464984 (diff)
downloadtranslated-content-8b81fb4997863dfc0e81fd3751e26a0a620b1548.tar.gz
translated-content-8b81fb4997863dfc0e81fd3751e26a0a620b1548.tar.bz2
translated-content-8b81fb4997863dfc0e81fd3751e26a0a620b1548.zip
Web/JavaScript/Reference/Errors 以下の見出しの表記を統一 (#1203)
-rw-r--r--files/ja/web/javascript/reference/errors/cyclic_object_value/index.html4
-rw-r--r--files/ja/web/javascript/reference/errors/deprecated_expression_closures/index.html2
-rw-r--r--files/ja/web/javascript/reference/errors/deprecated_source_map_pragma/index.html4
-rw-r--r--files/ja/web/javascript/reference/errors/deprecated_string_generics/index.html2
-rw-r--r--files/ja/web/javascript/reference/errors/invalid_array_length/index.html2
-rw-r--r--files/ja/web/javascript/reference/errors/invalid_date/index.html2
-rw-r--r--files/ja/web/javascript/reference/errors/json_bad_parse/index.html2
-rw-r--r--files/ja/web/javascript/reference/errors/missing_parenthesis_after_argument_list/index.html2
8 files changed, 10 insertions, 10 deletions
diff --git a/files/ja/web/javascript/reference/errors/cyclic_object_value/index.html b/files/ja/web/javascript/reference/errors/cyclic_object_value/index.html
index 0731056c8f..b3914e2646 100644
--- a/files/ja/web/javascript/reference/errors/cyclic_object_value/index.html
+++ b/files/ja/web/javascript/reference/errors/cyclic_object_value/index.html
@@ -19,11 +19,11 @@ TypeError: Converting circular structure to JSON (Chrome and Opera)
TypeError: Circular reference in value argument not supported (Edge)
</pre>
-<h2 id="Error_type" name="Error_type">エラー種別</h2>
+<h2 id="Error_type">エラーの種類</h2>
<p>{{jsxref("TypeError")}}</p>
-<h2 id="What_went_wrong" name="What_went_wrong">エラーの原因</h2>
+<h2 id="What_went_wrong">エラーの原因</h2>
<p><a href="https://www.json.org/">JSON 形式</a>はオブジェクト参照に対応していません (<a href="http://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03">IETF の草案はありますが</a>)。したがって {{jsxref("JSON.stringify()")}} はこれを解決しようとせず、これによって失敗します。</p>
diff --git a/files/ja/web/javascript/reference/errors/deprecated_expression_closures/index.html b/files/ja/web/javascript/reference/errors/deprecated_expression_closures/index.html
index 65c4262c61..c742ebaf2e 100644
--- a/files/ja/web/javascript/reference/errors/deprecated_expression_closures/index.html
+++ b/files/ja/web/javascript/reference/errors/deprecated_expression_closures/index.html
@@ -17,7 +17,7 @@ translation_of: Web/JavaScript/Reference/Errors/Deprecated_expression_closures
<pre class="syntaxbox">Warning: expression closures are deprecated
</pre>
-<h2 id="Error_type" name="Error_type">エラー種別</h2>
+<h2 id="Error_type">エラーの種類</h2>
<p>警告。 JavaScript の実行は中断されません。</p>
diff --git a/files/ja/web/javascript/reference/errors/deprecated_source_map_pragma/index.html b/files/ja/web/javascript/reference/errors/deprecated_source_map_pragma/index.html
index 8f64fafdfb..a7eee626e5 100644
--- a/files/ja/web/javascript/reference/errors/deprecated_source_map_pragma/index.html
+++ b/files/ja/web/javascript/reference/errors/deprecated_source_map_pragma/index.html
@@ -21,11 +21,11 @@ translation_of: Web/JavaScript/Reference/Errors/Deprecated_source_map_pragma
Warning: SyntaxError: Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead
</pre>
-<h2 id="Error_type" name="Error_type">エラー種別</h2>
+<h2 id="Error_type">エラーの種類</h2>
<p>{{jsxref("SyntaxError")}} が発生したという警告です。 JavaScript の実行は停止しません。</p>
-<h2 id="What_went_wrong" name="What_went_wrong">エラーの原因</h2>
+<h2 id="What_went_wrong">エラーの原因</h2>
<p>JavaScript のソースに非推奨のソースマップ構文があることです。</p>
diff --git a/files/ja/web/javascript/reference/errors/deprecated_string_generics/index.html b/files/ja/web/javascript/reference/errors/deprecated_string_generics/index.html
index 24759a56a9..d43190cf6f 100644
--- a/files/ja/web/javascript/reference/errors/deprecated_string_generics/index.html
+++ b/files/ja/web/javascript/reference/errors/deprecated_string_generics/index.html
@@ -41,7 +41,7 @@ Warning: String.trimLeft is deprecated; use String.prototype.trimLeft
Warning: String.trimRight is deprecated; use String.prototype.trimRight instead
</pre>
-<h2 id="Error_type" name="Error_type">エラー種別</h2>
+<h2 id="Error_type">エラーの種類</h2>
<p>警告。 JavaScript の実行は中断されません。</p>
diff --git a/files/ja/web/javascript/reference/errors/invalid_array_length/index.html b/files/ja/web/javascript/reference/errors/invalid_array_length/index.html
index f1e016fe66..7a59cb70bf 100644
--- a/files/ja/web/javascript/reference/errors/invalid_array_length/index.html
+++ b/files/ja/web/javascript/reference/errors/invalid_array_length/index.html
@@ -61,7 +61,7 @@ let b = new Array(Math.pow(2, 32) - 1);
b.length = b.length + 1; // length プロパティに 2^32 を設定
</pre>
-<h3 id="Valid_cases">有効なケース</h3>
+<h3 id="Valid_cases">有効な場合</h3>
<pre class="brush: js example-good">[ Math.pow(2, 40) ] // [ 1099511627776 ]
[ -1 ] // [ -1 ]
diff --git a/files/ja/web/javascript/reference/errors/invalid_date/index.html b/files/ja/web/javascript/reference/errors/invalid_date/index.html
index 2693cb120b..5dcb682dba 100644
--- a/files/ja/web/javascript/reference/errors/invalid_date/index.html
+++ b/files/ja/web/javascript/reference/errors/invalid_date/index.html
@@ -45,7 +45,7 @@ new Date('foo-bar 2014').toString();
<p>詳細は {{jsxref("Date.parse()")}} のドキュメントをご覧ください。</p>
-<h3 id="Valid_cases">有効なケース</h3>
+<h3 id="Valid_cases">有効な場合</h3>
<pre class="brush: js example-good">new Date('05 October 2011 14:48 UTC');
new Date(1317826080); // Unix Time Stamp for 05 October 2011 14:48:00 UTC</pre>
diff --git a/files/ja/web/javascript/reference/errors/json_bad_parse/index.html b/files/ja/web/javascript/reference/errors/json_bad_parse/index.html
index 6115bfd192..914aea9ee5 100644
--- a/files/ja/web/javascript/reference/errors/json_bad_parse/index.html
+++ b/files/ja/web/javascript/reference/errors/json_bad_parse/index.html
@@ -13,7 +13,7 @@ translation_of: Web/JavaScript/Reference/Errors/JSON_bad_parse
<p>JavaScript の例外で、 {{jsxref("JSON.parse()")}} が文字列を JSON として解釈するのに失敗した場合に発生します。</p>
-<h2 id="Message">メッセージ</h2>
+<h2 id="Message">エラーメッセージ</h2>
<pre class="brush: js">SyntaxError: JSON.parse: unterminated string literal
SyntaxError: JSON.parse: bad control character in string literal
diff --git a/files/ja/web/javascript/reference/errors/missing_parenthesis_after_argument_list/index.html b/files/ja/web/javascript/reference/errors/missing_parenthesis_after_argument_list/index.html
index f117b096ae..a8ec7fe40f 100644
--- a/files/ja/web/javascript/reference/errors/missing_parenthesis_after_argument_list/index.html
+++ b/files/ja/web/javascript/reference/errors/missing_parenthesis_after_argument_list/index.html
@@ -12,7 +12,7 @@ translation_of: Web/JavaScript/Reference/Errors/Missing_parenthesis_after_argume
<p>JavaScript の例外 "missing ) after argument list" は、関数の呼び出し方にエラーがあった場合に発生します。これは入力ミス、演算子の欠落、文字列のエスケープ忘れなどの可能性があります。</p>
-<h2 id="Message">メッセージ</h2>
+<h2 id="Message">エラーメッセージ</h2>
<pre class="brush: js">SyntaxError: Expected ')' (Edge)
SyntaxError: missing ) after argument list (Firefox)