diff --git a/CHANGELOG.md b/CHANGELOG.md index 94f89de..faaf057 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,19 @@ # 0.-.- In Porgress +- Based on TypeScript v3.3.1 +- Support languages: + - Simplified Chinese (`lingascript-cn`) + - Traditional Chinese (`lingascript-tw`) + - Update issue templates - Add npm badges for support language packages +- Add Simplified Chinese Readme #11, thanks @nobodxbodon + +Keywords change: +- lingascript-tw + - let 變量 -> 變數 + - const 常量 -> 常數 + - var 全域變量 -> 全域變數 # 0.1.1 (2019/2/13) Initial Release @@ -9,6 +21,7 @@ - Support languages: - Simplified Chinese (no npm package yet, see #11) - Traditional Chinese (`lingascript-tw`) + - patch TypeScript through npm scripts and file-patch - Basic tests passed - (Native) Language specific readme diff --git a/examples/tw/src/basic.ts b/examples/tw/src/basic.ts index e8e2d99..b4c677b 100644 --- a/examples/tw/src/basic.ts +++ b/examples/tw/src/basic.ts @@ -1,7 +1,7 @@ // https://www.typescriptlang.org/docs/handbook/basic-types.html // Boolean -變量 isDone: boolean = 假的; +變數 isDone: boolean = 假的; // Number let decimal: number = 6; diff --git a/examples/tw/tsconfig.json b/examples/tw/tsconfig.json index 7c832eb..36594b7 100644 --- a/examples/tw/tsconfig.json +++ b/examples/tw/tsconfig.json @@ -4,7 +4,7 @@ "allowJs": true, "target": "es6", "diagnostics": true, - "locale": "en" + "locale": "zh-TW" }, "include": [ "./src/**/*" diff --git a/src/tw/README.md b/src/tw/README.md index df0c04b..86d257e 100644 --- a/src/tw/README.md +++ b/src/tw/README.md @@ -30,13 +30,13 @@ npm install -g lingascript-tw 建立`測試.ts`檔案如下 ```js -變量 一切都是 = 假的; +變數 一切都是 = 假的; ``` 或加上 TypeScript 宣告 ```js -變量 一切都是:真假 = 假的; +變數 一切都是:真假 = 假的; ``` 然後使用以下命令編譯