Skip to content

Commit

Permalink
refactor: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
xicri committed Nov 21, 2024
1 parent 8be528b commit 8941311
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 39 deletions.
72 changes: 36 additions & 36 deletions i18n.config.ts
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
export default defineI18nConfig(() => ({
legacy: false,
fallbackLocale: 'en',
messages: {
en: {
siteTitle: "Genshin Dictionary",
indexTitleDesc: "An online English-Chinese-Japanese dictionary of the terms in Genshin Impact",
aboutTitle: "About this website",
aboutDescription: "About Genshin Dictionary. This website is an online English-Chinese-Japanese dictionary of the terms in Genshin Impact.",
historyTitle: "Update History",
opendataTitle: "Open Data / API (β)",
langNameEn: "English",
langNameJa: "Japanese",
langNameZhCN: "Chinese",
},
ja: {
siteTitle: "原神 英語・中国語辞典",
indexTitleDesc: "原神の固有名詞等の英語表記、及び中国語表記の一覧を掲載しています。",
aboutTitle: "このサイトについて",
aboutDescription: "原神英語・中国語辞典についての説明です。このサイトは PC・スマートフォン・プレイステーション4/5用ゲーム「原神」で用いられる固有名詞等の日本語・英語・中国語対訳表です。",
historyTitle: "更新履歴",
opendataTitle: "オープンデータ・API (β)",
langNameEn: "英語",
langNameJa: "日本語",
langNameZhCN: "中国語",
},
"zh-CN": {
siteTitle: "原神中英日辞典",
indexTitleDesc: "一个在线的中英日三语原神游戏用语辞典",
aboutTitle: "关于本网站",
aboutDescription: "关于原神中英日辞典。本网站是一个在线的中英日三语原神游戏用语辞典。",
historyTitle: "更新记录",
opendataTitle: "开放数据与API (β)",
langNameEn: "英语",
langNameJa: "日语",
langNameZhCN: "简体中文",
},
legacy: false,
fallbackLocale: "en",
messages: {
en: {
siteTitle: "Genshin Dictionary",
indexTitleDesc: "An online English-Chinese-Japanese dictionary of the terms in Genshin Impact",
aboutTitle: "About this website",
aboutDescription: "About Genshin Dictionary. This website is an online English-Chinese-Japanese dictionary of the terms in Genshin Impact.",
historyTitle: "Update History",
opendataTitle: "Open Data / API (β)",
langNameEn: "English",
langNameJa: "Japanese",
langNameZhCN: "Chinese",
},
ja: {
siteTitle: "原神 英語・中国語辞典",
indexTitleDesc: "原神の固有名詞等の英語表記、及び中国語表記の一覧を掲載しています。",
aboutTitle: "このサイトについて",
aboutDescription: "原神英語・中国語辞典についての説明です。このサイトは PC・スマートフォン・プレイステーション4/5用ゲーム「原神」で用いられる固有名詞等の日本語・英語・中国語対訳表です。",
historyTitle: "更新履歴",
opendataTitle: "オープンデータ・API (β)",
langNameEn: "英語",
langNameJa: "日本語",
langNameZhCN: "中国語",
},
"zh-CN": {
siteTitle: "原神中英日辞典",
indexTitleDesc: "一个在线的中英日三语原神游戏用语辞典",
aboutTitle: "关于本网站",
aboutDescription: "关于原神中英日辞典。本网站是一个在线的中英日三语原神游戏用语辞典。",
historyTitle: "更新记录",
opendataTitle: "开放数据与API (β)",
langNameEn: "英语",
langNameJa: "日语",
langNameZhCN: "简体中文",
},
},
}));
6 changes: 3 additions & 3 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,17 @@ export default defineNuxtConfig({
i18n: {
locales: [
{
code: 'en',
code: "en",
iso: "en",
name: "English",
},
{
code: 'ja',
code: "ja",
iso: "ja-JP",
name: "日本語",
},
{
code: 'zh-CN',
code: "zh-CN",
iso: "zh-CN",
name: "简体中文",
},
Expand Down

0 comments on commit 8941311

Please sign in to comment.