i18n: recommendation mode option

This commit is contained in:
Hakadao
2023-04-05 23:41:05 +08:00
parent 26685dbb02
commit e5490dd90f
5 changed files with 22 additions and 7 deletions

View File

@@ -21,9 +21,13 @@ settings:
mandarin_cn: 官话
mandarin_tw: 官話
jyut: 廣東話
recommendation_mode: 推荐模式
recommendation_mode_desc: >
如果您想使用 app 端的推荐算法,请先授权 BewlyBewly 使用 access key。
authorize_app: 授权 BewlyBewly 使用 access key
authorize_app_desc: |
授权使用后能在首页推送 bilibili App 端算法的推荐视频,授权 key 有效期约为一个月,过后记得重新授权获取 access key。
authorize_app_more_info_access_key: 关于 access key
topbar_visible: 顶栏可见性
topbar_visible_desc: 用于兼容 Bilibili Evolved 自定义顶栏
btn:

View File

@@ -21,9 +21,13 @@ settings:
mandarin_cn: 官话
mandarin_tw: 官話
jyut: 廣東話
recommendation_mode: 推薦模式
recommendation_mode_desc: >
如果您想要使用手機端的推薦演算法,請先授權 BewlyBewly 使用存取 access key。
authorize_app: 授權 BewlyBewly 使用 access key
authorize_app_desc: |
授權使用後能在首頁推送 bilibili 手機端推介演算法的影片,授權金鑰的有效期約爲一個月,過了有效期後,請記得重新取得授權以取得存取金鑰 (access key)
授權使用後能在首頁推送 bilibili 手機端推介演算法的影片,授權 key 的有效期約爲一個月,過了有效期後,請記得重新取得授權以取得存取 access key。
authorize_app_more_info_access_key: 關於 access key
topbar_visible: 頂欄可視性
topbar_visible_desc: 用於相容 Bilibili Evolved 的客製化頂欄
btn:

View File

@@ -21,10 +21,14 @@ settings:
mandarin_cn: Mandarin - Simplified Chinese
mandarin_tw: Mandarin - Traditional Chinese
jyut: Cantonese
recommendation_mode: Recommendation mode
recommendation_mode_desc: >
If you want to use the recommendation algorithm on the app, please ensure that you authorize the BewlyBewly to use the access key first.
authorize_app: Authorize the BewlyBewly to use the access key
authorize_app_desc: >
After authentication, you will receive the video recommendations based on the bilibili app recommendation algorithm.
The access key is valid for about one month. After that, remember to re-authorize the BewlyBewly to use the access key.
authorize_app_more_info_access_key: More information about the access key
topbar_visible: Topbar visible
topbar_visible_desc: Compatible with Bilibili Evolved customize topbar
btn:

View File

@@ -21,10 +21,14 @@ settings:
mandarin_cn: 官话
mandarin_tw: 官話
jyut: 廣東話
recommendation_mode: 推介模式
recommendation_mode_desc: >
若然你想用手機版嘅推介演算法,就要俾 BewlyBewly 批准使用存取 access key。
authorize_app: 授權 BewlyBewly 使用 access key
authorize_app_desc: |
授咗權嘅話,你就會收到基於 bilibili 行動端程式推介演算法所推介嘅內容,兼且授權金鑰只有約一個月有效期,到期後記得要重新授權嚟取得存取金鑰 (access key)
topbar_visible: 頂欄可睇性
授咗權嘅話,你就會收到基於 bilibili 手機版推介演算法所推介嘅內容,兼且授權 key 只有約一個月有效期,到期後記得要重新授權嚟取得存取 access key。
authorize_app_more_info_access_key: 關於 access key
topbar_visible: 頂欄可視性
topbar_visible_desc: 用於兼容 Bilibili Evolved 客製化頂欄
btn:
authorize: 授權

View File

@@ -132,11 +132,10 @@ function changeThemeColor(color: string) {
<div class="settings-item">
<div>
Recommendation mode
{{ $t('settings.recommendation_mode') }}
<br>
<span class="desc">
I strongly believe that the algorithm recommendation on the app will be better than that on the web.
If you want to use the recommendation algorithm on the app, please ensure that you authorize the BewlyBewly to use the access key first.
{{ $t('settings.recommendation_mode_desc') }}
</span>
</div>
@@ -175,7 +174,7 @@ function changeThemeColor(color: string) {
<br>
<a
href="https://github.com/indefined/UserScripts/tree/master/bilibiliHome#%E6%8E%88%E6%9D%83%E8%AF%B4%E6%98%8E" target="_blank" un-text="$bew-theme-color"
>More information about the access key</a>
>{{ $t('settings.authorize_app_more_info_access_key') }}</a>
</span>
</div>
<button