add zhTW locale (#3672)

#### What type of PR is this?

/kind feature
/area core

#### What this PR does / why we need it:

Add zhTW locale.

#### Which issue(s) this PR fixes:

Fixes https://github.com/halo-dev/halo/issues/3346

#### Does this PR introduce a user-facing change?

```release-note
提供繁体中文(TW)翻译
```
pull/3691/head
-Shiken- 2023-04-03 23:58:16 +08:00 committed by GitHub
parent d8f4e478e2
commit a466ee73c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1183 additions and 0 deletions

View File

@ -4,6 +4,8 @@ import { createI18n } from "vue-i18n";
import en from "./en.yaml";
// @ts-ignore
import zhCN from "./zh-CN.yaml";
// @ts-ignore
import zhTW from "./zh-TW.yaml";
export const locales = [
{
@ -25,6 +27,11 @@ export const locales = [
code: "zh",
package: zhCN,
},
{
name: "正體中文",
code: "zh-TW",
package: zhTW,
},
];
const messages = locales.reduce((acc, cur) => {

File diff suppressed because it is too large Load Diff