Skip to content

Commit

Permalink
added missing keys and disabled i18n debug
Browse files Browse the repository at this point in the history
  • Loading branch information
dn54321 committed Oct 27, 2024
1 parent bec24fc commit e5b3889
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/i18n/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ i18n
.use(resourcesToBackend((lng: string, ns: string) => import(`./locales/${lng}/${ns}.json`)))
.init({
fallbackLng: "ja",
debug: true,
debug: false,
ns: ["common"],
defaultNS: "common",
preload: [],
Expand Down
9 changes: 8 additions & 1 deletion src/i18n/locales/ja/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,17 @@
"measurementScale": "測定スケール",
"temperatureScale": "温度目盛",
"themeColor": "テーマカラー",
"text": "設定"
"text": "設定",
"locale": "ロケール"
},
"theme": {
"darkTheme": "ダークテーマ",
"lightTheme": "ライトテーマ"
},
"directions": {
"goBack": "戻る"
},
"general": {
"logo": "ロゴ"
}
}
9 changes: 8 additions & 1 deletion src/i18n/locales/ko/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,17 @@
"measurementScale": "측정 규모",
"temperatureScale": "온도 눈금",
"themeColor": "테마 색상",
"text": "설정"
"text": "설정",
"locale": "장소"
},
"theme": {
"darkTheme": "어두운 테마",
"lightTheme": "밝은 테마"
},
"directions": {
"goBack": "돌아가기"
},
"general": {
"logo": "심벌 마크"
}
}
9 changes: 8 additions & 1 deletion src/i18n/locales/zh/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,17 @@
"measurementScale": "测量尺度",
"temperatureScale": "温标",
"themeColor": "主题色",
"text": "设置"
"text": "设置",
"locale": "语言环境"
},
"theme": {
"darkTheme": "深色主题",
"lightTheme": "浅色主题"
},
"directions": {
"goBack": "回去"
},
"general": {
"logo": "标识"
}
}

0 comments on commit e5b3889

Please sign in to comment.