From c03b33fe2f826c95c34a52615d74159b1f1e2ea0 Mon Sep 17 00:00:00 2001 From: seven332 Date: Mon, 21 Mar 2016 20:56:24 +0800 Subject: [PATCH] Add search tip --- app/src/main/java/com/hippo/ehviewer/widget/SearchLayout.java | 4 +++- app/src/main/res/values-zh-rCN/strings.xml | 2 ++ 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 | 2 ++ 5 files changed, 11 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/hippo/ehviewer/widget/SearchLayout.java b/app/src/main/java/com/hippo/ehviewer/widget/SearchLayout.java index 927f1efe8..d2c916f6d 100644 --- a/app/src/main/java/com/hippo/ehviewer/widget/SearchLayout.java +++ b/app/src/main/java/com/hippo/ehviewer/widget/SearchLayout.java @@ -280,7 +280,9 @@ public class SearchLayout extends EasyRecyclerView implements CompoundButton.OnC @Override public void onClick(View v) { if (mNormalSearchModeHelp == v) { - new AlertDialog.Builder(getContext()).setTitle("TODO").setMessage("TODO").show(); + new AlertDialog.Builder(getContext()) + .setMessage(R.string.search_tip) + .show(); } } diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index 0d01fbda5..8c53793ea 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -113,6 +113,8 @@ 指定画廊 启用高级选项 + 一般搜索:就是搜索。\n\n指定上传者:列出该上传者上传的画廊。其他选项会被忽略。\n\n指定标签:列出含有该标签的画廊。其他选项会被忽略。\n\n指定画廊:跳转至该画廊。关键字应为“gid token”。 + 搜索画廊 搜索画廊标签 搜索画廊描述 diff --git a/app/src/main/res/values-zh-rHK/strings.xml b/app/src/main/res/values-zh-rHK/strings.xml index ae9b2c795..273a37d41 100644 --- a/app/src/main/res/values-zh-rHK/strings.xml +++ b/app/src/main/res/values-zh-rHK/strings.xml @@ -113,6 +113,8 @@ 指定畫廊 啟用高級選項 + 一般搜索:就是搜索。\n\n指定上傳者:列出該上傳者上傳的畫廊。其他選項會被忽略。\n\n指定標籤:列出含有該標籤的畫廊。其他選項會被忽略。\n\n指定畫廊:跳轉至該畫廊。關鍵字應為“gid token”。 + 搜索畫廊 搜索畫廊標籤 搜索畫廊描述 diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index 92ce36173..2a0e0f1a6 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -113,6 +113,8 @@ 指定畫廊 啟用高階選項 + 一般搜尋:就是搜尋。\n\n指定上傳者:列出該上傳者上傳的畫廊。其他選項會被忽略。\n\n指定標籤:列出含有該標籤的畫廊。其他選項會被忽略。\n\n指定畫廊:跳轉至該畫廊。關鍵字應為“gid token”。 + 搜尋畫廊 搜尋畫廊標籤 搜尋畫廊描述 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 8943d9c0b..04450eb37 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -155,6 +155,8 @@ Specify gallery Enable advance options + Normal search: Just search.\n\nSpecify uploader: List galleries which uploaded by the uploader. Other options will be ignored.\n\nSpecify tag: List galleries which contains the tag. Only one tag accepted. Other options will be ignored.\n\nSpecify gallery: Go to the gallery. The keyword should be \"gid token\". + Search Gallery Search Gallery Tags Search Gallery Description