Skip to content

Commit

Permalink
Add: Traditional Chinese Translation (#496) (#498)
Browse files Browse the repository at this point in the history
Add: Traditional Chinese Translation (#496)
  • Loading branch information
Law Tin-Lok authored Oct 22, 2020
1 parent 1834635 commit 3645ec7
Show file tree
Hide file tree
Showing 9 changed files with 325 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<p>Esse documento também está disponível em <a href="docs/README-pt-BR.md">Português (Brasil)</a></p>
<p>Este documento también está disponíble en <a href="docs/README-es.md">Español</a></p>
<p>Questo documento è disponibile anche in <a href="docs/README-it.md">Italiano</a></p>
<p>此文檔亦適用於<a href="docs/README-zh-TW.md">繁體中文</a></p>

<br/>

Expand Down
57 changes: 57 additions & 0 deletions docs/README-zh-TW.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<div align="center">
<img src="../assets/timetoleave.png" alt="Time to Leave Logo">

<p>讓它來幫助你紀錄工作時數,和提醒你是時候該走去開始享受真正的生活</p>

<br/>

<img src="https://img.shields.io/badge/platforms-Windows%20%7C%20MacOS%20%7C%20Linux-green" alt="Platform">
<img src="https://img.shields.io/github/downloads/thamara/time-to-leave/total" alt="Downloads in Total">
<a href="https://github.com/thamara/time-to-leave/releases/tag/v.1.5.5"><img src="https://img.shields.io/github/v/release/thamara/time-to-leave" alt="Latest Release"></a>
<img src="https://img.shields.io/github/workflow/status/thamara/time-to-leave/Code%20Coverage" alt="Build">
<a href="http://makeapullrequest.com/"><img src="https://img.shields.io/badge/PRs-welcome-purple" alt="Latest Release"></a>

<br/>

<img src="https://user-images.githubusercontent.com/3754225/94519528-4e549900-0248-11eb-8872-b6fb2d47f43c.jpg" alt="Time to Leave Screenshot">

<br/>

</div>

---

紀錄你今天開始工作的時間,程式會計算你何時應該離開辦公室,包含你花費在午餐的時間。當時間到了,程式就會通知你。

![time-to-leave-notification](https://user-images.githubusercontent.com/3754225/94519526-4dbc0280-0248-11eb-9738-ffae936cfa4a.jpg)

你可以設定喜好設定,敘述你的工作日子、一日裡有多少小時你需要工作、並且你想不想被通知。

![time-to-leave-settings](https://user-images.githubusercontent.com/3754225/94519531-4eed2f80-0248-11eb-9303-78f9abe69201.jpg)

你也可以加入豁免來移除你不需要工作的日子。

![time-to-leave-waiver](https://user-images.githubusercontent.com/3754225/94762058-4e79a380-03c4-11eb-8f28-1c480dbf8b5c.png)

## 如何安裝 TTL

Time to Leave 運行在 MacOS,Windows 和 Linux。你可以在[最新發布](https://github.com/thamara/time-to-leave/releases/tag/v.1.5.5)下載你想要的版本。

## 如何運行 TTL 及向 TTL 貢獻

如果你想幫忙,請閱讀我們的[作出貢獻](../CONTRIBUTING.md)指引。
你也可以參考我們的[開發指引](../DEVELOPMENT.md)以獲得更多信息。

## 保持聯繫!

加入我們的[discord 頻道](https://discord.gg/P3KkEF5)以討論接下來的特色以及更多。

## 鳴謝

Icons 由[freepik](https://www.flaticon.com/authors/freepik)製作,來源自[www.flaticon.com](https://www.flaticon.com)

Original Timer Icon 由[lucy-g](https://icon-icons.com/icon/timer/121243),從它改變了配色及格式。

Sick Icon 由[SVG Repo](https://www.svgrepo.com/svg/271898/sick)

View Switch Icon 由[Pixel perfect](https://www.flaticon.com/authors/pixel-perfect)製作,來源自[www.flaticon.com](https://www.flaticon.com)
3 changes: 2 additions & 1 deletion locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"en": "English",
"pt-BR": "Português - Brasil",
"es": "Español",
"it": "Italiano"
"it": "Italiano",
"zh-TW": "繁體中文"
},
"$Preferences": {
"title": "Time to Leave - Preferences",
Expand Down
3 changes: 2 additions & 1 deletion locales/es/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"en": "English",
"pt-BR": "Português - Brasil",
"es": "Español",
"it": "Italiano"
"it": "Italiano",
"zh-TW": "繁體中文"
},
"$Preferences": {
"title": "Time to Leave - Preferencias",
Expand Down
3 changes: 2 additions & 1 deletion locales/it/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"en": "English",
"pt-BR": "Português - Brasil",
"es": "Español",
"it": "Italiano"
"it": "Italiano",
"zh-TW": "繁體中文"
},
"$Preferences": {
"title": "Time to Leave - Preferenze",
Expand Down
3 changes: 2 additions & 1 deletion locales/pt-BR/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"en": "English",
"pt-BR": "Português - Brasil",
"es": "Español",
"it": "Italiano"
"it": "Italiano",
"zh-TW": "繁體中文"
},
"$Preferences": {
"title": "Time to Leave - Preferências",
Expand Down
257 changes: 257 additions & 0 deletions locales/zh-TW/translation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,257 @@
{
"$Language": {
"en": "English",
"pt-BR": "Português - Brasil",
"es": "Español",
"it": "Italiano",
"zh-TW": "繁體中文"
},
"$Preferences": {
"title": "Time to Leave - 喜好設定",
"userPreferences": "用戶喜好設定",
"workingDays": "工作日",
"sun": "",
"mon": "",
"tue": "",
"wed": "",
"thu": "",
"fri": "",
"sat": "",
"hideNonWorkingDay": "隱藏非工作日(月份視角)",
"hoursPerDay": "小時每日",
"appBehavior": "程式特性",
"notification": "通知",
"allowRecurringNotifications": "允許定期通知",
"minutesBetweenNotifications": "通知間隔分鐘數",
"startOnLogin": "登入系統後自動啟動程序",
"countTodayOnTotals": "把今天計算在總數內",
"overallBalanceStart": "總體結餘開始日期",
"minimizeToTray": "當按下最小化按鈕時將程式最小化到任務欄",
"closeMinimizeToTray": "當按下關閉按鈕時將程式最小化到任務欄",
"themes": "主題",
"systemDefault": "系統默認",
"light": "淺色",
"dark": "深色",
"cadentStar": "彩虹漸變色",
"view": "查看",
"month": "",
"day": "",
"numberOfEntries": "紀錄數量",
"fixed": "固定",
"flexible": "自由",
"language": "語言"
},
"$Menu": {
"about": "關於",
"all-clear": "全部已清除!",
"all-files": "所有文件",
"cancel": "刪除",
"check-for-updates": "檢查更新",
"clear-database": "清除資料庫",
"confirm-clear-all-data": "確定清除所有資料?",
"confirm-import-db": "確定導入資料庫?這會覆蓋所有現有資料。",
"confirm-migrate-to-flexible": "確定轉移固定日曆資料庫到自由日曆嗎?\n\n已有自由日曆資料庫將會被清除。",
"copy": "複製",
"could-not-be-loaded": "無法加載",
"cut": "剪下",
"database-export": "導出資料庫",
"database-imported": "已導入資料庫",
"database-migrated": "已轉移資料庫",
"database-was-exported": "已導出資料庫",
"edit": "編輯",
"exit": "退出",
"export-database": "導出資料庫",
"export-db-to-file": "導出資料庫到文件",
"export": "導出",
"failed-entries": "紀錄時發生錯誤",
"failed-migrating": "轉移時發生錯誤",
"help": "幫助",
"import-database": "導入資料庫",
"import-db-from-file": "從文件導入資料庫",
"import-successful": "太好了!導入成功!",
"import": "導入",
"menu": "目錄",
"migrate-calendar-to-flexible": "轉移固定日曆資料庫到自由",
"migrate-to-flexible-calendar": "轉移到自由日曆",
"migration-successful": "太好了!轉移成功!",
"no-thanks": "不用了,謝謝",
"ok": "好的",
"paste": "貼上",
"preferences": "喜好設定",
"punch-time": "打卡時間",
"punched-time": "已打卡時間",
"quit": "退出",
"reload": "重新載入",
"select-all": "選擇全部",
"send-feedback": "發送意見反饋",
"should-migrate-to-flexible": "你的自由日曆為空。你想從已有固定日曆資料庫轉移到你的自由日曆嗎?",
"show-app": "顯示程式",
"something-went-wrong": "出錯了 :(",
"toggle-dev-tools": "切換開發者工具",
"ttl-github": "TTL GitHub",
"view": "查看",
"workday-waiver-manager": "工作日豁免管理員",
"yes-please": "好的,謝謝"
},
"$FlexibleDayCalendar": {
"switch-view": "切換視角",
"current-day": "回到當前日子",
"previous-day": "上一日",
"next-day": "下一日",
"time-to-leave": "Time to Leave",
"leave-by": "你應該在此時間離開:",
"day-done-balance": "今日已全部完成,是日結餘:",
"month-balance": "月份結餘",
"month-balance-title": "本月結餘會計算到今天為止,正結餘代表你今天(或今個月餘下的日子裡)有額外的小時數不用工作。",
"overall-balance": "總體結餘",
"overall-balance-title": "總體結餘直到月尾或當前日子",
"not-a-working-day": "不是一個工作日",
"waived-day": "已豁免日子",
"day-total": "日子總計",
"remove-entry": "移除紀錄",
"entry-removal-confirmation": "確定移除最後一行的紀錄?",
"yes": "",
"no": "",
"entry": "紀錄"
},
"$FlexibleMonthCalendar": {
"switch-view": "切換視角",
"current-month": "回到當前月份",
"previous-month": "上一個月",
"next-month": "下一個月",
"time-to-leave": "Time to Leave",
"day": "",
"total": "總計",
"leave-by": "根據今天你的到達時間,你應在此時間離開",
"day-done-balance": "今日已全部完成,是日結餘:",
"last-day-balance": "上一日已用結餘",
"on": "",
"working-days": "工作日數",
"working-days-title": "在這個月裡有多少個工作日",
"month-balance": "月份結餘",
"month-balance-title": "本月結餘會計算到今天為止,正結餘代表你今天(或今個月餘下的日子裡)有額外的小時數不用工作。",
"overall-balance": "總體結餘",
"overall-balance-title": "總體結餘直到月尾或當前日子",
"add-waiver-day": "為此日增加豁免",
"waived-day": "已豁免日子",
"remove-entry": "移除紀錄",
"entry-removal-confirmation": "確定移除當日最後兩行紀錄嗎",
"yes": "",
"no": ""
},
"$Calendar": {
"leave-by": "根據今天你的到達時間,你應在此時間離開",
"all-done": "今日已全部完成,是日結餘:",
"last-day-balance": "上一日已用結餘",
"on": "",
"working-days": "工作日數",
"working-days-title": "在這個月裡有多少個工作日",
"month-balance": "月份結餘",
"month-balance-title": "本月結餘會計算到今天為止,正結餘代表你今天(或今個月餘下的日子裡)有額外的小時數不用工作。",
"overall-balance": "總體結餘",
"overall-balance-title": "總體結餘直到月尾或當前日子",
"switch-view": "切換視角",
"switch-view-title": "切換視角",
"current-month": "當前月份",
"current-month-title": "回到當前月份",
"previous-month": "上一個月",
"next-month": "下一個月",
"time-to-leave": "Time to Leave",
"day-start": "日子開始",
"lunch-begin": "午餐開始",
"lunch-end": "午餐結束",
"day-end": "日子結束",
"lunch-total": "午餐總計",
"day-total": "日子總計",
"day": "",
"lunch-start": "午餐開始",
"punch-time": "打卡時間"
},
"$Notification": {
"time-to-leave": "你還好嗎?我想現在是時候離開了。",
"punch-reminder": "別忘了打卡!"
},
"$FixedDayCalendar": {
"leave-by": "你應該在此時間離開:",
"all-done": "今日已全部完成,是日結餘:",
"month-balance": "月份結餘",
"month-balance-title": "本月結餘會計算到今天為止,正結餘代表你今天(或今個月餘下的日子裡)有額外的小時數不用工作。",
"overall-balance": "總體結餘",
"overall-balance-title": "總體結餘直到月尾或當前日子",
"non-working-day": "不是工作日",
"waived-day": "已豁免日子",
"day-start": "日子開始",
"lunch-begin": "午餐開始",
"lunch-end": "午餐結束",
"day-end": "日子結束",
"lunch-total": "午餐總計",
"day-total": "日子總計"
},
"$WorkdayWaiver": {
"add-waiver": "加入豁免",
"already-have-waiver": "你已經有豁免",
"attention": "注意:利用豁免者在日子導入假期會覆蓋豁免者。",
"city": "城市:",
"conflicts": "衝突?",
"country": "國家:",
"date": "日期",
"day": "",
"delete": "刪除",
"delete-waiver-message": "確定刪除此日豁免嗎",
"end-date": "結束日期",
"end-date-cannot-be-less": "結束日期不能小於開始日期",
"from": "",
"header-help": "當關閉此窗口時會使更改生效",
"holiday": "假日",
"hours": "小時",
"hours-waived": "已豁免小時數",
"import": "導入?",
"loaded-waivers-holidays": "已載入假日豁免。",
"nav-holiday": "假日",
"no-working-days-on-range": "不能增加豁免,範圍裡並沒有任何工作日。",
"on-working-day": "在工作日",
"reason": "原因",
"remove-waiver": "在新增一個之前移除他。",
"start-date": "開始日期",
"source-selected-holidays": "導入已選擇假日",
"state": "狀態:",
"time-to-leave": "Time to Leave",
"title": "Time to Leave - 工作日豁免管理員",
"to": "",
"waive": "豁免",
"waived-workday-list": "已豁免工作日列表",
"waiver-manager": "工作日豁免管理員",
"waiver-reason": "豁免原因",
"year": "",
"yes": "",
"no": ""
},
"$DateUtil": {
"sunday": "星期日",
"monday": "星期一",
"tuesday": "星期二",
"wednesday": "星期三",
"thursday": "星期四",
"friday": "星期五",
"saturday": "星期六",
"sun": "",
"mon": "",
"tue": "",
"wed": "",
"thu": "",
"fri": "",
"sat": "",
"january": "一月",
"february": "二月",
"march": "三月",
"april": "四月",
"may": "五月",
"june": "六月",
"july": "七月",
"august": "八月",
"september": "九月",
"october": "十月",
"november": "十一月",
"december": "十二月"
}
}
1 change: 1 addition & 0 deletions locales/zh-TW/translation.missing.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
2 changes: 1 addition & 1 deletion src/configs/app.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
languages: ['en', 'pt-BR', 'es', 'it'],
languages: ['en', 'pt-BR', 'es', 'it', 'zh-TW'],
fallbackLng: 'en',
namespace: 'translation'
};

0 comments on commit 3645ec7

Please sign in to comment.