From b8899e350326af3e53dfad89747761c1c13a3915 Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Tue, 14 Sep 2021 11:06:51 +0900 Subject: Learn 以下の文書内のリンクURLを正規化 (#2356) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - /en-US へのリンクを /ja へのリンクに修正 - /ja が付いていないものに /ja を付加 - MDN内のリンクが完全URLの場合、 /ja/docs からのURLに修正 --- .../accessibility_troubleshooting/index.html | 12 ++-- files/ja/learn/accessibility/html/index.html | 2 +- .../accessibility/what_is_accessibility/index.html | 4 +- .../index.html | 2 +- .../common_questions/common_web_layouts/index.html | 4 +- .../design_for_all_types_of_users/index.html | 4 +- .../how_does_the_internet_work/index.html | 2 +- .../how_much_does_it_cost/index.html | 8 +-- .../index.html | 2 +- .../thinking_before_coding/index.html | 2 +- .../what_are_browser_developer_tools/index.html | 8 +-- .../what_is_a_web_server/index.html | 2 +- .../what_is_accessibility/index.html | 6 +- .../backgrounds_and_borders/index.html | 4 +- .../cascade_and_inheritance/index.html | 4 +- .../css/building_blocks/debugging_css/index.html | 2 +- .../handling_different_text_directions/index.html | 2 +- .../images_media_form_elements/index.html | 2 +- .../css/building_blocks/organizing/index.html | 2 +- .../building_blocks/overflowing_content/index.html | 4 +- .../selectors/combinators/index.html | 4 +- .../learn/css/building_blocks/selectors/index.html | 2 +- .../pseudo-classes_and_pseudo-elements/index.html | 60 +++++++++--------- .../type_class_and_id_selectors/index.html | 2 +- .../building_blocks/sizing_items_in_css/index.html | 2 +- .../building_blocks/values_and_units/index.html | 2 +- .../learn/css/css_layout/media_queries/index.html | 6 +- .../supporting_older_browsers/index.html | 2 +- .../css/first_steps/getting_started/index.html | 2 +- .../first_steps/how_css_is_structured/index.html | 2 +- .../learn/css/first_steps/how_css_works/index.html | 2 +- files/ja/learn/css/first_steps/index.html | 6 +- .../using_your_new_knowledge/index.html | 2 +- .../learn/css/first_steps/what_is_css/index.html | 2 +- files/ja/learn/css/howto/css_faq/index.html | 2 +- files/ja/learn/css/index.html | 12 ++-- files/ja/learn/css/styling_text/index.html | 10 +-- .../css/styling_text/styling_lists/index.html | 2 +- files/ja/learn/forms/form_validation/index.html | 14 ++-- .../forms/how_to_structure_a_web_form/index.html | 2 +- files/ja/learn/forms/html5_input_types/index.html | 16 ++--- .../forms/html_forms_in_legacy_browsers/index.html | 2 +- files/ja/learn/forms/index.html | 2 +- .../ja/learn/forms/other_form_controls/index.html | 14 ++-- .../index.html | 12 ++-- .../sending_and_retrieving_form_data/index.html | 14 ++-- files/ja/learn/forms/styling_web_forms/index.html | 8 +-- files/ja/learn/forms/ui_pseudo-classes/index.html | 16 ++--- files/ja/learn/forms/your_first_form/index.html | 2 +- files/ja/learn/front-end_web_developer/index.html | 28 ++++---- .../dealing_with_files/index.html | 2 +- .../installing_basic_software/index.html | 2 +- files/ja/learn/html/index.html | 20 +++--- .../advanced_text_formatting/index.html | 2 +- .../introduction_to_html/debugging_html/index.html | 18 +++--- .../getting_started/index.html | 30 ++++----- .../marking_up_a_letter/index.html | 18 +++--- .../structuring_a_page_of_content/index.html | 18 +++--- .../the_head_metadata_in_html/index.html | 2 +- .../adding_vector_graphics_to_the_web/index.html | 2 +- .../video_and_audio_content/index.html | 4 +- files/ja/learn/html/tables/basics/index.html | 4 +- files/ja/learn/javascript/asynchronous/index.html | 14 ++-- .../javascript/building_blocks/events/index.html | 2 +- .../building_blocks/functions/index.html | 12 ++-- .../ja/learn/javascript/building_blocks/index.html | 2 +- .../building_blocks/looping_code/index.html | 2 +- .../building_blocks/return_values/index.html | 2 +- .../client-side_web_apis/fetching_data/index.html | 14 ++-- .../javascript/client-side_web_apis/index.html | 6 +- .../client-side_web_apis/introduction/index.html | 18 +++--- .../manipulating_documents/index.html | 28 ++++---- .../third_party_apis/index.html | 2 +- .../video_and_audio_apis/index.html | 26 ++++---- .../first_steps/a_first_splash/index.html | 26 ++++---- files/ja/learn/javascript/first_steps/index.html | 4 +- .../learn/javascript/first_steps/math/index.html | 20 +++--- .../javascript/first_steps/strings/index.html | 20 +++--- .../first_steps/useful_string_methods/index.html | 18 +++--- .../javascript/first_steps/variables/index.html | 18 +++--- files/ja/learn/javascript/howto/index.html | 12 ++-- files/ja/learn/javascript/index.html | 4 +- files/ja/learn/javascript/objects/index.html | 2 +- .../javascript/objects/inheritance/index.html | 6 +- files/ja/learn/javascript/objects/json/index.html | 14 ++-- .../objects/object_building_practice/index.html | 2 +- .../objects/object_prototypes/index.html | 2 +- .../index.html | 2 +- .../business_case_for_performance/index.html | 14 ++-- .../performance/measuring_performance/index.html | 16 ++--- .../performance/perceived_performance/index.html | 2 +- .../performance/web_performance_basics/index.html | 22 +++---- .../performance/what_is_web_performance/index.html | 2 +- .../django/development_environment/index.html | 2 +- .../server-side/django/introduction/index.html | 6 +- .../ja/learn/server-side/django/models/index.html | 34 +++++----- .../server-side/django/skeleton_website/index.html | 40 ++++++------ .../django/web_application_security/index.html | 50 +++++++-------- .../express_nodejs/deployment/index.html | 28 ++++---- .../development_environment/index.html | 20 +++--- .../displaying_data/author_detail_page/index.html | 4 +- .../displaying_data/author_list_page/index.html | 8 +-- .../displaying_data/book_detail_page/index.html | 4 +- .../displaying_data/book_list_page/index.html | 6 +- .../index.html | 2 +- .../bookinstance_list_page/index.html | 4 +- .../date_formatting_using_moment/index.html | 4 +- .../flow_control_using_async/index.html | 4 +- .../displaying_data/genre_detail_page/index.html | 6 +- .../displaying_data/home_page/index.html | 8 +-- .../express_nodejs/displaying_data/index.html | 18 +++--- .../locallibrary_base_template/index.html | 6 +- .../displaying_data/template_primer/index.html | 8 +-- .../server-side/express_nodejs/forms/index.html | 32 +++++----- .../ja/learn/server-side/express_nodejs/index.html | 2 +- .../express_nodejs/introduction/index.html | 2 +- .../server-side/express_nodejs/mongoose/index.html | 20 +++--- .../server-side/express_nodejs/routes/index.html | 28 ++++---- .../express_nodejs/skeleton_website/index.html | 18 +++--- .../tutorial_local_library_website/index.html | 18 +++--- files/ja/learn/server-side/index.html | 2 +- .../client-side_javascript_frameworks/index.html | 52 +++++++-------- .../react_getting_started/index.html | 2 +- .../react_todo_list_beginning/index.html | 58 ++++++++--------- .../vue_getting_started/index.html | 74 +++++++++++----------- .../automated_testing/index.html | 18 +++--- .../cross_browser_testing/html_and_css/index.html | 56 ++++++++-------- .../cross_browser_testing/introduction/index.html | 2 +- .../cross_browser_testing/javascript/index.html | 6 +- .../your_own_automation_environment/index.html | 2 +- 130 files changed, 720 insertions(+), 720 deletions(-) diff --git a/files/ja/learn/accessibility/accessibility_troubleshooting/index.html b/files/ja/learn/accessibility/accessibility_troubleshooting/index.html index a43b4a509b..853d204cc1 100644 --- a/files/ja/learn/accessibility/accessibility_troubleshooting/index.html +++ b/files/ja/learn/accessibility/accessibility_troubleshooting/index.html @@ -120,10 +120,10 @@ translation_of: Learn/Accessibility/Accessibility_troubleshooting diff --git a/files/ja/learn/accessibility/html/index.html b/files/ja/learn/accessibility/html/index.html index efcb7b9c1d..e0d08c0fc0 100644 --- a/files/ja/learn/accessibility/html/index.html +++ b/files/ja/learn/accessibility/html/index.html @@ -357,7 +357,7 @@ translation_of: Learn/Accessibility/HTML } }; -

ここでは、キーボード上でいつボタンが押されたのかを検出するために、document オブジェクトにリスナーを追加しています。どのボタンが押されたのかを、イベント・オブジェクトの keyCode プロパティを介して調べています。 [訳注: 以上の二つの文の「ボタン」はキーボード上のキーのことのようです。また、keyCode プロパティは非推奨になっています。]もしエンターキー / リターンキーに合致するキーコードだったら、document.activeElement.onclick() を用い、ボタンの onclick ハンドラーに記憶されている関数を実行します [訳注: この文の「ボタン」は <div> ボタンのことのようです]。activeElement は、ページ上で現在フォーカスの当たっている要素を教えてくれます。

+

ここでは、キーボード上でいつボタンが押されたのかを検出するために、document オブジェクトにリスナーを追加しています。どのボタンが押されたのかを、イベント・オブジェクトの keyCode プロパティを介して調べています。 [訳注: 以上の二つの文の「ボタン」はキーボード上のキーのことのようです。また、keyCode プロパティは非推奨になっています。]もしエンターキー / リターンキーに合致するキーコードだったら、document.activeElement.onclick() を用い、ボタンの onclick ハンドラーに記憶されている関数を実行します [訳注: この文の「ボタン」は <div> ボタンのことのようです]。activeElement は、ページ上で現在フォーカスの当たっている要素を教えてくれます。

: 自分の独自のイベントハンドラーを、イベントハンドラー・プロパティ (たとえば onclick) を介して設定した場合にのみ、この技法がうまくいくだろうということに留意すべきです。addEventListener だと、うまくいきません。

diff --git a/files/ja/learn/accessibility/what_is_accessibility/index.html b/files/ja/learn/accessibility/what_is_accessibility/index.html index e1edbafaee..4812e98bcf 100644 --- a/files/ja/learn/accessibility/what_is_accessibility/index.html +++ b/files/ja/learn/accessibility/what_is_accessibility/index.html @@ -122,8 +122,8 @@ translation_of: Learn/Accessibility/What_is_accessibility

注記

-

: 下のサンプルを実行していく前に、Web入門の記事の中で作りあげる、初心者向けウェブサイトの例を開いてください。後ほどこれを使って説明します。

+

: 下のサンプルを実行していく前に、Web入門の記事の中で作りあげる、初心者向けウェブサイトの例を開いてください。後ほどこれを使って説明します。

ブラウザ開発者ツールの開き方

@@ -168,7 +168,7 @@ document.querySelector('h1').appendChild(myImage);

Find more out about the JavaScript console in different browsers:

-

ノート: Djangoはこの構成を "モデルビューテンプレート(Model View Template, MVT)" アーキテクチャと呼んでいます。これは Model View Controller アーキテクチャとよく似ています。 

+

ノート: Djangoはこの構成を "モデルビューテンプレート(Model View Template, MVT)" アーキテクチャと呼んでいます。これは Model View Controller アーキテクチャとよく似ています。