From 5b4ee608b835a473e326049b0e6da35bdf28494a Mon Sep 17 00:00:00 2001 From: seven332 Date: Fri, 18 Mar 2016 21:44:32 +0800 Subject: [PATCH] Add filter tip dialog --- app/src/main/java/com/hippo/ehviewer/ui/FilterActivity.java | 5 ++++- app/src/main/res/values-zh-rCN/strings.xml | 1 + app/src/main/res/values-zh-rHK/strings.xml | 2 ++ app/src/main/res/values-zh-rTW/strings.xml | 2 ++ app/src/main/res/values/strings.xml | 1 + 5 files changed, 10 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/hippo/ehviewer/ui/FilterActivity.java b/app/src/main/java/com/hippo/ehviewer/ui/FilterActivity.java index bbec39c51..ec7f70e2a 100644 --- a/app/src/main/java/com/hippo/ehviewer/ui/FilterActivity.java +++ b/app/src/main/java/com/hippo/ehviewer/ui/FilterActivity.java @@ -128,7 +128,10 @@ public class FilterActivity extends ToolbarActivity { } private void showTipDialog() { - + new AlertDialog.Builder(this) + .setTitle(R.string.filter) + .setMessage(R.string.filter_tip) + .show(); } private void showAddFilterDialog() { diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index 4b7d2b4b0..822011f2e 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -288,6 +288,7 @@ 删除上传者过滤项:%s? 删除标签过滤项:%s? 删除过滤项:%s? + 标题过滤项:排除标题含有该关键字的画廊。\n\n上传者过滤项:排除该上传者上传的画廊。\n\n标签过滤项:排除包含该关键字的画廊,这会使获取画廊列表花费更多时间。 第 %d 页 diff --git a/app/src/main/res/values-zh-rHK/strings.xml b/app/src/main/res/values-zh-rHK/strings.xml index b4e4681a6..2630d4237 100644 --- a/app/src/main/res/values-zh-rHK/strings.xml +++ b/app/src/main/res/values-zh-rHK/strings.xml @@ -288,6 +288,7 @@ 刪除上傳者過濾項:%s? 刪除標籤過濾項:%s? 刪除過濾項:%s? + 標題過濾項:排除標題含有該關鍵字的畫廊。\n\n上傳者過濾項:排除該上傳者上傳的畫廊。\n\n標籤過濾項:排除包含該關鍵字的畫廊,這會使獲取畫廊列表花費更多時間。 第 %d 頁 @@ -371,6 +372,7 @@ 已保存日誌至 %s 清除畫廊下載路徑緩存 畫廊下載路徑可能出錯了,導致重新下載。清除畫廊下載路徑緩存可能解決這個問題。 + 清除畫廊下載路徑緩存? 關於 作者 diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index a2f7ec79d..54a67cbd0 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -288,6 +288,7 @@ 刪除上傳者過濾項:%s? 刪除標籤過濾項:%s? 刪除過濾項:%s? + 標題過濾項:排除標題含有該關鍵字的畫廊。\n\n上傳者過濾項:排除該上傳者上傳的畫廊。\n\n標籤過濾項:排除包含該關鍵字的畫廊,這會使獲取畫廊列表花費更多時間。 第 %d 頁 @@ -371,6 +372,7 @@ 已儲存日誌至 %s 清除畫廊下載路徑快取 畫廊下載路徑可能出錯了,導致重新下載。清除畫廊下載路徑快取可能解決這個問題。 + 清除畫廊下載路徑快取? 關於 作者 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 0a370877f..9fa769486 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -328,6 +328,7 @@ Tip Add filter Filter text + Title Filter: exclude the gallery whose title contains the word.\n\nUploader Filter: exclude the gallery which was uploaded by the uploader.\n\nTag Filter: exclude the gallery which contain the tag, it takes more time to get gallery list. Page %d