diff --git a/app/src/main/java/com/hippo/ehviewer/ui/scene/GalleryListScene.java b/app/src/main/java/com/hippo/ehviewer/ui/scene/GalleryListScene.java index 0394435fc..263f89a33 100644 --- a/app/src/main/java/com/hippo/ehviewer/ui/scene/GalleryListScene.java +++ b/app/src/main/java/com/hippo/ehviewer/ui/scene/GalleryListScene.java @@ -506,7 +506,6 @@ public final class GalleryListScene extends BaseScene mViewTransition = new ViewTransition(contentLayout, mSearchLayout); mHelper = new GalleryListHelper(); - mHelper.setEmptyString(resources.getString(R.string.gallery_list_empty_hit)); contentLayout.setHelper(mHelper); contentLayout.getFastScroller().setOnDragHandlerListener(this); @@ -1454,6 +1453,11 @@ public final class GalleryListScene extends BaseScene private void onGetGalleryListSuccess(GalleryListParser.Result result, int taskId) { if (mHelper != null && mSearchBarMover != null && mHelper.isCurrentTask(taskId)) { + // TODO tell the difference between no result and subscribed tags + String emptyString = getResources2().getString(mUrlBuilder.getMode() == ListUrlBuilder.MODE_SUBSCRIPTION + ? R.string.gallery_list_empty_hit_subscription + : R.string.gallery_list_empty_hit); + mHelper.setEmptyString(emptyString); mHelper.setPages(taskId, result.pages); mHelper.onGetPageData(taskId, result.nextPage, result.galleryInfoList); } diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index 4ac95fc42..14408ce16 100755 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -124,6 +124,7 @@ 搜索 E-Hentai 打开画廊 什么都没有找到 + 请至 设置->EH->我的标签 订阅标签 搜索 diff --git a/app/src/main/res/values-zh-rHK/strings.xml b/app/src/main/res/values-zh-rHK/strings.xml index 881fcd37e..66968ec91 100755 --- a/app/src/main/res/values-zh-rHK/strings.xml +++ b/app/src/main/res/values-zh-rHK/strings.xml @@ -124,6 +124,7 @@ 搜索 E-Hentai 打開畫廊 什麼都沒有找到 + 請至 設置->EH->我的標籤 訂閲標籤 搜索 diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index c2ebcd4b7..a4610f049 100755 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -124,6 +124,7 @@ 在 E-Hentai 搜尋 開啟圖庫 什麼都沒找到 + 請至 設定->EH->我的標籤 訂閱標籤 搜尋 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 28df16f25..b1c410707 100755 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -166,6 +166,7 @@ Search E-Hentai Open the gallery The World is Big and the panda sit alone + Subscribe to tags in Settings->EH->My tags Search