Skip to content

Commit

Permalink
[zh-tw] sync translated content (#25168)
Browse files Browse the repository at this point in the history
* zh-tw: sync translated content

* delete conflicting docs

* fix redirects

* remove invalid redirect

---------

Co-authored-by: Allo <[email protected]>
  • Loading branch information
mdn-bot and yin1999 authored Dec 20, 2024
1 parent 188bb95 commit d67a1db
Show file tree
Hide file tree
Showing 203 changed files with 1,441 additions and 1,713 deletions.
248 changes: 184 additions & 64 deletions files/zh-tw/_redirects.txt

Large diffs are not rendered by default.

692 changes: 315 additions & 377 deletions files/zh-tw/_wikihistory.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion files/zh-tw/games/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ l10n:
我們還包含了一個參考區域,讓你能輕鬆找到有關遊戲開發中常用 API 的資訊。

> [!NOTE]
> 在 Web 上創建遊戲需要使用多種核心 Web 技術,例如 HTML、CSS 和 JavaScript。初學者可以先參考[學習區域](/zh-TW/docs/Learn),了解基礎知識。
> 在 Web 上創建遊戲需要使用多種核心 Web 技術,例如 HTML、CSS 和 JavaScript。初學者可以先參考[學習區域](/zh-TW/docs/Learn_web_development),了解基礎知識。
## 將原生遊戲移植到 Web

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ slug: Games/Tutorials/2D_Breakout_game_pure_JavaScript

每個步驟均提供可測試修改的實際範例,讓你能看到各個步驟所產生的影響。你將了解該如何使用 {{htmlelement("canvas")}} 元件完成基礎的遊戲機制,例如繪製 (Render)、移動圖形、碰撞偵測、操控機制、輸贏狀態等。

若要能充分了解此一系列文章,你應具備基礎至中等的 [JavaScript](/zh-TW/docs/Learn/Getting_started_with_the_web/JavaScript_basics) 知識。結束此教學之後即可寫出自己的簡易網頁遊戲。
若要能充分了解此一系列文章,你應具備基礎至中等的 [JavaScript](/zh-TW/docs/Learn_web_development/Getting_started/Your_first_website/Adding_interactivity) 知識。結束此教學之後即可寫出自己的簡易網頁遊戲。

![Gameplay screen from the game MDN Breakout where you can use your paddle to bounce the ball and destroy the brick field, with keeping the score and lives.](mdn-breakout-gameplay.png)

Expand Down
2 changes: 1 addition & 1 deletion files/zh-tw/glossary/accessibility/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ slug: Glossary/Accessibility
## 參見

- [MDN 上的無障礙資源](/zh-TW/docs/Web/Accessibility)
- [MDN 上的無障礙學習專區](/zh-TW/docs/Learn/Accessibility)
- [MDN 上的無障礙學習專區](/zh-TW/docs/Learn_web_development/Core/Accessibility)
- [MDN 上的 ARIA 文件](/zh-TW/docs/Web/Accessibility/ARIA)
- [WAI-ARIA 推薦標準](https://www.w3.org/TR/wai-aria/)
- 維基百科上的 [Web 無障礙](https://zh.wikipedia.org/wiki/网站无障碍)
Expand Down
2 changes: 1 addition & 1 deletion files/zh-tw/glossary/asynchronous/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ _非同步_(Asynchronous,又稱異步)指的是各方在方便或可能時

### 技術資訊

- [Fetching data from the server](/zh-TW/docs/Learn/JavaScript/Client-side_web_APIs/Fetching_data)(學習專區)
- [Fetching data from the server](/zh-TW/docs/Learn_web_development/Core/Scripting/Network_requests)(學習專區)
- {{glossary("Synchronous","同步")}}
2 changes: 1 addition & 1 deletion files/zh-tw/glossary/class/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ slug: Glossary/Class
### 基礎知識

- [基於類 vs. 基於原型的編程語言](/zh-TW/docs/Web/JavaScript/Inheritance_and_the_prototype_chain#class-based_vs._prototype-based_languages) (像 JavaScript)
- [在 JavaScript 中使用 functions 當作類](/zh-TW/docs/Learn/JavaScript/Objects#the_class)
- [在 JavaScript 中使用 functions 當作類](/zh-TW/docs/Learn_web_development/Extensions/Advanced_JavaScript_objects#the_class)
- 維基百科上的[基於類的編程](https://en.wikipedia.org/wiki/Class-based_programming)
- 維基百科上的[面向對象編程](https://en.wikipedia.org/wiki/Object-oriented_programming)
2 changes: 1 addition & 1 deletion files/zh-tw/glossary/constructor/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ var defaultReference = new Default();

### 技術資訊

- MDN 的 [JavaScript 物件導向介紹](/zh-TW/docs/Learn/JavaScript/Objects#the_constructor)
- MDN 的 [JavaScript 物件導向介紹](/zh-TW/docs/Learn_web_development/Extensions/Advanced_JavaScript_objects#the_constructor)
- MDN 的 [JavaScript 的 new 操作符](/zh-TW/docs/Web/JavaScript/Reference/Operators/new)
2 changes: 1 addition & 1 deletion files/zh-tw/glossary/css/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ p {

### 基本知識

- [Learn CSS](/zh-TW/docs/Learn/CSS)
- [Learn CSS](/zh-TW/docs/Learn_web_development/Core/Styling_basics)
- 維基百科的 [CSS](https://zh.wikipedia.org/wiki/CSS)

### 技術參考
Expand Down
2 changes: 1 addition & 1 deletion files/zh-tw/glossary/element/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ slug: Glossary/Element
## 瞭解更多

- The {{domxref("Element")}} interface, representing an element in the DOM.
- [More details about elements.](/zh-TW/docs/Learn/HTML/Introduction_to_HTML/Getting_started)
- [More details about elements.](/zh-TW/docs/Learn_web_development/Core/Structuring_content/Basic_HTML_syntax)
- [Web_Components/Custom_Elements](/zh-TW/docs/Web/API/Web_components/Using_custom_elements)
2 changes: 1 addition & 1 deletion files/zh-tw/glossary/head/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ slug: Glossary/Head
### HTML head

- MDN 上的 {{htmlelement("head")}} 元件參考
- [The HTML \<head>](/zh-TW/docs/Learn/HTML/Introduction_to_HTML/The_head_metadata_in_HTML) 在 MDN 上的學習領域
- [The HTML \<head>](/zh-TW/docs/Learn_web_development/Core/Structuring_content/Webpage_metadata) 在 MDN 上的學習領域
2 changes: 1 addition & 1 deletion files/zh-tw/glossary/html/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ HTML 文件的副檔名通常存為 `.htm` 或是 `.html`。它們會放在{{Glo

### 學習 HTML

- [我們的 HTML 教學](/zh-TW/docs/Learn/HTML)
- [我們的 HTML 教學](/zh-TW/docs/Learn_web_development/Core/Structuring_content)
- [codecademy.com 的網路課程](https://www.codecademy.com/en/tracks/web)

### 技術參考
Expand Down
2 changes: 1 addition & 1 deletion files/zh-tw/glossary/oop/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ slug: Glossary/OOP
## 相關文章

- 維基百科上的 [物件導向程式設計](https://zh.wikipedia.org/wiki/物件導向程式設計)
- [Introduction to object-oriented JavaScript](/zh-TW/docs/Learn/JavaScript/Objects)
- [Introduction to object-oriented JavaScript](/zh-TW/docs/Learn_web_development/Extensions/Advanced_JavaScript_objects)
2 changes: 1 addition & 1 deletion files/zh-tw/glossary/property/javascript/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ slug: Glossary/Property/JavaScript
### 基本知識

- 維基百科的[屬性(編程)](<https://zh.wikipedia.org/wiki/属性_(编程)>)
- [JavaScript 物件導向介紹](/zh-TW/docs/Learn/JavaScript/Objects)
- [JavaScript 物件導向介紹](/zh-TW/docs/Learn_web_development/Extensions/Advanced_JavaScript_objects)
2 changes: 1 addition & 1 deletion files/zh-tw/glossary/python/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Python 是在 OSI 認可的開源許可證規範下開發的,使其能自由
- [Python 官方教學文件](https://docs.python.org/3/tutorial/index.html)
- [Tutorialspoint Python 教學](http://www.tutorialspoint.com/python/index.htm)
- [AlphaCodingSkills Python 教學](https://www.alphacodingskills.com/python/python-tutorial.php)
- MDN 的 [Django 網站框架 (Python)](/zh-TW/docs/Learn/Server-side/Django)
- MDN 的 [Django 網站框架 (Python)](/zh-TW/docs/Learn_web_development/Extensions/Server-side/Django)
- [MDN 術語表](/zh-TW/docs/Glossary)

- {{Glossary("Java")}}
Expand Down
2 changes: 1 addition & 1 deletion files/zh-tw/glossary/server/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ slug: Glossary/Server

### 一般知識

- [伺服器介紹](/zh-TW/docs/Learn/Common_questions/Web_mechanics/What_is_a_web_server)
- [伺服器介紹](/zh-TW/docs/Learn_web_development/Howto/Web_mechanics/What_is_a_web_server)
- 維基百科的[伺服器](https://zh.wikipedia.org/wiki/伺服器)
2 changes: 1 addition & 1 deletion files/zh-tw/glossary/spa/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SPA 能讓用戶在使用網站時,不用從伺服器載入整個頁面,所
## 參見

- 維基百科上的[單頁應用程式](https://zh.wikipedia.org/wiki/单页应用)
- [了解客戶端 JavaScript 框架](/zh-TW/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks)
- [了解客戶端 JavaScript 框架](/zh-TW/docs/Learn_web_development/Core/Frameworks_libraries)
- [術語表](/zh-TW/docs/Glossary)

- {{Glossary("API")}}
Expand Down
120 changes: 0 additions & 120 deletions files/zh-tw/learn/css/first_steps/what_is_css/index.md

This file was deleted.

Loading

0 comments on commit d67a1db

Please sign in to comment.