Skip to content

Commit

Permalink
Merge pull request #1 from waltfe/master
Browse files Browse the repository at this point in the history
添加繁体中文翻译
  • Loading branch information
elecfreaks1 authored May 30, 2024
2 parents 497b56c + 1fe83b2 commit 472e8ac
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
14 changes: 14 additions & 0 deletions _locales/zh-TW/ds1307-strings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"RTC_DS1307.DateTime|block": "設置 年 %year| 月 %month| 日 %day| 時 %hour| 分 %minute| 秒 %second",
"RTC_DS1307.TimeType.YEAR|block": "",
"{id:category}RTC_DS1307": "即時時鐘",
"RTC_DS1307.getTime|block": "%data",
"RTC_DS1307.TimeType.HOUR|block": "",
"RTC_DS1307.TimeType.MINUTE|block": "",
"RTC_DS1307.TimeType.DAY|block": "",
"RTC_DS1307.TimeType.MONTH|block": "",
"RTC_DS1307.setTime|block": "設置 %datatype |為 %data",
"RTC_DS1307.TimeType.SECOND|block": "",
"RTC_DS1307.getWeekday|block": "星期",
"RTC_DS1307|block": "即時時鐘"
}
7 changes: 4 additions & 3 deletions pxt.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ds1307",
"version": "0.0.1",
"version": "0.0.2",
"description": "Tinkercademy package for the DS1307 Real-Time Clock",
"license": "MIT",
"dependencies": {
Expand All @@ -9,10 +9,11 @@
"files": [
"README.md",
"ds1307.ts",
"_locales/zh/ds1307-strings.json"
"_locales/zh/ds1307-strings.json",
"_locales/zh-TW/ds1307-strings.json"
],
"testFiles": [
"tests.ts"
],
"public": true
}
}

0 comments on commit 472e8ac

Please sign in to comment.