Skip to content

Commit

Permalink
Fix 'torrent-downloading' display error
Browse files Browse the repository at this point in the history
  • Loading branch information
MiaoMint committed Aug 30, 2023
1 parent 29204c2 commit 2b431a2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@
"subtitle-none": "No Subtitle",
"subtitle": "Subtitle",
"subtitle-change": "Change Subtitle {title}",
"subtitle-file": "Subtitle File"
"subtitle-file": "Subtitle File",
"torrent-downloading": "Torrent downloading"
},

"comic-settings": {
Expand Down
3 changes: 2 additions & 1 deletion assets/i18n/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@
"subtitle-none": "不使用字幕",
"subtitle": "字幕",
"subtitle-change": "切换字幕 {title}",
"subtitle-file": "选择字幕文件"
"subtitle-file": "选择字幕文件",
"torrent-downloading": "正在下载种子"
},

"reader": {
Expand Down
2 changes: 1 addition & 1 deletion lib/pages/watch/video_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ class VideoPlayerController extends GetxController {

sendMessage(
Message(
Text('video.torrent-download'.i18n),
Text('video.torrent-downloading'.i18n),
),
);
// 下载 torrent
Expand Down

0 comments on commit 2b431a2

Please sign in to comment.