Browse Source

feat(sub): i18n for sub lang(todo)

yuusora 3 years ago
parent
commit
8c56146fef
1 changed files with 15 additions and 0 deletions
  1. 15 0
      src/js/i18n.js

+ 15 - 0
src/js/i18n.js

@@ -56,9 +56,14 @@ const tranTxt = {
         s: '秒',
         'Show subtitle': '显示字幕',
         'Hide subtitle': '隐藏字幕',
+        Subtitle: '字幕',
         Volume: '音量',
         Live: '直播',
         'Video info': '视频统计信息',
+        Off: '关闭',
+        'zh-CN': '简体中文',
+        'zh-TW': '繁体中文',
+        'en-US': '英语',
     },
     'zh-tw': {
         'Danmaku is loading': '彈幕載入中',
@@ -96,9 +101,19 @@ const tranTxt = {
         s: '秒',
         'Show subtitle': '顯示字幕',
         'Hide subtitle': '隱藏字幕',
+        Subtitle: '字幕',
         Volume: '音量',
         Live: '直播',
         'Video info': '影片統計訊息',
+        Off: '關閉',
+        'zh-CN': '簡體中文',
+        'zh-TW': '繁體中文',
+        'en-US': '英語',
+    },
+    'en-us': {
+        'zh-CN': 'Chinese(Simplified)',
+        'zh-TW': 'Chinese(Traditional)',
+        'en-US': 'English(US)',
     },
 };