mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-05-09 15:52:40 +08:00
🧶 完成大部分翻译
This commit is contained in:
@@ -294,7 +294,7 @@ export default {
|
||||
if (i < this.right.listData.length) {
|
||||
this.video.index++
|
||||
} else {
|
||||
this.$message.warning('这是最后一集了.')
|
||||
this.$message.warning(this.$t('last_video'))
|
||||
}
|
||||
},
|
||||
listEvent () {
|
||||
@@ -322,7 +322,7 @@ export default {
|
||||
video.find({ detail: this.video.detail }).then(res => {
|
||||
if (res) {
|
||||
video.remove(this.video.id).then(r => {
|
||||
this.$message.info('删除成功')
|
||||
this.$message.info(this.$t('delete_success'))
|
||||
this.isStar = false
|
||||
})
|
||||
} else {
|
||||
@@ -331,7 +331,7 @@ export default {
|
||||
delete v.id
|
||||
}
|
||||
video.add(v).then(r => {
|
||||
this.$message.success('收藏成功')
|
||||
this.$message.success(this.$t('star_success'))
|
||||
this.isStar = true
|
||||
})
|
||||
}
|
||||
|
||||
@@ -85,7 +85,7 @@ export default {
|
||||
this.$i18n.locale = e
|
||||
this.s.language = e
|
||||
setting.update(this.s).then(res => {
|
||||
this.$message.success('设置成功')
|
||||
this.$message.success(this.$t('set_success'))
|
||||
})
|
||||
},
|
||||
siteClick (e) {
|
||||
@@ -93,7 +93,7 @@ export default {
|
||||
this.show.site = false
|
||||
this.s.site = e
|
||||
setting.update(this.s).then(res => {
|
||||
this.$message.success('设置成功')
|
||||
this.$message.success(this.$t('set_success'))
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
@@ -7,9 +7,9 @@
|
||||
<div class="title">{{ card.name }}</div>
|
||||
<qrcode-vue id="qr" :value="value" :size="160" level="L" />
|
||||
<div class="tips">
|
||||
<p>长按识别二维码, 即可播放.</p>
|
||||
<p>{{$t('qr_tips')}}</p>
|
||||
<p><img src="@/assets/image/logo.png"></p>
|
||||
<p class="zy">『ZY Player』提供技术支持.严禁传播违法资源</p>
|
||||
<p class="zy">{{$t('zy_tips')}}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="share-mask" v-show="loading">
|
||||
|
||||
@@ -26,5 +26,11 @@
|
||||
"sync": "Sync",
|
||||
"total": "Items",
|
||||
"website": "Official Website",
|
||||
"issues": "Issues"
|
||||
"issues": "Issues",
|
||||
"set_success": "Set up successfully.",
|
||||
"delete_success": "Delete successful.",
|
||||
"star_success": "Collection success.",
|
||||
"last_video": "This is the last episode.",
|
||||
"qr_tips": "Long press the QR code to recognize the playback.",
|
||||
"zy_tips": "Prohibit the dissemination of illegal resources."
|
||||
}
|
||||
|
||||
@@ -26,5 +26,11 @@
|
||||
"sync": "同步",
|
||||
"total": "条数据",
|
||||
"website": "官网",
|
||||
"issues": "反馈"
|
||||
"issues": "反馈",
|
||||
"set_success": "设置成功。",
|
||||
"delete_success": "删除成功。",
|
||||
"star_success": "收藏成功。",
|
||||
"last_video": "这已经是最后一集了。",
|
||||
"qr_tips": "长按二维码,识别播放。",
|
||||
"zy_tips": "『ZY Player』技术支持,严禁传播违法资源。"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user