From 01551475a862b946083170b89bb0b3dce5c3a80a Mon Sep 17 00:00:00 2001
From: wangjiahao <1522128093@qq.com>
Date: Mon, 26 Dec 2022 15:13:14 +0800
Subject: [PATCH] =?UTF-8?q?refactor(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20?=
=?UTF-8?q?=E5=AA=92=E4=BD=93=E9=93=BE=E6=8E=A5=E8=AE=BE=E7=BD=AE=E7=AD=89?=
=?UTF-8?q?=E6=8F=90=E7=A4=BA=E6=96=87=E6=A1=88=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../canvas/customComponent/DeFrame.vue | 7 +-
.../canvas/customComponent/DeStreamMedia.vue | 90 ++++++++++---------
.../canvas/customComponent/DeVideo.vue | 35 ++++----
frontend/src/lang/en.js | 6 +-
frontend/src/lang/tw.js | 6 +-
frontend/src/lang/zh.js | 6 +-
6 files changed, 76 insertions(+), 74 deletions(-)
diff --git a/frontend/src/components/canvas/customComponent/DeFrame.vue b/frontend/src/components/canvas/customComponent/DeFrame.vue
index c97b0d81f1..6a29cd9c0e 100644
--- a/frontend/src/components/canvas/customComponent/DeFrame.vue
+++ b/frontend/src/components/canvas/customComponent/DeFrame.vue
@@ -44,11 +44,8 @@
v-else
class="info-class"
>
- {{ $t('panel.web_add_tips_pre') }}
-
+ {{ $t('panel.link_add_tips_pre') }}
+
{{ $t('panel.web_add_tips_suf') }}
diff --git a/frontend/src/components/canvas/customComponent/DeStreamMedia.vue b/frontend/src/components/canvas/customComponent/DeStreamMedia.vue
index 7b647099dd..0ca7865460 100644
--- a/frontend/src/components/canvas/customComponent/DeStreamMedia.vue
+++ b/frontend/src/components/canvas/customComponent/DeStreamMedia.vue
@@ -32,7 +32,9 @@
v-else
class="info-stream-class"
>
- {{ $t('panel.stream_media_add_tips') }}
+ {{ $t('panel.link_add_tips_pre') }}
+
+ {{ $t('panel.stream_media_add_tips') }}
@@ -145,7 +147,7 @@ export default {
}
},
destroyPlayer() {
- // Destroy
+ // Destroy
if (this.flvPlayer) {
this.flvPlayer.pause()
this.flvPlayer.destroy()
@@ -157,53 +159,53 @@ export default {
diff --git a/frontend/src/components/canvas/customComponent/DeVideo.vue b/frontend/src/components/canvas/customComponent/DeVideo.vue
index 5a5970e707..c741c3c423 100644
--- a/frontend/src/components/canvas/customComponent/DeVideo.vue
+++ b/frontend/src/components/canvas/customComponent/DeVideo.vue
@@ -26,7 +26,9 @@
v-else
class="info-class"
>
- {{ $t('panel.video_add_tips') }}
+ {{ $t('panel.link_add_tips_pre') }}
+
+ {{ $t('panel.video_add_tips') }}
@@ -139,20 +141,21 @@ export default {
diff --git a/frontend/src/lang/en.js b/frontend/src/lang/en.js
index 85afce9cbd..96c9b23c63 100644
--- a/frontend/src/lang/en.js
+++ b/frontend/src/lang/en.js
@@ -2039,7 +2039,7 @@ export default {
yes: 'Yes',
no: 'No',
live_tips: 'User Https First',
- stream_media_add_tips: 'Please Add Stream Media Info...',
+ stream_media_add_tips: 'And Add Stream Media Info...',
stream_mobile_tips: 'IOS terminal may not display',
json_params_error: 'Third Party Parameters Parsing Failed. Please Check Whether The Parameters Format Is Correct',
inner_padding: 'Inner Padding',
@@ -2272,8 +2272,8 @@ export default {
play_circle: 'Circle',
video_links: 'Video Links',
web_url: 'Web URL',
- video_add_tips: 'Please Add Video Info...',
- web_add_tips_pre: 'Please click',
+ video_add_tips: 'And Video Info...',
+ link_add_tips_pre: 'Please click',
web_add_tips_suf: 'Add Web Url Info...',
panel_view_result_show: 'View Result',
panel_view_result_tips: 'Chose "Panel" Will Overwrite View`s Result,Range 1~10000',
diff --git a/frontend/src/lang/tw.js b/frontend/src/lang/tw.js
index a42e5e77b3..71b5d50f4a 100644
--- a/frontend/src/lang/tw.js
+++ b/frontend/src/lang/tw.js
@@ -2033,7 +2033,7 @@ export default {
yes: '是',
no: '否',
live_tips: '優先HTTPS鏈接',
- stream_media_add_tips: '請點擊添加配置流媒體信息...',
+ stream_media_add_tips: '添加流媒體信息...',
stream_mobile_tips: 'IOS終端可能無法顯示',
json_params_error: '第三方參數解析失敗,請檢查參數格式是否正確',
inner_padding: '內邊距',
@@ -2266,8 +2266,8 @@ export default {
play_circle: '循環播放',
video_links: '視頻鏈接',
web_url: '網頁地址',
- video_add_tips: '請點擊添加配置視頻信息...',
- web_add_tips_pre: '請點擊上方',
+ video_add_tips: '添加視頻信息...',
+ link_add_tips_pre: '請點擊上方',
web_add_tips_suf: '添加網頁信息...',
panel_view_result_show: '視圖結果',
panel_view_result_tips: '選擇儀表闆會覆蓋視圖的結果展示數量,取值範圍1~10000',
diff --git a/frontend/src/lang/zh.js b/frontend/src/lang/zh.js
index 0bc79e37fc..900b91a444 100644
--- a/frontend/src/lang/zh.js
+++ b/frontend/src/lang/zh.js
@@ -2033,7 +2033,7 @@ export default {
yes: '是',
no: '否',
live_tips: '优先HTTPS链接',
- stream_media_add_tips: '请点击添加配置流媒体信息...',
+ stream_media_add_tips: '添加流媒体信息...',
stream_mobile_tips: 'IOS终端可能无法显示',
json_params_error: '第三方参数解析失败,请检查参数格式是否正确',
inner_padding: '内边距',
@@ -2266,8 +2266,8 @@ export default {
play_circle: '循环播放',
video_links: '视频链接',
web_url: '网页地址',
- video_add_tips: '请点击添加配置视频信息...',
- web_add_tips_pre: '请点击上方',
+ video_add_tips: '添加视频信息...',
+ link_add_tips_pre: '请点击上方',
web_add_tips_suf: '添加网页信息...',
panel_view_result_show: '视图结果',
panel_view_result_tips: '选择仪表板会覆盖视图的结果展示数量,取值范围1~10000',