Commit 994f54a

HPCesia <me@hpcesia.com>
2025-02-17 06:38:17
feat: add time key for i18n support
1 parent d60f40b
Changed files (4)
src/i18n/langs/en.ts
@@ -7,6 +7,7 @@ export const en: Translation = {
   [Key.archive]: 'Archive',
   [Key.search]: 'Search',
   [Key.links]: 'Links',
+  [Key.time]: 'Time',
 
   [Key.tags]: 'Tags',
   [Key.categories]: 'Categories',
src/i18n/langs/zh_CN.ts
@@ -7,6 +7,7 @@ export const zh_CN: Translation = {
   [Key.archive]: '归档',
   [Key.search]: '搜索',
   [Key.links]: '友链',
+  [Key.time]: '时间',
 
   [Key.tags]: '标签',
   [Key.categories]: '分类',
src/i18n/langs/zh_TW.ts
@@ -7,6 +7,7 @@ export const zh_TW: Translation = {
   [Key.archive]: '彙整',
   [Key.search]: '搜尋',
   [Key.links]: '連結',
+  [Key.time]: '時間',
 
   [Key.tags]: '標籤',
   [Key.categories]: '分類',
src/i18n/I18nKey.ts
@@ -4,6 +4,7 @@ enum I18nKey {
   archive = 'archive',
   search = 'search',
   links = 'links',
+  time = 'time',
 
   tags = 'tags',
   categories = 'categories',