From 7a02103e05281caa5c8dce8a7c4ae839d4780eea Mon Sep 17 00:00:00 2001 From: seven332 Date: Sat, 10 Feb 2018 21:50:22 +0800 Subject: [PATCH] =?UTF-8?q?Close=20#328,=20fix=20Chinese=20language=20dete?= =?UTF-8?q?ction=20Add=20=E4=B8=AD=E5=9B=BD=E7=BF=BB=E8=A8=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/hippo/ehviewer/client/data/GalleryInfo.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/hippo/ehviewer/client/data/GalleryInfo.java b/app/src/main/java/com/hippo/ehviewer/client/data/GalleryInfo.java index f47fbb5d2..3f94a14ab 100644 --- a/app/src/main/java/com/hippo/ehviewer/client/data/GalleryInfo.java +++ b/app/src/main/java/com/hippo/ehviewer/client/data/GalleryInfo.java @@ -63,8 +63,8 @@ public class GalleryInfo implements Parcelable { public static final Pattern[] S_LANG_PATTERNS = { Pattern.compile("[(\\[]eng(?:lish)?[)\\]]", Pattern.CASE_INSENSITIVE), - // [((\[]ch(?:inese)?[))\]]|[汉漢]化|中[国國][语語]|中文 - Pattern.compile("[(\uFF08\\[]ch(?:inese)?[)\uFF09\\]]|[汉漢]化|中[国國][语語]|中文", Pattern.CASE_INSENSITIVE), + // [((\[]ch(?:inese)?[))\]]|[汉漢]化|中[国國][语語]|中文|中国翻訳 + Pattern.compile("[(\uFF08\\[]ch(?:inese)?[)\uFF09\\]]|[汉漢]化|中[国國][语語]|中文|中国翻訳", Pattern.CASE_INSENSITIVE), Pattern.compile("[(\\[]spanish[)\\]]|[(\\[]Español[)\\]]", Pattern.CASE_INSENSITIVE), Pattern.compile("[(\\[]korean?[)\\]]", Pattern.CASE_INSENSITIVE), Pattern.compile("[(\\[]rus(?:sian)?[)\\]]", Pattern.CASE_INSENSITIVE),