diff --git a/_locales/zh-TW/ds1307-strings.json b/_locales/zh-TW/ds1307-strings.json new file mode 100644 index 0000000..fbe0b1c --- /dev/null +++ b/_locales/zh-TW/ds1307-strings.json @@ -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": "即時時鐘" +} diff --git a/pxt.json b/pxt.json index 472d265..4d98ba3 100644 --- a/pxt.json +++ b/pxt.json @@ -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": { @@ -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 -} \ No newline at end of file +}