Skip to content

add zh-tw translation #426

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 41 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
ec58261
Create Cheatsheet.json
Supaplextw Nov 21, 2022
6552eea
Update Cheatsheet.json
Supaplextw Nov 23, 2022
46e104b
Update Cheatsheet.json
Supaplextw Nov 30, 2022
3e92ce2
Update Cheatsheet.json
Supaplextw Nov 30, 2022
f58be32
Merge pull request #1 from aykutkardas/develop
Supaplextw Nov 30, 2022
f12b494
Create general.json
Supaplextw Nov 30, 2022
27823e7
Create index.js
Supaplextw Nov 30, 2022
9bd3cc1
Update general.json
Supaplextw Nov 30, 2022
384d036
Merge pull request #2 from aykutkardas/develop
Supaplextw Nov 30, 2022
acc6a2f
Create landing.json
Supaplextw Dec 1, 2022
f5c515e
Update landing.json
Supaplextw Dec 8, 2022
44927a6
Merge pull request #3 from aykutkardas/develop
Supaplextw Dec 8, 2022
fa25ddf
Create learn.json
Supaplextw Dec 9, 2022
3679048
Create lessons.json
Supaplextw Dec 14, 2022
2a15d7c
Update learn.json
Supaplextw Dec 14, 2022
a09046f
Merge pull request #4 from aykutkardas/develop
Supaplextw Jan 30, 2023
9050dd1
Merge pull request #5 from aykutkardas/develop
Supaplextw Apr 25, 2024
8b99b73
Merge pull request #6 from aykutkardas/develop
Supaplextw May 31, 2024
9b63487
Create regexForSeo.json
Supaplextw May 31, 2024
9ec9510
Update learn.json
Supaplextw May 31, 2024
0ea387f
Update index.ts
Supaplextw May 31, 2024
4231326
Update learn.json
Supaplextw May 31, 2024
dc07b61
Update learn.json
Supaplextw Jun 5, 2024
03e98ab
Update learn.json
Supaplextw Jun 6, 2024
d806c26
Merge pull request #7 from aykutkardas/develop
Supaplextw Jun 23, 2024
405ee36
Update learn.json
Supaplextw Jun 24, 2024
b33dec8
Merge pull request #8 from aykutkardas/develop
Supaplextw Jul 24, 2024
5489620
Update learn.json
Supaplextw Jul 24, 2024
6284fd5
Merge pull request #9 from aykutkardas/develop
Supaplextw Nov 14, 2024
b943e8e
Update learn.json
Supaplextw Mar 21, 2025
72255ae
Update learn.json
Supaplextw Mar 21, 2025
916a8e0
Update learn.json
Supaplextw Mar 23, 2025
9d4c423
Update learn.json
Supaplextw Mar 23, 2025
3b8a332
Update learn.json
Supaplextw Mar 23, 2025
e6f2584
Update regexForSeo.json
Supaplextw Mar 23, 2025
8ca287e
Update regexForSeo.json
Supaplextw Mar 23, 2025
ca77539
Update regexForSeo.json
Supaplextw Mar 23, 2025
d3fe42b
Update regexForSeo.json
Supaplextw Mar 27, 2025
0dc5035
Update regexForSeo.json
Supaplextw Mar 27, 2025
4783aca
Merge pull request #10 from aykutkardas/develop
Supaplextw May 13, 2025
5aa55d2
Merge pull request #11 from aykutkardas/develop
Supaplextw Aug 2, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/localization/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export const langNames = {
tr: '🇹🇷',
ru: '🇷🇺',
'zh-cn': '🇨🇳',
'zh-tw': '🇹🇼',
uk: '🇺🇦',
ka: '🇬🇪',
ko: '🇰🇷',
Expand Down
70 changes: 70 additions & 0 deletions src/localization/zh-tw/Cheatsheet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"cheatsheet.section.title": "正規表示式小抄",
"cheatsheet.section.description": "透過正規表示式小抄探索所有正規表示式配對模式與符號。",

"cheatsheet.anchors": "錨點",
"cheatsheet.caret.title": "字串或行的開頭",
"cheatsheet.caret.description": "配對字串或是行的開頭。",
"cheatsheet.dollar.title": "字串或行的結尾",
"cheatsheet.dollar.description": "配對字串或是行的結尾。",
"cheatsheet.wordBoundary.title": "文字邊界",
"cheatsheet.wordBoundary.description": "配對文字字元或是文件結尾位置。",
"cheatsheet.notWordBoundary.title": "非文字邊界",
"cheatsheet.notWordBoundary.description": "配對文字字元或位置不在文字結尾。",

"cheatsheet.characterClasses": "字元類型",
"cheatsheet.characterSet.title": "字元集",
"cheatsheet.characterSet.description": "配對在字元集的字元",
"cheatsheet.negatedCharacterSet.title": "負向表列字元集",
"cheatsheet.negatedCharacterSet.description": "配對任何不在字元集的字元。",
"cheatsheet.range.title": "範圍",
"cheatsheet.range.description": "配對任何在兩個字元間的所有字元,包括本身。",
"cheatsheet.dot.title": "點",
"cheatsheet.dot.description": "配對除了斷行符號的任何字元。",
"cheatsheet.word.title": "文字",
"cheatsheet.word.description": "配對任何字母字元,包括底線。",
"cheatsheet.notWord.title": "非文字",
"cheatsheet.notWord.description": "配對任何非字母字元。",
"cheatsheet.digit.title": "數字",
"cheatsheet.digit.description": "配對任何數字字元。",
"cheatsheet.notDigit.title": "非數字",
"cheatsheet.notDigit.description": "配對任何非數字字元。",
"cheatsheet.space.title": "空白字元",
"cheatsheet.space.description": "配對任何空白字元。",
"cheatsheet.notSpace.title": "非空白字元",
"cheatsheet.notSpace.description": "配對任何非空白字元。",

"cheatsheet.flags": "標記",
"cheatsheet.caseInsensitiveFlag.title": "忽略大小寫",
"cheatsheet.caseInsensitiveFlag.description": "讓表示式忽略大小寫。",
"cheatsheet.globalFlag.title": "全域",
"cheatsheet.globalFlag.description": "確保表示式不會停在第一次吻合。",
"cheatsheet.multilineFlag.title": "多行",
"cheatsheet.multilineFlag.description": "如果不啟用,行開頭與結尾等於整個字串的開頭與結尾,不會為個別行作用。",

"cheatsheet.groupAndReferences": "群組與參照",
"cheatsheet.group.title": "群組",
"cheatsheet.group.description": "將表示式群組。",
"cheatsheet.reference.title": "參照",
"cheatsheet.reference.description": "參照已經群組的表示式。",
"cheatsheet.nonCapturingGroup.title": "非補捉群組",
"cheatsheet.nonCapturingGroup.description": "標記群組不能被參照。",

"cheatsheet.lookarounds": "環顧",
"cheatsheet.positiveLookahead.title": "正向向前選取",
"cheatsheet.negativeLookahead.title": "負向向前選取",
"cheatsheet.positiveLookbehind.title": "正向向後選取",
"cheatsheet.negativeLookbehind.title": "負向向後選取",

"cheatsheet.quantifiersAndAlternation": "量詞與替代建構",
"cheatsheet.plus.title": "正數",
"cheatsheet.plus.description": "表示式吻合一次或多次。",
"cheatsheet.asterisk.title": "星號",
"cheatsheet.asterisk.description": "表示式吻合0次或多次。",
"cheatsheet.quantifier.title": "量詞",
"cheatsheet.quantifier.description": "表示式吻合特定的範圍。",
"cheatsheet.optional.title": "選擇性的",
"cheatsheet.optional.description": "標記表示式為選擇性的。",
"cheatsheet.alternation.title": "替代建構",
"cheatsheet.alternation.description": "或者這樣可以運作,會等待其中存起來的一個表示式吻合。"
}
39 changes: 39 additions & 0 deletions src/localization/zh-tw/general.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"general.prev": "先前",
"general.next": "之後",
"general.result": "結果",
"general.regex": "正規表示式",
"general.text": "文字",
"general.watch": "觀看",
"general.start": "開始",
"general.continue": "繼續",
"general.completedStep": "完成步驟!",
"general.hintQuestion": "顯示解答",
"general.reportStep": "回報問題",
"general.startLearning": "開始課程",
"general.comingSoon": "即將來臨",
"general.becomeSponsor": "成為贊助者",
"general.learn": "學習",
"general.playground": "遊樂場",
"general.cheatsheet": "小抄",
"general.ourSponsors": "我們的贊助者",
"general.share": "分享",
"general.shareLinkCopied": "已經複製分享連結!",
"general.somethingWentWrong": "有東西出錯了!",

"notFound.intro": "你在找的頁面並不存在。",
"notFound.button": "回到首頁",

"page.landing.title": "學習正規表示式 - 一步步來,從入門到進階。",
"page.learn.title": "學習正規表示式 - 正規表示式互動課程",
"page.cheatsheet.title": "學習正規表示式 - 正規表示式小抄",
"page.playground.title": "學習正規表示式 - 遊樂場",
"page.404.title": "學習正規表示式 - 找不到",

"page.landing.description": "互動方式學習正規表示式,以你的程度來學習、測驗與分享你自己的正規表示式。",
"page.learn.description": "一步步學習正規表示式,完成互動學習課程讓你學習過程更容易與更快。",
"page.cheatsheet.description": "有時候你只是需要記下正規表示式的語法,試試小抄讓一切更容易理解與記憶。",
"page.playground.description": "你可以透過線上的遊樂場來更容易建構與測試你的正規表示式模組。",

"learn.safari.unsupportWarning": "這一步驟的正規表示式有些瀏覽器並不支援,如果你在這一步遇到問題,你可以點這裡。"
}
17 changes: 17 additions & 0 deletions src/localization/zh-tw/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import cheatsheet from './cheatsheet.json';
import general from './general.json';
import landing from './landing.json';
import learn from './learn.json';
import lessons from './lessons.json';
import regexForSeo from './lessons/regexForSeo.json';

const messages = {
...cheatsheet,
...general,
...landing,
...learn,
...lessons,
...regexForSeo,
};

export default messages;
26 changes: 26 additions & 0 deletions src/localization/zh-tw/landing.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"landing.title": "一步步學習正規表示式,從入門到進階。",
"landing.description": "學習正規表示式比你想像得還要容易,你可以使用這工具來輕鬆`學習`、`練習`、`測驗`與`分享`正規表示式。",
"landing.imageAltText": "一個男士坐姿輕鬆腿放在桌子上的插圖。",

"section.learn.title": "學習",
"section.learn.content": "`正規表示式`,英文叫 Regex 或是 Regexp,是一組藉由正規表示式語法規則創造,由字元組成的字串。You can easily manage your data with Regex, which uses commands like finding, matching, and editing. Regex can be used in programming languages such as Python, SQL, JavaScript, R, Google Analytics, Google Data Studio, and throughout the coding process. Learn regex online with examples and tutorials on RegexLearn now.",
"section.learn.imageAltText": "山頂有旗幟的插圖。",

"section.cheatsheet.button": "現在檢視吧!",
"section.cheatsheet.title": "小抄",
"section.cheatsheet.content": "有了`RegexLearn小抄`,你可以直接在一個頁面當中,一次看到所有的用法。透過 Regex 小抄瀏覽所有正規表示式模式與符號。",
"section.cheatsheet.imageAltText": "人透過望遠鏡瀏覽頁面的插圖。",

"section.playground.title": "遊樂場",
"section.playground.content": "如果你想要產生正規表示式的話,你可以輕易透過遊樂場來測式正規表示式模式。而做為正規表示式測試者,你可以跟其他人合作驗證與分享正規表示式模式。",
"section.playground.imageAltText": "一隻貓即將摔破玻璃杯的插圖。",

"section.practice.title": "練習",
"section.practice.content": "如果你完成學習課程,如今是練習時間!在練習部分,你可以測試侚的正規表示式知識,以及之後推出,依據你程度練習正規表示式教學的練習題目。",
"section.practice.imageAltText": "一位女士看書記筆記的插圖。",

"section.opensource.title": "開放原始碼",
"section.opensource.content": "正規表示式學習是開源的專案,因此歡迎各方貢獻R,以及免費使用。貢獻專案將會打摩你的技能、學習與合作。你可以來這邊貢獻與支援。",
"section.opensource.imageAltText": "女士、男士與貓一起組拼圖的插圖。"
}
Loading