Skip to content

Commit

Permalink
Ensure the internal links point to zh-TW (Part 3) (#8377)
Browse files Browse the repository at this point in the history
* Ensure the internal links point to zh-TW (Part 3)

* Ensure the internal links point to zh-TW (Part 3)
  • Loading branch information
yin1999 authored Sep 9, 2022
1 parent 1b435a1 commit c4f98c9
Show file tree
Hide file tree
Showing 63 changed files with 144 additions and 145 deletions.
2 changes: 1 addition & 1 deletion files/zh-tw/learn/accessibility/mobile/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ With web access on mobile devices being so popular, and popular platforms such a
<td>
Basic computer literacy, a basic understanding of HTML, CSS, and
JavaScript, and an understanding of the
<a href="/en-US/docs/Learn/Accessibility"
<a href="/zh-TW/docs/Learn/Accessibility"
>previous articles in the course</a
>.
</td>
Expand Down
6 changes: 3 additions & 3 deletions files/zh-tw/learn/css/first_steps/how_css_works/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ slug: Learn/CSS/First_steps/How_CSS_works
<th scope="row">需求:</th>
<td>
基本電腦操作、<a
href="/en-US/Learn/Getting_started_with_the_web/Installing_basic_software"
href="/zh-TW/docs/Learn/Getting_started_with_the_web/Installing_basic_software"
>已安裝基本的軟體</a
>、
<a href="/en-US/Learn/Getting_started_with_the_web/Dealing_with_files"
<a href="/zh-TW/docs/Learn/Getting_started_with_the_web/Dealing_with_files"
>檔案處理的基本知識</a
>、HTML 基礎 (請參閱
<a href="/en-US/docs/Learn/HTML/Introduction_to_HTML">HTML 入門</a>)。
<a href="/zh-TW/docs/Learn/HTML/Introduction_to_HTML">HTML 入門</a>)。
</td>
</tr>
<tr>
Expand Down
4 changes: 2 additions & 2 deletions files/zh-tw/learn/html/howto/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ HTML 只建立文件的基礎架構,可以透過 {{glossary("CSS")}} 或腳本

### 嵌入內容

- [How to embed a webpage within another webpage](/zh-TW/Learn/HTML/Multimedia_and_embedding/Other_embedding_technologies)
- [How to add Flash content within a webpage](/en-US/Learn/HTML/Multimedia_and_embedding/Other_embedding_technologies#The_%3Cembed%3E_and_%3Cobject%3E_elements)
- [How to embed a webpage within another webpage](/zh-TW/docs/Learn/HTML/Multimedia_and_embedding/Other_embedding_technologies)
- [How to add Flash content within a webpage](/zh-TW/docs/Learn/HTML/Multimedia_and_embedding/Other_embedding_technologies#The_%3Cembed%3E_and_%3Cobject%3E_elements)

## 不常見或進階的問題

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ There are many other elements in HTML for formatting text, which we didn't get t
<th scope="row">Prerequisites:</th>
<td>
Basic HTML familiarity, as covered in
<a href="/en-US/docs/Learn/HTML/Introduction_to_HTML/Getting_started"
<a href="/zh-TW/docs/Learn/HTML/Introduction_to_HTML/Getting_started"
>Getting started with HTML</a
>. HTML text formatting, as covered in
<a
href="/en-US/docs/Learn/HTML/Introduction_to_HTML/HTML_text_fundamentals"
href="/zh-TW/docs/Learn/HTML/Introduction_to_HTML/HTML_text_fundamentals"
>HTML text fundamentals</a
>.
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ slug: Learn/HTML/Introduction_to_HTML/Creating_hyperlinks
<th scope="row">需求:</th>
<td>
我們在
<a href="/en-US/docs/Learn/HTML/Introduction_to_HTML/Getting_started"
<a href="/zh-TW/docs/Learn/HTML/Introduction_to_HTML/Getting_started"
>HTML 入門</a
>
中介紹過的 HTML 基礎,以及在
<a
href="/en-US/docs/Learn/HTML/Introduction_to_HTML/HTML_text_fundamentals"
href="/zh-TW/docs/Learn/HTML/Introduction_to_HTML/HTML_text_fundamentals"
>HTML 的文字基礎知識</a
>
中介紹過的文字格式化技巧。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ slug: Learn/HTML/Introduction_to_HTML/Document_and_website_structure
<th scope="row">預備知識:</th>
<td>
Basic HTML familiarity, as covered in
<a href="/en-US/docs/Learn/HTML/Introduction_to_HTML/Getting_started"
<a href="/zh-TW/docs/Learn/HTML/Introduction_to_HTML/Getting_started"
>Getting started with HTML</a
>. HTML text formatting, as covered in
<a
href="/en-US/docs/Learn/HTML/Introduction_to_HTML/HTML_text_fundamentals"
href="/zh-TW/docs/Learn/HTML/Introduction_to_HTML/HTML_text_fundamentals"
>HTML text fundamentals</a
>. How hyperlinks work, as covered in
<a
href="/en-US/docs/Learn/HTML/Introduction_to_HTML/Creating_hyperlinks"
href="/zh-TW/docs/Learn/HTML/Introduction_to_HTML/Creating_hyperlinks"
>Creating hyperlinks</a
>.
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ slug: Learn/HTML/Introduction_to_HTML/Getting_started
<th scope="row">需求:</th>
<td>
基礎電腦能力、已安裝<a
href="/en-US/Learn/Getting_started_with_the_web/Installing_basic_software"
href="/zh-TW/Learn/Getting_started_with_the_web/Installing_basic_software"
>需要的基本軟體</a
>、並知道如何<a
href="/en-US/Learn/Getting_started_with_the_web/Dealing_with_files"
href="/zh-TW/Learn/Getting_started_with_the_web/Dealing_with_files"
>操作檔案</a
>。
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ HTML 文件的 {{glossary("Head", "head")}} 是網頁在加載完畢之後,不
<th scope="row">需求:</th>
<td>
對 HTML 的基礎認識,內容我們已在
<a href="/en-US/docs/Learn/HTML/Introduction_to_HTML/Getting_started"
<a href="/zh-TW/docs/Learn/HTML/Introduction_to_HTML/Getting_started"
>HTML 入門</a
>中提及。
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ original_slug: Learn/HTML/Multimedia_and_embedding/HTML中的圖片
<tr>
<th scope="row">課成需求:</th>
<td>
基本的電腦操作, <a href="/en-US/docs/">安裝軟體的能力</a>,
<a href="/en-US/docs/">處理檔案的基本能力</a>, 熟悉最基本的HTML的 (<a
href="/en-US/docs/"
基本的電腦操作, <a href="/zh-TW/docs/">安裝軟體的能力</a>,
<a href="/zh-TW/docs/">處理檔案的基本能力</a>, 熟悉最基本的HTML的 (<a
href="/zh-TW/docs/"
>如HTML入門中所述</a
>)
</td>
Expand Down Expand Up @@ -129,7 +129,7 @@ However, you shouldn't alter the size of your images using HTML attributes. If y
### 圖片標題

As [with links](/en-US/Learn/HTML/Introduction_to_HTML/Creating_hyperlinks#Adding_supporting_information_with_%3Ctitle%3E), you can also add `title` attributes to images, to provide further supporting information if needed. In our example, we could do this:
As [with links](/zh-TW/docs/Learn/HTML/Introduction_to_HTML/Creating_hyperlinks#Adding_supporting_information_with_%3Ctitle%3E), you can also add `title` attributes to images, to provide further supporting information if needed. In our example, we could do this:

```html
<img src="images/dinosaur.jpg"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ original_slug: Learn/HTML/Multimedia_and_embedding/其他_嵌入_技術
<td>
Basic computer literacy,
<a
href="/en-US/Learn/Getting_started_with_the_web/Installing_basic_software"
href="/zh-TW/Learn/Getting_started_with_the_web/Installing_basic_software"
>basic software installed</a
>, basic knowledge of
<a href="/en-US/Learn/Getting_started_with_the_web/Dealing_with_files"
<a href="/zh-TW/Learn/Getting_started_with_the_web/Dealing_with_files"
>working with files</a
>, familiarity with HTML fundamentals (as covered in
<a href="/en-US/docs/Learn/HTML/Introduction_to_HTML/Getting_started"
<a href="/zh-TW/docs/Learn/HTML/Introduction_to_HTML/Getting_started"
>Getting started with HTML</a
>) and the previous articles in this module.
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ Now that we are comfortable with adding simple images to a webpage, the next ste
<td>
Basic computer literacy,
<a
href="/en-US/Learn/Getting_started_with_the_web/Installing_basic_software"
href="/zh-TW/docs/Learn/Getting_started_with_the_web/Installing_basic_software"
>basic software installed</a
>, basic knowledge of
<a href="/en-US/Learn/Getting_started_with_the_web/Dealing_with_files"
<a href="/zh-TW/docs/Learn/Getting_started_with_the_web/Dealing_with_files"
>working with files</a
>, familiarity with HTML fundamentals (as covered in
<a href="/en-US/docs/Learn/HTML/Introduction_to_HTML/Getting_started"
<a href="/zh-TW/docs/Learn/HTML/Introduction_to_HTML/Getting_started"
>Getting started with HTML</a
>) and
<a href="/en-US/docs/Learn/HTML/Multimedia_and_embedding/Images_in_HTML"
<a href="/zh-TW/docs/Learn/HTML/Multimedia_and_embedding/Images_in_HTML"
>Images in HTML</a
>.
</td>
Expand Down Expand Up @@ -82,7 +82,7 @@ First, let's go through the terminology quickly. Formats like MP3, MP4 and WebM

A WebM file containing a movie which has a main video track and one alternate angle track, plus audio for both English and Spanish, in addition to audio for an English commentary track can be conceptualized as shown in the diagram below. Also included are text tracks containing closed captions for the feature film, Spanish subtitles for the film, and English captions for the commentary.

[![Diagram conceptualizing the contents of a media file at the track level.](containersandtracks.png)](/en-US/docs/Learn/HTML/Multimedia_and_embedding/Video_and_audio_content/containersandtracks.png)
[![Diagram conceptualizing the contents of a media file at the track level.](containersandtracks.png)](/zh-TW/docs/Learn/HTML/Multimedia_and_embedding/Video_and_audio_content/containersandtracks.png)

The audio and video tracks within the container hold data in the appropriate format for the codec used to encode that media. Different formats are used for audio tracks versus video tracks. Each audio track is encoded using an [audio codec](/zh-TW/docs/Web/Media/Formats/Audio_codecs), while video tracks are encoded using (as you probably have guessed) [a video codec](/zh-TW/docs/Web/Media/Formats/Video_codecs). As we talked about before, different browsers support different video and audio formats, and different container formats (like MP3, MP4, and WebM, which in turn can contain different types of video and audio).

Expand All @@ -108,7 +108,7 @@ The codecs described in the previous section exist to compress video and audio i

Things become slightly more complicated because not only does each browser support a different set of container file formats, they also each support a different selection of codecs. In order to maximize the likelihood that your web site or app will work on a user's browser, you may need to provide each media file you use in multiple formats. If your site and the user's browser don't share a media format in common, your media simply won't play.

Due to the intricacies of ensuring your app's media is viewable across every combination of browsers, platforms, and devices you wish to reach, choosing the best combination of codecs and container can be a complicated task. See {{SectionOnPage("/en-US/docs/Web/Media/Formats/Containers", "Choosing the right container")}} for help selecting the container file format best suited for your needs; similarly, see {{SectionOnPage("/en-US/docs/Web/Media/Formats/Video_codecs", "Choosing a video codec")}} and {{SectionOnPage("/en-US/docs/Web/Media/Formats/Audio_codecs", "Choosing an audio codec")}} for help selecting the first media codecs to use for your content and your target audience.
Due to the intricacies of ensuring your app's media is viewable across every combination of browsers, platforms, and devices you wish to reach, choosing the best combination of codecs and container can be a complicated task. See {{SectionOnPage("/zh-TW/docs/Web/Media/Formats/Containers", "Choosing the right container")}} for help selecting the container file format best suited for your needs; similarly, see {{SectionOnPage("/zh-TW/docs/Web/Media/Formats/Video_codecs", "Choosing a video codec")}} and {{SectionOnPage("/zh-TW/docs/Web/Media/Formats/Audio_codecs", "Choosing an audio codec")}} for help selecting the first media codecs to use for your content and your target audience.

One additional thing to keep in mind: mobile browsers may support additional formats not supported by their desktop equivalents, just like they may not support all the same formats the desktop version does. On top of that, both desktop and mobile browsers _may_ be designed to offload handling of media playback (either for all media or only for specific types it can't handle internally). This means media support is partly dependent on what software the user has installed.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ slug: Learn/JavaScript/Building_blocks/Build_your_own_function
<th scope="row">Prerequisites:</th>
<td>
Basic computer literacy, a basic understanding of HTML and CSS,
<a href="/en-US/docs/Learn/JavaScript/First_steps"
<a href="/zh-TW/docs/Learn/JavaScript/First_steps"
>JavaScript first steps</a
>,
<a href="/en-US/docs/Learn/JavaScript/Building_blocks/Functions"
<a href="/zh-TW/docs/Learn/JavaScript/Building_blocks/Functions"
>Functions — reusable blocks of code</a
>.
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ slug: Learn/JavaScript/Building_blocks/conditionals
<th scope="row">Prerequisites:</th>
<td>
Basic computer literacy, a basic understanding of HTML and CSS,
<a href="/en-US/docs/Learn/JavaScript/First_steps"
<a href="/zh-TW/docs/Learn/JavaScript/First_steps"
>JavaScript first steps</a
>.
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ slug: Learn/JavaScript/Building_blocks/Functions
<th scope="row">Prerequisites:</th>
<td>
Basic computer literacy, a basic understanding of HTML and CSS,
<a href="/en-US/docs/Learn/JavaScript/First_steps"
<a href="/zh-TW/docs/Learn/JavaScript/First_steps"
>JavaScript first steps</a
>.
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ slug: Learn/JavaScript/Building_blocks/Looping_code
<th scope="row">Prerequisites:</th>
<td>
Basic computer literacy, a basic understanding of HTML and CSS,
<a href="/en-US/docs/Learn/JavaScript/First_steps"
<a href="/zh-TW/docs/Learn/JavaScript/First_steps"
>JavaScript first steps</a
>.
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ slug: Learn/JavaScript/Building_blocks/Return_values
<td>
<p>
Basic computer literacy, a basic understanding of HTML and CSS,
<a href="/en-US/docs/Learn/JavaScript/First_steps"
<a href="/zh-TW/docs/Learn/JavaScript/First_steps"
>JavaScript first steps</a
>,
<a href="/en-US/docs/Learn/JavaScript/Building_blocks/Functions"
<a href="/zh-TW/docs/Learn/JavaScript/Building_blocks/Functions"
>Functions — reusable blocks of code</a
>.
</p>
Expand Down
4 changes: 2 additions & 2 deletions files/zh-tw/learn/javascript/howto/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ For more information on JavaScript debugging, see [Handling common JavaScript pr
### 任務

- [What are event handlers and how do you use them?](/zh-TW/docs/Learn/JavaScript/Building_blocks/Events#Event_handler_properties)
- [What are inline event handlers?](/en-US/docs/Learn/JavaScript/Building_blocks/Events#Inline_event_handlers_%E2%80%94_don%27t_use_these)
- [What does the `addEventListener()` function do, and how do you use it?](</en-US/docs/Learn/JavaScript/Building_blocks/Events#addEventListener()_and_removeEventListener()>)
- [What are inline event handlers?](/zh-TW/docs/Learn/JavaScript/Building_blocks/Events#Inline_event_handlers_%E2%80%94_don%27t_use_these)
- [What does the `addEventListener()` function do, and how do you use it?](/zh-TW/docs/Learn/JavaScript/Building_blocks/Events#example_using_event_listeners)
- [Which mechanism should I use to add event code to my web pages?](/zh-TW/docs/Learn/JavaScript/Building_blocks/Events#What_mechanism_should_I_use)
- [What are event objects, and how do you use them?](/zh-TW/docs/Learn/JavaScript/Building_blocks/Events#Event_objects)
- [How do you prevent default event behaviour?](/zh-TW/docs/Learn/JavaScript/Building_blocks/Events#Preventing_default_behaviour)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ original_slug: Learn/JavaScript/Objects/Inheritance
<th scope="row">必備條件:</th>
<td>
基本的電腦素養、已了解 HTML 與 CSS 基本概念、熟悉 JavaScript 基礎
(可參閱〈<a href="/en-US/docs/Learn/JavaScript/First_steps"
(可參閱〈<a href="/zh-TW/docs/Learn/JavaScript/First_steps"
>First steps</a
>〉與〈<a href="/en-US/docs/Learn/JavaScript/Building_blocks"
>〉與〈<a href="/zh-TW/docs/Learn/JavaScript/Building_blocks"
>Building blocks</a
>〉) 與 OOJS 的基礎 (可參閱〈<a
href="/en-US/docs/Learn/JavaScript/Object-oriented/Introduction"
href="/zh-TW/docs/Learn/JavaScript/Object-oriented/Introduction"
>Introduction to objects</a
>〉)。
</td>
Expand Down
6 changes: 3 additions & 3 deletions files/zh-tw/learn/javascript/objects/json/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ JavaScript Object Notation (JSON) 為將結構化資料 (structured data) 呈現
<th scope="row">必要條件:</th>
<td>
基礎的計算機素養、了解 HTML 與 CSS 的基本概念、熟悉 JavaScript (參閱〈<a
href="/en-US/docs/Learn/JavaScript/First_steps"
href="/zh-TW/docs/Learn/JavaScript/First_steps"
>First steps</a
>〉與〈<a href="/en-US/docs/Learn/JavaScript/Building_blocks"
>〉與〈<a href="/zh-TW/docs/Learn/JavaScript/Building_blocks"
>Building blocks</a
>〉) 與 OOJS 基本概念 (參閱〈<a
href="/en-US/docs/Learn/JavaScript/Object-oriented/Introduction"
href="/zh-TW/docs/Learn/JavaScript/Object-oriented/Introduction"
>Introduction to objects</a
>〉)。
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ slug: Learn/JavaScript/Objects/Object_building_practice
<th scope="row">必備條件:</th>
<td>
基礎的計算機素養、了解 HTML 與 CSS 的基本概念、熟悉 JavaScript (參閱〈<a
href="/en-US/docs/Learn/JavaScript/First_steps"
href="/zh-TW/docs/Learn/JavaScript/First_steps"
>First steps</a
>〉與〈<a href="/en-US/docs/Learn/JavaScript/Building_blocks"
>〉與〈<a href="/zh-TW/docs/Learn/JavaScript/Building_blocks"
>Building blocks</a
>〉) 與 OOJS 基本概念 (參閱〈<a
href="/en-US/docs/Learn/JavaScript/Object-oriented/Introduction"
href="/zh-TW/docs/Learn/JavaScript/Object-oriented/Introduction"
>Introduction to objects</a
>〉)。
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ JavaScript 的物件即透過原型 (Prototype) 機制相互繼承功能,且
<th scope="row">必備條件:</th>
<td>
基本的電腦素養、已初步了解 HTML 與 CSS、熟悉 JavaScript (參閱〈<a
href="/en-US/docs/Learn/JavaScript/First_steps"
href="/zh-TW/docs/Learn/JavaScript/First_steps"
>First steps</a
>〉與〈<a href="/en-US/docs/Learn/JavaScript/Building_blocks"
>〉與〈<a href="/zh-TW/docs/Learn/JavaScript/Building_blocks"
>Building blocks</a
>〉以及 OOJS 基礎概念 (參閱〈<a
href="/en-US/docs/Learn/JavaScript/Object-oriented/Introduction"
href="/zh-TW/docs/Learn/JavaScript/Object-oriented/Introduction"
>Introduction to objects</a
>〉。
</td>
Expand Down
2 changes: 1 addition & 1 deletion files/zh-tw/learn/server-side/django/admin_site/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ slug: Learn/Server-side/Django/Admin_site
<th scope="row">前提:</th>
<td>
先完成:
<a href="/en-US/docs/Learn/Server-side/Django/Models"
<a href="/zh-TW/docs/Learn/Server-side/Django/Models"
>Django Tutorial Part 3: Using models</a
>.
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ slug: Learn/Server-side/Django/Authentication
<th scope="row">前提:</th>
<td>
完成至
<a href="/en-US/docs/Learn/Server-side/Django/Sessions"
<a href="/zh-TW/docs/Learn/Server-side/Django/Sessions"
>Django 線上教學 7: 會話(Sessions)框架</a
>為止的所有主題。
</td>
Expand Down
Loading

0 comments on commit c4f98c9

Please sign in to comment.