diff --git a/frontend/public/static/img/tutorial/tutorial-1.png b/frontend/public/static/img/tutorial/tutorial-1.png index 0550a99..1e5ee32 100644 Binary files a/frontend/public/static/img/tutorial/tutorial-1.png and b/frontend/public/static/img/tutorial/tutorial-1.png differ diff --git a/frontend/public/static/img/tutorial/tutorial-2.png b/frontend/public/static/img/tutorial/tutorial-2.png index d8e41cf..765127a 100644 Binary files a/frontend/public/static/img/tutorial/tutorial-2.png and b/frontend/public/static/img/tutorial/tutorial-2.png differ diff --git a/frontend/src/lang/en.js b/frontend/src/lang/en.js index d94dc20..636d4e0 100644 --- a/frontend/src/lang/en.js +++ b/frontend/src/lang/en.js @@ -10,12 +10,14 @@ export default { roomIdEmpty: "Room ID can't be empty", roomIdInteger: 'Room ID must be positive integer', authCodeEmpty: "Identity code can't be empty", + authCodeFormatError: 'Identity code format error', useAuthCodeWarning: 'Please prioritize the identity code', general: 'General', room: 'Room', roomId: 'Room ID', authCode: 'Identity code', + howToGetAuthCode: 'How to get identity code', showDanmaku: 'Show messages', showGift: 'Show Super Chats', showGiftName: 'Show gift name', @@ -134,7 +136,8 @@ export default { }, help: { help: 'Help', - p1: '1. Copy the identity code (身份码) from the webpage where you start streaming', + p1_1: '1. Copy the identity code (身份码) from this webpage:', + p1_2: '. NOTE: DO NOT refresh the identity code, unless it is leaked. Once you refresh the identity code, the old one will be invalid', p2: '2. Enter the identity code into the room configuration on the home page. Copy the room URL', p3: '3. Generate styles with the style generator. Copy the CSS', p4: '4. Add browser source in OBS', diff --git a/frontend/src/lang/ja.js b/frontend/src/lang/ja.js index e6da0d5..90be9a8 100644 --- a/frontend/src/lang/ja.js +++ b/frontend/src/lang/ja.js @@ -10,12 +10,14 @@ export default { roomIdEmpty: 'ルームのIDを空白にすることはできません', roomIdInteger: 'ルームは正の整数でなければなりません', authCodeEmpty: 'アイデンティティコードを空白にすることはできません', + authCodeFormatError: 'アイデンティティコードの形式エラー', useAuthCodeWarning: 'アイデンティティコードを優先的に使用してください', general: '常規', room: 'ルーム', roomId: 'ルームID', authCode: 'アイデンティティコード', + howToGetAuthCode: 'アイデンティティコードの取得方法', showDanmaku: 'コメントを表示する', showGift: 'スーパーチャットと新メンバーを表示する', showGiftName: 'ギフト名を表示する', @@ -134,7 +136,8 @@ export default { }, help: { help: 'ヘルプ', - p1: '1. ビリビリの生放送を始めるのウェブからアイデンティティコード(身份码)をこぴーする', + p1_1: '1. このウェブページからアイデンティティコード(身份码)をコピーして:', + p1_2: '。注意:アイデンティティコードは漏洩していない限り、更新しないでください。アイデンティティコードを更新すると、古いコードは無効になります', p2: '2. ホームページに先ほどコピーしたアイデンティティコードを入力して、ルームのURLをこぴーする', p3: '3. スタイルジェネレータでお好みのコメント様子を選び、出力したCSSをコピーする', p4: '4. OBSでブラウザを新規作成する', diff --git a/frontend/src/lang/zh.js b/frontend/src/lang/zh.js index 36c4a5e..2104cee 100644 --- a/frontend/src/lang/zh.js +++ b/frontend/src/lang/zh.js @@ -10,12 +10,14 @@ export default { roomIdEmpty: '房间ID不能为空', roomIdInteger: '房间ID必须为正整数', authCodeEmpty: '身份码不能为空', + authCodeFormatError: '身份码格式错误', useAuthCodeWarning: '请优先使用身份码', general: '常规', room: '房间', roomId: '房间ID', authCode: '身份码', + howToGetAuthCode: '如何获取身份码', showDanmaku: '显示弹幕', showGift: '显示打赏和新舰长', showGiftName: '显示礼物名', @@ -134,7 +136,8 @@ export default { }, help: { help: '帮助', - p1: '1. 从开始直播的页面复制身份码', + p1_1: '1. 从这个页面复制身份码:', + p1_2: '。注意:不要刷新身份码,除非你的身份码泄露了,因为刷新身份码会使旧的身份码失效', p2: '2. 把身份码输入到首页的房间配置,复制房间URL', p3: '3. 使用样式生成器生成样式,复制CSS', p4: '4. 在OBS中添加浏览器源', diff --git a/frontend/src/main.js b/frontend/src/main.js index 7c0e8d9..240d827 100644 --- a/frontend/src/main.js +++ b/frontend/src/main.js @@ -2,7 +2,7 @@ import Vue from 'vue' import VueRouter from 'vue-router' import { Aside, Autocomplete, Badge, Button, ButtonGroup, Card, Col, ColorPicker, Container, Divider, Form, FormItem, Image, - Input, Main, Menu, MenuItem, Message, Option, OptionGroup, Radio, RadioGroup, Row, Select, Scrollbar, + Input, Link, Main, Menu, MenuItem, Message, Option, OptionGroup, Radio, RadioGroup, Row, Select, Scrollbar, Slider, Submenu, Switch, Table, TableColumn, TabPane, Tabs, Tooltip } from 'element-ui' import axios from 'axios' @@ -34,6 +34,7 @@ Vue.use(Form) Vue.use(FormItem) Vue.use(Image) Vue.use(Input) +Vue.use(Link) Vue.use(Main) Vue.use(Menu) Vue.use(MenuItem) diff --git a/frontend/src/views/Help.vue b/frontend/src/views/Help.vue index 9b3e924..77fce3e 100644 --- a/frontend/src/views/Help.vue +++ b/frontend/src/views/Help.vue @@ -1,7 +1,7 @@