Add tips for torrent download

This commit is contained in:
FooIbar authored and tarsin committed 2023-01-10 20:30:26 +08:00
1 parent 613d502fc1
commit b2b3e6c485
3 files changed
+6

No files matched your search

@@ -1903,9 +1903,11 @@ public class GalleryDetailScene extends CollapsingToolbarScene implements View.O
if (dm != null) {
try {
dm.enqueue(r);
showTip(R.string.download_torrent_started, LENGTH_SHORT);
} catch (Throwable e) {
e.printStackTrace();
ExceptionUtils.throwIfFatal(e);
showTip(R.string.download_torrent_failure, LENGTH_SHORT);
}
}
}
@@ -178,6 +178,8 @@
<string name="rate_successfully">评分成功</string>
<string name="rate_failed">评分失败</string>
<string name="no_torrents">没有种子</string>
<string name="download_torrent_started">开始下载种子</string>
<string name="download_torrent_failure">无法下载种子</string>
<string name="torrents">种子</string>
<string name="favorited">已收藏</string>
<string name="not_favorited">未收藏</string>
+2
View File
@@ -223,6 +223,8 @@
<string name="rate_successfully">Rate successfully</string>
<string name="rate_failed">Rate failed</string>
<string name="no_torrents">No torrents</string>
<string name="download_torrent_started">Torrent download started</string>
<string name="download_torrent_failure">Failed to download torrent</string>
<string name="torrents">Torrents</string>
<string name="favorited">Favorited</string>
<string name="not_favorited">Not favorited</string>