Compare commits

...
168 Commits
Author SHA1 Message Date
seven332 185ae6beb4 1.1.0 2018-09-16 22:18:06 +08:00
seven332 d84376e4dc Google style reorder icon 2018-09-16 22:12:26 +08:00
seven332 dcc6af3367 Update local favourites count 2018-09-14 19:48:48 +08:00
seven332 1cd8ef1b47 Back up gallery list moved from local favourites to cloud favourites 2018-09-14 19:35:02 +08:00
seven332 f8c5caf6bc Don't throw null exception 2018-09-14 19:15:39 +08:00
seven332 8e84b5b67b Update libraries 2018-09-14 13:33:32 +08:00
seven332 dc697af081 Show identity cookies 2018-09-14 13:32:03 +08:00
seven332 a69f36b652 Don't cache gif while reading
Update GLGallery
2018-09-02 14:53:33 +08:00
seven332 d5c788fe80 Add resetting reading progress 2018-09-02 01:25:43 +08:00
seven332 021fe45c8d Fix string format in zh-rTW translation 2018-09-01 20:56:43 +08:00
seven332 18881e549f Save gallery toke to saved filename 2018-08-15 21:54:35 +08:00
seven332 ed2f3510d8 Android Studio 3.1.4 2018-08-07 14:02:04 +08:00
seven332 5290340b97 Show gallery pages 2018-08-06 13:25:12 +08:00
hzy980512 9514d42032 Fix translations 2018-07-31 10:38:23 +08:00
hzy980512 2cc140eaf4 Translations fix 2018-07-31 10:38:23 +08:00
hzy980512 c4934fc89e Fix translations 2018-07-31 10:38:23 +08:00
seven332 7feb5552c1 Always print errors in EhEngine 2018-07-30 10:03:24 +08:00
seven332 fce659c41c Fix error_bad_status_code chinese string 2018-07-23 19:13:53 +08:00
seven332 2e899f5fa8 SSLException is network error 2018-07-20 14:03:43 +08:00
hzy980512 4580d781db Correct a typo 2018-07-18 12:14:16 +08:00
hzy980512 6fdab6f89c Fix a typo 2018-07-18 12:14:16 +08:00
hzy980512 145b6523e9 Fixed grammar 2018-07-18 12:14:16 +08:00
hzy980512 1d03d35685 Fix translation 2018-07-18 12:14:16 +08:00
hzy980512 71396bc632 Fix translation 2018-07-18 12:14:16 +08:00
hzy980512 511d70838a Fix more translations 2018-07-18 12:14:16 +08:00
hzy980512 1e31052767 Some fixes 2018-07-18 12:14:16 +08:00
hzy980512 e1c88c53f3 Some more corrections 2018-07-18 12:14:16 +08:00
hzy980512 de16081c79 Some corrections 2018-07-18 12:14:16 +08:00
hzy980512 e9d1ce1720 Some corrections 2018-07-18 12:14:16 +08:00
hzy980512 3bce3c41f2 Some corrections 2018-07-18 12:14:16 +08:00
hzy980512 c71729c560 Correcting sentences 2018-07-18 12:14:16 +08:00
seven332 3cbf5d0a8f Disable no media file checker at during startup 2018-07-16 13:56:07 +08:00
hzy980512 6f99f5a226 Fix translations 2018-07-12 16:48:34 +08:00
hzy980512 252dcb6175 Corrections 2018-07-12 16:48:34 +08:00
hzy980512 72971341b2 Corrections 2018-07-12 16:48:34 +08:00
hzy980512 32f4205240 Improved 2018-07-12 16:48:34 +08:00
hzy980512 36e66a8714 Grammar fix 2018-07-12 16:48:34 +08:00
hzy980512 7ee1777e7b More fixes of errors 2018-07-12 16:48:34 +08:00
hzy980512 d8dc9ad576 Fix of translation 2018-07-11 22:17:20 +08:00
hzy980512 8ae8842f81 A little fix of translation 2018-07-11 21:31:35 +08:00
hzy980512 ddb82292f9 Update strings.xml 2018-07-11 21:31:35 +08:00
hzy980512 83ade321bb A little fix 2018-07-11 21:31:35 +08:00
hzy980512 a4ea8a6bfc Add support for French and German translations 2018-07-11 21:31:35 +08:00
hzy980512 2d32852d18 Update Spanish translations (partly) 2018-07-11 21:31:35 +08:00
hzy980512 3ef3510ad3 Fix crash when there's an image in clipboard 2018-07-11 21:31:35 +08:00
hzy980512 82cb0eb7d6 Add strings for language switcher 2018-07-11 21:31:35 +08:00
hzy980512 2c428d3306 Add new languages to language switcher 2018-07-11 21:31:35 +08:00
hzy980512 5fa9e8677d Improve English translation 2018-07-11 21:31:35 +08:00
hzy980512 b57abfdc57 Add French and German translations 2018-07-11 21:31:35 +08:00
hzy980512 2f7906d3db Correct errors and update Japanese translation 2018-07-11 21:31:35 +08:00
seven332 d56f86b47e Show password toggle 2018-07-02 19:25:25 +08:00
seven332 e558be2b89 Disable clipboard check if the top scene is solid 2018-06-25 14:53:33 +08:00
seven332 66cab7b41e Close #417, click error text to refresh 2018-06-25 13:55:49 +08:00
seven332 4f431bb7ea Check ClipData null 2018-06-22 15:37:24 +08:00
seven332 d411623da6 Only save the hash code of the text in the clipboard 2018-06-21 13:42:53 +08:00
seven332 d121e839c9 Close #312, read gallery link from clipboard 2018-06-14 20:28:31 +08:00
seven332 c397bd0211 Close #276, save drawer view state 2018-06-13 15:18:48 +08:00
seven332 ec2782ddad Android Studio 3.1.3 2018-06-11 21:52:40 +08:00
scese250 6b6a60ae02 Updated spanish translation
Translated new options and updated some texts.

Thanks for keep working in this great app!!
2018-06-07 18:55:10 +08:00
seven332 f870674bd2 Use intent chooser when sharing 2018-06-05 21:03:59 +08:00
seven332 6af75a9758 1.0.30 2018-06-04 11:07:40 +08:00
seven332 e4fc925b04 Fix preview page estimation 2018-05-24 20:11:05 +08:00
seven332 2262779ba0 Close #396, fix preload pages calculation 2018-05-10 20:32:16 +08:00
lilymaniac b52cd2a619 Update Korean localization
Catch up to commit 8bad20e58c ("add option of disable auto update").
2018-05-02 22:03:06 +08:00
onlymash 8bad20e58c add option of disable auto update 2018-05-02 13:03:56 +08:00
seven332 30ca44b9c6 Android Studio 3.1.2 2018-04-28 22:47:30 +08:00
seven332 cf43ed965e Add Filter.hashCode() 2018-04-28 22:47:01 +08:00
onlymash dab29819bd make gradlew executable for linux 2018-04-28 22:29:50 +08:00
seven332 5fb090f241 No more mandatory check on igneous field 2018-04-20 09:15:59 +08:00
onlymash ff84c63445 update fav drawer 2018-04-10 22:13:37 +08:00
onlymash 140ace739e update support libs 2018-04-10 22:13:37 +08:00
onlymash 5f8c078367 rename recyclerview drawer layout 2018-04-10 22:13:37 +08:00
onlymash faddb37557 save favorites count 2018-04-10 22:13:37 +08:00
onlymash 5d8fe06d5c fix favories layout & count issue 2018-04-10 22:13:37 +08:00
seven332 2e34913c7d Android Studio 3.1.1 2018-04-10 22:10:10 +08:00
onlymash 6cc607469b update favorites list layout 2018-04-08 12:10:12 +08:00
onlymash 26eff55e6d update favorites right drawer layout 2018-04-08 12:10:12 +08:00
PYC 9a5743dd67 Correct the japanese sentence. 2018-04-02 12:02:32 +08:00
onlymash 0b547147b1 fix judgment issue 2018-04-02 11:56:56 +08:00
onlymash 6bd3bd5e80 fix judgment issue 2018-04-02 11:56:56 +08:00
onlymash af93a6730e update shortcut background 2018-03-29 19:30:58 +08:00
onlymash 27e4bd4e0b merge background color to color.xml 2018-03-29 19:30:58 +08:00
onlymash 459b27253a redraw shortcut icon 2018-03-29 19:30:58 +08:00
onlymash bb99570cd4 update shortcut foreground icon inset 2018-03-29 19:30:58 +08:00
onlymash 3f2b62c119 restore unifile 2018-03-29 19:30:58 +08:00
onlymash 91e9975a24 update shortcut 2018-03-29 19:30:58 +08:00
onlymash 00485efd0e update shortcut 2018-03-29 19:30:58 +08:00
onlymash c5d56243e0 update shortcut icon 2018-03-29 19:30:58 +08:00
onlymash b8c3229d9f add license to shortcut icon 2018-03-29 19:30:58 +08:00
onlymash 8cf935accc fix shortcuts 2018-03-29 19:30:58 +08:00
onlymash 2cf5589369 shortcuts: update icons 2018-03-29 19:30:58 +08:00
onlymash 89addaf211 update unifile 2018-03-29 19:30:58 +08:00
onlymash f5409c7b8a update shortcut 2018-03-29 19:30:58 +08:00
onlymash 733ddb5964 remove process 2018-03-29 19:30:58 +08:00
onlymash 537380eeb7 update shortcut categories 2018-03-29 19:30:58 +08:00
onlymash e44473f26b clean import 2018-03-29 19:30:58 +08:00
onlymash a503832016 update app shortcuts 2018-03-29 19:30:58 +08:00
onlymash 4935995342 update manifest 2018-03-29 19:30:58 +08:00
onlymash a367373c87 add shortcut icon for android 7.1 2018-03-29 19:30:58 +08:00
onlymash 62cd2e4809 add app shortcuts 2018-03-29 19:30:58 +08:00
seven332 7df7defa92 Save the images, which will be shared, to temp dir 2018-03-28 09:35:17 +08:00
seven332 56b42c67d5 Fix gallery favorite block 2018-03-27 18:06:05 +08:00
seven332 d1afcc2f54 Fix the parsing, language to Local 2018-03-27 17:09:09 +08:00
seven332 f6b05ed42b Fix strings 2018-03-27 16:51:01 +08:00
seven332 095334d338 Recreate all activities after changing app language 2018-03-27 14:01:05 +08:00
seven332 dac0ef178d Add RecordingApplication 2018-03-27 13:59:35 +08:00
seven332 c23a502e9e Add app language option 2018-03-27 13:40:58 +08:00
seven332 5ddd652076 Ignore past error while reading 2018-03-27 10:53:45 +08:00
seven332 3f9e3f620d Android Studio 3.1.0 2018-03-27 10:29:50 +08:00
seven332 1c62fe9615 1.0.29 2018-03-26 22:46:55 +08:00
seven332 8703102c97 Update UniFile 2018-03-26 22:45:45 +08:00
onlymash 28ab591769 update showPageDialog 2018-03-26 20:42:12 +08:00
onlymash 8cc2bfbced dynamically add dialog items 2018-03-26 20:42:12 +08:00
onlymash 7612dde6d4 clean string.xml 2018-03-26 20:42:12 +08:00
onlymash 5188fe7170 only show 'Save to...' at KiKat or higher 2018-03-26 20:42:12 +08:00
onlymash c31048e829 clean import 2018-03-26 20:42:12 +08:00
onlymash 44629bb405 support image custom save 2018-03-26 20:42:12 +08:00
seven332 3e387b1833 1.0.28 2018-03-26 18:24:03 +08:00
seven332 080693656a Update adaptive icon 2018-03-26 17:56:25 +08:00
seven332 bc5479fa96 Add built-in hosts 2018-03-26 12:02:44 +08:00
seven332 b95892d3b6 Use "Custom hosts.txt" to distinguish "built-in" and "custom" 2018-03-26 11:07:13 +08:00
seven332 e1eea40fd7 Use "hosts.txt" instead of "Hosts"
Users might be more familiar with the former
2018-03-26 10:16:51 +08:00
seven332 c00fb901a0 Close #363, select download pipe if download dir exists 2018-03-25 20:23:16 +08:00
seven332 029bca22ed Add hosts UI 2018-03-24 02:17:58 +08:00
seven332 facb931cb6 Use Java 8 language features 2018-03-24 01:16:32 +08:00
onlymash 2f319afd40 restore app_name 2018-03-23 21:24:08 +08:00
onlymash 95114502c9 add strings.xml to debug 2018-03-23 21:24:08 +08:00
onlymash 2eef9b8fb0 rename FILE_PROVIDER_AUTHORITY 2018-03-23 21:24:08 +08:00
onlymash 6180ea3302 remove productFlavors 2018-03-23 21:24:08 +08:00
onlymash bf3ebc5ff8 remove unused applicationId 2018-03-23 21:24:08 +08:00
onlymash 5f77728a7b use another package name for debug 2018-03-23 21:24:08 +08:00
seven332 e823834889 Fix UConfigActivity registered name 2018-03-23 12:48:06 +08:00
seven332 35c97a7772 Add Hosts 2018-03-23 12:10:03 +08:00
seven332 d59a520aa5 Fix test 2018-03-23 12:09:15 +08:00
seven332 6bcdbfeaa4 Use field mLocation instead of local variable location 2018-03-21 19:41:12 +08:00
bfkro dcb11102f6 use ViewUtils to calculate offset between SeekBar and SeekBarPanel 2018-03-21 19:25:12 +08:00
bfkro a0e957b1fd Fix a bug so when user clicks the SeekBarPanel, the x coordinate with the correct x-offset is sent to SeekBar. 2018-03-21 19:25:12 +08:00
onlymash c8c0a3aae0 update foreground 2018-03-20 23:10:52 +08:00
onlymash aed7acfdc8 update foreground 2018-03-20 23:10:52 +08:00
onlymash 6707f0ee35 update launcher backgound 2018-03-20 23:10:52 +08:00
onlymash 44694f351e add adaptive icons for android 8.0+ 2018-03-20 23:10:52 +08:00
onlymash 8e3585b32d use implementation for gradle 3.0+ 2018-03-20 15:18:47 +08:00
onlymash 25312953af add notification channel for Oreo 2018-03-19 22:44:23 +08:00
seven332 c8a32ba76e Update ISSUE_TEMPLATE.md
能说中文就别说英文了
2018-03-19 18:15:10 +08:00
lilymaniac a97a6682fb Add Korean localization 2018-03-19 09:28:03 +08:00
lilymaniac ed8151632e Add Korean to resConfigs entry 2018-03-19 09:28:03 +08:00
seven332 aca061ecf6 Ignore release dir 2018-03-08 20:42:32 +08:00
seven332 b2bef7a4b0 Update okhttp 2018-03-08 20:35:02 +08:00
seven332 db63a8f05b Print exception in ExceptionUtils.getReadableString()
I don't want to track all callings, just add it here
2018-03-08 19:33:44 +08:00
seven332 998f57f435 Fix gallery comment parsing 2018-03-05 10:09:47 +08:00
seven332 46c9197cce Update sdk version and libraries 2018-03-04 15:59:32 +08:00
seven332 3f3c0c6c6a Show sign in failure reason 2018-03-03 23:52:54 +08:00
seven332 ff34acfe59 Update values-zh-rTW/strings.xml 2018-03-02 09:03:42 +08:00
seven332 b969177244 Update values-zh-rHK/strings.xml 2018-02-28 17:03:00 +08:00
seven332 32efad2b33 1.0.27 2018-02-28 10:08:03 +08:00
trhjew bad4cdac1a Update strings.xml 2018-02-27 22:35:27 +08:00
seven332 5cebca42e9 Add Japanese support 2018-02-27 22:20:08 +08:00
trhjew 3ef2447eef Update strings.xml 2018-02-27 22:06:34 +08:00
trhjew a8faa2930a Update strings.xml 2018-02-27 22:06:34 +08:00
trhjew 02abba52a7 Create strings.xml 2018-02-27 22:06:34 +08:00
seven332 6da2bc352d Update gradle 2018-02-25 20:27:40 +08:00
seven332 cc39e0dda3 Show post gallery comment error 2018-02-25 20:26:34 +08:00
seven332 c81145d46e Close #341, update gallery comment post format 2018-02-24 19:03:09 +08:00
0w0@0w0.pw a56c79d4bb Remove some translations
Rename Privacy settings
2018-02-11 13:20:18 +08:00
0w0@0w0.pw fa3f409a70 Clean up the import 2018-02-11 13:20:18 +08:00
0w0@0w0.pw 1865924469 Clean Code 2018-02-11 13:20:18 +08:00
0w0@0w0.pw b3a23ad4e8 Add Privacy and Security Settings 2018-02-11 13:20:18 +08:00
seven332 7a02103e05 Close #328, fix Chinese language detection
Add 中国翻訳
2018-02-10 21:50:22 +08:00
116 changed files with 5600 additions and 516 deletions

No files matched your search

+2
View File
@@ -2,6 +2,8 @@
请在阅读完毕后,删除这些文字,并写下对该 Issue 的描述。
若您能熟练使用现代标准汉语,请务必使用该语言描述 Issue。
Issue 的内容仅可为
* Bug 反馈
* 功能申请
+1
View File
@@ -6,3 +6,4 @@
*.iml
.idea
/captures
release
+52 -42
View File
@@ -1,21 +1,23 @@
import com.android.build.gradle.internal.tasks.DefaultAndroidTask
apply plugin: 'com.android.application'
apply plugin: 'android-chinese-string'
android {
compileSdkVersion 25
buildToolsVersion "25.0.3"
compileSdkVersion 27
defaultConfig {
applicationId "com.hippo.ehviewer"
minSdkVersion 14
targetSdkVersion 25
versionCode 79
versionName "1.0.26"
targetSdkVersion 27
versionCode 84
versionName "1.1.0"
vectorDrawables.useSupportLibrary = true
resConfigs "zh", "zh-rCN", "zh-rHK", "zh-rTW",
"es"
"es", "ja", "ko", "fr", "de"
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
lintOptions {
@@ -27,6 +29,11 @@ android {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
buildConfigField 'String', 'FILE_PROVIDER_AUTHORITY', '"com.hippo.ehviewer.fileprovider"'
}
debug {
applicationIdSuffix ".debug"
buildConfigField 'String', 'FILE_PROVIDER_AUTHORITY', '"com.hippo.ehviewer.debug.fileprovider"'
}
}
@@ -43,7 +50,7 @@ task copyNotice(type: Copy) {
finalizedBy ":daogenerator:executeDaoGenerator"
}
tasks.withType(DefaultAndroidTask) {
tasks.withType(JavaCompile) {
task -> task.dependsOn copyNotice
}
@@ -52,43 +59,46 @@ clean {
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile "com.android.support:appcompat-v7:$supportLibrary"
compile "com.android.support:design:$supportLibrary"
compile 'com.github.amlcurran.showcaseview:library:5.4.3'
compile 'com.github.seven332:android-recaptcha:2bbb3459a8'
compile 'com.github.seven332:animator:0.1.0'
compile 'com.github.seven332:beerbelly:0.1.4'
compile 'com.github.seven332:conaco:0.1.5-eh'
compile 'com.github.seven332:drawerlayout:0.2.1'
compile 'com.github.seven332:easyrecyclerview:0.1.1'
compile 'com.github.seven332:glgallery:0.1.2'
compile 'com.github.seven332:glview:0.1.0'
compile 'com.github.seven332:glview-image:0.1.0'
compile 'com.github.seven332:hotspot:0.1.0'
compile 'com.github.seven332:image:0.1.12'
compile 'com.github.seven332:okhttp:3.5.0'
compile 'com.github.seven332:refreshlayout:0.1.0'
compile 'com.github.seven332:ripple:0.1.2'
compile 'com.github.seven332:streampipe:0.1.0'
compile 'com.github.seven332:tuxiang:0.1.2'
compile 'com.github.seven332:unifile:0.2.0'
compile 'com.github.seven332:yorozuya:0.1.2'
compile 'com.github.seven332:yorozuya-thread:0.1.1'
compile 'com.github.seven332:yorozuya-collect:0.1.4'
compile 'com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:0.9.2'
compile 'org.ccil.cowan.tagsoup:tagsoup:1.2.1'
compile 'org.greenrobot:greendao:2.2.0'
compile 'org.jsoup:jsoup:1.9.2'
testCompile 'junit:junit:4.12'
testCompile 'org.robolectric:robolectric:3.4'
testCompile 'org.jooq:joor:0.9.6'
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "com.android.support:appcompat-v7:$supportLibrary"
implementation "com.android.support:design:$supportLibrary"
implementation 'com.github.amlcurran.showcaseview:library:5.4.3'
implementation 'com.github.seven332:android-recaptcha:2bbb3459a8'
implementation 'com.github.seven332:animator:0.1.0'
implementation 'com.github.seven332:beerbelly:0.1.4'
implementation 'com.github.seven332:conaco:0.1.5-eh'
implementation 'com.github.seven332:drawerlayout:0.2.1'
implementation 'com.github.seven332:easyrecyclerview:0.1.1'
implementation 'com.github.seven332:glgallery:0.1.2'
implementation 'com.github.seven332:glview:0.1.0'
implementation 'com.github.seven332:glview-image:0.1.0'
implementation 'com.github.seven332:hotspot:0.1.0'
implementation 'com.github.seven332:image:0.1.12'
implementation 'com.github.seven332:okhttp:3.5.0'
implementation 'com.github.seven332:refreshlayout:0.1.0'
implementation 'com.github.seven332:ripple:0.1.2'
implementation 'com.github.seven332:streampipe:0.1.0'
implementation 'com.github.seven332:tuxiang:0.1.2'
implementation 'com.github.seven332:unifile:b59c14e47b'
implementation 'com.github.seven332:yorozuya:0.1.2'
implementation 'com.github.seven332:yorozuya-thread:0.1.1'
implementation 'com.github.seven332:yorozuya-collect:0.1.4'
implementation 'com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:0.9.2'
implementation 'com.squareup.okhttp3:okhttp:3.11.0'
implementation 'org.ccil.cowan.tagsoup:tagsoup:1.2.1'
implementation 'org.greenrobot:greendao:2.2.1'
implementation 'org.jsoup:jsoup:1.11.3'
testImplementation 'junit:junit:4.12'
testImplementation 'org.robolectric:robolectric:3.8'
testImplementation 'org.jooq:joor:0.9.6'
}
configurations.all {
resolutionStrategy {
force 'com.github.seven332:glgallery:0f276c0'
force 'com.github.seven332:glgallery:c56b14c6fa'
force 'com.github.seven332:glview-image:4c744db'
force 'com.github.seven332:image:bab9b11'
force 'com.github.seven332:image:bbf0bbb0a0'
exclude group: 'com.github.seven332', module: 'okhttp'
}
}
+22
View File
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2016 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<resources>
<string name="app_name">EhViewer Debug</string>
</resources>
+22
View File
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2016 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<resources>
<string name="app_name">EhViewer Debug</string>
</resources>
+22
View File
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2016 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<resources>
<string name="app_name">EhViewer Debug</string>
</resources>
+22
View File
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2016 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<resources>
<string name="app_name">EhViewer Debug</string>
</resources>
+22
View File
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2016 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<resources>
<string name="app_name">EhViewer Debug</string>
</resources>
+22
View File
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2016 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<resources>
<string name="app_name">EhViewer Debug</string>
</resources>
+22
View File
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2016 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<resources>
<string name="app_name">EhViewer Debug</string>
</resources>
+32
View File
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
<shortcut
android:shortcutId="start_all"
android:enabled="true"
android:icon="@drawable/ic_shortcut_start"
android:shortcutShortLabel="@string/download_start_all"
android:shortcutLongLabel="@string/download_start_all"
android:shortcutDisabledMessage="@string/download_start_all">
<intent
android:action="start_all"
android:targetPackage="com.hippo.ehviewer.debug"
android:targetClass="com.hippo.ehviewer.shortcuts.ShortcutsActivity"/>
<categories android:name="android.shortcut.conversation" />
</shortcut>
<shortcut
android:shortcutId="stop_all"
android:enabled="true"
android:icon="@drawable/ic_shortcut_stop"
android:shortcutShortLabel="@string/download_stop_all"
android:shortcutLongLabel="@string/download_stop_all"
android:shortcutDisabledMessage="@string/download_stop_all">
<intent
android:action="stop_all"
android:targetPackage="com.hippo.ehviewer.debug"
android:targetClass="com.hippo.ehviewer.shortcuts.ShortcutsActivity" />
<categories android:name="android.shortcut.conversation" />
</shortcut>
</shortcuts>
+19 -2
View File
@@ -48,6 +48,9 @@
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<meta-data android:name="android.app.shortcuts"
android:resource="@xml/shortcuts" />
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
@@ -133,18 +136,32 @@
android:label="@string/set_pattern_protection"/>
<activity
android:name=".ui.UConfigActivity"
android:name="com.hippo.ehviewer.ui.UConfigActivity"
android:configChanges="screenSize|uiMode"
android:theme="@style/AppTheme.NoActionBar"
android:label="@string/u_config"/>
<activity
android:name="com.hippo.ehviewer.ui.HostsActivity"
android:configChanges="screenSize|uiMode"
android:theme="@style/AppTheme.NoActionBar"
android:label="@string/hosts"/>
<activity
android:name="com.hippo.ehviewer.shortcuts.ShortcutsActivity"
android:theme="@android:style/Theme.Translucent.NoTitleBar"
android:excludeFromRecents="true"
android:taskAffinity=""
android:launchMode="singleTask">
</activity>
<service
android:name="com.hippo.ehviewer.download.DownloadService"
android:label="@string/download_service_label"/>
<provider
android:name="com.hippo.content.FileProvider"
android:authorities="com.hippo.ehviewer.fileprovider"
android:authorities="${applicationId}.fileprovider"
android:grantUriPermissions="true"
android:exported="false">
@@ -0,0 +1,61 @@
/*
* Copyright 2018 Hippo Seven
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.hippo.content;
/*
* Created by Hippo on 2018/3/27.
*/
import android.content.Context;
import android.content.ContextWrapper;
import android.content.res.Configuration;
import android.content.res.Resources;
import android.os.Build;
import android.os.LocaleList;
import java.util.Locale;
public class ContextLocalWrapper extends ContextWrapper {
public ContextLocalWrapper(Context base) {
super(base);
}
public static ContextLocalWrapper wrap(Context context, Locale newLocale) {
Resources res = context.getResources();
Configuration configuration = res.getConfiguration();
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
configuration.setLocale(newLocale);
LocaleList localeList = new LocaleList(newLocale);
LocaleList.setDefault(localeList);
configuration.setLocales(localeList);
context = context.createConfigurationContext(configuration);
} else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {
configuration.setLocale(newLocale);
context = context.createConfigurationContext(configuration);
} else {
configuration.locale = newLocale;
res.updateConfiguration(configuration, res.getDisplayMetrics());
}
return new ContextLocalWrapper(context);
}
}
@@ -0,0 +1,90 @@
/*
* Copyright 2018 Hippo Seven
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.hippo.content;
/*
* Created by Hippo on 2018/3/27.
*/
import android.app.Activity;
import android.os.Bundle;
import com.hippo.scene.SceneApplication;
import java.lang.ref.WeakReference;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
public abstract class RecordingApplication extends SceneApplication {
private List<WeakReference<Activity>> list = new LinkedList<>();
@Override
public void onCreate() {
super.onCreate();
registerActivityLifecycleCallbacks(new ActivityLifecycleCallbacks() {
@Override
public void onActivityCreated(Activity activity, Bundle savedInstanceState) {
list.add(new java.lang.ref.WeakReference<>(activity));
}
@Override
public void onActivityDestroyed(Activity activity) {
Iterator<WeakReference<Activity>> iterator = list.iterator();
while (iterator.hasNext()) {
WeakReference<Activity> reference = iterator.next();
Activity a = reference.get();
// Remove current activity and null
if (a == null || a == activity) {
iterator.remove();
}
}
}
@Override
public void onActivityStarted(Activity activity) {}
@Override
public void onActivityResumed(Activity activity) {}
@Override
public void onActivityPaused(Activity activity) {}
@Override
public void onActivityStopped(Activity activity) {}
@Override
public void onActivitySaveInstanceState(Activity activity, Bundle outState) {}
});
}
public void recreate() {
// Copy list
ArrayList<Activity> listCopy = new ArrayList<>(list.size());
for (WeakReference<Activity> reference: list) {
Activity activity = reference.get();
if (activity == null) continue;
listCopy.add(activity);
}
// Finish all activities
for (int i = listCopy.size() - 1; i >= 0; --i) {
listCopy.get(i).recreate();
}
}
}
@@ -26,11 +26,12 @@ import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.util.LruCache;
import android.util.Log;
import com.hippo.beerbelly.SimpleDiskCache;
import com.hippo.conaco.Conaco;
import com.hippo.content.RecordingApplication;
import com.hippo.ehviewer.client.EhClient;
import com.hippo.ehviewer.client.EhCookieStore;
import com.hippo.ehviewer.client.EhDns;
import com.hippo.ehviewer.client.EhEngine;
import com.hippo.ehviewer.client.data.GalleryDetail;
import com.hippo.ehviewer.download.DownloadManager;
@@ -39,7 +40,6 @@ import com.hippo.ehviewer.ui.CommonOperations;
import com.hippo.image.Image;
import com.hippo.image.ImageBitmap;
import com.hippo.network.StatusCodeException;
import com.hippo.scene.SceneApplication;
import com.hippo.text.Html;
import com.hippo.unifile.UniFile;
import com.hippo.util.BitmapUtils;
@@ -48,21 +48,20 @@ import com.hippo.yorozuya.FileUtils;
import com.hippo.yorozuya.IntIdGenerator;
import com.hippo.yorozuya.OSUtils;
import com.hippo.yorozuya.SimpleHandler;
import java.io.File;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.TimeUnit;
import okhttp3.OkHttpClient;
public class EhApplication extends SceneApplication implements Thread.UncaughtExceptionHandler {
public class EhApplication extends RecordingApplication implements Thread.UncaughtExceptionHandler {
private static final String TAG = EhApplication.class.getSimpleName();
public static final boolean BETA = false;
public static final boolean AUTO_UPDATE = true;
private static final boolean DEBUG_CONACO = false;
private static final boolean DEBUG_PRINT_NATIVE_MEMORY = false;
@@ -81,6 +80,7 @@ public class EhApplication extends SceneApplication implements Thread.UncaughtEx
private LruCache<Long, GalleryDetail> mGalleryDetailCache;
private SimpleDiskCache mSpiderInfoCache;
private DownloadManager mDownloadManager;
private Hosts mHosts;
private final List<Activity> mActivityList = new ArrayList<>();
@@ -111,13 +111,14 @@ public class EhApplication extends SceneApplication implements Thread.UncaughtEx
Analytics.start(this);
}
// Check no media file
UniFile downloadLocation = Settings.getDownloadLocation();
if (Settings.getMediaScan()) {
CommonOperations.removeNoMediaFile(downloadLocation);
} else {
CommonOperations.ensureNoMediaFile(downloadLocation);
}
// Disable no media file checker for now. Some devices stuck here.
// // Check no media file
// UniFile downloadLocation = Settings.getDownloadLocation();
// if (Settings.getMediaScan()) {
// CommonOperations.removeNoMediaFile(downloadLocation);
// } else {
// CommonOperations.ensureNoMediaFile(downloadLocation);
// }
// Clear temp dir
clearTempDir();
@@ -147,6 +148,9 @@ public class EhApplication extends SceneApplication implements Thread.UncaughtEx
if (null != dir) {
FileUtils.deleteContent(dir);
}
// Add .nomedia to external temp dir
CommonOperations.ensureNoMediaFile(UniFile.fromFile(AppConfig.getExternalTempDir()));
}
private void update() {
@@ -238,6 +242,7 @@ public class EhApplication extends SceneApplication implements Thread.UncaughtEx
.readTimeout(10, TimeUnit.SECONDS)
.writeTimeout(10, TimeUnit.SECONDS)
.cookieJar(getEhCookieStore(application))
.dns(new EhDns(application))
.build();
}
return application.mOkHttpClient;
@@ -303,6 +308,15 @@ public class EhApplication extends SceneApplication implements Thread.UncaughtEx
return application.mDownloadManager;
}
@NonNull
public static Hosts getHosts(@NonNull Context context) {
EhApplication application = ((EhApplication) context.getApplicationContext());
if (application.mHosts == null) {
application.mHosts = new Hosts(application, "hosts.db");
}
return application.mHosts;
}
private boolean handleException(Throwable ex) {
if (ex == null) {
return false;
@@ -0,0 +1,350 @@
/*
* Copyright 2018 Hippo Seven
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.hippo.ehviewer;
/*
* Created by Hippo on 2018/3/21.
*/
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.support.annotation.Nullable;
import android.util.Pair;
import com.hippo.database.MSQLiteBuilder;
import com.hippo.util.SqlUtils;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.List;
public class Hosts {
private static final int VERSION_1 = 1;
private static final String TABLE_HOSTS = "HOSTS";
private static final String COLUMN_HOST = "HOST";
private static final String COLUMN_IP = "IP";
private static final int DB_VERSION = VERSION_1;
private final SQLiteOpenHelper helper;
private final SQLiteDatabase db;
public Hosts(Context context, String name) {
helper = new MSQLiteBuilder()
.version(VERSION_1)
.createTable(TABLE_HOSTS)
.insertColumn(TABLE_HOSTS, COLUMN_HOST, String.class)
.insertColumn(TABLE_HOSTS, COLUMN_IP, String.class)
.build(context, name, DB_VERSION);
db = helper.getWritableDatabase();
}
/**
* Gets a InetAddress with the host.
*/
@Nullable
public InetAddress get(String host) {
if (!isValidHost(host)) {
return null;
}
Cursor cursor = db.rawQuery("SELECT * FROM " + TABLE_HOSTS + " WHERE " + COLUMN_HOST + " = ?;", new String[] {host});
try {
if (cursor.moveToNext()) {
String ip = SqlUtils.getString(cursor, COLUMN_IP, null);
return toInetAddress(host, ip);
} else {
return null;
}
} finally {
cursor.close();
}
}
private boolean contains(String host) {
Cursor cursor = db.rawQuery("SELECT * FROM " + TABLE_HOSTS + " WHERE " + COLUMN_HOST + " = ?;", new String[] {host});
try {
return cursor.moveToNext();
} finally {
cursor.close();
}
}
/**
* Puts the host-ip pair into this hosts.
*/
public boolean put(String host, String ip) {
if (!isValidHost(host) || !isValidIp(ip)) {
return false;
}
ContentValues values = new ContentValues();
values.put(COLUMN_HOST, host);
values.put(COLUMN_IP, ip);
if (contains(host)) {
db.update(TABLE_HOSTS, values, COLUMN_HOST + " = ?", new String[] { host });
} else {
db.insert(TABLE_HOSTS, null, values);
}
return true;
}
/**
* Puts delete the entry with the host.
*/
public void delete(String host) {
db.delete(TABLE_HOSTS, COLUMN_HOST + " = ?", new String[] { host });
}
/**
* Get all data from this host.
*/
public List<Pair<String, String>> getAll() {
List<Pair<String, String>> result = new ArrayList<>();
Cursor cursor = db.rawQuery("SELECT * FROM " + TABLE_HOSTS + ";", null);
try {
while (cursor.moveToNext()) {
String host = SqlUtils.getString(cursor, COLUMN_HOST, null);
String ip = SqlUtils.getString(cursor, COLUMN_IP, null);
InetAddress inetAddress = toInetAddress(host, ip);
if (inetAddress == null) {
continue;
}
result.add(new Pair<>(host, ip));
}
} finally {
cursor.close();
}
return result;
}
@Nullable
public static InetAddress toInetAddress(String host, String ip) {
if (!isValidHost(host)) {
return null;
}
if (ip == null) {
return null;
}
byte[] bytes = parseV4(ip);
if (bytes == null) {
bytes = parseV6(ip);
}
if (bytes == null) {
return null;
}
try {
return InetAddress.getByAddress(host, bytes);
} catch (UnknownHostException e) {
return null;
}
}
/**
* Returns true if the host is valid.
*/
public static boolean isValidHost(String host) {
if (host == null) {
return false;
}
if (host.length() > 253) {
return false;
}
int labelLength = 0;
for (int i = 0, n = host.length(); i < n; i++) {
char ch = host.charAt(i);
if (ch == '.') {
if (labelLength < 1 || labelLength > 63) {
return false;
}
labelLength = 0;
} else {
labelLength++;
}
if ((ch < 'a' || ch > 'z') && (ch < '0' || ch > '9') && ch != '-' && ch != '.') {
return false;
}
}
if (labelLength < 1 || labelLength > 63) {
return false;
}
return true;
}
/**
* Returns true if the ip is valid.
*/
public static boolean isValidIp(String ip) {
return ip != null && (parseV4(ip) != null || parseV6(ip) != null);
}
// org.xbill.DNS.Address.parseV4
@Nullable
private static byte[] parseV4(String s) {
int numDigits;
int currentOctet;
byte [] values = new byte[4];
int currentValue;
int length = s.length();
currentOctet = 0;
currentValue = 0;
numDigits = 0;
for (int i = 0; i < length; i++) {
char c = s.charAt(i);
if (c >= '0' && c <= '9') {
/* Can't have more than 3 digits per octet. */
if (numDigits == 3)
return null;
/* Octets shouldn't start with 0, unless they are 0. */
if (numDigits > 0 && currentValue == 0)
return null;
numDigits++;
currentValue *= 10;
currentValue += (c - '0');
/* 255 is the maximum value for an octet. */
if (currentValue > 255)
return null;
} else if (c == '.') {
/* Can't have more than 3 dots. */
if (currentOctet == 3)
return null;
/* Two consecutive dots are bad. */
if (numDigits == 0)
return null;
values[currentOctet++] = (byte) currentValue;
currentValue = 0;
numDigits = 0;
} else
return null;
}
/* Must have 4 octets. */
if (currentOctet != 3)
return null;
/* The fourth octet can't be empty. */
if (numDigits == 0)
return null;
values[currentOctet] = (byte) currentValue;
return values;
}
// org.xbill.DNS.Address.parseV6
@Nullable
private static byte[] parseV6(String s) {
int range = -1;
byte [] data = new byte[16];
String [] tokens = s.split(":", -1);
int first = 0;
int last = tokens.length - 1;
if (tokens[0].length() == 0) {
// If the first two tokens are empty, it means the string
// started with ::, which is fine. If only the first is
// empty, the string started with :, which is bad.
if (last - first > 0 && tokens[1].length() == 0)
first++;
else
return null;
}
if (tokens[last].length() == 0) {
// If the last two tokens are empty, it means the string
// ended with ::, which is fine. If only the last is
// empty, the string ended with :, which is bad.
if (last - first > 0 && tokens[last - 1].length() == 0)
last--;
else
return null;
}
if (last - first + 1 > 8)
return null;
int i, j;
for (i = first, j = 0; i <= last; i++) {
if (tokens[i].length() == 0) {
if (range >= 0)
return null;
range = j;
continue;
}
if (tokens[i].indexOf('.') >= 0) {
// An IPv4 address must be the last component
if (i < last)
return null;
// There can't have been more than 6 components.
if (i > 6)
return null;
byte [] v4addr = parseV4(tokens[i]);
if (v4addr == null)
return null;
for (int k = 0; k < 4; k++)
data[j++] = v4addr[k];
break;
}
try {
for (int k = 0; k < tokens[i].length(); k++) {
char c = tokens[i].charAt(k);
if (Character.digit(c, 16) < 0)
return null;
}
int x = Integer.parseInt(tokens[i], 16);
if (x > 0xFFFF || x < 0)
return null;
data[j++] = (byte)(x >>> 8);
data[j++] = (byte)(x & 0xFF);
}
catch (NumberFormatException e) {
return null;
}
}
if (j < 16 && range < 0)
return null;
if (range >= 0) {
int empty = 16 - j;
System.arraycopy(data, range, data, range + empty, j - range);
for (i = range; i < range + empty; i++)
data[i] = 0;
}
return data;
}
}
@@ -314,6 +314,13 @@ public class Settings {
return getBoolean(KEY_SHOW_JPN_TITLE, DEFAULT_SHOW_JPN_TITLE);
}
private static final String KEY_SHOW_GALLERY_PAGES = "show_gallery_pages";
private static final boolean DEFAULT_SHOW_GALLERY_PAGES = false;
public static boolean getShowGalleryPages() {
return getBoolean(KEY_SHOW_GALLERY_PAGES, DEFAULT_SHOW_GALLERY_PAGES);
}
public static final String KEY_DEFAULT_CATEGORIES = "default_categories";
public static final int DEFAULT_DEFAULT_CATEGORIES = EhUtils.ALL_CATEGORY;
@@ -575,6 +582,19 @@ public class Settings {
putInt(KEY_SCREEN_LIGHTNESS, value);
}
/********************
****** Privacy and Security
********************/
public static final String KEY_SEC_SECURITY = "enable_secure";
public static final boolean VALUE_SEC_SECURITY = false;
public static boolean getEnabledSecurity() {
return getBoolean(KEY_SEC_SECURITY, VALUE_SEC_SECURITY);
}
public static void putEnabledSecurity(boolean value) {
putBoolean(KEY_READING_FULLSCREEN, value);
}
/********************
****** Download
********************/
@@ -705,26 +725,42 @@ public class Settings {
/********************
****** Favorites
********************/
public static final String KEY_FAV_CAT_0 = "fav_cat_0";
public static final String KEY_FAV_CAT_1 = "fav_cat_1";
public static final String KEY_FAV_CAT_2 = "fav_cat_2";
public static final String KEY_FAV_CAT_3 = "fav_cat_3";
public static final String KEY_FAV_CAT_4 = "fav_cat_4";
public static final String KEY_FAV_CAT_5 = "fav_cat_5";
public static final String KEY_FAV_CAT_6 = "fav_cat_6";
public static final String KEY_FAV_CAT_7 = "fav_cat_7";
public static final String KEY_FAV_CAT_8 = "fav_cat_8";
public static final String KEY_FAV_CAT_9 = "fav_cat_9";
public static final String DEFAULT_FAV_CAT_0 = "Favorites 0";
public static final String DEFAULT_FAV_CAT_1 = "Favorites 1";
public static final String DEFAULT_FAV_CAT_2 = "Favorites 2";
public static final String DEFAULT_FAV_CAT_3 = "Favorites 3";
public static final String DEFAULT_FAV_CAT_4 = "Favorites 4";
public static final String DEFAULT_FAV_CAT_5 = "Favorites 5";
public static final String DEFAULT_FAV_CAT_6 = "Favorites 6";
public static final String DEFAULT_FAV_CAT_7 = "Favorites 7";
public static final String DEFAULT_FAV_CAT_8 = "Favorites 8";
public static final String DEFAULT_FAV_CAT_9 = "Favorites 9";
private static final String KEY_FAV_CAT_0 = "fav_cat_0";
private static final String KEY_FAV_CAT_1 = "fav_cat_1";
private static final String KEY_FAV_CAT_2 = "fav_cat_2";
private static final String KEY_FAV_CAT_3 = "fav_cat_3";
private static final String KEY_FAV_CAT_4 = "fav_cat_4";
private static final String KEY_FAV_CAT_5 = "fav_cat_5";
private static final String KEY_FAV_CAT_6 = "fav_cat_6";
private static final String KEY_FAV_CAT_7 = "fav_cat_7";
private static final String KEY_FAV_CAT_8 = "fav_cat_8";
private static final String KEY_FAV_CAT_9 = "fav_cat_9";
private static final String DEFAULT_FAV_CAT_0 = "Favorites 0";
private static final String DEFAULT_FAV_CAT_1 = "Favorites 1";
private static final String DEFAULT_FAV_CAT_2 = "Favorites 2";
private static final String DEFAULT_FAV_CAT_3 = "Favorites 3";
private static final String DEFAULT_FAV_CAT_4 = "Favorites 4";
private static final String DEFAULT_FAV_CAT_5 = "Favorites 5";
private static final String DEFAULT_FAV_CAT_6 = "Favorites 6";
private static final String DEFAULT_FAV_CAT_7 = "Favorites 7";
private static final String DEFAULT_FAV_CAT_8 = "Favorites 8";
private static final String DEFAULT_FAV_CAT_9 = "Favorites 9";
private static final String KEY_FAV_COUNT_0 = "fav_count_0";
private static final String KEY_FAV_COUNT_1 = "fav_count_1";
private static final String KEY_FAV_COUNT_2 = "fav_count_2";
private static final String KEY_FAV_COUNT_3 = "fav_count_3";
private static final String KEY_FAV_COUNT_4 = "fav_count_4";
private static final String KEY_FAV_COUNT_5 = "fav_count_5";
private static final String KEY_FAV_COUNT_6 = "fav_count_6";
private static final String KEY_FAV_COUNT_7 = "fav_count_7";
private static final String KEY_FAV_COUNT_8 = "fav_count_8";
private static final String KEY_FAV_COUNT_9 = "fav_count_9";
private static final String KEY_FAV_LOCAL = "fav_local";
private static final String KEY_FAV_CLOUD = "fav_cloud";
private static final int DEFAULT_FAV_COUNT = 0;
public static String[] getFavCat() {
String[] favCat = new String[10];
@@ -757,6 +793,53 @@ public class Settings {
.apply();
}
public static int[] getFavCount() {
int[] favCount = new int[10];
favCount[0] = sSettingsPre.getInt(KEY_FAV_COUNT_0, DEFAULT_FAV_COUNT);
favCount[1] = sSettingsPre.getInt(KEY_FAV_COUNT_1, DEFAULT_FAV_COUNT);
favCount[2] = sSettingsPre.getInt(KEY_FAV_COUNT_2, DEFAULT_FAV_COUNT);
favCount[3] = sSettingsPre.getInt(KEY_FAV_COUNT_3, DEFAULT_FAV_COUNT);
favCount[4] = sSettingsPre.getInt(KEY_FAV_COUNT_4, DEFAULT_FAV_COUNT);
favCount[5] = sSettingsPre.getInt(KEY_FAV_COUNT_5, DEFAULT_FAV_COUNT);
favCount[6] = sSettingsPre.getInt(KEY_FAV_COUNT_6, DEFAULT_FAV_COUNT);
favCount[7] = sSettingsPre.getInt(KEY_FAV_COUNT_7, DEFAULT_FAV_COUNT);
favCount[8] = sSettingsPre.getInt(KEY_FAV_COUNT_8, DEFAULT_FAV_COUNT);
favCount[9] = sSettingsPre.getInt(KEY_FAV_COUNT_9, DEFAULT_FAV_COUNT);
return favCount;
}
public static void putFavCount(int[] count) {
Assert.assertEquals(10, count.length);
sSettingsPre.edit()
.putInt(KEY_FAV_COUNT_0, count[0])
.putInt(KEY_FAV_COUNT_1, count[1])
.putInt(KEY_FAV_COUNT_2, count[2])
.putInt(KEY_FAV_COUNT_3, count[3])
.putInt(KEY_FAV_COUNT_4, count[4])
.putInt(KEY_FAV_COUNT_5, count[5])
.putInt(KEY_FAV_COUNT_6, count[6])
.putInt(KEY_FAV_COUNT_7, count[7])
.putInt(KEY_FAV_COUNT_8, count[8])
.putInt(KEY_FAV_COUNT_9, count[9])
.apply();
}
public static int getFavLocalCount() {
return sSettingsPre.getInt(KEY_FAV_LOCAL, DEFAULT_FAV_COUNT);
}
public static void putFavLocalCount(int count) {
sSettingsPre.edit().putInt(KEY_FAV_LOCAL, count).apply();
}
public static int getFavCloudCount() {
return sSettingsPre.getInt(KEY_FAV_CLOUD, DEFAULT_FAV_COUNT);
}
public static void putFavCloudCount(int count) {
sSettingsPre.edit().putInt(KEY_FAV_CLOUD, count).apply();
}
private static final String KEY_RECENT_FAV_CAT = "recent_fav_cat";
private static final int DEFAULT_RECENT_FAV_CAT = FavListUrlBuilder.FAV_CAT_ALL;
@@ -873,6 +956,8 @@ public class Settings {
********************/
private static final String KEY_BETA_UPDATE_CHANNEL = "beta_update_channel";
private static final boolean DEFAULT_BETA_UPDATE_CHANNEL = EhApplication.BETA;
private static final String KEY_AUTO_CHECK_FOR_UPDATES = "auto_check_for_updates";
private static final boolean DEFAULT_AUTO_CHECK_FOR_UPDATES = EhApplication.AUTO_UPDATE;
public static boolean getBetaUpdateChannel() {
return getBoolean(KEY_BETA_UPDATE_CHANNEL, DEFAULT_BETA_UPDATE_CHANNEL);
@@ -882,6 +967,10 @@ public class Settings {
putBoolean(KEY_BETA_UPDATE_CHANNEL, value);
}
public static boolean getAutoCheckUpdateEnable() {
return getBoolean(KEY_AUTO_CHECK_FOR_UPDATES, DEFAULT_AUTO_CHECK_FOR_UPDATES);
}
/********************
****** Crash
********************/
@@ -939,6 +1028,28 @@ public class Settings {
return getIntFromStr(KEY_READ_CACHE_SIZE, DEFAULT_READ_CACHE_SIZE);
}
public static final String KEY_BUILT_IN_HOSTS = "built_in_hosts";
private static final boolean DEFAULT_BUILT_IN_HOSTS = false;
public static boolean getBuiltInHosts() {
return getBoolean(KEY_BUILT_IN_HOSTS, DEFAULT_BUILT_IN_HOSTS);
}
public static void putBuiltInHosts(boolean value) {
putBoolean(KEY_BUILT_IN_HOSTS, value);
}
public static final String KEY_APP_LANGUAGE = "app_language";
private static final String DEFAULT_APP_LANGUAGE = "system";
public static String getAppLanguage() {
return getString(KEY_APP_LANGUAGE, DEFAULT_APP_LANGUAGE);
}
public static void putAppLanguage(String value) {
putString(KEY_APP_LANGUAGE, value);
}
/********************
****** Guide
********************/
@@ -996,4 +1107,15 @@ public class Settings {
public static void putGuideGallery(boolean value) {
putBoolean(KEY_GUIDE_GALLERY, value);
}
private static final String KEY_CLIPBOARD_TEXT_HASH_CODE = "clipboard_text_hash_code";
private static final int DEFAULT_CLIPBOARD_TEXT_HASH_CODE = 0;
public static int getClipboardTextHashCode() {
return getInt(KEY_CLIPBOARD_TEXT_HASH_CODE, DEFAULT_CLIPBOARD_TEXT_HASH_CODE);
}
public static void putClipboardTextHashCode(int value) {
putInt(KEY_CLIPBOARD_TEXT_HASH_CODE, value);
}
}
@@ -26,7 +26,6 @@ import java.util.List;
import okhttp3.Cookie;
import okhttp3.HttpUrl;
import okhttp3.Request;
public class EhCookieStore extends CookieRepository {
@@ -86,41 +85,26 @@ public class EhCookieStore extends CookieRepository {
}
@Override
public List<Cookie> loadForRequest(HttpUrl url, Request request) {
List<Cookie> cookies = super.loadForRequest(url, request);
Object tag = request.tag();
public List<Cookie> loadForRequest(HttpUrl url) {
List<Cookie> cookies = super.loadForRequest(url);
boolean checkTips = domainMatch(url, EhUrl.DOMAIN_E);
boolean checkUconfig = (domainMatch(url, EhUrl.DOMAIN_E) || domainMatch(url, EhUrl.DOMAIN_EX)) && tag instanceof EhConfig;
if (checkTips || checkUconfig) {
if (checkTips) {
List<Cookie> result = new ArrayList<>(cookies.size() + 1);
// Add all but skip some
for (Cookie cookie: cookies) {
String name = cookie.name();
if (checkTips && EhConfig.KEY_CONTENT_WARNING.equals(name)) {
if (EhConfig.KEY_CONTENT_WARNING.equals(name)) {
continue;
}
if (checkUconfig && EhConfig.KEY_UCONFIG.equals(name)) {
if (EhConfig.KEY_UCONFIG.equals(name)) {
continue;
}
result.add(cookie);
}
// Add some
if (checkTips) {
result.add(sTipsCookie);
}
if (checkUconfig) {
EhConfig ehConfig = (EhConfig) tag;
Cookie uconfigCookie = new Cookie.Builder()
.name(EhConfig.KEY_UCONFIG)
.value(ehConfig.uconfig())
.domain(url.host())
.path("/")
.expiresAt(Long.MAX_VALUE)
.build();
result.add(uconfigCookie);
}
result.add(sTipsCookie);
return Collections.unmodifiableList(result);
} else {
return cookies;
@@ -0,0 +1,85 @@
/*
* Copyright 2018 Hippo Seven
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.hippo.ehviewer.client;
/*
* Created by Hippo on 2018/3/23.
*/
import android.content.Context;
import com.hippo.ehviewer.EhApplication;
import com.hippo.ehviewer.Hosts;
import com.hippo.ehviewer.Settings;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import okhttp3.Dns;
public class EhDns implements Dns {
private static final Map<String, InetAddress> builtInHosts;
static {
Map<String, InetAddress> map = new HashMap<>();
put(map, "e-hentai.org", "104.24.255.11");
put(map, "forums.e-hentai.org", "94.100.18.243");
builtInHosts = map;
}
private static void put(Map<String, InetAddress> map, String host, String ip) {
InetAddress address = Hosts.toInetAddress(host, ip);
if (address != null) {
map.put(host, address);
}
}
private final Hosts hosts;
public EhDns(Context context) {
hosts = EhApplication.getHosts(context);
}
@Override
public List<InetAddress> lookup(String hostname) throws UnknownHostException {
if (hostname == null) throw new UnknownHostException("hostname == null");
InetAddress inetAddress = hosts.get(hostname);
if (inetAddress != null) {
return Collections.singletonList(inetAddress);
}
if (Settings.getBuiltInHosts()) {
inetAddress = builtInHosts.get(hostname);
if (inetAddress != null) {
return Collections.singletonList(inetAddress);
}
}
try {
return Arrays.asList(InetAddress.getAllByName(hostname));
} catch (NullPointerException e) {
UnknownHostException unknownHostException =
new UnknownHostException("Broken system behaviour for dns lookup of " + hostname);
unknownHostException.initCause(e);
throw unknownHostException;
}
}
}
@@ -55,6 +55,7 @@ import org.json.JSONArray;
import org.json.JSONObject;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.select.Elements;
import java.io.File;
import java.util.ArrayList;
@@ -91,7 +92,7 @@ public class EhEngine {
sEhFilter = EhFilter.getInstance();
}
private static void throwException(Call call, int code, @Nullable Headers headers,
private static void doThrowException(Call call, int code, @Nullable Headers headers,
@Nullable String body, Exception e) throws Exception {
if (call.isCanceled()) {
throw new CancelledException();
@@ -118,6 +119,20 @@ public class EhEngine {
if (code >= 400) {
throw new StatusCodeException(code);
}
if (e != null) {
throw e;
}
}
private static void throwException(Call call, int code, @Nullable Headers headers,
@Nullable String body, Exception e) throws Exception {
try {
doThrowException(call, code, headers, body, e);
} catch (Throwable error) {
error.printStackTrace();
throw error;
}
}
public static String signIn(@Nullable EhClient.Task task, OkHttpClient okHttpClient,
@@ -196,7 +211,7 @@ public class EhEngine {
}
}
if (list.size() > 0 && (Settings.getShowJpnTitle() || sEhFilter.needCallApi())) {
if (list.size() > 0 && (Settings.getShowJpnTitle() || Settings.getShowGalleryPages() || sEhFilter.needCallApi())) {
// Fill by api
fillGalleryListByApi(task, okHttpClient, list);
@@ -370,8 +385,7 @@ public class EhEngine {
public static GalleryComment[] commentGallery(@Nullable EhClient.Task task,
OkHttpClient okHttpClient, String url, String comment) throws Exception {
FormBody.Builder builder = new FormBody.Builder()
.add("commenttext", comment)
.add("postcomment", "Post New");
.add("commenttext_new", comment);
Log.d(TAG, url);
Request request = new EhRequestBuilder(url, null != task ? task.getEhConfig() : Settings.getEhConfig())
.post(builder.build())
@@ -392,6 +406,12 @@ public class EhEngine {
headers = response.headers();
body = response.body().string();
Document document = Jsoup.parse(body);
Elements elements = document.select("#chd + p");
if (elements.size() > 0) {
throw new EhException(elements.get(0).text());
}
return GalleryDetailParser.parseComments(document);
} catch (Exception e) {
throwException(call, code, headers, body, e);
@@ -887,7 +907,7 @@ public class EhEngine {
}
}
if (list.size() > 0 && (Settings.getShowJpnTitle() || sEhFilter.needCallApi())) {
if (list.size() > 0 && (Settings.getShowJpnTitle() || Settings.getShowGalleryPages() || sEhFilter.needCallApi())) {
// Fill by api
fillGalleryListByApi(task, okHttpClient, list);
@@ -17,13 +17,13 @@
package com.hippo.ehviewer.client;
import android.support.annotation.NonNull;
import android.util.Pair;
import com.hippo.ehviewer.Settings;
import com.hippo.network.UrlBuilder;
import java.util.List;
import java.util.ListIterator;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import okhttp3.HttpUrl;
public class EhUrl {
@@ -58,6 +58,8 @@ public class EhUrl {
private static final String URL_PREFIX_THUMB_E = "https://ehgt.org/t/";
private static final String URL_PREFIX_THUMB_EX = "https://exhentai.org/t/";
public static final Pattern PATTERN_DETAIL_URL = Pattern.compile("g/(\\d+)/([0-9a-f]{10})");
public static String getGalleryDetailUrl(long gid, String token) {
return getGalleryDetailUrl(gid, token, 0, false);
}
@@ -179,4 +181,13 @@ public class EhUrl {
return originUrl;
}
}
public static Pair<Long, String> parseGalleryDetailUrl(String url) {
Matcher matcher = PATTERN_DETAIL_URL.matcher(url);
if (matcher.find()) {
return new Pair<>(Long.parseLong(matcher.group(1)), matcher.group(2));
} else {
return null;
}
}
}
@@ -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),
@@ -90,6 +90,7 @@ public class GalleryInfo implements Parcelable {
public float rating;
@Nullable
public String[] simpleTags;
public int pages;
public int thumbWidth;
public int thumbHeight;
@@ -53,6 +53,7 @@ public class GalleryApiParser {
tags[j] = tagJa.getString(j);
}
gi.simpleTags = tags;
gi.pages = Integer.parseInt(g.getString("filecount"));
}
}
@@ -397,7 +397,7 @@ public class GalleryDetailParser {
// time
Element c3 = JsoupUtils.getElementByClass(element, "c3");
String temp = c3.ownText();
temp = temp.substring("Posted on ".length(), temp.length() - " by:  ".length());
temp = temp.substring("Posted on ".length(), temp.length() - " by:".length());
comment.time = WEB_COMMENT_DATE_FORMAT.parse(temp).getTime();
// user
comment.user = c3.child(0).text();
@@ -16,7 +16,9 @@
package com.hippo.ehviewer.download;
import android.annotation.SuppressLint;
import android.content.Context;
import android.os.AsyncTask;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.util.Log;
@@ -25,8 +27,11 @@ import com.hippo.ehviewer.EhDB;
import com.hippo.ehviewer.client.data.GalleryInfo;
import com.hippo.ehviewer.dao.DownloadInfo;
import com.hippo.ehviewer.dao.DownloadLabel;
import com.hippo.ehviewer.spider.SpiderDen;
import com.hippo.ehviewer.spider.SpiderInfo;
import com.hippo.ehviewer.spider.SpiderQueen;
import com.hippo.image.Image;
import com.hippo.unifile.UniFile;
import com.hippo.yorozuya.ConcurrentPool;
import com.hippo.yorozuya.MathUtils;
import com.hippo.yorozuya.ObjectUtils;
@@ -35,6 +40,7 @@ import com.hippo.yorozuya.collect.LongList;
import com.hippo.yorozuya.collect.SparseIJArray;
import com.hippo.yorozuya.collect.SparseJLArray;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
@@ -562,6 +568,49 @@ public class DownloadManager implements SpiderQueen.OnSpiderListener {
}
}
@SuppressLint("StaticFieldLeak")
public void resetAllReadingProgress() {
LinkedList<DownloadInfo> list = new LinkedList<>(mAllInfoList);
new AsyncTask<Void, Void, Void>() {
@Override
protected Void doInBackground(Void... voids) {
GalleryInfo galleryInfo = new GalleryInfo();
for (DownloadInfo downloadInfo : list) {
galleryInfo.gid = downloadInfo.gid;
galleryInfo.token = downloadInfo.token;
galleryInfo.title = downloadInfo.title;
galleryInfo.thumb = downloadInfo.thumb;
galleryInfo.category = downloadInfo.category;
galleryInfo.posted = downloadInfo.posted;
galleryInfo.uploader = downloadInfo.uploader;
galleryInfo.rating = downloadInfo.rating;
UniFile downloadDir = SpiderDen.getGalleryDownloadDir(galleryInfo);
if (downloadDir == null) {
continue;
}
UniFile file = downloadDir.findFile(".ehviewer");
if (file == null) {
continue;
}
SpiderInfo spiderInfo = SpiderInfo.read(file);
if (spiderInfo == null) {
continue;
}
spiderInfo.startPage = 0;
try {
spiderInfo.write(file.openOutputStream());
} catch (IOException e) {
Log.e(TAG, "Can't write SpiderInfo", e);
}
}
return null;
}
}.execute();
}
// Update in DB
// Update listener
// No ensureDownload
@@ -16,12 +16,14 @@
package com.hippo.ehviewer.download;
import android.app.NotificationChannel;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.graphics.BitmapFactory;
import android.os.Build;
import android.os.Bundle;
import android.os.IBinder;
import android.os.SystemClock;
@@ -90,6 +92,8 @@ public class DownloadService extends Service implements DownloadManager.Download
private static int sFinishedCount;
private static int sDownloadedCount;
private String CHANNEL_ID;
public static void clear() {
sFailedCount = 0;
sFinishedCount = 0;
@@ -102,7 +106,12 @@ public class DownloadService extends Service implements DownloadManager.Download
public void onCreate() {
super.onCreate();
CHANNEL_ID = getPackageName()+".download";
mNotifyManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O){
mNotifyManager.createNotificationChannel(new NotificationChannel(CHANNEL_ID, getString(R.string.download_service),
NotificationManager.IMPORTANCE_LOW));
}
mDownloadManager = EhApplication.getDownloadManager(getApplicationContext());
mDownloadManager.setDownloadListener(this);
}
@@ -208,14 +217,15 @@ public class DownloadService extends Service implements DownloadManager.Download
stopAllIntent.setAction(ACTION_STOP_ALL);
PendingIntent piStopAll = PendingIntent.getService(this, 0, stopAllIntent, 0);
mDownloadingBuilder = new NotificationCompat.Builder(getApplicationContext())
mDownloadingBuilder = new NotificationCompat.Builder(getApplicationContext(), CHANNEL_ID)
.setSmallIcon(android.R.drawable.stat_sys_download)
.setOngoing(true)
.setAutoCancel(false)
.setCategory(NotificationCompat.CATEGORY_PROGRESS)
.setColor(getResources().getColor(R.color.colorPrimary))
.addAction(R.drawable.ic_pause_x24, getString(R.string.stat_download_action_stop_all), piStopAll)
.setShowWhen(false);
.setShowWhen(false)
.setChannelId(CHANNEL_ID);
mDownloadingDelay = new NotificationDelay(this, mNotifyManager, mDownloadingBuilder, ID_DOWNLOADING);
}
@@ -238,14 +248,15 @@ public class DownloadService extends Service implements DownloadManager.Download
PendingIntent piActivity = PendingIntent.getActivity(DownloadService.this, 0,
activityIntent, PendingIntent.FLAG_UPDATE_CURRENT);
mDownloadedBuilder = new NotificationCompat.Builder(getApplicationContext())
mDownloadedBuilder = new NotificationCompat.Builder(getApplicationContext(), CHANNEL_ID)
.setSmallIcon(android.R.drawable.stat_sys_download_done)
.setLargeIcon(BitmapFactory.decodeResource(getResources(), R.mipmap.ic_launcher))
.setContentTitle(getString(R.string.stat_download_done_title))
.setDeleteIntent(piClear)
.setOngoing(false)
.setAutoCancel(true)
.setContentIntent(piActivity);
.setContentIntent(piActivity)
.setChannelId(CHANNEL_ID);
mDownloadedDelay = new NotificationDelay(this, mNotifyManager, mDownloadedBuilder, ID_DOWNLOADED);
}
@@ -255,14 +266,15 @@ public class DownloadService extends Service implements DownloadManager.Download
return;
}
m509dBuilder = new NotificationCompat.Builder(getApplicationContext())
m509dBuilder = new NotificationCompat.Builder(getApplicationContext(), CHANNEL_ID)
.setSmallIcon(R.drawable.ic_stat_alert)
.setLargeIcon(BitmapFactory.decodeResource(getResources(), R.mipmap.ic_launcher))
.setContentText(getString(R.string.stat_509_alert_title))
.setContentText(getString(R.string.stat_509_alert_text))
.setAutoCancel(true)
.setOngoing(false)
.setCategory(NotificationCompat.CATEGORY_ERROR);
.setCategory(NotificationCompat.CATEGORY_ERROR)
.setChannelId(CHANNEL_ID);
m509Delay = new NotificationDelay(this, mNotifyManager, m509dBuilder, ID_509);
}
@@ -73,7 +73,7 @@ public class EhGalleryProvider extends GalleryProvider2 implements SpiderQueen.O
@NonNull
@Override
public String getImageFilename(int index) {
return String.format(Locale.US, "%d-%08d", mGalleryInfo.gid, index + 1);
return String.format(Locale.US, "%d-%s-%08d", mGalleryInfo.gid, mGalleryInfo.token, index + 1);
}
@Override
@@ -0,0 +1,105 @@
/*
* Copyright 2018 Hippo Seven
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.hippo.ehviewer.preference;
import android.content.ClipData;
import android.content.ClipboardManager;
import android.content.Context;
import android.support.v7.app.AlertDialog;
import android.util.AttributeSet;
import android.widget.Toast;
import com.hippo.ehviewer.EhApplication;
import com.hippo.ehviewer.R;
import com.hippo.ehviewer.client.EhCookieStore;
import com.hippo.ehviewer.client.EhUrl;
import com.hippo.preference.MessagePreference;
import com.hippo.text.Html;
import java.util.LinkedList;
import java.util.List;
import okhttp3.Cookie;
import okhttp3.HttpUrl;
public class IdentityCookiePreference extends MessagePreference {
private String message;
public IdentityCookiePreference(Context context) {
super(context);
init();
}
public IdentityCookiePreference(Context context, AttributeSet attrs) {
super(context, attrs);
init();
}
public IdentityCookiePreference(Context context, AttributeSet attrs, int defStyleAttr) {
super(context, attrs, defStyleAttr);
init();
}
private void init() {
EhCookieStore store = EhApplication.getEhCookieStore(getContext());
List<Cookie> eCookies = store.getCookies(HttpUrl.get(EhUrl.HOST_E));
List<Cookie> exCookies = store.getCookies(HttpUrl.get(EhUrl.HOST_EX));
List<Cookie> cookies = new LinkedList<>(eCookies);
cookies.addAll(exCookies);
String ipbMemberId = null;
String ipbPassHash = null;
String igneous = null;
for (int i = 0, n = cookies.size(); i < n; i++) {
Cookie cookie = cookies.get(i);
switch (cookie.name()) {
case EhCookieStore.KEY_IPD_MEMBER_ID:
ipbMemberId = cookie.value();
break;
case EhCookieStore.KEY_IPD_PASS_HASH:
ipbPassHash = cookie.value();
break;
case EhCookieStore.KEY_IGNEOUS:
igneous = cookie.value();
break;
}
}
if (ipbMemberId != null || ipbPassHash != null || igneous != null) {
message = EhCookieStore.KEY_IPD_MEMBER_ID + ": " + ipbMemberId + "<br>"
+ EhCookieStore.KEY_IPD_PASS_HASH + ": " + ipbPassHash + "<br>"
+ EhCookieStore.KEY_IGNEOUS + ": " + igneous;
setDialogMessage(Html.fromHtml(getContext().getString(R.string.settings_eh_identity_cookies_signed, message)));
message = message.replace("<br>", "\n");
} else {
setDialogMessage(getContext().getString(R.string.settings_eh_identity_cookies_tourist));
}
}
@Override
protected void onPrepareDialogBuilder(AlertDialog.Builder builder) {
super.onPrepareDialogBuilder(builder);
if (message != null) {
builder.setPositiveButton(R.string.settings_eh_identity_cookies_copy, (dialog, which) -> {
ClipboardManager cmb = (ClipboardManager) getContext().getSystemService(Context.CLIPBOARD_SERVICE);
cmb.setPrimaryClip(ClipData.newPlainText(null, message));
Toast.makeText(getContext(), R.string.copied_to_clipboard, Toast.LENGTH_SHORT).show();
IdentityCookiePreference.this.onClick(dialog, which);
});
}
}
}
@@ -0,0 +1,44 @@
/*
* Copyright 2018 Hippo Seven
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.hippo.ehviewer.shortcuts;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import com.hippo.ehviewer.download.DownloadService;
/**
* Created by onlymash on 3/25/18.
*/
public class ShortcutsActivity extends Activity{
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
String action = null;
Intent intent = getIntent();
if (intent != null){
action = intent.getAction();
if (action != null && (action.equals(DownloadService.ACTION_START_ALL) ||
action.equals(DownloadService.ACTION_STOP_ALL))){
startService(new Intent(this, DownloadService.class).setAction(action));
}
}
finish();
}
}
@@ -323,7 +323,12 @@ public final class SpiderDen {
@Nullable
public OutputStreamPipe openOutputStreamPipe(int index, @Nullable String extension) {
if (mMode == SpiderQueen.MODE_READ) {
return openCacheOutputStreamPipe(index);
// Return the download pipe is the gallery has been downloaded
OutputStreamPipe pipe = openDownloadOutputStreamPipe(index, extension);
if (pipe == null) {
pipe = openCacheOutputStreamPipe(index);
}
return pipe;
} else if (mMode == SpiderQueen.MODE_DOWNLOAD) {
return openDownloadOutputStreamPipe(index, extension);
} else {
@@ -430,11 +430,11 @@ public final class SpiderQueen implements Runnable {
}
public Object forceRequest(int index) {
return request(index, true, false);
return request(index, true, true, false);
}
public Object request(int index) {
return request(index, false, true);
return request(index, true, false, true);
}
private int getPageState(int index) {
@@ -483,7 +483,7 @@ public final class SpiderQueen implements Runnable {
* Float for download percent<br>
* null for wait
*/
private Object request(int index, boolean force, boolean addNeighbor) {
private Object request(int index, boolean ignoreError, boolean force, boolean addNeighbor) {
if (mQueenThread == null) {
return null;
}
@@ -492,7 +492,8 @@ public final class SpiderQueen implements Runnable {
int state = getPageState(index);
// Fix state for force
if (force && (state == STATE_FINISHED || state == STATE_FAILED)) {
if ((force && (state == STATE_FINISHED || state == STATE_FAILED)) ||
(ignoreError && state == STATE_FAILED)) {
// Update state to none at once
updatePageState(index, STATE_NONE);
state = STATE_NONE;
@@ -518,7 +519,7 @@ public final class SpiderQueen implements Runnable {
} else {
size = Integer.MAX_VALUE;
}
for (int i = index + 1, n = index + i + mPreloadNumber; i < n && i < size; i++) {
for (int i = index + 1, n = index + 1 + mPreloadNumber; i < n && i < size; i++) {
if (STATE_NONE == getPageState(i)) {
mRequestPageQueue2.add(i);
}
@@ -713,10 +714,13 @@ public final class SpiderQueen implements Runnable {
spiderInfo.pages = GalleryDetailParser.parsePages(body);
spiderInfo.previewPages = GalleryDetailParser.parsePreviewPages(body);
PreviewSet previewSet = GalleryDetailParser.parsePreviewSet(body);
if ((index >= 0 && index < spiderInfo.pages - 1) || (index == 0 && spiderInfo.pages == 1)) {
spiderInfo.previewPerPage = previewSet.size();
} else {
spiderInfo.previewPerPage = Math.max(spiderInfo.previewPerPage, previewSet.size());
if (previewSet.size() > 0) {
if (index == 0) {
spiderInfo.previewPerPage = previewSet.size();
} else {
spiderInfo.previewPerPage = previewSet.getPosition(0) / index;
}
}
for (int i = 0, n = previewSet.size(); i < n; i++) {
@@ -762,6 +766,9 @@ public final class SpiderQueen implements Runnable {
} else {
previewIndex = 0;
}
if (spiderInfo.previewPages > 0) {
previewIndex = Math.min(previewIndex, spiderInfo.previewPages - 1);
}
try {
String url = EhUrl.getGalleryDetailUrl(
@@ -1048,6 +1055,8 @@ public final class SpiderQueen implements Runnable {
boolean interrupt = false;
boolean leakSkipHathKey = false;
Log.d("TAG", "index = " + index);
// Try twice
for (int i = 0; i < 5; i++) {
if (leakSkipHathKey) {
@@ -1400,7 +1409,7 @@ public final class SpiderQueen implements Runnable {
// Can't find the file, it might be removed from cache,
// Reset it state and request it
updatePageState(index, STATE_NONE, null);
request(index, false, false);
request(index, false, false, false);
continue;
}
@@ -206,6 +206,12 @@ public final class CommonOperations {
}
}, activity.getString(R.string.remember_favorite_collection), false)
.setTitle(R.string.add_favorites_dialog_title)
.setOnCancelListener(new DialogInterface.OnCancelListener() {
@Override
public void onCancel(DialogInterface dialog) {
listener.onCancel();
}
})
.show();
}
}
@@ -16,13 +16,16 @@
package com.hippo.ehviewer.ui;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.WindowManager;
import com.google.analytics.tracking.android.EasyTracker;
import com.hippo.content.ContextLocalWrapper;
import com.hippo.ehviewer.EhApplication;
import com.hippo.ehviewer.Settings;
import java.util.Locale;
public abstract class EhActivity extends AppCompatActivity {
@@ -61,4 +64,37 @@ public abstract class EhActivity extends AppCompatActivity {
mTrackStarted = false;
}
}
@Override
protected void onResume() {
super.onResume();
if(Settings.getEnabledSecurity()){
getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE,
WindowManager.LayoutParams.FLAG_SECURE);
}else{
getWindow().clearFlags(WindowManager.LayoutParams.FLAG_SECURE);
}
}
@Override
protected void attachBaseContext(Context newBase) {
Locale locale = null;
String language = Settings.getAppLanguage();
if (language != null && !language.equals("system")) {
String[] split = language.split("-");
if (split.length == 1) {
locale = new Locale(split[0]);
} else if (split.length == 2) {
locale = new Locale(split[0], split[1]);
} else if (split.length == 3) {
locale = new Locale(split[0], split[1], split[2]);
}
}
if (locale != null) {
newBase = ContextLocalWrapper.wrap(newBase, locale);
}
super.attachBaseContext(newBase);
}
}
@@ -16,13 +16,17 @@
package com.hippo.ehviewer.ui;
import android.content.Context;
import android.content.res.Resources;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.WindowManager;
import com.google.analytics.tracking.android.EasyTracker;
import com.hippo.app.AppCompatPreferenceActivity;
import com.hippo.content.ContextLocalWrapper;
import com.hippo.ehviewer.EhApplication;
import com.hippo.ehviewer.Settings;
import java.util.Locale;
public abstract class EhPreferenceActivity extends AppCompatPreferenceActivity {
@@ -61,4 +65,38 @@ public abstract class EhPreferenceActivity extends AppCompatPreferenceActivity {
mTrackStarted = false;
}
}
@Override
protected void onResume() {
super.onResume();
if(Settings.getEnabledSecurity()){
getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE,
WindowManager.LayoutParams.FLAG_SECURE);
}else{
getWindow().clearFlags(WindowManager.LayoutParams.FLAG_SECURE);
}
}
@Override
protected void attachBaseContext(Context newBase) {
Locale locale = null;
String language = Settings.getAppLanguage();
if (language != null && !language.equals("system")) {
String[] split = language.split("-");
if (split.length == 1) {
locale = new Locale(split[0]);
} else if (split.length == 2) {
locale = new Locale(split[0], split[1]);
} else if (split.length == 3) {
locale = new Locale(split[0], split[1], split[2]);
}
}
if (locale == null) {
locale = Resources.getSystem().getConfiguration().locale;
}
newBase = ContextLocalWrapper.wrap(newBase, locale);
super.attachBaseContext(newBase);
}
}
@@ -20,6 +20,7 @@ import android.animation.Animator;
import android.animation.ObjectAnimator;
import android.animation.ValueAnimator;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.ContentResolver;
import android.content.Context;
import android.content.DialogInterface;
@@ -49,6 +50,7 @@ import android.widget.TextView;
import android.widget.Toast;
import com.hippo.ehviewer.AppConfig;
import com.hippo.ehviewer.BuildConfig;
import com.hippo.ehviewer.R;
import com.hippo.ehviewer.Settings;
import com.hippo.ehviewer.client.data.GalleryInfo;
@@ -68,6 +70,7 @@ import com.hippo.util.SystemUiHelper;
import com.hippo.widget.ColorView;
import com.hippo.yorozuya.AnimationUtils;
import com.hippo.yorozuya.ConcurrentPool;
import com.hippo.yorozuya.IOUtils;
import com.hippo.yorozuya.MathUtils;
import com.hippo.yorozuya.ResourcesUtils;
import com.hippo.yorozuya.SimpleAnimatorListener;
@@ -75,6 +78,10 @@ import com.hippo.yorozuya.SimpleHandler;
import com.hippo.yorozuya.ViewUtils;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
public class GalleryActivity extends EhActivity implements SeekBar.OnSeekBarChangeListener,
GalleryView.Listener {
@@ -93,11 +100,14 @@ public class GalleryActivity extends EhActivity implements SeekBar.OnSeekBarChan
private static final long SLIDER_ANIMATION_DURING = 150;
private static final long HIDE_SLIDER_DELAY = 3000;
private static final int WRITE_REQUEST_CODE = 43;
private String mAction;
private String mFilename;
private Uri mUri;
private GalleryInfo mGalleryInfo;
private int mPage;
private String mCacheFileName;
@Nullable
private GLRootView mGLRootView;
@@ -612,6 +622,16 @@ public class GalleryActivity extends EhActivity implements SeekBar.OnSeekBarChan
SimpleHandler.getInstance().post(task);
}
@Override
public void onTapErrorText(int index) {
NotifyTask task = mNotifyTaskPool.pop();
if (task == null) {
task = new NotifyTask();
}
task.setData(NotifyTask.KEY_TAP_ERROR_TEXT, index);
SimpleHandler.getInstance().post(task);
}
@Override
public void onLongPressPage(int index) {
NotifyTask task = mNotifyTaskPool.pop();
@@ -836,7 +856,7 @@ public class GalleryActivity extends EhActivity implements SeekBar.OnSeekBarChan
return;
}
File dir = AppConfig.getExternalImageDir();
File dir = AppConfig.getExternalTempDir();
if (null == dir) {
Toast.makeText(this, R.string.error_cant_create_temp_file, Toast.LENGTH_SHORT).show();
return;
@@ -860,18 +880,16 @@ public class GalleryActivity extends EhActivity implements SeekBar.OnSeekBarChan
Uri uri = new Uri.Builder()
.scheme(ContentResolver.SCHEME_CONTENT)
.authority("com.hippo.ehviewer.fileprovider")
.appendPath("image")
.authority(BuildConfig.FILE_PROVIDER_AUTHORITY)
.appendPath("temp")
.appendPath(filename)
.build();
Intent intent = new Intent();
intent.setAction(Intent.ACTION_SEND);
intent.putExtra(Intent.EXTRA_STREAM, uri);
intent.setType(mimeType);
startActivity(Intent.createChooser(intent, getString(R.string.share_image)));
// Sync media store
sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, file.getUri()));
}
private void saveImage(int page) {
@@ -896,32 +914,107 @@ public class GalleryActivity extends EhActivity implements SeekBar.OnSeekBarChan
sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, file.getUri()));
}
private void saveImageTo(int page) {
if (null == mGalleryProvider) {
return;
}
File dir = getCacheDir();
UniFile file;
if (null == (file = mGalleryProvider.save(page, UniFile.fromFile(dir), mGalleryProvider.getImageFilename(page)))) {
Toast.makeText(this, R.string.error_cant_save_image, Toast.LENGTH_SHORT).show();
return;
}
String filename = file.getName();
if (filename == null) {
Toast.makeText(this, R.string.error_cant_save_image, Toast.LENGTH_SHORT).show();
return;
}
mCacheFileName = filename;
Intent intent = new Intent(Intent.ACTION_CREATE_DOCUMENT);
intent.addCategory(Intent.CATEGORY_OPENABLE);
intent.setType("image/*");
intent.putExtra(Intent.EXTRA_TITLE, filename);
startActivityForResult(intent, WRITE_REQUEST_CODE);
}
@Override
public void onActivityResult(int requestCode, int resultCode, Intent resultData) {
if (requestCode == WRITE_REQUEST_CODE && resultCode == Activity.RESULT_OK) {
if (resultData != null){
Uri uri = resultData.getData();
String filepath = getCacheDir() + "/" + mCacheFileName;
File cachefile = new File(filepath);
InputStream is = null;
OutputStream os = null;
ContentResolver resolver = getContentResolver();
try {
is = new FileInputStream(cachefile);
os = resolver.openOutputStream(uri);
IOUtils.copy(is, os);
} catch (IOException e) {
e.printStackTrace();
} finally {
IOUtils.closeQuietly(is);
IOUtils.closeQuietly(os);
}
cachefile.delete();
Toast.makeText(this, getString(R.string.image_saved, uri.getPath()), Toast.LENGTH_SHORT).show();
// Sync media store
sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, uri));
}
}
}
private void showPageDialog(final int page) {
Resources resources = GalleryActivity.this.getResources();
new AlertDialog.Builder(GalleryActivity.this)
.setTitle(resources.getString(R.string.page_menu_title, page + 1))
.setItems(R.array.page_menu_entries, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
if (mGalleryProvider == null) {
return;
}
AlertDialog.Builder builder = new AlertDialog.Builder(GalleryActivity.this);
builder.setTitle(resources.getString(R.string.page_menu_title, page + 1));
switch (which) {
case 0: // Refresh
mGalleryProvider.forceRequest(page);
break;
case 1: // Share
shareImage(page);
break;
case 2: // Save
saveImage(page);
break;
case 3: // Add a bookmark
break;
}
}
}).show();
final CharSequence[] items;
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT){
items = new CharSequence[]{
getString(R.string.page_menu_refresh),
getString(R.string.page_menu_share),
getString(R.string.page_menu_save),
getString(R.string.page_menu_save_to)};
}else {
items = new CharSequence[]{
getString(R.string.page_menu_refresh),
getString(R.string.page_menu_share),
getString(R.string.page_menu_save)};
}
pageDialogListener(builder, items, page);
builder.show();
}
private void pageDialogListener(AlertDialog.Builder builder, CharSequence[] items, int page){
builder.setItems(items, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
if (mGalleryProvider == null) {
return;
}
switch (which) {
case 0: // Refresh
mGalleryProvider.forceRequest(page);
break;
case 1: // Share
shareImage(page);
break;
case 2: // Save
saveImage(page);
break;
case 3: // Save to
saveImageTo(page);
break;
}
}
});
}
private class NotifyTask implements Runnable {
@@ -931,7 +1024,8 @@ public class GalleryActivity extends EhActivity implements SeekBar.OnSeekBarChan
public static final int KEY_CURRENT_INDEX = 2;
public static final int KEY_TAP_SLIDER_AREA = 3;
public static final int KEY_TAP_MENU_AREA = 4;
public static final int KEY_LONG_PRESS_PAGE = 5;
public static final int KEY_TAP_ERROR_TEXT = 5;
public static final int KEY_LONG_PRESS_PAGE = 6;
private int mKey;
private int mValue;
@@ -964,6 +1058,12 @@ public class GalleryActivity extends EhActivity implements SeekBar.OnSeekBarChan
}
}
private void onTapErrorText(int index) {
if (mGalleryProvider != null) {
mGalleryProvider.forceRequest(index);
}
}
private void onLongPressPage(final int index) {
showPageDialog(index);
}
@@ -991,6 +1091,9 @@ public class GalleryActivity extends EhActivity implements SeekBar.OnSeekBarChan
case KEY_TAP_SLIDER_AREA:
onTapSliderArea();
break;
case KEY_TAP_ERROR_TEXT:
onTapErrorText(mValue);
break;
case KEY_LONG_PRESS_PAGE:
onLongPressPage(mValue);
break;
@@ -0,0 +1,272 @@
/*
* Copyright 2018 Hippo Seven
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.hippo.ehviewer.ui;
/*
* Created by Hippo on 2018/3/23.
*/
import android.app.Dialog;
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.TextInputLayout;
import android.support.v4.app.DialogFragment;
import android.support.v7.app.AlertDialog;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Pair;
import android.view.LayoutInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.hippo.easyrecyclerview.EasyRecyclerView;
import com.hippo.easyrecyclerview.LinearDividerItemDecoration;
import com.hippo.ehviewer.EhApplication;
import com.hippo.ehviewer.Hosts;
import com.hippo.ehviewer.R;
import com.hippo.ripple.Ripple;
import com.hippo.yorozuya.LayoutUtils;
import java.util.List;
import java.util.Locale;
public class HostsActivity extends ToolbarActivity
implements EasyRecyclerView.OnItemClickListener, View.OnClickListener {
private static final String DIALOG_TAG_ADD_HOST = AddHostDialogFragment.class.getName();
private static final String DIALOG_TAG_EDIT_HOST = EditHostDialogFragment.class.getName();
private static final String KEY_HOST = "com.hippo.ehviewer.ui.HostsActivity.HOST";
private static final String KEY_IP = "com.hippo.ehviewer.ui.HostsActivity.IP";
private Hosts hosts;
private List<Pair<String, String>> data;
private EasyRecyclerView recyclerView;
private View tip;
private HostsAdapter adapter;
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
hosts = EhApplication.getHosts(this);
data = hosts.getAll();
setContentView(R.layout.activity_hosts);
setNavigationIcon(R.drawable.v_arrow_left_dark_x24);
recyclerView = findViewById(R.id.recycler_view);
tip = findViewById(R.id.tip);
FloatingActionButton fab = findViewById(R.id.fab);
adapter = new HostsAdapter();
recyclerView.setAdapter(adapter);
recyclerView.setLayoutManager(new LinearLayoutManager(this, LinearLayoutManager.VERTICAL, false));
LinearDividerItemDecoration decoration = new LinearDividerItemDecoration(
LinearDividerItemDecoration.VERTICAL,
getResources().getColor(R.color.divider),
LayoutUtils.dp2pix(this, 1));
decoration.setShowLastDivider(true);
recyclerView.addItemDecoration(decoration);
recyclerView.setSelector(Ripple.generateRippleDrawable(this, false));
recyclerView.setHasFixedSize(true);
recyclerView.setOnItemClickListener(this);
recyclerView.setPadding(
recyclerView.getPaddingLeft(),
recyclerView.getPaddingTop(),
recyclerView.getPaddingRight(),
recyclerView.getPaddingBottom() + getResources().getDimensionPixelOffset(R.dimen.gallery_padding_bottom_fab));
fab.setOnClickListener(this);
recyclerView.setVisibility(data.isEmpty() ? View.GONE : View.VISIBLE);
tip.setVisibility(data.isEmpty() ? View.VISIBLE : View.GONE);
}
@Override
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case android.R.id.home:
finish();
return true;
default:
return super.onOptionsItemSelected(item);
}
}
@Override
public boolean onItemClick(EasyRecyclerView easyRecyclerView, View view, int position, long id) {
Pair<String, String> pair = data.get(position);
Bundle args = new Bundle();
args.putString(KEY_HOST, pair.first);
args.putString(KEY_IP, pair.second);
DialogFragment fragment = new EditHostDialogFragment();
fragment.setArguments(args);
fragment.show(getSupportFragmentManager(), DIALOG_TAG_EDIT_HOST);
return true;
}
@Override
public void onClick(View v) {
new AddHostDialogFragment().show(getSupportFragmentManager(), DIALOG_TAG_ADD_HOST);
}
private void notifyHostsChanges() {
data = hosts.getAll();
recyclerView.setVisibility(data.isEmpty() ? View.GONE : View.VISIBLE);
tip.setVisibility(data.isEmpty() ? View.VISIBLE : View.GONE);
adapter.notifyDataSetChanged();
}
private class HostsHolder extends RecyclerView.ViewHolder {
public final TextView host;
public final TextView ip;
public HostsHolder(View itemView) {
super(itemView);
host = itemView.findViewById(R.id.host);
ip = itemView.findViewById(R.id.ip);
}
}
private class HostsAdapter extends RecyclerView.Adapter<HostsHolder> {
private final LayoutInflater inflater = getLayoutInflater();
@NonNull
@Override
public HostsHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
return new HostsHolder(inflater.inflate(R.layout.item_hosts, parent, false));
}
@Override
public void onBindViewHolder(@NonNull HostsHolder holder, int position) {
Pair<String, String> pair = data.get(position);
holder.host.setText(pair.first);
holder.ip.setText(pair.second);
}
@Override
public int getItemCount() {
return data.size();
}
}
public abstract static class HostDialogFragment extends DialogFragment {
private TextView host;
private TextView ip;
@NonNull
@Override
public Dialog onCreateDialog(Bundle savedInstanceState) {
View view = getActivity().getLayoutInflater().inflate(R.layout.dialog_hosts, null, false);
host = view.findViewById(R.id.host);
ip = view.findViewById(R.id.ip);
Bundle arguments = getArguments();
if (savedInstanceState == null && arguments != null) {
host.setText(arguments.getString(KEY_HOST));
ip.setText(arguments.getString(KEY_IP));
}
AlertDialog.Builder builder = new AlertDialog.Builder(getContext()).setView(view);
onCreateDialogBuilder(builder);
AlertDialog dialog = builder.create();
dialog.setOnShowListener(d -> onCreateDialog((AlertDialog) d));
return dialog;
}
protected abstract void onCreateDialogBuilder(AlertDialog.Builder builder);
protected abstract void onCreateDialog(AlertDialog dialog);
protected void put(AlertDialog dialog) {
TextView host = dialog.findViewById(R.id.host);
TextView ip = dialog.findViewById(R.id.ip);
String hostString = host.getText().toString().trim().toLowerCase(Locale.US);
String ipString = ip.getText().toString().trim();
if (!Hosts.isValidHost(hostString)) {
TextInputLayout hostInputLayout = dialog.findViewById(R.id.host_input_layout);
hostInputLayout.setError(getContext().getString(R.string.invalid_host));
return;
}
if (!Hosts.isValidIp(ipString)) {
TextInputLayout ipInputLayout = dialog.findViewById(R.id.ip_input_layout);
ipInputLayout.setError(getContext().getString(R.string.invalid_ip));
return;
}
HostsActivity activity = (HostsActivity) dialog.getOwnerActivity();
activity.hosts.put(hostString, ipString);
activity.notifyHostsChanges();
dialog.dismiss();
}
protected void delete(AlertDialog dialog) {
TextView host = dialog.findViewById(R.id.host);
String hostString = host.getText().toString().trim().toLowerCase(Locale.US);
HostsActivity activity = (HostsActivity) dialog.getOwnerActivity();
activity.hosts.delete(hostString);
activity.notifyHostsChanges();
dialog.dismiss();
}
}
public static class AddHostDialogFragment extends HostDialogFragment {
@Override
protected void onCreateDialogBuilder(AlertDialog.Builder builder) {
builder.setTitle(R.string.add_host);
builder.setPositiveButton(R.string.add_host_add, null);
}
@Override
protected void onCreateDialog(AlertDialog dialog) {
dialog.getButton(DialogInterface.BUTTON_POSITIVE).setOnClickListener(v -> put(dialog));
}
}
public static class EditHostDialogFragment extends HostDialogFragment {
@Override
protected void onCreateDialogBuilder(AlertDialog.Builder builder) {
builder.setTitle(R.string.edit_host);
builder.setPositiveButton(R.string.edit_host_confirm, null);
builder.setNegativeButton(R.string.edit_host_delete, null);
}
@Override
protected void onCreateDialog(AlertDialog dialog) {
dialog.findViewById(R.id.host_input_layout).setEnabled(false);
dialog.getButton(DialogInterface.BUTTON_POSITIVE).setOnClickListener(v -> put(dialog));
dialog.getButton(DialogInterface.BUTTON_NEGATIVE).setOnClickListener(v -> delete(dialog));
}
}
}
@@ -17,6 +17,9 @@
package com.hippo.ehviewer.ui;
import android.Manifest;
import android.content.ClipData;
import android.content.ClipboardManager;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
@@ -33,18 +36,19 @@ import android.support.design.widget.NavigationView;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AlertDialog;
import android.text.TextUtils;
import android.util.Pair;
import android.view.Gravity;
import android.view.MenuItem;
import android.view.View;
import android.widget.FrameLayout;
import android.widget.TextView;
import android.widget.Toast;
import com.hippo.drawerlayout.DrawerLayout;
import com.hippo.ehviewer.AppConfig;
import com.hippo.ehviewer.Crash;
import com.hippo.ehviewer.R;
import com.hippo.ehviewer.Settings;
import com.hippo.ehviewer.client.EhUrl;
import com.hippo.ehviewer.client.EhUrlOpener;
import com.hippo.ehviewer.client.EhUtils;
import com.hippo.ehviewer.client.data.ListUrlBuilder;
@@ -81,8 +85,8 @@ import com.hippo.util.PermissionRequester;
import com.hippo.widget.LoadImageView;
import com.hippo.yorozuya.IOUtils;
import com.hippo.yorozuya.ResourcesUtils;
import com.hippo.yorozuya.SimpleHandler;
import com.hippo.yorozuya.ViewUtils;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
@@ -96,6 +100,7 @@ public final class MainActivity extends StageActivity
private static final int REQUEST_CODE_SETTINGS = 0;
private static final String KEY_NAV_CHECKED_ITEM = "nav_checked_item";
private static final String KEY_CLIP_TEXT_HASH_CODE = "clip_text_hash_code";
/*---------------
Whole life cycle
@@ -113,6 +118,8 @@ public final class MainActivity extends StageActivity
private int mNavCheckedItem = 0;
private int mClipTextHashCode = 0;
static {
registerLaunchMode(SecurityScene.class, SceneFragment.LAUNCH_MODE_SINGLE_TASK);
registerLaunchMode(WarningScene.class, SceneFragment.LAUNCH_MODE_SINGLE_TASK);
@@ -331,7 +338,9 @@ public final class MainActivity extends StageActivity
if (savedInstanceState == null) {
onInit();
CommonOperations.checkUpdate(this, false);
if (Settings.getAutoCheckUpdateEnable()) {
CommonOperations.checkUpdate(this, false);
}
checkDownloadLocation();
if (Settings.getCellularNetworkWarning()) {
checkCellularNetwork();
@@ -364,16 +373,20 @@ public final class MainActivity extends StageActivity
// Check permission
PermissionRequester.request(this, Manifest.permission.WRITE_EXTERNAL_STORAGE,
getString(R.string.write_rationale), PERMISSION_REQUEST_WRITE_EXTERNAL_STORAGE);
mClipTextHashCode = Settings.getClipboardTextHashCode();
}
private void onRestore(Bundle savedInstanceState) {
mNavCheckedItem = savedInstanceState.getInt(KEY_NAV_CHECKED_ITEM);
mClipTextHashCode = savedInstanceState.getInt(KEY_CLIP_TEXT_HASH_CODE);
}
@Override
public void onSaveInstanceState(Bundle outState, PersistableBundle outPersistentState) {
super.onSaveInstanceState(outState, outPersistentState);
outState.putInt(KEY_NAV_CHECKED_ITEM, mNavCheckedItem);
outState.putInt(KEY_CLIP_TEXT_HASH_CODE, mClipTextHashCode);
}
@Override
@@ -392,6 +405,69 @@ public final class MainActivity extends StageActivity
super.onResume();
setNavCheckedItem(mNavCheckedItem);
checkClipboardUrl();
}
@Override
protected void onTransactScene() {
super.onTransactScene();
checkClipboardUrl();
}
private void checkClipboardUrl() {
SimpleHandler.getInstance().postDelayed(() -> {
if (!isSolid()) {
checkClipboardUrlInternal();
}
}, 300);
}
private boolean isSolid() {
Class<?> topClass = getTopSceneClass();
return topClass == null || SolidScene.class.isAssignableFrom(topClass);
}
private String getTextFromClipboard() {
ClipboardManager clipboard = (ClipboardManager) getSystemService(Context.CLIPBOARD_SERVICE);
if (clipboard != null) {
ClipData clip = clipboard.getPrimaryClip();
if (clip != null && clip.getItemCount() > 0 && clip.getItemAt(0).getText() != null) {
return clip.getItemAt(0).getText().toString();
}
}
return null;
}
private void checkClipboardUrlInternal() {
String text = getTextFromClipboard();
int hashCode = text != null ? text.hashCode() : 0;
if (text != null && hashCode != 0 && mClipTextHashCode != hashCode) {
Pair<Long, String> pair = EhUrl.parseGalleryDetailUrl(text);
if (pair != null) {
long gid = pair.first;
String token = pair.second;
new AlertDialog.Builder(this)
.setTitle(R.string.clipboard_gallery_url_dialog_title)
.setMessage(R.string.clipboard_gallery_url_dialog_message)
.setNegativeButton(android.R.string.cancel, null)
.setPositiveButton(android.R.string.ok, (dialog, which) -> {
Bundle args = new Bundle();
args.putString(GalleryDetailScene.KEY_ACTION, GalleryDetailScene.ACTION_GID_TOKEN);
args.putLong(GalleryDetailScene.KEY_GID, gid);
args.putString(GalleryDetailScene.KEY_TOKEN, token);
startScene(new Announcer(GalleryDetailScene.class).setArgs(args));
})
.show();
}
}
if (mClipTextHashCode != hashCode) {
mClipTextHashCode = hashCode;
Settings.putClipboardTextHashCode(hashCode);
}
}
@Override
@@ -413,7 +489,7 @@ public final class MainActivity extends StageActivity
if (scene instanceof BaseScene && mRightDrawer != null && mDrawerLayout != null) {
BaseScene baseScene = (BaseScene) scene;
mRightDrawer.removeAllViews();
View drawerView = baseScene.onCreateDrawerView(
View drawerView = baseScene.createDrawerView(
baseScene.getLayoutInflater2(), mRightDrawer, savedInstanceState);
if (drawerView != null) {
mRightDrawer.addView(drawerView);
@@ -430,7 +506,7 @@ public final class MainActivity extends StageActivity
if (scene instanceof BaseScene) {
BaseScene baseScene = (BaseScene) scene;
baseScene.onDestroyDrawerView();
baseScene.destroyDrawerView();
}
}
@@ -38,6 +38,7 @@ import com.hippo.ehviewer.ui.fragment.AdvancedFragment;
import com.hippo.ehviewer.ui.fragment.DownloadFragment;
import com.hippo.ehviewer.ui.fragment.EhFragment;
import com.hippo.ehviewer.ui.fragment.ReadFragment;
import com.hippo.ehviewer.ui.fragment.PrivacyFragment;
import com.hippo.util.DrawableManager;
import java.lang.reflect.Field;
@@ -53,6 +54,7 @@ public final class SettingsActivity extends EhPreferenceActivity {
DownloadFragment.class.getName(),
AdvancedFragment.class.getName(),
AboutFragment.class.getName(),
PrivacyFragment.class.getName(),
};
private class FakeLayoutInflater extends LayoutInflater {
@@ -33,8 +33,7 @@ import com.hippo.ehviewer.ui.CommonOperations;
import com.hippo.util.AppHelper;
public class AboutFragment extends PreferenceFragment
implements Preference.OnPreferenceChangeListener,
Preference.OnPreferenceClickListener {
implements Preference.OnPreferenceClickListener {
private static final String KEY_AUTHOR = "author";
private static final String KEY_DONATE = "donate";
@@ -46,7 +45,6 @@ public class AboutFragment extends PreferenceFragment
addPreferencesFromResource(R.xml.about_settings);
Preference author = findPreference(KEY_AUTHOR);
Preference enableAnalytics = findPreference(Settings.KEY_ENABLE_ANALYTICS);
Preference donate = findPreference(KEY_DONATE);
Preference checkForUpdate = findPreference(KEY_CHECK_FOR_UPDATES);
@@ -56,21 +54,8 @@ public class AboutFragment extends PreferenceFragment
author.setOnPreferenceClickListener(this);
donate.setOnPreferenceClickListener(this);
checkForUpdate.setOnPreferenceClickListener(this);
enableAnalytics.setOnPreferenceChangeListener(this);
}
@Override
public boolean onPreferenceChange(Preference preference, Object newValue) {
String key = preference.getKey();
if (Settings.KEY_ENABLE_ANALYTICS.equals(key)) {
if (newValue instanceof Boolean && (Boolean) newValue) {
Analytics.start(getActivity());
}
return true;
}
return true;
}
@Override
public boolean onPreferenceClick(Preference preference) {
@@ -24,25 +24,24 @@ import android.content.res.Resources;
import android.os.Bundle;
import android.preference.Preference;
import android.preference.PreferenceFragment;
import android.text.TextUtils;
import android.widget.Toast;
import com.hippo.ehviewer.AppConfig;
import com.hippo.ehviewer.EhApplication;
import com.hippo.ehviewer.EhDB;
import com.hippo.ehviewer.R;
import com.hippo.ehviewer.Settings;
import com.hippo.util.LogCat;
import com.hippo.util.ReadableTime;
import java.io.File;
import java.util.Arrays;
public class AdvancedFragment extends PreferenceFragment implements Preference.OnPreferenceClickListener {
public class AdvancedFragment extends PreferenceFragment
implements Preference.OnPreferenceClickListener, Preference.OnPreferenceChangeListener {
private static final String KEY_DUMP_LOGCAT = "dump_logcat";
private static final String KEY_CLEAR_MEMORY_CACHE = "clear_memory_cache";
private static final String KEY_PATTERN_PROTECTION = "pattern_protection";
private static final String KEY_APP_LANGUAGE = "app_language";
private static final String KEY_EXPORT_DATA = "export_data";
private static final String KEY_IMPORT_DATA = "import_data";
@@ -53,6 +52,7 @@ public class AdvancedFragment extends PreferenceFragment implements Preference.O
Preference dumpLogcat = findPreference(KEY_DUMP_LOGCAT);
Preference clearMemoryCache = findPreference(KEY_CLEAR_MEMORY_CACHE);
Preference appLanguage = findPreference(KEY_APP_LANGUAGE);
Preference exportData = findPreference(KEY_EXPORT_DATA);
Preference importData = findPreference(KEY_IMPORT_DATA);
@@ -60,16 +60,13 @@ public class AdvancedFragment extends PreferenceFragment implements Preference.O
clearMemoryCache.setOnPreferenceClickListener(this);
exportData.setOnPreferenceClickListener(this);
importData.setOnPreferenceClickListener(this);
appLanguage.setOnPreferenceChangeListener(this);
}
@Override
public void onResume() {
super.onResume();
Preference patternProtection = findPreference(KEY_PATTERN_PROTECTION);
patternProtection.setSummary(TextUtils.isEmpty(Settings.getSecurity()) ?
R.string.settings_advanced_pattern_protection_not_set :
R.string.settings_advanced_pattern_protection_set);
}
@Override
@@ -137,4 +134,14 @@ public class AdvancedFragment extends PreferenceFragment implements Preference.O
}
}).show();
}
@Override
public boolean onPreferenceChange(Preference preference, Object newValue) {
String key = preference.getKey();
if (KEY_APP_LANGUAGE.equals(key)) {
((EhApplication) getActivity().getApplication()).recreate();
return true;
}
return false;
}
}
@@ -0,0 +1,47 @@
package com.hippo.ehviewer.ui.fragment;
import android.os.Bundle;
import android.preference.Preference;
import android.preference.PreferenceFragment;
import android.text.TextUtils;
import com.hippo.ehviewer.Analytics;
import com.hippo.ehviewer.R;
import com.hippo.ehviewer.Settings;
/**
* Created by Mo10 on 2018/2/10.
*/
public class PrivacyFragment extends PreferenceFragment
implements Preference.OnPreferenceChangeListener {
private static final String KEY_PATTERN_PROTECTION = "pattern_protection";
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
addPreferencesFromResource(R.xml.privacy_settings);
Preference enableAnalytics = findPreference(Settings.KEY_ENABLE_ANALYTICS);
enableAnalytics.setOnPreferenceChangeListener(this);
}
@Override
public void onResume() {
super.onResume();
Preference patternProtection = findPreference(KEY_PATTERN_PROTECTION);
patternProtection.setSummary(TextUtils.isEmpty(Settings.getSecurity()) ?
R.string.settings_privacy_pattern_protection_not_set :
R.string.settings_privacy_pattern_protection_set);
}
@Override
public boolean onPreferenceChange(Preference preference, Object newValue) {
String key = preference.getKey();
if (Settings.KEY_ENABLE_ANALYTICS.equals(key)) {
if (newValue instanceof Boolean && (Boolean) newValue) {
Analytics.start(getActivity());
}
return true;
}
return true;
}
}
@@ -19,18 +19,20 @@ package com.hippo.ehviewer.ui.scene;
import android.content.Context;
import android.content.res.Resources;
import android.os.Bundle;
import android.os.Parcelable;
import android.support.annotation.IdRes;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.annotation.StringRes;
import android.support.annotation.StyleRes;
import android.support.v4.app.FragmentActivity;
import android.support.v4.widget.DrawerLayout;
import android.util.SparseArray;
import android.view.ContextThemeWrapper;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.hippo.ehviewer.ui.MainActivity;
import com.hippo.scene.SceneFragment;
import com.hippo.util.AppHelper;
@@ -40,8 +42,16 @@ public abstract class BaseScene extends SceneFragment {
public static final int LENGTH_SHORT = 0;
public static final int LENGTH_LONG = 1;
public static final String KEY_DRAWER_VIEW_STATE =
"com.hippo.ehviewer.ui.scene.BaseScene:DRAWER_VIEW_STATE";
private Context mThemeContext;
@Nullable
private View drawerView;
@Nullable
private SparseArray<Parcelable> drawerViewState;
public void updateAvatar() {
FragmentActivity activity = getActivity();
if (activity instanceof MainActivity) {
@@ -132,11 +142,39 @@ public abstract class BaseScene extends SceneFragment {
return 0;
}
public final View createDrawerView(LayoutInflater inflater,
@Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
drawerView = onCreateDrawerView(inflater, container, savedInstanceState);
if (drawerView != null) {
SparseArray<Parcelable> saved = drawerViewState;
if (saved == null && savedInstanceState != null) {
saved = savedInstanceState.getSparseParcelableArray(KEY_DRAWER_VIEW_STATE);
}
if (saved != null) {
drawerView.restoreHierarchyState(saved);
}
}
return drawerView;
}
public View onCreateDrawerView(LayoutInflater inflater,
@Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
return null;
}
public final void destroyDrawerView() {
if (drawerView != null) {
drawerViewState = new SparseArray<>();
drawerView.saveHierarchyState(drawerViewState);
}
onDestroyDrawerView();
drawerView = null;
}
public void onDestroyDrawerView() {
}
@@ -222,4 +260,15 @@ public abstract class BaseScene extends SceneFragment {
AppHelper.showSoftInput(activity, view);
}
}
@Override
public void onSaveInstanceState(@NonNull Bundle outState) {
super.onSaveInstanceState(outState);
if (drawerView != null) {
drawerViewState = new SparseArray<>();
drawerView.saveHierarchyState(drawerViewState);
outState.putSparseParcelableArray(KEY_DRAWER_VIEW_STATE, drawerViewState);
}
}
}
@@ -196,12 +196,6 @@ public class CookieSignInScene extends SolidScene implements EditText.OnEditorAc
} else {
mIpbPassHashLayout.setError(null);
}
if (TextUtils.isEmpty(igneous)) {
mIgneousLayout.setError(getString(R.string.text_is_empty));
return;
} else {
mIgneousLayout.setError(null);
}
hideSoftInput();
@@ -242,7 +236,9 @@ public class CookieSignInScene extends SolidScene implements EditText.OnEditorAc
store.addCookie(newCookie(EhCookieStore.KEY_IPD_MEMBER_ID, id, EhUrl.DOMAIN_EX));
store.addCookie(newCookie(EhCookieStore.KEY_IPD_PASS_HASH, hash, EhUrl.DOMAIN_E));
store.addCookie(newCookie(EhCookieStore.KEY_IPD_PASS_HASH, hash, EhUrl.DOMAIN_EX));
store.addCookie(newCookie(EhCookieStore.KEY_IGNEOUS, igneous, EhUrl.DOMAIN_E));
store.addCookie(newCookie(EhCookieStore.KEY_IGNEOUS, igneous, EhUrl.DOMAIN_EX));
if (!igneous.isEmpty()) {
store.addCookie(newCookie(EhCookieStore.KEY_IGNEOUS, igneous, EhUrl.DOMAIN_E));
store.addCookie(newCookie(EhCookieStore.KEY_IGNEOUS, igneous, EhUrl.DOMAIN_EX));
}
}
}
@@ -489,6 +489,17 @@ public class DownloadsScene extends ToolbarScene
}
return true;
}
case R.id.action_reset_reading_progress: {
new AlertDialog.Builder(getContext())
.setMessage(R.string.reset_reading_progress_message)
.setNegativeButton(android.R.string.cancel, null)
.setPositiveButton(android.R.string.ok, (dialog, which) -> {
if (mDownloadManager != null) {
mDownloadManager.resetAllReadingProgress();
}
}).show();
return true;
}
}
return false;
}
@@ -635,7 +646,7 @@ public class DownloadsScene extends ToolbarScene
if (list == null) {
return false;
}
if (position < 0 && position >= list.size()) {
if (position < 0 || position >= list.size()) {
return false;
}
@@ -1092,7 +1103,7 @@ public class DownloadsScene extends ToolbarScene
}
int size = list.size();
int index = recyclerView.getChildAdapterPosition(itemView);
if (index < 0 && index >= size) {
if (index < 0 || index >= size) {
return;
}
@@ -40,6 +40,14 @@ public abstract class EhCallback<E extends SceneFragment, T> implements EhClient
public abstract boolean isInstance(SceneFragment scene);
public Context getContent() {
Context context = getStageActivity();
if (context == null) {
context = getApplication();
}
return context;
}
public EhApplication getApplication() {
return mApplication;
}
@@ -71,4 +79,14 @@ public abstract class EhCallback<E extends SceneFragment, T> implements EhClient
length == BaseScene.LENGTH_LONG ? Toast.LENGTH_LONG : Toast.LENGTH_SHORT).show();
}
}
public void showTip(String tip, int length) {
StageActivity activity = getStageActivity();
if (activity instanceof MainActivity) {
((MainActivity) activity).showTip(tip, length);
} else {
Toast.makeText(getApplication(), tip,
length == BaseScene.LENGTH_LONG ? Toast.LENGTH_LONG : Toast.LENGTH_SHORT).show();
}
}
}
@@ -29,6 +29,7 @@ import android.support.annotation.Nullable;
import android.support.design.widget.FloatingActionButton;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.app.AlertDialog;
import android.support.v7.widget.DividerItemDecoration;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.Toolbar;
@@ -43,9 +44,6 @@ import android.view.LayoutInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.TextView;
import com.github.amlcurran.showcaseview.ShowcaseView;
@@ -55,7 +53,6 @@ import com.hippo.annotation.Implemented;
import com.hippo.drawable.DrawerArrowDrawable;
import com.hippo.easyrecyclerview.EasyRecyclerView;
import com.hippo.easyrecyclerview.FastScroller;
import com.hippo.easyrecyclerview.LinearDividerItemDecoration;
import com.hippo.ehviewer.EhApplication;
import com.hippo.ehviewer.EhDB;
import com.hippo.ehviewer.R;
@@ -70,6 +67,7 @@ import com.hippo.ehviewer.ui.MainActivity;
import com.hippo.ehviewer.ui.annotation.DrawerLifeCircle;
import com.hippo.ehviewer.ui.annotation.ViewLifeCircle;
import com.hippo.ehviewer.ui.annotation.WholeLifeCircle;
import com.hippo.ehviewer.widget.EhDrawerLayout;
import com.hippo.ehviewer.widget.SearchBar;
import com.hippo.refreshlayout.RefreshLayout;
import com.hippo.ripple.Ripple;
@@ -80,9 +78,7 @@ import com.hippo.util.DrawableManager;
import com.hippo.widget.ContentLayout;
import com.hippo.widget.FabLayout;
import com.hippo.widget.SearchBarMover;
import com.hippo.yorozuya.LayoutUtils;
import com.hippo.yorozuya.ObjectUtils;
import com.hippo.yorozuya.ResourcesUtils;
import com.hippo.yorozuya.SimpleHandler;
import com.hippo.yorozuya.ViewUtils;
@@ -96,7 +92,7 @@ import java.util.List;
public class FavoritesScene extends BaseScene implements
EasyRecyclerView.OnItemClickListener, EasyRecyclerView.OnItemLongClickListener,
FastScroller.OnDragHandlerListener, SearchBarMover.Helper, SearchBar.Helper,
FabLayout.OnClickFabListener, EasyRecyclerView.CustomChoiceListener, AdapterView.OnItemClickListener {
FabLayout.OnClickFabListener, EasyRecyclerView.CustomChoiceListener {
private static final long ANIMATE_TIME = 300L;
@@ -129,12 +125,11 @@ public class FavoritesScene extends BaseScene implements
private DrawerArrowDrawable mLeftDrawable;
@Nullable
@DrawerLifeCircle
private ArrayAdapter<String> mDrawerAdapter;
private EhDrawerLayout mDrawerLayout;
@Nullable
@DrawerLifeCircle
private List<String> mDrawerList;
private FavDrawerAdapter mDrawerAdapter;
@Nullable
@WholeLifeCircle
private EhClient mClient;
@@ -143,13 +138,16 @@ public class FavoritesScene extends BaseScene implements
private String[] mFavCatArray;
@Nullable
@WholeLifeCircle
private int[] mFavCountArray;
@Nullable
@WholeLifeCircle
private FavListUrlBuilder mUrlBuilder;
public int current; // -1 for error
public int limit; // -1 for error
@Nullable
private int[] mFavCountArray;
private int mFavLocalCount = 0;
private int mFavCountSum = 0;
private boolean mHasFirstRefresh;
private boolean mSearchMode;
@@ -181,6 +179,9 @@ public class FavoritesScene extends BaseScene implements
Assert.assertNotNull(context);
mClient = EhApplication.getEhClient(context);
mFavCatArray = Settings.getFavCat();
mFavCountArray = Settings.getFavCount();
mFavLocalCount = Settings.getFavLocalCount();
mFavCountSum = Settings.getFavCloudCount();
if (savedInstanceState == null) {
onInit();
@@ -206,7 +207,7 @@ public class FavoritesScene extends BaseScene implements
}
@Override
public void onSaveInstanceState(Bundle outState) {
public void onSaveInstanceState(@NonNull Bundle outState) {
super.onSaveInstanceState(outState);
boolean hasFirstRefresh;
@@ -227,6 +228,8 @@ public class FavoritesScene extends BaseScene implements
mClient = null;
mFavCatArray = null;
mFavCountArray = null;
mFavCountSum = 0;
mUrlBuilder = null;
}
@@ -236,6 +239,9 @@ public class FavoritesScene extends BaseScene implements
@Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.scene_favorites, container, false);
ContentLayout contentLayout = (ContentLayout) view.findViewById(R.id.content_layout);
MainActivity activity = getActivity2();
Assert.assertNotNull(activity);
mDrawerLayout = (EhDrawerLayout) ViewUtils.$$(activity, R.id.draw_view);
mRecyclerView = contentLayout.getRecyclerView();
FastScroller fastScroller = contentLayout.getFastScroller();
RefreshLayout refreshLayout = contentLayout.getRefreshLayout();
@@ -410,95 +416,76 @@ public class FavoritesScene extends BaseScene implements
mOldKeyword = null;
}
private class InfoHolder extends RecyclerView.ViewHolder {
private class FavDrawerHolder extends RecyclerView.ViewHolder {
private final TextView key;
private final TextView value;
public InfoHolder(View itemView) {
private FavDrawerHolder(View itemView) {
super(itemView);
key = (TextView) ViewUtils.$$(itemView, R.id.key);
value = (TextView) ViewUtils.$$(itemView, R.id.value);
}
}
private class InfoAdapter extends RecyclerView.Adapter<InfoHolder> {
private static final int TYPE_HEADER = 0;
private static final int TYPE_DATA = 1;
private class FavDrawerAdapter extends RecyclerView.Adapter<FavDrawerHolder> {
private final LayoutInflater mInflater;
public InfoAdapter(LayoutInflater inflater) {
private FavDrawerAdapter(LayoutInflater inflater) {
mInflater = inflater;
}
@Override
public int getItemViewType(int position) {
return 0 == position ? TYPE_HEADER : TYPE_DATA;
return position;
}
@NonNull
@Override
public InfoHolder onCreateViewHolder(ViewGroup parent, int viewType) {
return new InfoHolder(mInflater.inflate(TYPE_HEADER == viewType ?
R.layout.item_favorite_info_header : R.layout.item_favorite_info_data, parent, false));
public FavDrawerHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
return new FavDrawerHolder(mInflater.inflate(R.layout.item_drawer_favorites, parent, false));
}
@Override
@SuppressLint("SetTextI18n")
public void onBindViewHolder(InfoHolder holder, int position) {
public void onBindViewHolder(@NonNull FavDrawerHolder holder, int position) {
if (0 == position) {
holder.key.setText(R.string.collections);
holder.value.setText(R.string.count);
holder.itemView.setEnabled(false);
holder.key.setText(R.string.local_favorites);
holder.value.setText(Integer.toString(mFavLocalCount));
holder.itemView.setEnabled(true);
} else if (1 == position){
holder.key.setText(R.string.cloud_favorites);
holder.value.setText(Integer.toString(mFavCountSum));
holder.itemView.setEnabled(true);
} else {
if (null == mFavCatArray || null == mFavCountArray ||
mFavCatArray.length < position || mFavCountArray.length < position) {
mFavCatArray.length < (position - 1) ||
mFavCountArray.length < (position - 1)) {
return;
}
holder.key.setText(mFavCatArray[position - 1]);
holder.value.setText(Integer.toString(mFavCountArray[position - 1]));
holder.key.setText(mFavCatArray[position - 2]);
holder.value.setText(Integer.toString(mFavCountArray[position - 2]));
holder.itemView.setEnabled(true);
}
}
@Override
public int getItemCount() {
return 11;
if (null == mFavCatArray) {
return 2;
}
return 12;
}
}
@SuppressLint("InflateParams")
private void showFavoritesInfoDialog() {
Context context = getContext2();
if (null == context || null == mFavCatArray || null == mFavCountArray) {
return;
}
AlertDialog.Builder builder = new AlertDialog.Builder(context);
context = builder.getContext();
final LayoutInflater inflater = LayoutInflater.from(context);
EasyRecyclerView rv = (EasyRecyclerView) inflater.inflate(R.layout.dialog_recycler_view, null);
rv.setAdapter(new InfoAdapter(inflater));
rv.setLayoutManager(new LinearLayoutManager(context));
LinearDividerItemDecoration decoration = new LinearDividerItemDecoration(
LinearDividerItemDecoration.VERTICAL, context.getResources().getColor(R.color.divider),
LayoutUtils.dp2pix(context, 1));
decoration.setPadding(ResourcesUtils.getAttrDimensionPixelOffset(context, R.attr.dialogPreferredPadding));
rv.addItemDecoration(decoration);
rv.setSelector(Ripple.generateRippleDrawable(context, false));
rv.setClipToPadding(false);
builder.setView(rv).show();
}
@Override
public View onCreateDrawerView(LayoutInflater inflater,
@Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.drawer_list, container, false);
Toolbar toolbar = (Toolbar) ViewUtils.$$(view, R.id.toolbar);
ListView listView = (ListView) view.findViewById(R.id.list_view);
View view = inflater.inflate(R.layout.drawer_list_rv, container, false);
final Context context = getContext2();
Toolbar toolbar = (Toolbar) ViewUtils.$$(view, R.id.toolbar);
Assert.assertNotNull(context);
toolbar.setTitle(R.string.collections);
@@ -508,9 +495,6 @@ public class FavoritesScene extends BaseScene implements
public boolean onMenuItemClick(MenuItem item) {
int id = item.getItemId();
switch (id) {
case R.id.action_info:
showFavoritesInfoDialog();
return true;
case R.id.action_default_favorites_slot:
String[] items = new String[12];
items[0] = getString(R.string.let_me_select);
@@ -531,15 +515,13 @@ public class FavoritesScene extends BaseScene implements
}
});
mDrawerList = new ArrayList<>(12);
mDrawerList.add(getString(R.string.local_favorites));
mDrawerList.add(getString(R.string.cloud_favorites));
if (mFavCatArray != null) {
Collections.addAll(mDrawerList, mFavCatArray);
}
mDrawerAdapter = new ArrayAdapter<>(context, R.layout.item_simple_list, mDrawerList);
listView.setAdapter(mDrawerAdapter);
listView.setOnItemClickListener(this);
EasyRecyclerView recyclerView = (EasyRecyclerView) view.findViewById(R.id.recycler_view_drawer);
recyclerView.setLayoutManager(new LinearLayoutManager(context));
recyclerView.addItemDecoration(new DividerItemDecoration(context, DividerItemDecoration.VERTICAL));
mDrawerAdapter = new FavDrawerAdapter(inflater);
recyclerView.setAdapter(mDrawerAdapter);
recyclerView.setOnItemClickListener(this);
return view;
}
@@ -549,7 +531,6 @@ public class FavoritesScene extends BaseScene implements
super.onDestroyDrawerView();
mDrawerAdapter = null;
mDrawerList = null;
}
@Override
@@ -590,19 +571,53 @@ public class FavoritesScene extends BaseScene implements
@Override
@Implemented(EasyRecyclerView.OnItemClickListener.class)
public boolean onItemClick(EasyRecyclerView parent, View view, int position, long id) {
if (mRecyclerView != null && mRecyclerView.isInCustomChoice()) {
mRecyclerView.toggleItemChecked(position);
} else if (mHelper != null) {
GalleryInfo gi = mHelper.getDataAt(position);
Bundle args = new Bundle();
args.putString(GalleryDetailScene.KEY_ACTION, GalleryDetailScene.ACTION_GALLERY_INFO);
args.putParcelable(GalleryDetailScene.KEY_GALLERY_INFO, gi);
Announcer announcer = new Announcer(GalleryDetailScene.class).setArgs(args);
View thumb;
if (ApiHelper.SUPPORT_TRANSITION && null != (thumb = view.findViewById(R.id.thumb))) {
announcer.setTranHelper(new EnterGalleryDetailTransaction(thumb));
if (mDrawerLayout != null && mDrawerLayout.isDrawerOpen(Gravity.RIGHT)){
// Skip if in search mode
if (mRecyclerView != null && mRecyclerView.isInCustomChoice()) {
return true;
}
if (mUrlBuilder == null || mHelper == null) {
return true;
}
// Local favorite position is 0, All favorite position is 1, so position - 2 is OK
int newFavCat = position - 2;
// Check is the same
if (mUrlBuilder.getFavCat() == newFavCat) {
return true;
}
// Ensure outOfCustomChoiceMode to avoid error
if (mRecyclerView != null) {
mRecyclerView.isInCustomChoice();
}
exitSearchMode(true);
mUrlBuilder.setKeyword(null);
mUrlBuilder.setFavCat(newFavCat);
updateSearchBar();
mHelper.refresh();
closeDrawer(Gravity.RIGHT);
} else {
if (mRecyclerView != null && mRecyclerView.isInCustomChoice()) {
mRecyclerView.toggleItemChecked(position);
} else if (mHelper != null) {
GalleryInfo gi = mHelper.getDataAt(position);
Bundle args = new Bundle();
args.putString(GalleryDetailScene.KEY_ACTION, GalleryDetailScene.ACTION_GALLERY_INFO);
args.putParcelable(GalleryDetailScene.KEY_GALLERY_INFO, gi);
Announcer announcer = new Announcer(GalleryDetailScene.class).setArgs(args);
View thumb;
if (ApiHelper.SUPPORT_TRANSITION && null != (thumb = view.findViewById(R.id.thumb))) {
announcer.setTranHelper(new EnterGalleryDetailTransaction(thumb));
}
startScene(announcer);
}
startScene(announcer);
}
return true;
}
@@ -805,41 +820,6 @@ public class FavoritesScene extends BaseScene implements
}
}
@Override
@Implemented(AdapterView.OnItemClickListener.class)
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
// Skip if in search mode
if (mRecyclerView != null && mRecyclerView.isInCustomChoice()) {
return;
}
if (mUrlBuilder == null || mHelper == null) {
return;
}
// Local favorite position is 0, All favorite position is 1, so position - 2 is OK
int newFavCat = position - 2;
// Check is the same
if (mUrlBuilder.getFavCat() == newFavCat) {
return;
}
// Ensure outOfCustomChoiceMode to avoid error
if (mRecyclerView != null) {
mRecyclerView.isInCustomChoice();
}
exitSearchMode(true);
mUrlBuilder.setKeyword(null);
mUrlBuilder.setFavCat(newFavCat);
updateSearchBar();
mHelper.refresh();
closeDrawer(Gravity.RIGHT);
}
private void enterSearchMode(boolean animation) {
if (mSearchMode ||mSearchBar == null || mSearchBarMover == null || mLeftDrawable == null) {
return;
@@ -864,22 +844,26 @@ public class FavoritesScene extends BaseScene implements
if (mHelper != null && mSearchBarMover != null &&
mHelper.isCurrentTask(taskId)) {
if (mFavCatArray != null && mDrawerList != null) {
for (int i = 0; i < 10; i++) {
mFavCatArray[i] = result.catArray[i];
mDrawerList.set(i + 2, result.catArray[i]);
}
if (mDrawerAdapter != null) {
mDrawerAdapter.notifyDataSetChanged();
}
if (mFavCatArray != null) {
System.arraycopy(result.catArray, 0, mFavCatArray, 0,10);
}
mFavCountArray = result.countArray;
if (mFavCountArray != null){
mFavCountSum = 0;
for (int i = 0; i < 10; i++ ){
mFavCountSum = mFavCountSum + mFavCountArray[i];
}
Settings.putFavCloudCount(mFavCountSum);
}
updateSearchBar();
mHelper.setPages(taskId, result.pages);
mHelper.onGetPageData(taskId, result.galleryInfoList);
if (mDrawerAdapter != null) {
mDrawerAdapter.notifyDataSetChanged();
}
}
}
@@ -899,6 +883,7 @@ public class FavoritesScene extends BaseScene implements
} else {
list = EhDB.searchLocalFavorites(keyword);
}
if (list.size() == 0) {
mHelper.setPages(taskId, 0);
mHelper.onGetPageData(taskId, Collections.EMPTY_LIST);
@@ -906,6 +891,14 @@ public class FavoritesScene extends BaseScene implements
mHelper.setPages(taskId, 1);
mHelper.onGetPageData(taskId, list);
}
if (TextUtils.isEmpty(keyword)) {
mFavLocalCount = list.size();
Settings.putFavLocalCount(mFavLocalCount);
if (mDrawerAdapter != null) {
mDrawerAdapter.notifyDataSetChanged();
}
}
}
}
@@ -1037,13 +1030,14 @@ public class FavoritesScene extends BaseScene implements
gidArray[i] = gi.gid;
tokenArray[i] = gi.token;
}
List<GalleryInfo> modifyGiListBackup = new ArrayList<>(mModifyGiList);
mModifyGiList.clear();
EhRequest request = new EhRequest();
request.setMethod(EhClient.METHOD_ADD_FAVORITES_RANGE);
request.setCallback(new AddFavoritesListener(getContext(),
activity.getStageId(), getTag(),
taskId, mUrlBuilder.getKeyword()));
taskId, mUrlBuilder.getKeyword(), modifyGiListBackup));
request.setArgs(gidArray, tokenArray, mModifyFavCat);
mClient.execute(request);
} else {
@@ -1143,12 +1137,14 @@ public class FavoritesScene extends BaseScene implements
private final int mTaskId;
private final String mKeyword;
private final List<GalleryInfo> mBackup;
public AddFavoritesListener(Context context, int stageId,
String sceneTag, int taskId, String keyword) {
private AddFavoritesListener(Context context, int stageId,
String sceneTag, int taskId, String keyword, List<GalleryInfo> backup) {
super(context, stageId, sceneTag);
mTaskId = taskId;
mKeyword = keyword;
mBackup = backup;
}
@Override
@@ -1161,6 +1157,10 @@ public class FavoritesScene extends BaseScene implements
@Override
public void onFailure(Exception e) {
// TODO It's a failure, add all of backup back to db.
// But how to known which one is failed?
EhDB.putLocalFavorites(mBackup);
FavoritesScene scene = getScene();
if (scene != null) {
scene.onGetFavoritesLocal(mKeyword, mTaskId);
@@ -1183,7 +1183,7 @@ public class FavoritesScene extends BaseScene implements
private final boolean mLocal;
private final String mKeyword;
public GetFavoritesListener(Context context, int stageId,
private GetFavoritesListener(Context context, int stageId,
String sceneTag, int taskId, boolean local, String keyword) {
super(context, stageId, sceneTag);
mTaskId = taskId;
@@ -1195,6 +1195,7 @@ public class FavoritesScene extends BaseScene implements
public void onSuccess(FavoritesParser.Result result) {
// Put fav cat
Settings.putFavCat(result.catArray);
Settings.putFavCount(result.countArray);
FavoritesScene scene = getScene();
if (scene != null) {
if (mLocal) {
@@ -27,8 +27,8 @@ import android.support.v7.widget.StaggeredGridLayoutManager;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.RelativeLayout;
import android.widget.TextView;
import com.hippo.drawable.TriangleDrawable;
import com.hippo.easyrecyclerview.MarginItemDecoration;
import com.hippo.ehviewer.R;
@@ -38,7 +38,6 @@ import com.hippo.ehviewer.client.EhUtils;
import com.hippo.ehviewer.client.data.GalleryInfo;
import com.hippo.ehviewer.widget.TileThumb;
import com.hippo.widget.recyclerview.AutoStaggeredGridLayoutManager;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@@ -179,6 +178,17 @@ abstract class GalleryAdapter extends RecyclerView.Adapter<GalleryHolder> {
category.setBackgroundColor(EhUtils.getCategoryColor(gi.category));
}
holder.posted.setText(gi.posted);
if (gi.pages == 0) {
holder.pages.setText(null);
RelativeLayout.LayoutParams lp = (RelativeLayout.LayoutParams) holder.simpleLanguage.getLayoutParams();
lp.addRule(RelativeLayout.LEFT_OF, 0);
lp.addRule(RelativeLayout.ALIGN_PARENT_RIGHT);
} else {
holder.pages.setText(Integer.toString(gi.pages) + "P");
RelativeLayout.LayoutParams lp = (RelativeLayout.LayoutParams) holder.simpleLanguage.getLayoutParams();
lp.addRule(RelativeLayout.LEFT_OF, R.id.pages);
lp.addRule(RelativeLayout.ALIGN_PARENT_RIGHT, 0);
}
holder.simpleLanguage.setText(gi.simpleLanguage);
break;
}
@@ -69,6 +69,7 @@ import com.hippo.scene.SceneFragment;
import com.hippo.text.Html;
import com.hippo.text.URLImageGetter;
import com.hippo.util.DrawableManager;
import com.hippo.util.ExceptionUtils;
import com.hippo.util.ReadableTime;
import com.hippo.util.TextUrl;
import com.hippo.view.ViewTransition;
@@ -321,7 +322,7 @@ public final class GalleryCommentsScene extends ToolbarScene
rv.setAdapter(new RecyclerView.Adapter<InfoHolder>() {
@Override
public InfoHolder onCreateViewHolder(ViewGroup parent, int viewType) {
return new InfoHolder(inflater.inflate(R.layout.item_favorite_info_data, parent, false));
return new InfoHolder(inflater.inflate(R.layout.item_drawer_favorites, parent, false));
}
@Override
@@ -737,7 +738,7 @@ public final class GalleryCommentsScene extends ToolbarScene
@Override
public void onFailure(Exception e) {
showTip(R.string.comment_failed, LENGTH_SHORT);
showTip(getContent().getString(R.string.comment_failed) + "\n" + ExceptionUtils.getReadableString(e), LENGTH_SHORT);
}
@Override
@@ -1538,6 +1538,14 @@ public class GalleryDetailScene extends BaseScene implements View.OnClickListene
}
}
private void onModifyFavoritesFailure(boolean addOrRemove) {
mModifingFavorites = false;
}
private void onModifyFavoritesCancel(boolean addOrRemove) {
mModifingFavorites = false;
}
private class ModifyFavoritesListener extends EhCallback<GalleryDetailScene, Void> {
private final boolean mAddOrRemove;
@@ -1564,10 +1572,19 @@ public class GalleryDetailScene extends BaseScene implements View.OnClickListene
public void onFailure(Exception e) {
showTip(mAddOrRemove ? R.string.remove_from_favorite_failure :
R.string.add_to_favorite_failure, LENGTH_SHORT);
GalleryDetailScene scene = getScene();
if (scene != null) {
scene.onModifyFavoritesFailure(mAddOrRemove);
}
}
@Override
public void onCancel() {}
public void onCancel() {
GalleryDetailScene scene = getScene();
if (scene != null) {
scene.onModifyFavoritesCancel(mAddOrRemove);
}
}
@Override
public boolean isInstance(SceneFragment scene) {
@@ -32,6 +32,7 @@ class GalleryHolder extends RecyclerView.ViewHolder {
public final SimpleRatingView rating;
public final TextView category;
public final TextView posted;
public final TextView pages;
public final TextView simpleLanguage;
public GalleryHolder(View itemView) {
@@ -43,6 +44,7 @@ class GalleryHolder extends RecyclerView.ViewHolder {
rating = (SimpleRatingView) itemView.findViewById(R.id.rating);
category = (TextView) itemView.findViewById(R.id.category);
posted = (TextView) itemView.findViewById(R.id.posted);
pages = (TextView) itemView.findViewById(R.id.pages);
simpleLanguage = (TextView) itemView.findViewById(R.id.simple_language);
}
}
@@ -43,6 +43,7 @@ import com.hippo.ehviewer.ui.MainActivity;
import com.hippo.ehviewer.widget.RecaptchaView;
import com.hippo.scene.Announcer;
import com.hippo.scene.SceneFragment;
import com.hippo.util.ExceptionUtils;
import com.hippo.yorozuya.IntIdGenerator;
import com.hippo.yorozuya.ViewUtils;
@@ -328,7 +329,7 @@ public final class SignInScene extends SolidScene implements EditText.OnEditorAc
finish();
}
private void whetherToSkip() {
private void whetherToSkip(Exception e) {
Context context = getContext2();
if (null == context) {
return;
@@ -336,12 +337,12 @@ public final class SignInScene extends SolidScene implements EditText.OnEditorAc
new AlertDialog.Builder(context)
.setTitle(R.string.sign_in_failed)
.setMessage(R.string.sign_in_failed_plain)
.setMessage(ExceptionUtils.getReadableString(e))
.setPositiveButton(R.string.get_it, null)
.show();
}
public void onSignInEnd() {
public void onSignInEnd(Exception e) {
Context context = getContext2();
if (null == context) {
return;
@@ -352,7 +353,7 @@ public final class SignInScene extends SolidScene implements EditText.OnEditorAc
} else {
mSigningIn = false;
hideProgress();
whetherToSkip();
whetherToSkip(e);
}
}
@@ -375,7 +376,7 @@ public final class SignInScene extends SolidScene implements EditText.OnEditorAc
SignInScene scene = getScene();
if (scene != null) {
scene.onSignInEnd();
scene.onSignInEnd(null);
}
}
@@ -386,7 +387,7 @@ public final class SignInScene extends SolidScene implements EditText.OnEditorAc
SignInScene scene = getScene();
if (scene != null) {
scene.onSignInEnd();
scene.onSignInEnd(e);
}
}
@@ -30,6 +30,7 @@ import com.hippo.yorozuya.ViewUtils;
public class SeekBarPanel extends LinearLayout {
private SeekBar mSeekBar;
private int[] mLocation = new int[2];
public SeekBarPanel(Context context) {
super(context);
@@ -54,8 +55,9 @@ public class SeekBarPanel extends LinearLayout {
if (mSeekBar == null) {
return super.onTouchEvent(event);
} else {
final float offsetX = -mSeekBar.getLeft();
final float offsetY = -mSeekBar.getTop();
ViewUtils.getLocationInAncestor(mSeekBar, mLocation, this);
final float offsetX = -mLocation[0];
final float offsetY = -mLocation[1];
event.offsetLocation(offsetX, offsetY);
mSeekBar.onTouchEvent(event);
event.offsetLocation(-offsetX, -offsetY);
@@ -31,7 +31,6 @@ import java.util.regex.Pattern;
import okhttp3.Cookie;
import okhttp3.CookieJar;
import okhttp3.HttpUrl;
import okhttp3.Request;
public class CookieRepository implements CookieJar {
@@ -146,7 +145,7 @@ public class CookieRepository implements CookieJar {
}
@Override
public List<Cookie> loadForRequest(HttpUrl httpUrl, Request request) {
public List<Cookie> loadForRequest(HttpUrl httpUrl) {
return getCookies(httpUrl);
}
@@ -231,6 +231,9 @@ public abstract class StageActivity extends EhActivity {
protected void onUnregister() {
}
protected void onTransactScene() {
}
public int getStageId() {
return mStageId;
}
@@ -311,6 +314,7 @@ public abstract class StageActivity extends EhActivity {
// Commit
transaction.commitAllowingStateLoss();
onTransactScene();
// New arguments
if (args != null && fragment instanceof SceneFragment) {
@@ -384,6 +388,7 @@ public abstract class StageActivity extends EhActivity {
// Commit
transaction.commitAllowingStateLoss();
onTransactScene();
// Check request
if (announcer.requestFrom != null) {
@@ -460,6 +465,7 @@ public abstract class StageActivity extends EhActivity {
// Commit
transaction.commitAllowingStateLoss();
onTransactScene();
if (!createNewScene && args != null) {
// TODO Call onNewArguments when view created ?
@@ -538,6 +544,7 @@ public abstract class StageActivity extends EhActivity {
}
transaction.remove(scene);
transaction.commitAllowingStateLoss();
onTransactScene();
// Remove tag
mSceneTagList.remove(index);
@@ -562,6 +569,7 @@ public abstract class StageActivity extends EhActivity {
transaction.detach(fragment);
transaction.attach(fragment);
transaction.commitAllowingStateLoss();
onTransactScene();
}
@Override
@@ -58,9 +58,10 @@ public class AppHelper {
sendIntent.setAction(Intent.ACTION_SEND);
sendIntent.putExtra(Intent.EXTRA_TEXT, text);
sendIntent.setType("text/plain");
Intent chooser = Intent.createChooser(sendIntent, from.getString(R.string.share));
try {
from.startActivity(sendIntent);
from.startActivity(chooser);
return true;
} catch (ActivityNotFoundException e) {
Toast.makeText(from, R.string.error_cant_find_activity, Toast.LENGTH_SHORT).show();
@@ -18,19 +18,17 @@ package com.hippo.util;
import android.support.annotation.NonNull;
import com.hippo.ehviewer.GetText;
import com.hippo.ehviewer.R;
import com.hippo.ehviewer.client.exception.EhException;
import com.hippo.network.StatusCodeException;
import org.apache.http.conn.ConnectTimeoutException;
import java.net.MalformedURLException;
import java.net.ProtocolException;
import java.net.SocketException;
import java.net.SocketTimeoutException;
import java.net.UnknownHostException;
import javax.net.ssl.SSLException;
import org.apache.http.conn.ConnectTimeoutException;
public final class ExceptionUtils {
@@ -38,6 +36,7 @@ public final class ExceptionUtils {
@NonNull
public static String getReadableString(@NonNull Exception e) {
e.printStackTrace();
if (e instanceof MalformedURLException) {
return GetText.getString(R.string.error_invalid_url);
} else if (e instanceof ConnectTimeoutException ||
@@ -55,7 +54,7 @@ public final class ExceptionUtils {
return sb.toString();
} else if (e instanceof ProtocolException && e.getMessage().startsWith("Too many follow-up requests:")) {
return GetText.getString(R.string.error_redirection);
} else if (e instanceof ProtocolException || e instanceof SocketException) {
} else if (e instanceof ProtocolException || e instanceof SocketException || e instanceof SSLException) {
return GetText.getString(R.string.error_socket);
} else if (e instanceof EhException) {
return e.getMessage();
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="48dp"
android:height="48dp"
android:viewportWidth="48"
android:viewportHeight="48">
<path
android:pathData="M46,24A22,22 0,0 1,24 46,22 22,0 0,1 2,24 22,22 0,0 1,24 2,22 22,0 0,1 46,24Z"
android:fillColor="@color/shortcut_bg"
android:fillAlpha="1"/>
<path
android:pathData="M20,17V31L31,24Z"
android:fillColor="@color/colorPrimary"
android:fillAlpha="1"/>
</vector>
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="48dp"
android:height="48dp"
android:viewportWidth="48"
android:viewportHeight="48">
<path
android:pathData="M46,24A22,22 0,0 1,24 46,22 22,0 0,1 2,24 22,22 0,0 1,24 2,22 22,0 0,1 46,24Z"
android:fillColor="@color/shortcut_bg"
android:fillAlpha="1"/>
<path
android:pathData="m18,31h4L22,17h-4zM26,17v14h4L30,17Z"
android:fillColor="@color/colorPrimary"
android:fillAlpha="1"/>
</vector>
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/shortcut_bg"/>
<foreground android:drawable="@drawable/ic_play_arrow_108dp"/>
</adaptive-icon>
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/shortcut_bg"/>
<foreground android:drawable="@drawable/ic_pause_108dp"/>
</adaptive-icon>
@@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:pathData="m42,68h8V40H42ZM58,40v28h8V40Z"
android:fillColor="@color/colorPrimary"
android:fillAlpha="1"/>
</vector>
@@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:pathData="M46,40V68L68,54Z"
android:fillColor="@color/colorPrimary"
android:fillAlpha="1"/>
</vector>
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2018 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<vector
xmlns:android="http://schemas.android.com/apk/res/android"
android:height="24dp"
android:width="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@color/primary_drawable_light"
android:pathData="@string/pd_reorder"/>
</vector>
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="?attr/colorPrimary"
android:pathData="M12,1L3,5v6c0,5.55 3.84,10.74 9,12 5.16,-1.26 9,-6.45 9,-12L21,5l-9,-4zM12,11.99h7c-0.53,4.12 -3.28,7.79 -7,8.94L12,12L5,12L5,6.3l7,-3.11v8.8z"/>
</vector>
@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2016 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_height="?attr/actionBarSize"
android:layout_width="match_parent"
android:background="?attr/colorPrimary"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
android:elevation="8dp"
android:saveEnabled="false"/>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<TextView
android:id="@+id/tip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:visibility="gone"/>
<com.hippo.easyrecyclerview.EasyRecyclerView
android:id="@+id/recycler_view_drawer"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</FrameLayout>
</LinearLayout>
@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2018 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.hippo.easyrecyclerview.EasyRecyclerView
android:id="@+id/recycler_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"/>
<TextView
android:id="@+id/tip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:textSize="@dimen/text_super_large"
android:text="@string/hosts_tip"/>
<com.hippo.widget.FabLayout
android:id="@+id/fab_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingRight="@dimen/corner_fab_margin"
android:paddingBottom="@dimen/corner_fab_margin">
<android.support.design.widget.FloatingActionButton
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:srcCompat="@drawable/v_plus_dark_x24"
app:backgroundTint="?attr/colorPrimary"
style="@style/Widget.Design.FloatingActionButton"/>
</com.hippo.widget.FabLayout>
</FrameLayout>
+54
View File
@@ -0,0 +1,54 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2018 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingLeft="?attr/dialogPreferredPadding"
android:paddingTop="@dimen/abc_dialog_padding_top_material"
android:paddingRight="?attr/dialogPreferredPadding">
<android.support.design.widget.TextInputLayout
android:id="@+id/host_input_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<android.support.design.widget.TextInputEditText
android:id="@+id/host"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/hosts_host"
android:inputType="text"/>
</android.support.design.widget.TextInputLayout>
<android.support.design.widget.TextInputLayout
android:id="@+id/ip_input_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<android.support.design.widget.TextInputEditText
android:id="@+id/ip"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/hosts_ip"
android:inputType="text"/>
</android.support.design.widget.TextInputLayout>
</LinearLayout>
@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2016 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_height="?attr/actionBarSize"
android:layout_width="match_parent"
android:background="?attr/colorPrimary"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
android:saveEnabled="false"/>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<View
android:layout_width="match_parent"
android:layout_height="8dp"
android:background="@drawable/shadow_bottom"/>
<TextView
android:id="@+id/tip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:visibility="gone"/>
<com.hippo.easyrecyclerview.EasyRecyclerView
android:id="@+id/recycler_view_drawer"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</FrameLayout>
</LinearLayout>
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2015 Hippo Seven
~ Copyright 2018 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
@@ -20,23 +20,26 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingLeft="?attr/dialogPreferredPadding"
android:paddingRight="?attr/dialogPreferredPadding">
android:minHeight="?attr/listPreferredItemHeightSmall"
android:background="?android:attr/selectableItemBackground">
<TextView
android:id="@+id/key"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="2"
android:textColor="@color/primary_text_light"
android:padding="8dp"/>
android:layout_height="match_parent"
android:layout_weight="1"
android:textColor="?android:attr/textColorPrimary"
android:textAppearance="?attr/textAppearanceListItemSmall"
android:gravity="center_vertical"
android:paddingLeft="?attr/listPreferredItemPaddingLeft"/>
<TextView
android:id="@+id/value"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textColor="@color/primary_text_light"
android:padding="8dp"/>
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:textColor="?android:attr/textColorPrimary"
android:textAppearance="?attr/textAppearanceListItemSmall"
android:gravity="center_vertical"
android:paddingRight="?attr/listPreferredItemPaddingRight"/>
</LinearLayout>
</LinearLayout>
@@ -1,42 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2016 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingLeft="?attr/dialogPreferredPadding"
android:paddingRight="?attr/dialogPreferredPadding">
<TextView
android:id="@+id/key"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="2"
android:textColor="@color/secondary_text_light"
android:padding="8dp"/>
<TextView
android:id="@+id/value"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textColor="@color/secondary_text_light"
android:padding="8dp"/>
</LinearLayout>
+10 -1
View File
@@ -81,7 +81,7 @@
android:layout_marginBottom="4dp"/>
<TextView
android:id="@+id/simple_language"
android:id="@+id/pages"
style="@style/CardMessage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -89,4 +89,13 @@
android:layout_alignParentRight="true"
android:layout_marginRight="6dp"/>
<TextView
android:id="@+id/simple_language"
style="@style/CardMessage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@id/posted"
android:layout_toLeftOf="@+id/pages"
android:layout_marginRight="6dp"/>
</RelativeLayout>
+40
View File
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2018 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="@dimen/keyline_margin"
android:paddingRight="@dimen/keyline_margin"
android:paddingTop="8dp"
android:paddingBottom="8dp">
<TextView
android:id="@+id/host"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/primary_text_light"/>
<TextView
android:id="@+id/ip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"/>
</LinearLayout>
+5 -3
View File
@@ -73,11 +73,13 @@
android:textSize="@dimen/text_little_small"
android:textColor="@color/primary_text_light"/>
<View
<ImageView
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/drag_handler"
android:layout_width="48dp"
android:layout_height="match_parent"
android:background="?attr/colorAccent"/>
android:layout_height="48dp"
android:padding="12dp"
app:srcCompat="@drawable/v_reorder_x24"/>
</LinearLayout>
+3 -1
View File
@@ -17,6 +17,7 @@
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
@@ -64,7 +65,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:minWidth="@dimen/single_max_width">
android:minWidth="@dimen/single_max_width"
app:passwordToggleEnabled="true">
<android.support.design.widget.TextInputEditText
android:id="@+id/password"
@@ -25,10 +25,4 @@
android:title="@string/default_favorites_collection"
app:showAsAction="always"/>
<item
android:id="@+id/action_info"
android:icon="@drawable/v_info_dark_x24"
android:title="@string/favorites_info"
app:showAsAction="ifRoom"/>
</menu>
+5
View File
@@ -31,4 +31,9 @@
android:title="@string/download_stop_all"
app:showAsAction="ifRoom"/>
<item
android:id="@+id/action_reset_reading_progress"
android:title="@string/download_reset_reading_progress"
app:showAsAction="never"/>
</menu>
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
Binary file not shown.

After

Width:  |  Height:  |  Size: 644 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 539 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 484 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 358 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 747 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 732 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

+511
View File
@@ -0,0 +1,511 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">EhViewer</string>
<string name="homepage">Startseite</string>
<string name="whats_hot">Beliebt</string>
<string name="favourite">Lesezeichen</string>
<string name="history">Verlauf</string>
<string name="downloads">Downloads</string>
<string name="settings">Einstellungen</string>
<string name="username">Benutzername</string>
<string name="password">Kennwort</string>
<string name="recaptcha">Recaptcha (nicht erforderlich)</string>
<string name="recaptcha_none">Tippe hier</string>
<string name="recaptcha_loading">Lädt …</string>
<string name="recaptcha_failure">Gescheitert</string>
<string name="sign_in">Anmelden</string>
<string name="register">Konto erstellen</string>
<string name="sign_in_via_webview">Mit WebView anmelden</string>
<string name="sign_in_via_cookies">Mit den Cookies anmelden</string>
<string name="display_name_dialog_title">Spitzname eingeben</string>
<string name="display_name">Spitzname</string>
<string name="display_name_is_empty">Spitzname wird nicht eingegeben</string>
<string name="sign_in_first">Melde dich zunächst an</string>
<string name="default_display_name">Kleines Nilpferd</string>
<string name="cookie_explain">Die Cookies speichern in Browser deine Informationen. Falls du nicht wisst, was die Cookie sind, suche im Internet darüber.</string>
<string name="text_is_empty">Der Text wird nicht eingegeben</string>
<string name="waring">Achtung</string>
<string name="wrong_cookie_warning">Die eingegebenen Cookies sehen korrekt nicht aus. Überprüfe sie.</string>
<string name="i_will_check_it">In Ordnung!</string>
<string name="i_dont_think_so">Sie sind absolut korrekt!</string>
<string name="found_cookies">Cookies werden gefunden</string>
<string name="invalid_download_location">Der Downloadpfad ist nicht verfügbar. Geh zu die Einstellungen und stelle einen neue Pfad fest,</string>
<string name="cellular_network_warning">Zu den mobilen Daten verbunden.</string>
<string name="error_bad_status_code">Inkorrekter Statuscode: %d</string>
<string name="error_timeout">Timeout</string>
<string name="error_unknown_host">Unbekannter Hostcomputer</string>
<string name="error_redirection">Zu viele Umleitungen</string>
<string name="error_socket">Netwerkfehler</string>
<string name="error_unknown">Unbekannter Fehler</string>
<string name="error_cant_find_activity">Die Application wurde nicht gefunden</string>
<string name="error_cannot_parse_the_url">Die URL konnte analysiert nicht werden</string>
<string name="error_not_folder_path">Der Ordnerpfad ist ungültig</string>
<string name="error_no_provider">Keiner Anbieter</string>
<string name="error_decoding_failed">Dekodierung fehlgeschlagen</string>
<string name="error_not_found">Nicht gefunden</string>
<string name="error_empty">Leer</string>
<string name="error_invalid_zip_file">Die ZIP Datei wurde nicht gefunden</string>
<string name="error_reading_failed">Lesefehler</string>
<string name="error_out_of_range">Außer Reichweite</string>
<string name="error_write_failed">Schreibfehler</string>
<string name="error_parse_error">Analyzierungfehler</string>
<string name="error_509">509</string>
<string name="error_invalid_url">URL ungültig</string>
<string name="error_get_ptoken_error">Fehler beim Erhalten pTokens</string>
<string name="error_invalid_specify_gallery">Das Schlüsselwort müsste wie 618395 0439fa3666 aussehen, um eine Galerie zu specifieren</string>
<string name="error_cant_create_temp_file">Die Temporäre Datei konnte erstellt nicht werden</string>
<string name="error_cant_save_image">Das Bild konnte nicht gespeichert werden</string>
<string name="error_invalid_number">Nummer ungültig</string>
<string name="analytics_explain">Darf der Entwickler die Informationen deines Geräts und deiner Nutzung einsammeln? Diese Informationen sind für die Entwicklung sehr nützlich.&lt;br&gt;&lt;br&gt;Daten-Analyse ist von Google Analytics zur Verfügung gestellt, dessen Datenschutz-Bestimmungen auf &lt;a href=&quot;https://www.google.com/policies/privacy/&quot;&gt;https://www.google.com/policies/privacy/&lt;/a&gt;verfügbar sind.&lt;br&gt;&lt;br&gt;Wenn du die Daten-Analyse teilnimmst, werden Informationen deines Geräts und deiner Nutzung, z. B. die Android API-Version, das Gerätsmodell, die Sprache, die App-Version, die Sessionszeit, eingesammelt. Der Entwickler verspricht, dass private Informationen wie deine Telefonnummer, deine E-Mail-Adresse, die IMEI usw., eingesammelt nicht werden.&lt;br&gt;&lt;br&gt;Falls du die Daten-Analyse nicht teilnimmst, wird keine Information eingesammelt.&lt;br&gt;&lt;br&gt;Die eingesammelten Informationen werden von Google Analytics analysiert. Nur der Entwickler kann auf den Analyse-Bericht zugreifen.</string>
<string name="get_it">Verstanden</string>
<string name="accept">Akzeptieren</string>
<string name="reject">Ablehnen</string>
<string name="help_route">Einstellungen->Über die App->Hilfe</string>
<string name="send">Senden</string>
<string name="crash_explain">Die App ist abgestürzt letztes Mal. Möchtest du das Fehlerprotokoll an den Entwickler per E-Mail senden, um ihm dabei zu helfen, die App zu verbessern?</string>
<string name="select_scene">Wähle eine Galerie-Webseite aus.</string>
<string name="select_scene_explain">e-hentai: für jeden verfügbar\nexhentai: nur für diejenigen verfügbar, die sich angemeldet haben</string>
<string name="no_select">Wähle eine Webseite aus.</string>
<string name="update">Update</string>
<string name="update_plain">Version: %1$s\nGröße: %2$s\n\n%3$s</string>
<string name="update_to_date">EhViewer ist auf dem neusten Stand.</string>
<string name="gallery_list_search_bar_hint_exhentai">ExHentai durchsuchen</string>
<string name="gallery_list_search_bar_hint_e_hentai">E-Hentai durchsuchen</string>
<string name="gallery_list_empty_hit">Die Welt ist so groß und der Panda sitzt ganz allein</string>
<string name="search">Suchen</string>
<string name="keyword_search">"Suche nach dem Schlüsselwort "</string>
<string name="image_search">Suche nach einem Bild</string>
<string name="search_normal">Normale Suche</string>
<string name="search_advance">Erweiterte Optionen</string>
<string name="search_image">Suche nach einem Bild</string>
<string name="search_normal_search">Normale Suche</string>
<string name="search_specify_uploader">Einen Uploader spezifizieren</string>
<string name="search_specify_tag">Ein Etikett spezifizieren</string>
<string name="search_specify_gallery">Eine Galerie spezifizieren</string>
<string name="search_enable_advance">Erweitere Optionen aktivieren</string>
<string name="search_sname">Nach Galerie suchen</string>
<string name="search_stags">Nach Galerie-Etikett suchen</string>
<string name="search_sdesc">Nach Galeriebeschreibungen suchen</string>
<string name="search_storr">Nach Torrentdateien suchen</string>
<string name="search_sto">Nur die Galerien mit Torrentdateien anzeigen</string>
<string name="search_sdt1">Nach unwichtigen Etiketten suchen</string>
<string name="search_sdt2">Nach unerwünschten Etiketten suchen</string>
<string name="search_sh">Gelöschte Galerien anzeigen</string>
<string name="search_sr">Mindestpunktzahl:</string>
<string name="select_image">Bild wählen</string>
<string name="search_uss">Ähnlichkeitscan aktivieren</string>
<string name="search_osc">Nur nach Umschläge suchen</string>
<string name="search_se">Die gelöschte Galerien anzeigen</string>
<string name="select_image_first">Wähle ein Bild</string>
<string name="add_to_favourites">Zu den Favoriten hinzufügen</string>
<string name="quick_search">Sofortsuche</string>
<string name="quick_search_tip">Tippe an +, um eine Sofortsuche hinzuzufügen</string>
<string name="add_quick_search_dialog_title">Sofortsuche hinzufügen</string>
<string name="name_is_empty">Gib den Name ein</string>
<string name="delete">Löschen</string>
<string name="delete_quick_search_title">Sofortsuche löschen</string>
<string name="delete_quick_search_message">%s löschen?</string>
<string name="no_quick_search">Deine Sofortsuchen werden hier angezeigt</string>
<string name="add_quick_search_tip">Das Suchergebnis wird als eine Sofortsuche gespeichert. Suche etwas zuerst, um das Ergebnis zu speichern.</string>
<string name="readme">README</string>
<string name="image_search_not_quick_search">Die Bildsuchen können als Sofortsuchen gespeichert nicht werden.</string>
<string name="duplicate_quick_search">Eine Sofortsuche, deren Name ist %s, bereits besteht.</string>
<string name="duplicate_name">Dieser Name ist bereits besetzt.</string>
<string name="go_to_hint">Seite %1$d, insgesamt %2$d Seiten</string>
<string name="star_2">2 Sterne</string>
<string name="star_3">3 Sterne</string>
<string name="star_4">4 Sterne</string>
<string name="star_5">5 Sterne</string>
<string name="error_cannot_find_gallery">Die Galerie konnte gefunden nicht werden</string>
<string name="download">Herunterladen</string>
<string name="read">Lesen</string>
<string name="more_information">Weitere Informationen</string>
<string name="favorites">Favoriten</string>
<string name="share">Teilen</string>
<string name="rate">Bewerten</string>
<string name="similar_gallery">Ähnlich</string>
<string name="search_cover">Nach dem Umschlag suchen</string>
<string name="no_tags">Kein Etikett</string>
<string name="no_comments">Kein Kommentar</string>
<string name="no_more_comments">Keine weiteren Kommentare</string>
<string name="more_comment">Weitere Kommentare</string>
<string name="no_previews">Keine Vorschau</string>
<string name="no_more_previews">Keine weiteren Vorschauen</string>
<string name="more_previews">Weitere Vorschauen</string>
<string name="refresh">Neu laden</string>
<string name="open_in_other_app">Öffnen mit …</string>
<string name="rate_successfully">Bewertung erfolgreich</string>
<string name="rate_failed">Bewertung fehlgeschlagen</string>
<string name="no_torrents">Keine Torrentdatei</string>
<string name="torrents">Torrentdateien</string>
<string name="favorited">Zu Favoriten hinzugefügt</string>
<string name="not_favorited">Nicht zu Favoriten hinzugefügt</string>
<string name="add_favorites_dialog_title">Zu Favoriten hinzufügen</string>
<string name="remember_favorite_collection">Favoritenansammlung merken</string>
<string name="add_to_favorite_success">Zu Favoriten hinzugefügt</string>
<string name="remove_from_favorite_success">Aus Favoriten entfernt</string>
<string name="add_to_favorite_failure">Fehler beim Hinzufügen zu Favoriten</string>
<string name="remove_from_favorite_failure">Fehler beim Entfernen aus Favoriten</string>
<string name="block_the_uploader">Den Uploader zu die Filterliste hinzufügen?</string>
<string name="filter_added">Der Filter wurde hinzugefügt</string>
<string name="rating10">EIN MEISTERSTÜCK</string>
<string name="rating9">WUNDERVOLL</string>
<string name="rating8">SEHR GUT</string>
<string name="rating7">GUT</string>
<string name="rating6">NICHT SCHLECHT</string>
<string name="rating5">MÄßIG</string>
<string name="rating4">SCHLECHT</string>
<string name="rating3">SCHRECKLICH</string>
<string name="rating2">PEINLICH</string>
<string name="rating1">UNERTRÄGLICH</string>
<string name="rating0">KATASTROPHE</string>
<string name="gallery_info">Galeriesinfomationen</string>
<string name="copied_to_clipboard">Text in Zwischenablage kopiert</string>
<string name="header_key">Schlüssel</string>
<string name="header_value">Wert</string>
<string name="key_gid">Gid</string>
<string name="key_token">Token</string>
<string name="key_url">URL</string>
<string name="key_title">Titel</string>
<string name="key_title_jpn">Japanischer Titel</string>
<string name="key_thumb">Vorschau</string>
<string name="key_category">Kategorie</string>
<string name="key_uploader">Uploader</string>
<string name="key_posted">Hochladungsdatum</string>
<string name="key_parent">Elternteil</string>
<string name="key_visible">Sichtbar?</string>
<string name="key_language">Sprache</string>
<string name="key_pages">Seiten</string>
<string name="key_size">Größe</string>
<string name="key_favorite_count">Zahl der Hzfg zu Fav.</string>
<string name="key_favorited">Zu Fav. hinzugefügt</string>
<string name="key_rating_count">Zahl der Bewertungen</string>
<string name="key_rating">Bewertung</string>
<string name="key_torrents">Zahl der Torrents</string>
<string name="key_torrent_url">URL des Torrentdateis</string>
<string name="favored_times">♥ %d</string>
<string name="rating_text">%1$s (%2$.2f, %3$d)</string>
<string name="gallery_comments">Kommentare der Galerie</string>
<string name="no_one_comments_gallery">Keine Kommentare</string>
<string name="comment_successfully">Kommentar erfolgreich gesendet</string>
<string name="comment_failed">Kommentar nicht gesendet</string>
<string name="copy_comment_text">Inhalt des Kommentars kopieren</string>
<string name="vote_up">Für den Kommentar stimmen</string>
<string name="cancel_vote_up">Positive Stimmung abbrechen</string>
<string name="vote_down">Gegen den Kommentar stimmen</string>
<string name="cancel_vote_down">Negative Stimmung abbrechen</string>
<string name="vote_up_successfully">Positive Stimmung erfolgreich gesendet</string>
<string name="cancel_vote_up_successfully">Die negative Stimmung wurde abgebrochen</string>
<string name="vote_down_successfully">Negative Stimmung erfolgreich gesendet</string>
<string name="cancel_vote_down_successfully">Die negative Stimmung wurde abgebrochen</string>
<string name="vote_failed">Stimmung gescheitert</string>
<string name="check_vote_status">Details der Stimmungen anzeigen</string>
<string name="gallery_previews">Vorschauen der Galerie</string>
<string name="go_to">Gehen zu</string>
<string name="scene_download_title">Download - %s</string>
<string name="no_download_info">Downloads werden hier angezeigt</string>
<string name="download_state_none">Pausiert</string>
<string name="download_state_wait">In der Warteschlange</string>
<string name="download_state_downloading">Download läuft</string>
<string name="download_state_downloaded">Abgeschlossen</string>
<string name="download_state_failed">Gescheitert</string>
<string name="download_state_failed_2">%d wurde noch nicht abgeschlossen</string>
<string name="download_state_finish">Abgeschlossen</string>
<string name="stat_509_alert_title">509 Fehler</string>
<string name="stat_509_alert_text">Die Genze der Downloads wurde erreichet. Versuche noch einmals später,</string>
<string name="stat_download_done_title">Download abgeschlossen</string>
<string name="stat_download_done_text_succeeded">%d Download(s) wurde(n) abgeschlossen</string>
<string name="stat_download_done_text_failed">%d Download(s) gescheitert</string>
<string name="stat_download_done_text_mix">%1$d erfolgreich abgeschlossen, %2$d gescheitert</string>
<string name="stat_download_done_line_succeeded">Abgeschlossen: %s</string>
<string name="stat_download_done_line_failed">Gescheitert: %s</string>
<string name="download_remove_dialog_title">Download entfernen</string>
<string name="download_remove_dialog_message">%s von der Downloadliste entfernen?</string>
<string name="download_remove_dialog_message_2">%d Downloads von der Downloadliste entfernen?</string>
<string name="download_remove_dialog_check_text">Bilddateien löschen</string>
<string name="stat_download_action_stop_all">Alle stopppen</string>
<string name="drawer_download_label_title">Etikette</string>
<string name="default_download_label_name">Standard</string>
<string name="download_move_dialog_title">"Verschieben "</string>
<string name="download_labels">Download-Etikette</string>
<string name="download_start_all">Alle starten</string>
<string name="download_stop_all">Alle stoppen</string>
<string name="download_service_label">EhViewer-Download-Dienst</string>
<string name="download_speed_text">%s</string>
<string name="download_speed_text_2">%1$s, noch %2$s übrig</string>
<string name="remember_download_label">Download-Etikette merken</string>
<string name="default_download_label">Standard-Download-Etikette</string>
<string name="added_to_download_list">Zu Download-Liste hinzugefügt</string>
<string name="no_download_label">Download-Etikette werden hier angezeigt</string>
<string name="add">Hinzufügen</string>
<string name="new_label_title">Neue Etikette</string>
<string name="label_text_is_empty">Inhalt der Etikette erforderlich</string>
<string name="label_text_is_invalid">\"Standard\" ist keine valide Etikett</string>
<string name="label_text_exist">Sie bereits besteht</string>
<string name="rename_label_title">Etikett umbenennen</string>
<string name="delete_label_title">Etikett löschen</string>
<string name="delete_label_message">%s löschen?</string>
<string name="no_history">Deiner Lesungsverlauf wird hier angezeigt.</string>
<string name="clear_all">Verlaufdaten löschen</string>
<string name="clear_all_history">Verlaufdaten löschen?</string>
<string name="filter">Filter</string>
<string name="no_filter">Filter werden hier angezeigt</string>
<string name="filter_title">Titel</string>
<string name="filter_uploader">Uploader</string>
<string name="filter_tag">Etikett</string>
<string name="filter_tag_namespace">Namensraum der Etikett</string>
<string name="delete_title_filter">Titelfilter %s löschen?</string>
<string name="delete_uploader_filter">Uploaderfilter %s löschen?</string>
<string name="delete_tag_filter">Etikettfilter %s löschen?</string>
<string name="delete_filter">Filter %s löschen?</string>
<string name="tip">Hinweis</string>
<string name="add_filter">Filter erstellen</string>
<string name="show_definition">Definition anzeigen</string>
<string name="filter_text">Filtertext</string>
<string name="clipboard_gallery_url_dialog_title">Link der Galerie erkennt</string>
<string name="clipboard_gallery_url_dialog_message">Ein Link der Galerie wird von deiner Zwischenablage erkennt. Möchtest du es zugreifen?</string>
<string name="search_tip">Normale Suche: Nur durchsuchen.\n\nUploader spezifizieren: Die Galerie, die vom Uploader hochgeladen ist, auflisten. Andere Optionen werden ignoriert.\n\nEtikett spezifizieren: Die Galerie, die das Etikett hat, auflisten. Nur ein Etikett kann eingegeben werden. Andere Optionen werden ignoriert.\n\nGalerie spezifizieren: Zur Galerie gehen. Andere Optionen werden ignoriert.</string>
<string name="filter_tip">Titelfilter: die Galerie, deren Titel das Wort enthalten, ausschließen.\n\nUploaderfilter: Die vom Uploader hochgeladen Galerie ausschließen.\n\nEtikettfilter: Die Galerie, die die Etikett haben, ausschließen. Es wird länger dauern, Galerieliste zu laden.\n\nEtikettnamensraumfilter: Die Galerie, die den Etikettnamensraum haben, ausschließen. Es wird länger dauern, Galerieliste zu laden.</string>
<string name="set_pattern_protection">Sperrmuster festlegen</string>
<string name="set_pattern_protection_tip">Zeichne ein Muster, um es als Sperrmuster festzulegen.\nLasse frei, um das Sperrmuster zu entfernen.</string>
<string name="set">Festlegen</string>
<string name="enable_fingerprint">Mit Fingerabdrücke entsperren</string>
<string name="u_config">EHentai-Einstellungen</string>
<string name="apply">Übernehmen</string>
<string name="apply_tip">Zum Speichern der Einstellungen aufHäkchen tippen</string>
<string name="hosts">Angepasstes hosts.txt</string>
<string name="hosts_tip">hosts.txt</string>
<string name="hosts_host">Host</string>
<string name="hosts_ip">IP</string>
<string name="add_host">Host hinzufügen</string>
<string name="add_host_add">Hinzufügen</string>
<string name="edit_host">Host bearbeiten</string>
<string name="edit_host_confirm">Übernehmen</string>
<string name="edit_host_delete">Entfernen</string>
<string name="invalid_host">Ungültiger Host</string>
<string name="invalid_ip">Ungültige IP</string>
<string name="page_menu_title">Seite %d</string>
<string name="page_menu_refresh">@string/refresh</string>
<string name="page_menu_share">@string/share</string>
<string name="page_menu_save">Speichern</string>
<string name="page_menu_save_to">Speichern unter …</string>
<string name="page_menu_add_bookmark">Zu Lesezeichen hinzufügen</string>
<string name="gallery_menu_title">Menü</string>
<string name="share_image">Das Bild teilen</string>
<string name="image_saved">Das Bild wurde zu %s gespeichert</string>
<string name="settings_eh">EH</string>
<string name="settings_eh_sign_out">Abmelden</string>
<string name="settings_eh_sign_out_summary">Starte die App neu, um dich weiter anzumelden</string>
<string name="settings_eh_sign_out_warning">Möchtest du dich abmelden?</string>
<string name="settings_eh_sign_out_yes">@android:string/ok</string>
<string name="settings_eh_sign_out_tip">Du wurdest abgemeldet. Starte die App neu, um weiter anzumelden</string>
<string name="settings_u_config">EHentai-Einstellungen</string>
<string name="settings_u_config_summary">Einstellung auf der Webseite EHentais</string>
<string name="settings_eh_gallery_site">Galerie-Seite</string>
<string name="settings_eh_list_mode">Liste-Ansicht</string>
<string name="settings_eh_list_mode_detail">Details</string>
<string name="settings_eh_list_mode_thumb">Miniaturbild</string>
<string name="settings_eh_detail_size">Größe der Details</string>
<string name="settings_eh_detail_size_long">Lange</string>
<string name="settings_eh_detail_size_short">Kurz</string>
<string name="settings_eh_thumb_size">Größe des Miniaturbilds</string>
<string name="settings_eh_thumb_size_large">Groß</string>
<string name="settings_eh_thumb_size_middle">Mittel</string>
<string name="settings_eh_thumb_size_small">Klein</string>
<string name="settings_eh_thumb_resolution">Auflösung der Miniaturbilder</string>
<string name="settings_eh_thumb_resolution_summary">Nun %s. Mit abnormale Auflösung kann die Miniaturbilder nicht normalerweise geladen werden.</string>
<string name="settings_eh_thumb_resolution_auto">Automatisch</string>
<string name="settings_eh_fix_thumb_url">Link der Miniaturbilder reparieren</string>
<string name="settings_eh_default_categories">Auf Startseite angezeigte Kategorie</string>
<string name="settings_eh_default_categories_summary">Auf Startseite angezeigte Standard-Kategorie</string>
<string name="settings_eh_excluded_languages">Ausgeschlossene Sprachen</string>
<string name="settings_advanced_app_language_title">Sprache der App (Language)</string>
<string name="torrent_count">Torrent (%d)</string>
<string name="settings_eh_excluded_languages_summary">Galerie von die ausgeschlossenen Sprachen werden in der Galerieliste und der Suchen versteckt</string>
<string name="settings_eh_excluded_tag_namespaces">Ausgeschlossene Namensraum-Etiketten</string>
<string name="settings_eh_excluded_tag_namespaces_summary">Galerie in der ausgeschlossenen Namensraum werden von die Standard-Etikett-Suchen versteckt</string>
<string name="settings_eh_hath_proxy">H@H Proxy</string>
<string name="settings_eh_hath_proxy_summary_1">%1$s %2$s:%3$d</string>
<string name="settings_eh_hath_proxy_summary_2">Nicht festgelegt</string>
<string name="settings_eh_show_jpn_title">Japanische Titel anzeigen</string>
<string name="settings_eh_show_jpn_title_summary_on">Versuchen, japanische Titel anzuzeigen. Es wird länger dauern, Galerieliste zu laden.</string>
<string name="settings_eh_show_jpn_title_summary_off">Standardtitel anzeigen. Sie sind oft in Englisch.</string>
<string name="settings_eh_filter">Filter</string>
<string name="settings_eh_filter_summary">Nach Titel, Hochlader, Etikett und Etikett-Namensraum filtern</string>
<string name="settings_eh_cellular_network_warning">Achtung auf mobile Daten anzeigen</string>
<string name="settings_read">Lesen</string>
<string name="settings_read_screen_rotation">Richtung des Bildschirms</string>
<string name="settings_read_screen_rotation_default">Standard</string>
<string name="settings_read_screen_rotation_portrait">Querformat</string>
<string name="settings_read_screen_rotation_landscape">Hochformat</string>
<string name="settings_read_reading_direction">Richtung des Lesens</string>
<string name="settings_read_reading_direction_left_to_right">Von links nach rechts</string>
<string name="settings_read_reading_direction_right_to_Left">Von rechts nach links</string>
<string name="settings_read_reading_direction_top_to_bottom">Von oben nach unter</string>
<string name="settings_read_page_scaling">Seitenskalierung</string>
<string name="settings_read_page_scaling_actual_size">Originale Größe</string>
<string name="settings_read_page_scaling_fit_to_width">Nach der Länge anpassen</string>
<string name="settings_read_page_scaling_fit_to_height">Nach der Höhe anpassen</string>
<string name="settings_read_page_scaling_fit_to_screen">Nach dem Bildschirm anpassen</string>
<string name="settings_read_page_scaling_fixed_scale">Festgesetzte Größe</string>
<string name="settings_read_start_position">Seiten umblättern von</string>
<string name="settings_read_start_position_top_left">Oben links</string>
<string name="settings_read_start_position_top_right">Oben rechts</string>
<string name="settings_read_start_position_bottom_left">Unter links</string>
<string name="settings_read_start_position_bottom_right">Unter rechts</string>
<string name="settings_read_start_position_center">Die Mitte</string>
<string name="settings_read_keep_screen_on">Bildschirm wach bleiben lassen</string>
<string name="settings_read_show_clock">Uhr anzeigen</string>
<string name="settings_read_show_progress">Fortschritt anzeigen</string>
<string name="settings_read_show_battery">Akku-Niveau anzeigen</string>
<string name="settings_read_show_page_interval">Seitensabstand anzeigen</string>
<string name="settings_read_volume_page">Seiten mit Lautstärketaste umblättern</string>
<string name="settings_read_reading_fullscreen">Vollbild</string>
<string name="settings_read_custom_screen_lightness">Helligkeit manuell festlegen</string>
<string name="settings_read_screen_lightness">Helligkeit</string>
<string name="settings_download">Download</string>
<string name="settings_download_download_location">Downloadziel</string>
<string name="settings_download_invalid_download_location">Ungültiges Downloadziel</string>
<string name="settings_download_cant_get_download_location">Downloadziel konnte nicht geladen werden</string>
<string name="settings_download_pick_dir_l">Android 5.0+ stellt eine neue API breit, die erlaubt, Daten auf SD-Karte zu schreiben. Auf DOKUMENT antippen, um SD-Karte als Downloadziel festzulegen</string>
<string name="settings_download_document">Dokument</string>
<string name="settings_download_continue">Weiter</string>
<string name="settings_download_media_scan">Medienscan erlauben</string>
<string name="settings_download_media_scan_summary_on">Du solltest deine Galerie von anderen verstecken</string>
<string name="settings_download_media_scan_summary_off">Meisten Galerie-Apps ignorieren die Bilder im Downloadpfad</string>
<string name="settings_download_multi_thread_download">Multi-Thread-Download</string>
<string name="settings_download_multi_thread_download_summary">Bis zu %s Bild(er)</string>
<string name="settings_download_preload_image">Bilder vorabladen</string>
<string name="settings_download_preload_image_summary">Die nächste %s Bilder vorabladen</string>
<string name="settings_download_image_resolution">Auflösung der Bilder</string>
<string name="settings_download_image_resolution_summary">%s. Auflösung über 1280x funktioniert möglicherweise nicht</string>
<string name="settings_download_image_resolution_auto">Automatisch</string>
<string name="settings_download_download_origin_image">Originale Bilder herunterladen</string>
<string name="settings_download_download_origin_image_summary">Wenn es aktiviert wird, wird der 509-Fehler dir schneller widerfahren</string>
<string name="settings_download_restore_download_items">Download-Elemente wiederherstellen</string>
<string name="settings_download_restore_download_items_summary">Alle Download-Elemente im Downloadpfad wiederherstellen</string>
<string name="settings_download_restoring">Elemente werden wiederhergestellt</string>
<string name="settings_download_restore_not_found">Keine zu wiederhestellenden Elemente</string>
<string name="settings_download_restore_failed">Wiederherstellung gescheitert</string>
<string name="settings_download_restore_successfully">%d Element(e) wiederhergestellt</string>
<string name="settings_download_clean_redundancy">Unnötige Dateien löschen</string>
<string name="settings_download_clean_redundancy_summary">Bilddateien, die sich im Downloadpfad befinden, aber nicht in Downloadliste, löschen</string>
<string name="settings_download_clean_redundancy_no_redundancy">Keine zu löschenden Dateien gefunden</string>
<string name="settings_download_clean_redundancy_done">Reinigung abgeschlossen. %d Datei(en) wurde(n) gelöscht.</string>
<string name="settings_advanced">Erweiterte Optionen</string>
<string name="settings_advanced_save_parse_error_body">HTML-Datei beim Parsing-Fehler speichern</string>
<string name="settings_advanced_save_parse_error_body_summary">Die Datei könnte etwas privat enthalten</string>
<string name="settings_advanced_dump_logcat">Logcat-Protokoll speichern</string>
<string name="settings_advanced_dump_logcat_summary">Logcat-Protokolldatei auf externem Speicher speichern</string>
<string name="settings_advanced_dump_logcat_failed">Speichern gescheitert</string>
<string name="settings_advanced_dump_logcat_to">Protokolldatei wurde auf %s gespeichert.</string>
<string name="settings_advanced_clear_download_path_cache">Downloadpfadzwischenspeicher löschen</string>
<string name="license">Open Source-Lizenzen</string>
<string name="dir_picker">Verzeichnis auswählen</string>
<string name="directory_not_writable">Das Verzeichnis ist nicht beschreibbar</string>
<string name="cloud_favorites">Cloud-Favoriten</string>
<string name="local_favorites">Lokale Favoriten</string>
<string name="favorites_search_bar_hint">%s durchsuchen</string>
<string name="favorites_title">%s</string>
<string name="favorites_title_2">%1$s - %2$s</string>
<string name="delete_favorites_dialog_title">Von Favoriten löschen</string>
<string name="delete_favorites_dialog_message">%d Elemente von Favoriten löschen?</string>
<string name="move_favorites_dialog_title">Favoriten verschieben</string>
<string name="default_favorites_collection">Standard-Favoriten</string>
<string name="let_me_select">Manuell auswählen</string>
<string name="favorites_info">Favoriten-Info</string>
<string name="collections">Kollektionen</string>
<string name="count">Zahl</string>
<string name="need_sign_in">Du musst dich zuerst anmelden</string>
<string name="error_something_wrong_happened">Ein Fehler ist aufgetreten</string>
<string name="guide_quick_search_title">Sofortsuche</string>
<string name="guide_quick_search_text">Nach rechts wischen, um Sofortsuche-Panel zu öffnen.</string>
<string name="guide_collections_title">Kollektion</string>
<string name="guide_collections_text">Nach rechts wischen, um Kollektion auszuwählen.</string>
<string name="guide_download_labels_title">Download-Etiketten</string>
<string name="guide_download_labels_text">Nach rechts wischen, um Download-Etiketten-Panel zu öffnen</string>
<string name="guide_download_thumb_title">Galerie-Details</string>
<string name="guide_download_thumb_text">Auf das Miniaturbild antippen, um Galerie-Details zu sehen</string>
<string name="guide_gallery_left">Seiten umblättern</string>
<string name="guide_gallery_right">Seiten umblättern</string>
<string name="guide_gallery_menu">Menü</string>
<string name="guide_gallery_progress">Fortschitt</string>
<string name="guide_gallery_long_click">Drücken und halten, um Seitemenü zu öffnen</string>
<string name="from_the_future">Von der Zukunft</string>
<string name="just_now">Gerade</string>
<string name="yesterday">Gestern</string>
<string name="some_days_ago">Vor %d Tagen</string>
<string name="dialog_archive_title">H@H Downloader</string>
<string name="no_archives">Keine Archivdatei</string>
<string name="download_archive_started">Archivdatei wird heruntergeladen</string>
<string name="download_archive_failure">Fehler beim Herunterladen der Archivdatei</string>
<string name="archive">Archivdateien</string>
<string name="download_archive_failure_no_hath">H@H-Klient ist für das Herunterladen der Archivdateien erforderlich</string>
<string name="settings_privacy">Datenschutzoptionen</string>
<string name="settings_privacy_secure">Screenshot verhindern</string>
<string name="settings_privacy_secure_summary">Screenshots werden verhindert. Inhalt der App wird in Aktuelle Apps-Liste nicht angezeigt.</string>
<string name="press_twice_exit">Darauf erneut antippen, um die App zu beenden</string>
<string name="app_waring">Inhalt dieser App kommt aus dem Internet, von dem einige dir körperlichen oder emotionalen Schaden zufügen kann. Du hast es wirklich erfahrt und möchtest immer noch fortsetzen.</string>
<string name="error_username_cannot_empty">Gibt den Nutzername ein</string>
<string name="error_password_cannot_empty">Gibt das Passwort ein</string>
<string name="skip_signing_in">Anmeldung überspringen</string>
<string name="sign_in_failed">Anmeldung fehlgeschlagen</string>
<string name="sign_in_failed_plain">Der Fehler könnte wegen des Updates der Webseite aufgetretet werden. Versuche, dich anzumelden, indem du WebView benutzt oder Cookie eingeben, oder überspringe die Anmeldung mit der Taste unter ANMELDEN-Taste. Du könntest aber den Sad Panda sehen, wenn du dich nicht anmelden. Falls du dich mit Version unter 0.6.x anmeldetest, versuche, dich mit Cookie anzumelden.</string>
<string name="content_layout_restore_tip">Zum Wiederholen antippen</string>
<string name="write_rationale">EhViewer fordert jetzt die Genehmigung WRITE_EXTERNAL_STORAGE an, um die Galerie herunterzuladen. Die Genehmigung gewähren?</string>
<string name="you_rejected_me">Mir ist weh ums Herz</string>
<string name="settings_advanced_clear_download_path_cache_summary">Wenn etwas dem Downloadpfad schiefgelaufen ist, den Downloadpfad reinigen, könnte das Problem lösen.</string>
<string name="settings_advanced_clear_download_path_cache_message">Downloadpfadszwischenspeicher löschen?</string>
<string name="settings_advanced_clear_memory_cache">Zwischenspeicher löschen</string>
<string name="settings_advanced_clear_memory_cache_summary">Zwischenspeicher der Miniaturbilder und der Galerie-Info löschen</string>
<string name="settings_advanced_read_cache_size">Größe des Lesezwischenspeichers</string>
<string name="settings_advanced_built_in_hosts_title">Standard-hosts.txt</string>
<string name="settings_download_pick_dir_kk">Die App kann keine Daten auf Android 4.4 zum externen Speicher beschreiben, wenn du das System nicht hackst. Sie aber kann zu /Android/data/com.hippo.ehviewer beschreiben.</string>
<string name="settings_about_google_plus">Google+ Community</string>
<string name="settings_about_website">Webseite</string>
<string name="settings_about_source">Quellcode</string>
<string name="settings_about_changelog">Änderungsprotokoll</string>
<string name="settings_about_help">Hilfe</string>
<string name="settings_about_license">Lizenzen</string>
<string name="settings_about_license_summary">EhViewer wurde dank vieler Open Source-Projekte entwicklt.</string>
<string name="settings_about_donate">Spenden</string>
<string name="settings_about_donate_summary">Alipay: seven332$163.com</string>
<string name="settings_about_donate_message">Deine Spende hilft mir dabei, mehr gute Apps zu entwickln</string>
<string name="settings_about_donate_toast">E-Mail-Addresse wurde zur Zwischenablage kopiert</string>
<string name="settings_privacy_enable_analytics">Analyse aktivieren</string>
<string name="settings_privacy_about_analytics">Über die Analyse</string>
<string name="settings_about_version">Versionnummer</string>
<string name="settings_about_check_for_updates">Auf Update überprüfen</string>
<string name="settings_about_auto_check_for_updates">Auf Updates automatisch überprüfen</string>
<string name="settings_about_beta_update_channel">Beta-Version testen</string>
<string name="settings_about_beta_update_channel_summary">Beta-Version kann funktionieren möglicherweise nicht</string>
<string name="enable">Aktivieren</string>
<string name="enabled">Aktiviert</string>
<string name="disabled">Nicht aktiviert</string>
<string name="ip">IP</string>
<string name="port">Port</string>
<string name="Passkey">Schlüssel</string>
<string name="domain_not_supported">Der Domain ist nicht unterstützt.</string>
<string name="invalid_port">Ungültiger Port</string>
<string name="cant_get_data_dir">Datenverzeichnis konnte geladen werden</string>
<string name="cant_find_any_data">Keine Daten gefunden</string>
<string name="cant_read_the_file">Datei kann nicht gelesen werden</string>
<string name="app_language_system">Sprache des Systems (Standard)</string>
<string name="please_wait">Bitte warte</string>
<string name="settings_privacy_pattern_protection_title">Sperrmuster</string>
<string name="settings_privacy_pattern_protection_not_set">Kein Sperrmuster festgelegt</string>
<string name="settings_privacy_pattern_protection_set">Sperrmuster festgelegt</string>
<string name="settings_advanced_export_data">Daten exportieren</string>
<string name="settings_advanced_export_data_summary">Daten, z. B. Downloadliste, Sofortsucheliste, zum externen Speicher speichern</string>
<string name="settings_advanced_export_data_to">Daten wurden zu %s exportiert</string>
<string name="settings_advanced_export_data_failed">Datenexport gescheitert</string>
<string name="settings_advanced_import_data">Daten importieren</string>
<string name="settings_advanced_import_data_summary">Gespeichert Daten wiederherstellen</string>
<string name="settings_advanced_import_data_successfully">Daten wurden erfolgreich importiert</string>
<string name="settings_about">Über die App</string>
<string name="settings_about_author">Entwickler</string>
<string name="settings_about_telegram">Telegram</string>
<string name="settings_advanced_built_in_hosts_summary">Host auf die IP, die nach die App festgelegt werden, umstellen\nKann von angepasstem hosts.txt überschrieben werden</string>
<string name="settings_advanced_custom_hosts_title">Angepasstes hosts.txt</string>
<string name="settings_advanced_custom_hosts_summary">Hostname auf die angepassten IP umstellen\nDie Regeln können die von der App festgelegt überschreiben</string>
</resources>
+55 -25
View File
@@ -42,7 +42,7 @@
<string name="default_display_name">Little Hippo</string>
<string name="cookie_explain">Una cookie es una pequeña pieza de datos almacenados en el navegador web. Búsquelo si no sabe lo que es o cómo obtenerlo.\n\nIngrese cookies especiales para iniciar sesión.</string>
<string name="cookie_explain">Una cookie es una pequeña pieza de datos almacenados en el navegador web. Búsquelo en Google si no sabe lo qué es o cómo obtenerlo.\n\nIngrese cookies especiales para iniciar sesión.</string>
<string name="text_is_empty">El texto está vacío</string>
<string name="waring">Advertencia</string>
<string name="wrong_cookie_warning">Parece que las cookies que ingresaste son incorrectas. Debe revisarlos.</string>
@@ -167,7 +167,7 @@
<!-- Gallery detail -->
<string name="error_cannot_find_gallery">No se encuentra la galería</string>
<string name="download">Descargas</string>
<string name="download">Descargar</string>
<string name="read">Leer</string>
<string name="more_information">Más información</string>
<plurals name="page_count">
@@ -196,7 +196,7 @@
<string name="no_torrents">Sin torrents</string>
<string name="torrents">Torrents</string>
<string name="favorited">Favorito</string>
<string name="not_favorited">Sin favoritos</string>
<string name="not_favorited">No en favoritos</string>
<string name="add_favorites_dialog_title">Añadir a favoritos</string>
<string name="remember_favorite_collection">Recordar favoritos</string>
<string name="remove_from_favorite_success">Eliminado de favoritos</string>
@@ -234,7 +234,7 @@
<string name="key_posted">Publicado</string>
<string name="key_parent">Padre</string>
<string name="key_visible">Visible</string>
<string name="key_language">Lenguaje</string>
<string name="key_language">Idioma</string>
<string name="key_pages">Páginas</string>
<string name="key_size">Tamaño</string>
<string name="key_favorite_count">Número de favoritos</string>
@@ -265,7 +265,7 @@
<!-- Download -->
<string name="scene_download_title">Descargas - %s</string>
<string name="no_download_info">Las descargas de galerías se muestran acá</string>
<string name="no_download_info">Las galerías descargadas se mostrarán acá</string>
<string name="download_state_wait">Esperando</string>
<string name="download_state_downloading">Descargando</string>
<string name="download_state_downloaded">Descargado</string>
@@ -346,15 +346,17 @@
<string name="settings_eh">EH</string>
<string name="settings_eh_sign_out">Cerrar sesión</string>
<string name="settings_eh_sign_out_summary">Reinicie la aplicación para iniciar sesiónn</string>
<string name="settings_eh_sign_out_summary">Deberás reiniciar la aplicación</string>
<string name="settings_eh_sign_out_warning">¿Estás seguro de cerrar sesión?</string>
<string name="settings_eh_sign_out_yes">@android:string/ok</string>
<string name="settings_eh_sign_out_tip">Sesión cerrada. Reinicie la aplicación para iniciar sesión</string>
<string name="settings_eh_sign_out_tip">Sesión cerrada. Reinicie la aplicación para volver iniciar sesión</string>
<string name="settings_u_config">Configuración de EHentai</string>
<string name="settings_u_config_summary">Configurar en la página de EHentai</string>
<string name="settings_eh_gallery_site">Seleccionar galería</string>
<string name="settings_eh_list_mode">Modo lista</string>
<string name="settings_eh_list_mode_detail">Detallado</string>
<string name="settings_eh_list_mode_thumb">Vista previa</string>
<string name="settings_eh_detail_size">Detalles de tamaño</string>
<string name="settings_eh_list_mode_detail">Con detalles</string>
<string name="settings_eh_list_mode_thumb">Solo portada</string>
<string name="settings_eh_detail_size">Tamañp del detalle</string>
<string name="settings_eh_detail_size_long">Largo</string>
<string name="settings_eh_detail_size_short">Corto</string>
<string name="settings_eh_thumb_size">Tamaño de vista previa</string>
@@ -406,13 +408,13 @@
<string name="settings_read_show_clock">Mostrar hora</string>
<string name="settings_read_show_progress">Mostrar progreso</string>
<string name="settings_read_show_battery">Mostrar batería</string>
<string name="settings_read_volume_page">Pasar páginas con tecla de volumen</string>
<string name="settings_read_volume_page">Pasar páginas con tecla del volumen</string>
<string name="settings_read_reading_fullscreen">Pantalla completa</string>
<string name="settings_read_custom_screen_lightness">Brillo de pantalla personalizado</string>
<string name="settings_read_screen_lightness">Brillo de la pantalla</string>
<string name="settings_download">Descargas</string>
<string name="settings_download_download_location">Localización de descargas</string>
<string name="settings_download_download_location">Ruta de descargas</string>
<string name="settings_download_invalid_download_location">Ruta de descarga invalida</string>
<string name="settings_download_cant_get_download_location">No se puede obtener ruta de descargas</string>
<string name="settings_download_pick_dir_kk">No puedes escribir ningún tipo de datos en tu memoria SD externa en Android 4.4+ a no ser que la hayas hakeado. Pero &lt;SD card&gt;/Android/data/com.hippo.ehviewer es especial, puedes escribir en ello.</string>
@@ -420,11 +422,11 @@
<string name="settings_download_document">Document</string>
<string name="settings_download_continue">Continuar</string>
<string name="settings_download_media_scan">Permitir escaneo de medios</string>
<string name="settings_download_media_scan_summary_on">Mantenga las aplicaciones de galería fuera del alcanze de otra personas (podrán ver las galerías almacenadas)</string>
<string name="settings_download_media_scan_summary_off">Las aplicaciones de galería de imágenes ignoraran la ruta de descargas de galerías</string>
<string name="settings_download_media_scan_summary_on">Las galerías de imágenes mostrarán los doujinshis/mangas descargados. ¡Cuidado con prestar tu móvil o tablet!</string>
<string name="settings_download_media_scan_summary_off">Las de galería de imágenes no mostrarán los doujinshis/mangas descargados</string>
<string name="settings_download_multi_thread_download">Multi-hilos al descargar</string>
<string name="settings_download_multi_thread_download_summary">Máximo de %s imágenes</string>
<string name="settings_download_preload_image">Precargar Imagen</string>
<string name="settings_download_preload_image">Precargar imagen</string>
<string name="settings_download_preload_image_summary">Precargar las siguientes %s imágenes</string>
<string name="settings_download_image_resolution">Resolución de la imagen</string>
<string name="settings_download_image_resolution_summary">%s, resoluciones mayores a 1280x podrían dar error</string>
@@ -432,15 +434,15 @@
<string name="settings_download_download_origin_image">Descargar imagen original</string>
<string name="settings_download_download_origin_image_summary">¡Cuidado! Podrías recibir error 509</string>
<string name="settings_download_restore_download_items">Restaurar los elementos de descarga</string>
<string name="settings_download_restore_download_items_summary">Restaurar todos los elementos de descarga en la ubicación de descarga</string>
<string name="settings_download_restore_download_items_summary">Restaurar todos los elementos de descarga en la ruta de descarga</string>
<string name="settings_download_restoring">Restaurando...</string>
<string name="settings_download_restore_not_found">No se han encontrado elementos para restaurar</string>
<string name="settings_download_restore_failed">Restauración fallida</string>
<string name="settings_download_restore_successfully">Restauración de %d elementos completados</string>
<string name="settings_download_clean_redundancy">Borrar descargas innecesarias</string>
<string name="settings_download_clean_redundancy_summary">Eliminar las imágenes de la galería que no se encuentran en la lista de descarga pero sí la ubicación de descarga</string>
<string name="settings_download_clean_redundancy_no_redundancy">Sin elementos innecesarios</string>
<string name="settings_download_clean_redundancy_done">Borrado de redundancia completado, un total de %d elementos borrados</string>
<string name="settings_download_clean_redundancy">Borrar imágenes sobrantes</string>
<string name="settings_download_clean_redundancy_summary">Elimina las imágenes almacenadas en la ruta de descarga que no se encuentran en la lista de descarga</string>
<string name="settings_download_clean_redundancy_no_redundancy">Sin imágenes para borrar</string>
<string name="settings_download_clean_redundancy_done">Borrado de imágenes completada, un total de %d elementos borrados</string>
<string name="settings_advanced">Avanzado</string>
<string name="settings_advanced_save_parse_error_body">Guardar contenido en HTML al analizar el error</string>
@@ -455,9 +457,10 @@
<string name="settings_advanced_clear_memory_cache">Borrar caché de memoria</string>
<string name="settings_advanced_clear_memory_cache_summary">Borrar vistas previas, galerías, información y caché de memoria</string>
<string name="settings_advanced_read_cache_size">Tamaño del caché (archivos temporales)</string>
<string name="settings_advanced_pattern_protection_title">Protección por patrón</string>
<string name="settings_advanced_pattern_protection_not_set">No se ha configurado la protección por patrón</string>
<string name="settings_advanced_pattern_protection_set">La protección por patrón ha sido configurado</string>
<string name="settings_advanced_app_language_title">Idioma de la aplicación</string>
<string name="settings_privacy_pattern_protection_title">Protección por patrón</string>
<string name="settings_privacy_pattern_protection_not_set">No se ha configurado la protección por patrón</string>
<string name="settings_privacy_pattern_protection_set">La protección por patrón ha sido configurado</string>
<string name="settings_advanced_export_data">Exportar datos</string>
<string name="settings_advanced_export_data_summary">Guardar datos en almacenamiento externo, tales como la lista de descarga, lista de búsqueda rápida, entre otros</string>
<string name="settings_advanced_export_data_to">Datos exportados en %s</string>
@@ -479,10 +482,11 @@
<string name="settings_about_donate_summary">Alipay: seven332$163.com</string>
<string name="settings_about_donate_message">Tu donación me ayuda a desarrollar más y mejores aplicaciones.\n\nAlipay: seven332$163.com</string>
<string name="settings_about_donate_toast">Email copiado al portapapeles</string>
<string name="settings_about_enable_analytics">Habilitar analytics</string>
<string name="settings_about_about_analytics">Acerca de analytics</string>
<string name="settings_privacy_enable_analytics">Habilitar analytics</string>
<string name="settings_privacy_about_analytics">Acerca de analytics</string>
<string name="settings_about_version">Versión de compilación</string>
<string name="settings_about_check_for_updates">Verificar actualizaciones</string>
<string name="settings_about_auto_check_for_updates">Verificar automáticamente actualizaciones</string>
<string name="settings_about_beta_update_channel">Canal de versiones de prueba</string>
<string name="settings_about_beta_update_channel_summary">Las versiones de prueba podrían tener errores</string>
@@ -497,6 +501,7 @@
<string name="cant_get_data_dir">No se puede obtener el directorio de datos</string>
<string name="cant_find_any_data">No se pueden encuentran datos</string>
<string name="cant_read_the_file">No se puede leer el archivo</string>
<string name="app_language_system">Lenguaje del sistema (Defecto)</string>
<!-- ExcludedLanguagesScene -->
<string name="excluded_languages">Excluir idiomas</string>
@@ -617,5 +622,30 @@
<string name="error_password_cannot_empty">La contraseña no puede estar vacía</string>
<string name="error_something_wrong_happened">Ocurrió algo malo</string>
<string name="dialog_archive_title">H@H Downloader</string>
<string name="settings_privacy">Privacidad</string>
<string name="settings_privacy_secure">Impedir capturas de pantalla</string>
<string name="settings_privacy_secure_summary">Si habilitas esta opción no podrás hacer captura de pantalla y el sistema no mostrará una previsualización en el multitareas.\n\nDeberás reiniciar la aplicación para activar esta función.</string>
<string name="clipboard_gallery_url_dialog_title">Galería detectada</string>
<string name="clipboard_gallery_url_dialog_message">Se ha detectado un vínculo de galería en el portapapeles. ¿Quieres entrarlo?</string>
<string name="page_menu_save_to">Guardar a...</string>
<string name="enable_fingerprint">Usar huellas digitales para desbloquear</string>
<string name="u_config">Ajustes EHentai</string>
<string name="apply">Aplicar</string>
<string name="apply_tip">Toca la marca de verificación para guardar los cambios</string>
<string name="hosts">hosts.txt personalizado </string>
<string name="hosts_tip">hosts.txt</string>
<string name="hosts_host">Anfitrión</string>
<string name="hosts_ip">IP</string>
<string name="add_host">Añadir una anfitrión</string>
<string name="add_host_add">Añadir</string>
<string name="edit_host">Anfitrión</string>
<string name="edit_host_confirm">Aplicar</string>
<string name="edit_host_delete">Borrar</string>
<string name="invalid_host">Anfitrión inválida</string>
<string name="invalid_ip">IP inválida</string>
<string name="recaptcha_none">Toca acá</string>
<string name="recaptcha_loading">Cargando...</string>
<string name="recaptcha_failure">Fallado</string>
</resources>
+663
View File
@@ -0,0 +1,663 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2016 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<resources>
<string name="app_name">EhViewer</string>
<!-- Category -->
<string name="homepage">Page d\'acceuil</string>
<string name="whats_hot">Plus vus</string>
<string name="favourite">Favoris</string>
<string name="history">Historique</string>
<string name="downloads">Téléchargement</string>
<string name="settings">Paramétres</string>
<string name="username">Nom d\'utilisateur</string>
<string name="password">Mot de passe</string>
<string name="recaptcha">Recaptcha (Optionale)</string>
<string name="recaptcha_none">Appuyez ici</string>
<string name="recaptcha_loading">Chargement…</string>
<string name="recaptcha_failure">Échec</string>
<string name="sign_in">Se connecter</string>
<string name="register">Créer un compte</string>
<string name="sign_in_via_webview">Se connecter via WebView</string>
<string name="sign_in_via_cookies">Se connecter à l\'aide de cookies</string>
<string name="display_name_dialog_title">Entrer un nickname</string>
<string name="display_name">Nickname</string>
<string name="display_name_is_empty">Veuillez entrer un nickname</string>
<string name="sign_in_first">Connectez-vous pour continuer</string>
<string name="default_display_name">Pétit Hippo</string>
<string name="cookie_explain">Les cookies gardent des informations dans un navigateur Web. Cherchez-en les informations si vous ignorez ce qui c\'est ou où vous pouvez les obtenir.\n\nEntrez le cookie spéciale pour vous connecter.</string>
<string name="text_is_empty">Entrez le texte.</string>
<string name="waring">Attention</string>
<string name="wrong_cookie_warning">Les cookies entrés n\'ont pas l\'air corrects. Vérifiez-les.</string>
<string name="i_will_check_it">Je les vérifie tout le suite.</string>
<string name="i_dont_think_so">Ils sont corrects !</string>
<string name="found_cookies">Cookies trouvés</string>
<string name="invalid_download_location">La location de téléchargement actuelle n\'est pas disponible. Choissez-en une à nouveau dans les Paramétres.</string>
<string name="cellular_network_warning">Vous utilisez les données mobiles</string>
<string name="error_bad_status_code">Code d\'état inconnu : %d</string>
<string name="error_timeout">Time-out</string>
<string name="error_unknown_host">Hôte inconnu</string>
<string name="error_redirection">Trop de redirections</string>
<string name="error_socket">Erreur de network</string>
<string name="error_unknown">Erreur inconnue</string>
<string name="error_cant_find_activity">Impossible de trouver l\'application</string>
<string name="error_cannot_parse_the_url">Impossible de parser le lien URL</string>
<string name="error_not_folder_path">Chemin de dossier invalide</string>
<string name="error_no_provider">Aucun fournisseur</string>
<string name="error_decoding_failed">Échec de décodage</string>
<string name="error_not_found">Introuvable</string>
<string name="error_empty">Vide</string>
<string name="error_invalid_zip_file">Fiche ZIP invalide</string>
<string name="error_reading_failed">Échec de lecture</string>
<string name="error_out_of_range">Hors de portée</string>
<string name="error_write_failed">Échec d\'écriture</string>
<string name="error_parse_error">Échec d\'analyse syntaxique</string>
<string name="error_509">509</string>
<string name="error_invalid_url">URL invalide</string>
<string name="error_get_ptoken_error">Échec d\'obtention de pToken</string>
<string name="error_invalid_specify_gallery">Le mot-clé doit réssembler à \"618395 0439fa3666\" pour spécifier une galerie</string>
<string name="error_cant_create_temp_file">Impossible de créer un fiche temporaire</string>
<string name="error_cant_save_image">Impossible de sauvegarder l\'image</string>
<string name="error_invalid_number">Nombre invalide</string>
<string name="app_waring">Le contenu de l\'application provient de l\'Internet, dont quelque chose peut vous causer le dommage physique ou mentale. Vous l\'avez bien compris et voulez continuer quand même.</string>
<string name="error_username_cannot_empty">Nom d\'ultilisateur ne doit pas être une chaîne vide</string>
<string name="error_password_cannot_empty">Mot de passe ne doit pas être une chaîne vide</string>
<string name="skip_signing_in">Continuer sans se connecter</string>
<string name="sign_in_failed">Impossible de se connecter</string>
<string name="sign_in_failed_plain">Il se peut que ce soit une erreur causée par la mise à jour du site Web ou d\'autre chose. Vous pouvez essayer de vous connecter via WebView, à l\'aide de cookies, ou continuer sans vous connecter. Mais si vous ne vous connectez pas, vous pouvez devenir un panda triste. Essayez de vous connecter à l\'aide de cookies si vous vous êtes connecté(e) dans la version 0.6.x.</string>
<string name="press_twice_exit">Appuyez encore une fois pour quitter</string>
<string name="content_layout_restore_tip">Appuyez pour réessayer</string>
<string name="write_rationale">EhViewer réquêrir la permission WRITE_EXTERNAL_STORAGE pour télécharger les galeries. Voulez-vous l\'accorder ?</string>
<string name="you_rejected_me">C\'est pas sympa T_T</string>
<string name="analytics_explain">Ça vous derange si le développeur rassemble vos informations de l\'appareil et votre usage de l\'application ? Les informations sont très utiles pour le développeur.&lt;br&gt;&lt;br&gt;L\'analyse de données est fournie par Google Analytics. Sa politique de confidencialité se trouve à &lt;a href=&quot;https://www.google.com/policies/privacy/&quot;&gt;https://www.google.com/policies/privacy/&lt;/a&gt;.&lt;br&gt;&lt;br&gt;Si vous acceptez d\'aider l\'analyse données, vos informations de l\'appareil seront rassemblées, y compris, mais sans s\'y limiter, votre version API Android, modéle de l\'appareil, les durées de sessions et usages.&lt;br&gt;&lt;br&gt;Le développeur vous promet à ne rassembler AUCUNE donnée à moins que vous ne l\'acceptiez.&lt;br&gt;&lt;br&gt;Les données rassemblées seront analysées à l\'aide de Google Analytics. Le rapport d\'analyse ne peut être lu que par le développeur de l\'application.</string>
<string name="get_it">Compris</string>
<string name="accept">Accepter</string>
<string name="reject">Rejéter</string>
<string name="help_route">Paramètres->À propos de l\'application->Aide</string>
<!-- Crash -->
<string name="send">Envoyer</string>
<string name="crash_explain">Cette application a cessé de fonctionner de manière inattendue la dernière fois. Voulez-vous envoyer le journal logcat à le développeur via E-mail pour l\'aider à améliorer cette application ?</string>
<!-- Select scene -->
<string name="select_scene">Sélectionnez un site galerie.</string>
<string name="select_scene_explain">e-hentai : disponible pour tout le monde\nexhentai : disponible pour ce qui s\'est connecté(e)</string>
<string name="no_select">Sélectionnez un site</string>
<!-- Update -->
<string name="update">Mettre à jour</string>
<string name="update_plain">Version : %1$s\nTaille : %2$s\n\n%3$s</string>
<string name="update_to_date">EhViewer est à jour.</string>
<!-- Gallery List -->
<string name="gallery_list_search_bar_hint_exhentai">Chercher sur ExHentai</string>
<string name="gallery_list_search_bar_hint_e_hentai">Chercher sur E-Hentai</string>
<string name="gallery_list_empty_hit">Le monde est grand et le panda s\'assied tout seul.</string>
<string name="search">Chercher</string>
<string name="keyword_search">Recherche du mot-clé</string>
<string name="image_search">Recherche d\'une image</string>
<string name="search_normal">Recherche normale</string>
<string name="search_advance">Options avancées</string>
<string name="search_image">Recherche d\'une image</string>
<string name="search_normal_search">Chercher</string>
<string name="search_specify_uploader">Spécifier un uploader</string>
<string name="search_specify_tag">Spécifier un tag</string>
<string name="search_specify_gallery">Spécifier une galerie</string>
<string name="search_enable_advance">Activer options avancées</string>
<string name="search_tip">Recherche normale : faire recherche.\n\nSpécifer un uploader : faire la liste des galeries mises en ligne par l\'uploader spécifié. Autres options sont ignorées.\n\nSpécifier un tag : faire la liste des galeries qui contiennent le tag spécifié. Vous ne pouvez spécifier qu\'un tag. Autres options sont ignorées.\n\nSpécifier une galerie : Aller à la galerie. Le mot-clé doit être \"gid token\".</string>
<string name="search_sname">Chercher une galerie</string>
<string name="search_stags">Chercher tags galerie</string>
<string name="search_sdesc">Chercher la description galerie</string>
<string name="search_storr">Chercher un nom de fiche torrent</string>
<string name="search_sto">Seulement montrer galeries avec des fiches torrent</string>
<string name="search_sdt1">Chercher des tags faibles</string>
<string name="search_sdt2">Chercher des tags peu acceptés</string>
<string name="search_sh">Montrer les galeries supprimées</string>
<string name="search_sr">Minimum note :</string>
<string name="select_image">Sélectionner une image</string>
<string name="search_uss">Activer le scannage de similarité</string>
<string name="search_osc">Chercher seulement les couverture</string>
<string name="search_se">Montrer les galeries supprimées</string>
<string name="select_image_first">Sélectionnez une image</string>
<string name="add_to_favourites">Ajouter à favori</string>
<string name="quick_search">Recherche rapide</string>
<string name="quick_search_tip">Appuyez sur \"+\" pour ajouter une Recherche rapide</string>
<string name="add_quick_search_dialog_title">Ajouter la Recherche rapide</string>
<string name="name_is_empty">Entrez un nom</string>
<string name="delete">Supprimer</string>
<string name="delete_quick_search_title">Supprimer les Recherches rapides</string>
<string name="delete_quick_search_message">Supprimer \"%s\" ?</string>
<string name="no_quick_search">Recherches rapides s\'afficheront ici.</string>
<string name="add_quick_search_tip">Le resultat de la liste de galerie sera sauvegardé comme une Recherche rapide. Cherchez d\'abord pour sauvegarder l\'état du panneau recherche.</string>
<string name="readme">README</string>
<string name="image_search_not_quick_search">Impossible d\'ajouter recherche d\'une image comme une Recherche rapide.</string>
<string name="duplicate_quick_search">Une Recherche rapide avec le nom \"%s\" déjà existe.</string>
<string name="duplicate_name">Ce nom déjà existe</string>
<string name="go_to_hint">Page %1$d, avec un totale de %2$d pages</string>
<!-- search_min_rating -->
<string name="star_2">2 étoiles</string>
<string name="star_3">3 étoiles</string>
<string name="star_4">4 étoiles</string>
<string name="star_5">5 étoiles</string>
<!-- Gallery detail -->
<string name="error_cannot_find_gallery">La galerie introuvable</string>
<string name="download">Télécharger</string>
<string name="read">Lire</string>
<string name="more_information">Voir plus d\'informations</string>
<plurals name="page_count">
<item quantity="one">%d page</item>
<item quantity="other">%d pages</item>
</plurals>
<string name="favored_times">\u2665 %d</string>
<string name="rating_text">%1$s (%2$.2f, %3$d)</string>
<string name="favorites">Favoris</string>
<string name="torrent_count">Torrent (%d)</string>
<string name="share">Partager</string>
<string name="rate">Noter</string>
<string name="similar_gallery">Similaire(s)</string>
<string name="search_cover">Chercher le couverture</string>
<string name="no_tags">Aucun tag</string>
<string name="no_comments">Aucun commentaire</string>
<string name="no_more_comments">Pas d\'autres commentaires</string>
<string name="more_comment">Voir plus de commentaires</string>
<string name="no_previews">Aucun aperçu</string>
<string name="no_more_previews">Pas d\'autres aperçus</string>
<string name="more_previews">Voir plus d\'aperçus</string>
<string name="refresh">Rafraîchir</string>
<string name="open_in_other_app">Ouvrir avec une autre appli</string>
<string name="rate_successfully">Noté avec succès</string>
<string name="rate_failed">Échec de notation</string>
<string name="no_torrents">Aucun fiche torrent</string>
<string name="torrents">Fiches torrent</string>
<string name="favorited">Ajoutée à favoris</string>
<string name="not_favorited">Non ajoutée à favoris</string>
<string name="add_favorites_dialog_title">Ajouter à favoris</string>
<string name="remember_favorite_collection">Enrégistrer la collection favoris</string>
<string name="add_to_favorite_success">Ajouté à favoris</string>
<string name="remove_from_favorite_success">Retirer de favoris</string>
<string name="add_to_favorite_failure">Impossible de l\'ajouter à favoris</string>
<string name="remove_from_favorite_failure">Impossible de la retirer de favoris</string>
<string name="block_the_uploader">Ajouter l\'uploader \"%s\" à la liste de filtre ?</string>
<string name="filter_added">Filter added</string>
<!-- Rating -->
<string name="rating10">CHEF-D\'ŒUVRE</string>
<string name="rating9">IRRÉSISTABLE</string>
<string name="rating8">TRÈS BIEN</string>
<string name="rating7">AGRÉABLE</string>
<string name="rating6">PAS MAL</string>
<string name="rating5">COMME SI COMME ÇA</string>
<string name="rating4">MAL</string>
<string name="rating3">TRÈS MAL</string>
<string name="rating2">PEINE</string>
<string name="rating1">INSUPPORTABLE</string>
<string name="rating0">FUYEZ !</string>
<!-- Gallery Info -->
<string name="gallery_info">Infos de la galerie</string>
<string name="copied_to_clipboard">Copié à presse-papiers</string>
<string name="header_key">Clé</string>
<string name="header_value">Valeur</string>
<string name="key_gid">Gid</string>
<string name="key_token">Token</string>
<string name="key_url">URL</string>
<string name="key_title">Titre</string>
<string name="key_title_jpn">Titre en japonais</string>
<string name="key_thumb">Aperçu</string>
<string name="key_category">Catégorie</string>
<string name="key_uploader">Uploader</string>
<string name="key_posted">Mise en ligne</string>
<string name="key_parent">Parent</string>
<string name="key_visible">Visibile ?</string>
<string name="key_language">Langue</string>
<string name="key_pages">Pages</string>
<string name="key_size">Taille</string>
<string name="key_favorite_count">Nombre d\'additions à favoris</string>
<string name="key_favorited">Ajouté à favoris</string>
<string name="key_rating_count">Nombre de notations</string>
<string name="key_rating">Notation</string>
<string name="key_torrents">Nombre de torrents</string>
<string name="key_torrent_url">URL du fiche torrent</string>
<!-- Gallery Comments -->
<string name="gallery_comments">Commentaires de la galerie</string>
<string name="no_one_comments_gallery">Personne n\'a commenté sur la galerie</string>
<string name="comment_successfully">Commentaire posté</string>
<string name="comment_failed">Impossible de commenter</string>
<string name="copy_comment_text">Copier le texte du commentaire</string>
<string name="vote_up">Donner \"J\'aime\"</string>
<string name="cancel_vote_up">Annuler \"J\'aime\"</string>
<string name="vote_down">Donner \"Je hais\"</string>
<string name="cancel_vote_down">Donner \"Je hais\"</string>
<string name="vote_up_successfully">\"J\'aime\" donné avec succès</string>
<string name="cancel_vote_up_successfully">\"J\'aime\" retiré avec succès</string>
<string name="vote_down_successfully">\"Je hais\" donné avec succès</string>
<string name="cancel_vote_down_successfully">\"Je hais\" retiré avec succès</string>
<string name="vote_failed">Échec du vote</string>
<string name="check_vote_status">Voir les détails des votes</string>
<!-- Gallery Previews -->
<string name="gallery_previews">Aperçus de la galerie</string>
<string name="go_to">Aller à</string>
<!-- Download -->
<string name="scene_download_title">Téléchargement - %s</string>
<string name="no_download_info">Vos téléchargements s\'afficheront ici</string>
<string name="download_state_none">En veille</string>
<string name="download_state_wait">En attente</string>
<string name="download_state_downloading">Téléchargement en cours</string>
<string name="download_state_downloaded">Téléchargement completé</string>
<string name="download_state_failed">Échec</string>
<string name="download_state_failed_2">%d non complet</string>
<string name="download_state_finish">Complet</string>
<string name="stat_509_alert_title">Erreur 509</string>
<string name="stat_509_alert_text">Votre limite d\'obtention d\'images est atteinte. Arrêtez le téléchargement et réessayez plus tard.</string>
<string name="stat_download_done_title">Téléchargement completé</string>
<string name="stat_download_done_text_succeeded">%d avec succés</string>
<string name="stat_download_done_text_failed">%d échoué(s)</string>
<string name="stat_download_done_text_mix">%1$d avec succés, %2$d échoué(s)</string>
<string name="stat_download_done_line_succeeded">Complété(s) : %s</string>
<string name="stat_download_done_line_failed">Échoué(s) : %s</string>
<string name="download_remove_dialog_title">Retire téléchargement</string>
<string name="download_remove_dialog_message">Retirer %s de la liste de téléchargement ?</string>
<string name="download_remove_dialog_message_2">Retirer %d articles de la liste de téléchargement ?</string>
<string name="download_remove_dialog_check_text">Supprimer fiches d\'image</string>
<string name="stat_download_action_stop_all">Arrêter tout</string>
<string name="drawer_download_label_title">Label</string>
<string name="default_download_label_name">Défaut</string>
<string name="download_move_dialog_title">Déplacer</string>
<string name="download_labels">Labels de téléchargement</string>
<string name="download_start_all">Commencer tout</string>
<string name="download_stop_all">Arrêter tout</string>
<string name="download_service_label">Service du téléchargement EhViewer</string>
<string name="download_speed_text">%s</string>
<string name="download_speed_text_2">%1$s, encore %2$s</string>
<string name="remember_download_label">Enregistrer le label de téléchargement</string>
<string name="default_download_label">Label de téléchargement par défaut</string>
<string name="added_to_download_list">Ajouté à la liste de téléchargement</string>
<!-- Download label -->
<string name="no_download_label">Vos labels de téléchargement s\'affichera ici</string>
<string name="add">Ajouter</string>
<string name="new_label_title">Nouveau label</string>
<string name="label_text_is_empty">Entrez le texte du label</string>
<string name="label_text_is_invalid">\"Default\" n\'est pas un label valide</string>
<string name="label_text_exist">Ce label déjà existe</string>
<string name="rename_label_title">Renommer le label</string>
<string name="delete_label_title">Supprimer le label</string>
<string name="delete_label_message">Supprimer \"%s\" ?</string>
<!-- History -->
<string name="no_history">Votre historique de les lectures de galerie s\'affichera ici</string>
<string name="clear_all">Tout effacer</string>
<string name="clear_all_history">Effacer toute l\'historique ?</string>
<!-- Filter -->
<string name="filter">Filtre</string>
<string name="no_filter">Vos filtres s\'afficheront ici</string>
<string name="filter_title">Titre</string>
<string name="filter_uploader">Uploader</string>
<string name="filter_tag">Tag</string>
<string name="filter_tag_namespace">Espace de nom de tag</string>
<string name="delete_title_filter">Supprimer le filtre de titre \"%s\" ?</string>
<string name="delete_uploader_filter">Supprimer le filtre d\'uploader \"%s\" ?</string>
<string name="delete_tag_filter">Supprimer le filtre de tag \"%s\" ?</string>
<string name="delete_filter">Supprimer le filtre \"%s\" ?</string>
<string name="tip">Astuce</string>
<string name="add_filter">Ajouter le filtre</string>
<string name="show_definition">Montrer expliques</string>
<string name="filter_text">Texte du filtre</string>
<string name="filter_tip">Filtre de titre : exclure les galeries dont le titre contient le mot.\n\nFiltre d\'uploader : exclure les galerie mises en ligne par cet uploader.\n\nFiltre de tag : exclure les galeries qui ont ce tag. Il vas prendre plus de temps pour charger la liste.\n\nFiltre d\'espace de nom de tag : exclure les galeries qui ont cette espace de nom de tag. Il vas prendre plus de temps pour charger la liste.</string>
<!-- Set Security -->
<string name="set_pattern_protection">Définir le modéle de déverrouillage</string>
<string name="set_pattern_protection_tip">Déssinez un modéle pour définir le modéle de déverrouillage\nContinuer sans rien déssiner pour effacer le modéle</string>
<string name="set">Définir</string>
<string name="enable_fingerprint">Permettre le déverrouillage avec l\'empreinte digitale</string>
<!-- UConfig Activity -->
<string name="u_config">Paramètres EHentai</string>
<string name="apply">Appliquer</string>
<string name="apply_tip">Appuyez sur la coche pour sauvegarder les changements</string>
<!-- Gallery Activity -->
<string name="page_menu_title">Page %d</string>
<string name="page_menu_refresh">@string/refresh</string>
<string name="page_menu_share">@string/share</string>
<string name="page_menu_save">Sauvegarder</string>
<string name="page_menu_add_bookmark">Ajouter un signet</string>
<string name="gallery_menu_title">Menu</string>
<string name="share_image">Partager l\'image</string>
<string name="image_saved">Image sauvegardée à %s</string>
<string name="settings_eh">EH</string>
<string name="settings_eh_sign_out">Se déconnecter</string>
<string name="settings_eh_sign_out_summary">Redémarrez l\'appli pour vous connecter à nouveau</string>
<string name="settings_eh_sign_out_warning">Voulez-vous vous déconnecter ?</string>
<string name="settings_eh_sign_out_yes">@android:string/ok</string>
<string name="settings_eh_sign_out_tip">Vous vous êtes déconnecté. Redémarrez l\'application pour vous connecter</string>
<string name="settings_u_config">Paramètres EHentai</string>
<string name="settings_u_config_summary">Paramètres sur le site Web EHentai</string>
<string name="settings_eh_gallery_site">Site de galerie</string>
<string name="settings_eh_list_mode">Mode de liste</string>
<string name="settings_eh_list_mode_detail">Avec détails</string>
<string name="settings_eh_list_mode_thumb">Miniatures uniquement</string>
<string name="settings_eh_detail_size">Taille des détails</string>
<string name="settings_eh_detail_size_long">Long</string>
<string name="settings_eh_detail_size_short">Court</string>
<string name="settings_eh_thumb_size">Taille des mimniatures</string>
<string name="settings_eh_thumb_size_large">Large</string>
<string name="settings_eh_thumb_size_middle">Moyenne</string>
<string name="settings_eh_thumb_size_small">Pétite</string>
<string name="settings_eh_thumb_resolution">Résolution des miniatures</string>
<string name="settings_eh_thumb_resolution_summary">Auctuellement %s. Certaines résolutions spéciales êmpechent de les charger correctement.</string>
<string name="settings_eh_thumb_resolution_auto">Auto</string>
<string name="settings_eh_fix_thumb_url">Réparer l\'URL de la miniature</string>
<string name="settings_eh_default_categories">Catégoriques sur la page d\'accueil</string>
<string name="settings_eh_default_categories_summary">Les catégoriques par défaut à afficher sur la page d\'accueil</string>
<string name="settings_eh_excluded_languages">Langues exclues</string>
<string name="settings_eh_excluded_languages_summary">Ne pas afficher les galerie des langues spécifiées sur la liste de galerie et le résultat de recherche</string>
<string name="settings_eh_excluded_tag_namespaces">Espaces de nom de tag exclues</string>
<string name="settings_eh_excluded_tag_namespaces_summary">Exclure espaces de nom spécifiées de une recherche de tag par défaut</string>
<string name="settings_eh_hath_proxy">H@H proxy</string>
<string name="settings_eh_hath_proxy_summary_1">%1$s %2$s:%3$d</string>
<string name="settings_eh_hath_proxy_summary_2">Rien</string>
<string name="settings_eh_show_jpn_title">Montrer les titres japonais</string>
<string name="settings_eh_show_jpn_title_summary_on">Essayer de charger les titres japonais. Il prend plus de temps pour charger la liste des galeries.</string>
<string name="settings_eh_show_jpn_title_summary_off">Montrer les titres par défaut. Ils sont souvent en anglais.</string>
<string name="settings_eh_filter">Filtre</string>
<string name="settings_eh_filter_summary">Filtrer par le titre, l\'uploader, le tag et l\'espace de nom</string>
<string name="settings_eh_cellular_network_warning">Avertissement de données mobiles</string>
<string name="settings_read">Lecture</string>
<string name="settings_read_screen_rotation">Rotation d\'écran</string>
<string name="settings_read_screen_rotation_default">Par défaut</string>
<string name="settings_read_screen_rotation_portrait">Portrait</string>
<string name="settings_read_screen_rotation_landscape">Landscape</string>
<string name="settings_read_reading_direction">Direction de lecture</string>
<string name="settings_read_reading_direction_left_to_right">De gauche à droit</string>
<string name="settings_read_reading_direction_right_to_Left">De droit à gauche</string>
<string name="settings_read_reading_direction_top_to_bottom">De haut à fond</string>
<string name="settings_read_page_scaling">Écaillage de page</string>
<string name="settings_read_page_scaling_actual_size">Taille actuelle</string>
<string name="settings_read_page_scaling_fit_to_width">S\'adapter à la largueur</string>
<string name="settings_read_page_scaling_fit_to_height">S\'adapter à la hauteur</string>
<string name="settings_read_page_scaling_fit_to_screen">S\'adapter à l\'écran</string>
<string name="settings_read_page_scaling_fixed_scale">Taille fixée</string>
<string name="settings_read_start_position">Position de début</string>
<string name="settings_read_start_position_top_left">En haut à gauche</string>
<string name="settings_read_start_position_top_right">En haut à droit</string>
<string name="settings_read_start_position_bottom_left">En bas à gauche</string>
<string name="settings_read_start_position_bottom_right">En bas à droit</string>
<string name="settings_read_start_position_center">Centre</string>
<string name="settings_read_keep_screen_on">Maintenir l\'écran allumé</string>
<string name="settings_read_show_clock">Montrer l\'heure</string>
<string name="settings_read_show_progress">Montrer le progrès</string>
<string name="settings_read_show_battery">Montrer le niveau de batterie</string>
<string name="settings_read_show_page_interval">Montrer l\'intervalle des pages</string>
<string name="settings_read_volume_page">Permettre de tourner la page avec les boutons Volume</string>
<string name="settings_read_reading_fullscreen">Plein d\'écran</string>
<string name="settings_read_custom_screen_lightness">Utiliser la luminosité d\'écran personalisée</string>
<string name="settings_read_screen_lightness">Luminosité d\'écran</string>
<string name="settings_download">Téléchargement</string>
<string name="settings_download_download_location">Destination de téléchargement</string>
<string name="settings_download_invalid_download_location">Destination de téléchargement invalide</string>
<string name="settings_download_cant_get_download_location">Impossible d\'obtenir la destination de téléchargement</string>
<string name="settings_download_pick_dir_kk">Une application ne peut écrire aucune donnée dans la carte SD à moins que vous ne roote et modifie votre appareil, à l\'exception du chemin /Android/data/com.hippo.ehviewer, dans lequel EhViewer a la permission d\'écriture.</string>
<string name="settings_download_pick_dir_l">Android 5.0+ a implémenté un nouveau API, qui permet les applications à écrire dans la carte SD. Appuyez sur \"DOCUMENT\" pour définir la carte SD comme la destination de téléchargement</string>
<string name="settings_download_document">Document</string>
<string name="settings_download_continue">Continuer</string>
<string name="settings_download_media_scan">Permettre le scannage des fiches multimédias</string>
<string name="settings_download_media_scan_summary_on">Ne montre jamais vos applications galerie à personne</string>
<string name="settings_download_media_scan_summary_off">La plupart d\'applications galerie ignorent les images dans le chemin de téléchargement</string>
<string name="settings_download_multi_thread_download">Téléchargement multi-thread</string>
<string name="settings_download_multi_thread_download_summary">Jusqu\'à %s image(s)</string>
<string name="settings_download_preload_image">Charger les images d\'avance</string>
<string name="settings_download_preload_image_summary">Charger les prochaine %s images</string>
<string name="settings_download_image_resolution">Resolution d\'image</string>
<string name="settings_download_image_resolution_summary">%s, résolutions mieux que 1280x riquent de ne pas fonctionner</string>
<string name="settings_download_image_resolution_auto">Auto</string>
<string name="settings_download_download_origin_image">Télécharger l'images originales</string>
<string name="settings_download_download_origin_image_summary">Vous allez obtenir l\'erreur 509 plus facilement</string>
<string name="settings_download_restore_download_items">Rétablir les galeries téléchargées</string>
<string name="settings_download_restore_download_items_summary">Rétablir tous objets déjà téléchargés dans la destination de téléchargement</string>
<string name="settings_download_restoring">Rétablissement en cours</string>
<string name="settings_download_restore_not_found">Auncun objets à rétablir trouvé</string>
<string name="settings_download_restore_failed">Échec de rétablissement</string>
<string name="settings_download_restore_successfully">%d objets rétablis avec succès</string>
<string name="settings_download_clean_redundancy">Effacer fiches inutiles de téléchargement</string>
<string name="settings_download_clean_redundancy_summary">Effacer les fiches des galeries qui ne sont pas dans la liste de téléchargement mais se trouvent dans la destination de téléchargement</string>
<string name="settings_download_clean_redundancy_no_redundancy">Rien à effacer</string>
<string name="settings_download_clean_redundancy_done">Nettoyage complété avec succès, %d objets effacés</string>
<string name="settings_advanced">Avancé</string>
<string name="settings_advanced_save_parse_error_body">Sauvegarder le contenu de HTML après l\'erreur d\'analyse syntaxique</string>
<string name="settings_advanced_save_parse_error_body_summary">Le fiche HTML pouvait contenir les informations personnelles</string>
<string name="settings_advanced_dump_logcat">Sauvegarder le journal logcat</string>
<string name="settings_advanced_dump_logcat_summary">Sauvegarder le journal logcat au stockage externe</string>
<string name="settings_advanced_dump_logcat_failed">Echec de sauvegarde</string>
<string name="settings_advanced_dump_logcat_to">Fiche sauvegardé à %s</string>
<string name="settings_advanced_clear_download_path_cache">Vider le cache de la destination de téléchargement</string>
<string name="settings_advanced_clear_download_path_cache_summary">Quand il y a une erreur et vous devez télécharger quelque chose à nouveau, vider le cache là-dedans pouvait résoudre le problème.</string>
<string name="settings_advanced_clear_download_path_cache_message">Vider le cache ?</string>
<string name="settings_advanced_clear_memory_cache">Vider le cache du stockage</string>
<string name="settings_advanced_clear_memory_cache_summary">Effacer le cache des miniatures, les informations galeries</string>
<string name="settings_advanced_read_cache_size">Taille du cache pour le lecture</string>
<string name="settings_privacy_pattern_protection_title">Modéle de déverrouillage</string>
<string name="settings_privacy_pattern_protection_not_set">Aucun modéle de déverrouillage</string>
<string name="settings_privacy_pattern_protection_set">Modéle de déverrouillage défini</string>
<string name="settings_advanced_export_data">Exporter les données</string>
<string name="settings_advanced_export_data_summary">Sauvegarder les données au stockage externe, y compris la liste de téléchargement, la liste de recherche rapide</string>
<string name="settings_advanced_export_data_to">Données exportées à %s</string>
<string name="settings_advanced_export_data_failed">Échec d\'exportation de données</string>
<string name="settings_advanced_import_data">Importer les données</string>
<string name="settings_advanced_import_data_summary">Charger les données exportées</string>
<string name="settings_advanced_import_data_successfully">Importation complète avec succès</string>
<string name="settings_about">À propos de l\'application</string>
<string name="settings_about_author">Développeur</string>
<string name="settings_about_telegram">Telegram</string>
<string name="settings_about_google_plus">Communité Google+</string>
<string name="settings_about_website">Site</string>
<string name="settings_about_source">Source</string>
<string name="settings_about_changelog">Historique de changements</string>
<string name="settings_about_help">Aide</string>
<string name="settings_about_license">Licence</string>
<string name="settings_about_license_summary">EhViewer ne peut être né qu\'à grâce de beaucoup de projets Open Source.</string>
<string name="settings_about_donate">Faire un don</string>
<string name="settings_about_donate_summary">Alipay : seven332$163.com</string>
<string name="settings_about_donate_message">Votre donation me motive à développer plus de mieux applications.\n\nAlipay : seven332$163.com</string>
<string name="settings_about_donate_toast">Adress Email copié à presse-papier</string>
<string name="settings_privacy_enable_analytics">Activer analyse</string>
<string name="settings_privacy_about_analytics">A propos de l\'analyse</string>
<string name="settings_about_version">Numéro de version</string>
<string name="settings_about_check_for_updates">Chercher mise à jour</string>
<string name="settings_about_beta_update_channel">Chaîne de mises à jour beta</string>
<string name="settings_about_beta_update_channel_summary">Versions beta riquent de ne pas fonctionner correctement sur votre appareil</string>
<string name="enable">Activer</string>
<string name="enabled">Activé</string>
<string name="disabled">Non activé</string>
<string name="ip">IP</string>
<string name="port">Port</string>
<string name="Passkey">Clé de passe</string>
<string name="domain_not_supported">Le domaine n\'est pas compatible</string>
<string name="invalid_port">Port invalide</string>
<string name="cant_get_data_dir">Échec d\'obtention du répertoire données</string>
<string name="cant_find_any_data">Aucune donnée trouvée</string>
<string name="cant_read_the_file">Impossible de lire le fiche</string>
<!-- ExcludedLanguagesScene -->
<string name="excluded_languages">Langues exlues</string>
<string name="select_all">Toute</string>
<string name="deselect_all">Aucune</string>
<string name="invert_selection">Inverter</string>
<string name="language">Langue</string>
<string name="original">Originale</string>
<string name="translated">Traduction</string>
<string name="rewrite">Rewrite</string>
<string name="language_japanese">Japonais</string>
<string name="language_english">Anglais</string>
<string name="language_chinese">Chinois</string>
<string name="language_dutch">Néerlandais</string>
<string name="language_french">Français</string>
<string name="language_german">Allemand</string>
<string name="language_hungarian">Hongrois</string>
<string name="language_italian">Italien</string>
<string name="language_korean">Coréen</string>
<string name="language_polish">Polonais</string>
<string name="language_portuguese">Portugais</string>
<string name="language_russian">Russe</string>
<string name="language_spanish">Espanol</string>
<string name="language_thai">Thaï</string>
<string name="language_vietnamese">Vietnamien</string>
<string name="language_na">N/A</string>
<string name="language_other">Autres</string>
<string name="please_wait">Merci de patienter</string>
<!-- License -->
<string name="license">Licence</string>
<!-- Dir Picker-->
<string name="dir_picker">Sélectionner le répertoire</string>
<string name="directory_not_writable">Impossible d\'écrire dans le répertoire</string>
<!-- Favorites -->
<string name="cloud_favorites">Favoris de cloud</string>
<string name="local_favorites">Favoris locales</string>
<string name="favorites_search_bar_hint">Chercher dans %s</string>
<string name="favorites_title">%s</string>
<string name="favorites_title_2">%1$s - %2$s</string>
<string name="delete_favorites_dialog_title">Effacer de favoris</string>
<string name="delete_favorites_dialog_message">Effacer %d objets de favoris ?</string>
<string name="move_favorites_dialog_title">Déplacer favoris</string>
<string name="default_favorites_collection">Collection favoris par défaut</string>
<string name="let_me_select">Sélectionner manuellement</string>
<string name="favorites_info">Infos de favoris</string>
<string name="collections">Collections</string>
<string name="count">Total</string>
<string name="need_sign_in">Vous devez vous connecter</string>
<!-- Progress Scene -->
<string name="error_something_wrong_happened">Une erreur s\'est produite</string>
<!-- Guide -->
<string name="guide_quick_search_title">Recherche rapide</string>
<string name="guide_quick_search_text">Faites glisser à droit pour ouvrir le panneau de recherche rapide</string>
<string name="guide_collections_title">Collections</string>
<string name="guide_collections_text">Faites glisser à droit pour sélectionner les collections</string>
<string name="guide_download_labels_title">Labels de téléchargements</string>
<string name="guide_download_labels_text">Faites glisser à droit pour ouvrir le panneau de labels de téléchargements</string>
<string name="guide_download_thumb_title">Détails de la galerie</string>
<string name="guide_download_thumb_text">Appuyez sur la miniature pour voir les détails de la galerie</string>
<string name="guide_gallery_left">Tourner la page</string>
<string name="guide_gallery_right">Tourner la page</string>
<string name="guide_gallery_menu">Menu</string>
<string name="guide_gallery_progress">Progrès</string>
<string name="guide_gallery_long_click">Maintenez pour ouvrir le menu de page</string>
<!-- Readable Time -->
<string name="from_the_future">Du futur</string>
<string name="just_now">En ce moment</string>
<plurals name="some_minutes_ago">
<item quantity="one">Il y a %d minute</item>
<item quantity="other">Il y a %d minutes</item>
</plurals>
<plurals name="some_hours_ago">
<item quantity="one">Il y a %d heure</item>
<item quantity="other">Il y a %d heures</item>
</plurals>
<string name="yesterday">Hier</string>
<string name="some_days_ago">Il y a %d jours</string>
<plurals name="second">
<item quantity="one">sec</item>
<item quantity="other">secs</item>
</plurals>
<plurals name="minute">
<item quantity="one">min</item>
<item quantity="other">mins</item>
</plurals>
<plurals name="hour">
<item quantity="one">heure</item>
<item quantity="other">heures</item>
</plurals>
<plurals name="day">
<item quantity="one">jour</item>
<item quantity="other">jours</item>
</plurals>
<plurals name="year">
<item quantity="one">an</item>
<item quantity="other">ans</item>
</plurals>
<string name="dialog_archive_title">H@H Downloader</string>
<string name="no_archives">Aucun fiche archives</string>
<string name="download_archive_started">Téléchargement du fiche archives a commencé</string>
<string name="download_archive_failure">Téléchargement du fiche archives a échoué</string>
<string name="archive">Fiches archives</string>
<string name="download_archive_failure_no_hath">Client H@H est nécessaire pour le téléchargement de fiches archives</string>
<string name="settings_privacy">Confidentialité</string>
<string name="settings_privacy_secure">Empêcher captures d\'ecran</string>
<string name="settings_privacy_secure_summary">Quand cette option est activée, vous ne pouvez prendre auncun capture d\'écran de l\'application, et le systéme n\'affiche pas le contenu d\'écran dans le sélecteur de tâches.\n\nRedémarrage de l\'application nécessaire pour appliquer le changement</string>
<string name="clipboard_gallery_url_dialog_title">Lien de galerie detecté</string>
<string name="clipboard_gallery_url_dialog_message">Voulez-vous accéder la galerie dans vos presse-papiers ?</string>
<string name="hosts">Personnalisé hosts.txt</string>
<string name="hosts_tip">hosts.txt</string>
<string name="hosts_host">Hôte</string>
<string name="hosts_ip">IP</string>
<string name="add_host">Ajouter hôte</string>
<string name="add_host_add">Ajouter</string>
<string name="edit_host">Modifier hôte</string>
<string name="edit_host_confirm">Appliquer</string>
<string name="edit_host_delete">Supprimer</string>
<string name="invalid_host">Hôte invalide</string>
<string name="invalid_ip">IP invalide</string>
<string name="page_menu_save_to">Sauvegarder dans...</string>
<string name="settings_advanced_app_language_title">Langue de l\'app (Language)</string>
<string name="settings_advanced_built_in_hosts_title">"hosts.txt integré "</string>
<string name="settings_advanced_built_in_hosts_summary">Mapper l\'hôte à l\'adresse IP selon les règles de l\'app\nIls pouvent être redéfinits par hosts.txt personnalisé</string>
<string name="settings_advanced_custom_hosts_title">hosts.txt personalisé</string>
<string name="settings_advanced_custom_hosts_summary">Mapper l\'hôte à l\'adresse IP\nIls pouvent redéfinir l'hosts.txt de l\'app</string>
<string name="app_language_system">Langue du système (défaut)</string>
</resources>
+658
View File
@@ -0,0 +1,658 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2016 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<resources>
<string name="app_name">EhViewer</string>
<string name="homepage">ホームページ</string>
<string name="whats_hot">人気</string>
<string name="favourite">お気に入り</string>
<string name="history">閲覧履歴</string>
<string name="downloads">ダウンロード</string>
<string name="settings">設定</string>
<string name="username">ユーザー名</string>
<string name="password">パスワード</string>
<string name="recaptcha">認証コード(オプショナル)</string>
<string name="recaptcha_none">ここをクリック</string>
<string name="recaptcha_loading">ロード中…</string>
<string name="recaptcha_failure">失敗</string>
<string name="sign_in">ログイン</string>
<string name="register">登録</string>
<string name="sign_in_via_webview">Webでログイン</string>
<string name="sign_in_via_cookies">Cookieでログイン</string>
<string name="display_name_dialog_title">ニックネームを入力</string>
<string name="display_name">ニックネーム</string>
<string name="display_name_is_empty">ニックネームを入力してください</string>
<string name="sign_in_first">ログインしてください</string>
<string name="default_display_name">Little Hippo</string>
<string name="cookie_explain">Cookiesはブラウザに保存した特殊なデータです。よくわからない場合はGoogleで検索してください。\n\nCookiesを入力してログインしてください。</string>
<string name="text_is_empty">テキストを入力してください</string>
<string name="waring">警告</string>
<string name="wrong_cookie_warning">入力したCookieは正しくないようです。確認してください。</string>
<string name="i_will_check_it">はい</string>
<string name="i_dont_think_so">再試行</string>
<string name="found_cookies">Cookieが見つかりました</string>
<string name="invalid_download_location">ダウンロードパスは現在利用できません。ダウンロードパスを設定してください。</string>
<string name="cellular_network_warning">モバイルネットワークに接続しています</string>
<string name="error_bad_status_code">無効なステータスコード:%d</string>
<string name="error_timeout">タイムアウト</string>
<string name="error_unknown_host">不明なホスト</string>
<string name="error_redirection">リダイレクトが多すぎます</string>
<string name="error_socket">ネットワークエラー</string>
<string name="error_unknown">不明なエラー</string>
<string name="error_cant_find_activity">アクティビティが見つかりません。</string>
<string name="error_cannot_parse_the_url">リンクを解析できません。</string>
<string name="error_not_folder_path">フォルダが見つかりません。</string>
<string name="error_no_provider">プロバイダが見つかりません。</string>
<string name="error_decoding_failed">デコードに失敗しました。</string>
<string name="error_not_found">見つかりませんでした。</string>
<string name="error_empty">空</string>
<string name="error_invalid_zip_file">無効なzipファイルです。</string>
<string name="error_reading_failed">読み込めませんでした。</string>
<string name="error_out_of_range">範囲外です。</string>
<string name="error_write_failed">書き込めませんでした</string>
<string name="error_parse_error">ファイル解析に失敗しました。</string>
<string name="error_509">509エラー</string>
<string name="error_invalid_url">無効なリンクです。</string>
<string name="error_get_ptoken_error">pTokenの取得に失敗しました。</string>
<string name="error_invalid_specify_gallery">ギャラリーのキーワードのフォーマット:「618395 0439fa3666」</string>
<string name="error_cant_create_temp_file">一時ファイルを作成できませんでした</string>
<string name="error_cant_save_image">画像を保存できませんでした</string>
<string name="error_invalid_number">無効な数字です</string>
<string name="app_waring">このアプリの内容はインターネットから取得したものです。その内容の一部は使用者のお体や心理に傷つける恐れがあります。それでも続行しますか?</string>
<string name="error_username_cannot_empty">ユーザー名を入力してください。</string>
<string name="error_password_cannot_empty">パスワードを入力してください。</string>
<string name="skip_signing_in">ログインをスキップ</string>
<string name="sign_in_failed">ログインに失敗しました。</string>
<string name="sign_in_failed_plain">このエラーの原因は、ウェブサイトがメンテ中であることか、または不明なエラーが発生したことである可能性があります。ログインボタンの下でWebでログインするか、Cookieを入力してログインするか、またはログインをスキップしてみてください。ログインをスキップすると「Sad Panda」エラーが発生することがあります。0.6.xバージョンでログインした場合、Cookieでログインすることをおすすめします。</string>
<string name="press_twice_exit">もう一度押して終了します</string>
<string name="content_layout_restore_tip">クリックしてもう一度試す</string>
<string name="write_rationale">EhViewerはギャラリーをダウンロードするためのWRITE_EXTERNAL_STORAGE権限を請求します。許可してもらえないでしょうか?</string>
<string name="you_rejected_me">痛い</string>
<string name="analytics_explain">ご使用のデバイスの情報やこのアプリの利用情報を収集するように同意しますか?収集情報はアプリ向上のために使用されます。&lt;br&gt;&lt;br&gt;データ分析サービスはGoogleアナリティクスによって提供されます。 &lt;a href=&quot;https://www.google.com/policies/privacy/&quot;&gt;https://www.google.com/policies/privacy/&lt;/a&gt;にプライバシーポリシーをご覧ください。&lt;br&gt;&lt;br&gt;アプリ利用情報収集に参加すると、Android APIバージョン、デバイスモデル、言語、地域、アプリバージョンや、セッション時間などの情報は収集されます。開発者は、電話番号、電子メールアドレス、IMEI情報などを記録しないことを保証します。&lt;br&gt;&lt;br&gt;同意しない限り、データは収集されません。&lt;br&gt;&lt;br&gt;送信されたデータはGoogleアナリティクスで分析され、分析レポートにはこのアプリ開発者しかアクセスできません。</string>
<string name="get_it">了解</string>
<string name="accept">同意</string>
<string name="reject">拒否</string>
<string name="help_route">設定->このアプリについて->ヘルプ</string>
<!-- Crash -->
<string name="send">送信</string>
<string name="crash_explain">アプリはクラッシュしました。エラーログを開発者に送信して、今後のユーザー体験を向上させるようお手伝いしてもらえますか?(Eメール送信)</string>
<!-- Select scene -->
<string name="select_scene">ギャラリーサイトを選択してください</string>
<string name="select_scene_explain">e-hentai:誰にも公開です\nexhentai:ログインしないとアクセスできません</string>
<string name="no_select">サイトを選択してください</string>
<!-- Update -->
<string name="update">更新</string>
<string name="update_plain">バージョン:%1$s\nサイズ:%2$s\n\n%3$s</string>
<string name="update_to_date">EhViewerは既に最新バージョンです。</string>
<!-- Gallery List -->
<string name="gallery_list_search_bar_hint_exhentai">ExHentaiを検索</string>
<string name="gallery_list_search_bar_hint_e_hentai">E-Hentaiを検索</string>
<string name="gallery_list_empty_hit">何も見つかりませんでした。</string>
<string name="search">検索</string>
<string name="keyword_search">キーワードで検索</string>
<string name="image_search">画像で検索</string>
<string name="search_normal">検索</string>
<string name="search_advance">その他のオプション</string>
<string name="search_image">画像検索</string>
<string name="search_normal_search">一般検索</string>
<string name="search_specify_uploader">アップローダを検索</string>
<string name="search_specify_tag">タグを検索</string>
<string name="search_specify_gallery">ギャラリーにアクセス</string>
<string name="search_enable_advance">その他のオプションを有効化</string>
<string name="search_tip">普通検索:検索します。\n\nアップローダを検索:このアップローダーがアップロードしたギャラリーをリストします。他のオプションは無視されます。\n\nタグを検索:指定したタグを含むギャラリーをリストします。他のオプションは無視されます。\n\nギャラリーにアクセス:指定したギャラリーに行きます。キーワードは「gid token」です。</string>
<string name="search_sname">ギャラリーを検索</string>
<string name="search_stags">ギャラリータグを検索</string>
<string name="search_sdesc">ギャラリー説明を検索</string>
<string name="search_storr">Torrentファイル名を検索</string>
<string name="search_sto">Torrentのあるギャラリーのみを表示</string>
<string name="search_sdt1">低希望タグを検索</string>
<string name="search_sdt2">低評価タグを検索</string>
<string name="search_sh">削除済みのギャラリーを表示</string>
<string name="search_sr">評価の下限:</string>
<string name="select_image">画像を選択</string>
<string name="search_uss">類似検索を有効化</string>
<string name="search_osc">カバーのみを検索</string>
<string name="search_se">削除済みのギャラリーを表示</string>
<string name="select_image_first">画像を選択してください</string>
<string name="add_to_favourites">お気に入りに追加</string>
<string name="quick_search">クイック検索</string>
<string name="quick_search_tip">「+」をタップしてクイック検索を追加します</string>
<string name="add_quick_search_dialog_title">クイック検索を追加</string>
<string name="name_is_empty">タイトルが空</string>
<string name="delete">削除</string>
<string name="delete_quick_search_title">クイック検索を削除</string>
<string name="delete_quick_search_message">「%s」を削除しますか?</string>
<string name="no_quick_search">クイック検索はここに表示されます</string>
<string name="add_quick_search_tip">ギャラリー検索結果の設定などはクイック検索として保存されます。検索の設定などを保存するには、まず検索を実行してください。</string>
<string name="readme">説明</string>
<string name="image_search_not_quick_search">画像検索をクイック検索として追加できませんでした。</string>
<string name="duplicate_quick_search">「%s」というクイック検索は既に存在しています。</string>
<string name="duplicate_name">この名前は既に使用されています。</string>
<string name="go_to_hint">ページ%1$d、合計%2$dページ</string>
<!-- search_min_rating -->
<string name="star_2">2つ星</string>
<string name="star_3">3つ星</string>
<string name="star_4">4つ星</string>
<string name="star_5">5つ星</string>
<!-- Gallery detail -->
<string name="error_cannot_find_gallery">ギャラリーが見つかりませんでした</string>
<string name="download">ダウンロード</string>
<string name="read">閲覧</string>
<string name="more_information">詳細情報を見る</string>
<plurals name="page_count">
<item quantity="other">%dページ</item>
</plurals>
<string name="favored_times">\u2665 %d</string>
<string name="rating_text">%1$s (%2$.2f, %3$d)</string>
<string name="favorites">お気に入り</string>
<string name="torrent_count">トレント (%d)</string>
<string name="share">共有</string>
<string name="rate">評価</string>
<string name="similar_gallery">類似のギャラリー</string>
<string name="search_cover">カバーを検索</string>
<string name="no_tags">タグなし</string>
<string name="no_comments">コメントなし</string>
<string name="no_more_comments">コメントはこれ以上ありません</string>
<string name="more_comment">他のコメントを見る</string>
<string name="no_previews">プレビューなし</string>
<string name="no_more_previews">プレビューはこれ以上ありません</string>
<string name="more_previews">他のプレビューを見る</string>
<string name="refresh">再ロード</string>
<string name="open_in_other_app">他のアプリで開く</string>
<string name="rate_successfully">評価しました</string>
<string name="rate_failed">評価できませんでした</string>
<string name="no_torrents">トレントなし</string>
<string name="torrents">トレント</string>
<string name="favorited">追加済み</string>
<string name="not_favorited">未追加</string>
<string name="add_favorites_dialog_title">お気に入りに追加</string>
<string name="remember_favorite_collection">お気に入りを記憶</string>
<string name="add_to_favorite_success">お気に入りに追加しました。</string>
<string name="remove_from_favorite_success">お気に入りから削除しました。</string>
<string name="add_to_favorite_failure">お気に入りに追加失敗しました。</string>
<string name="remove_from_favorite_failure">お気に入りからの削除に失敗しました。</string>
<string name="block_the_uploader">アップローダフィルター「%s」を追加しますか?</string>
<string name="filter_added">フィルターが追加されました。</string>
<!-- Rating -->
<string name="rating10">良すぎてたまらない</string>
<string name="rating9">ベリーグッド</string>
<string name="rating8">とてもいい</string>
<string name="rating7">いい</string>
<string name="rating6">まあまあ</string>
<string name="rating5">普通</string>
<string name="rating4">悪い</string>
<string name="rating3">とても悪い</string>
<string name="rating2">目の障害になる</string>
<string name="rating1">悪くて呼吸できない</string>
<string name="rating0">…</string>
<!-- Gallery Info -->
<string name="gallery_info">ギャラリー詳細</string>
<string name="copied_to_clipboard">クリップボードにコピーされました。</string>
<string name="header_key">キー</string>
<string name="header_value">値</string>
<string name="key_gid">Gid</string>
<string name="key_token">Token</string>
<string name="key_url">リンク</string>
<string name="key_title">タイトル</string>
<string name="key_title_jpn">日本語タイトル</string>
<string name="key_thumb">サムネイル</string>
<string name="key_category">カテゴリー</string>
<string name="key_uploader">アップローダー</string>
<string name="key_posted">アップロード日時</string>
<string name="key_parent">親ギャラリー</string>
<string name="key_visible">可視性</string>
<string name="key_language">言語</string>
<string name="key_pages">ページ数</string>
<string name="key_size">サイズ</string>
<string name="key_favorite_count">お気に入り回数</string>
<string name="key_favorited">お気に入り追加済み</string>
<string name="key_rating_count">評価回数</string>
<string name="key_rating">評価</string>
<string name="key_torrents">Torrent数</string>
<string name="key_torrent_url">Torrent</string>
<!-- Gallery Comments -->
<string name="gallery_comments">ギャラリーコメント</string>
<string name="no_one_comments_gallery">コメントはまだありません。</string>
<string name="comment_successfully">コメントを送信しました。</string>
<string name="comment_failed">コメントに失敗しました。</string>
<string name="copy_comment_text">コメントをコピー</string>
<string name="vote_up">いいね!</string>
<string name="cancel_vote_up">いいね!を消す</string>
<string name="vote_down">反対</string>
<string name="cancel_vote_down">反対を消す</string>
<string name="vote_up_successfully">いいね!しました。</string>
<string name="cancel_vote_up_successfully">いいね!を取り消しました。</string>
<string name="vote_down_successfully">反対しました。</string>
<string name="cancel_vote_down_successfully">反対を消しました。</string>
<string name="vote_failed">評価に失敗しました</string>
<string name="check_vote_status">評価詳細を表示</string>
<!-- Gallery Previews -->
<string name="gallery_previews">ギャラリープレビュー</string>
<string name="go_to">ジャンプ</string>
<!-- Download -->
<string name="scene_download_title">ダウンロード - %s</string>
<string name="no_download_info">ダウンロードタスクはここに表示されます</string>
<string name="download_state_none">一時停止中</string>
<string name="download_state_wait">待機中</string>
<string name="download_state_downloading">ダウンロード中</string>
<string name="download_state_downloaded">ダウンロード済み</string>
<string name="download_state_failed">ダウンロードエラー</string>
<string name="download_state_failed_2">%d 未完成</string>
<string name="download_state_finish">ダウンロード完了</string>
<string name="stat_509_alert_title">509エラー</string>
<string name="stat_509_alert_text">ダウンロード制限に達しました。しばらくしてからもう一度やり直してください。</string>
<string name="stat_download_done_title">ダウンロード完了</string>
<string name="stat_download_done_text_succeeded">%d件のダウンロード完了済み</string>
<string name="stat_download_done_text_failed">%d件のダウンロードにし失敗しました</string>
<string name="stat_download_done_text_mix">%1$d件のダウンロード完了済み、%2$d件に失敗</string>
<string name="stat_download_done_line_succeeded">ダウンロード完了:%s</string>
<string name="stat_download_done_line_failed">ダウンロード失敗:%s</string>
<string name="download_remove_dialog_title">ダウンロードを削除</string>
<string name="download_remove_dialog_message">ダウンロードリストから%sを削除しますか?</string>
<string name="download_remove_dialog_message_2">ダウンロードリストから%d件のタスクを削除しますか?</string>
<string name="download_remove_dialog_check_text">画像ファイルを削除</string>
<string name="stat_download_action_stop_all">すべて停止</string>
<string name="drawer_download_label_title">ラベル</string>
<string name="download_move_dialog_title">移動</string>
<string name="download_labels">ダウンロードラベル</string>
<string name="download_start_all">すべて開始</string>
<string name="download_stop_all">すべて停止</string>
<string name="download_service_label">EhViewerダウンロードサービス</string>
<string name="download_speed_text">%s</string>
<string name="download_speed_text_2">%1$s、残り%2$s</string>
<string name="remember_download_label">ダウンロードラベルを記憶</string>
<string name="default_download_label">既定ダウンロードラベル</string>
<string name="added_to_download_list">ダウンロードリストに追加しました</string>
<!-- Download label -->
<string name="no_download_label">ダウンロードラベルはここに表示されます</string>
<string name="add">追加</string>
<string name="new_label_title">ラベルを作成</string>
<string name="label_text_is_empty">ラベルテキストを入力してください</string>
<string name="label_text_is_invalid">「デフォルト」は無効なラベルです</string>
<string name="label_text_exist">ラベルは既に存在しています</string>
<string name="rename_label_title">ラベルの名前を変更</string>
<string name="delete_label_title">ラベルを削除</string>
<string name="delete_label_message">「%s」を削除しますか?</string>
<!-- History -->
<string name="no_history">閲覧履歴はここに表示されます</string>
<string name="clear_all">すべて削除</string>
<string name="clear_all_history">閲覧履歴をすべて削除しますか?</string>
<!-- Filter -->
<string name="filter">フィルター</string>
<string name="filter_title">タイトル</string>
<string name="filter_uploader">アップローダ</string>
<string name="filter_tag">タグ</string>
<string name="filter_tag_namespace">タグの名前空間</string>
<string name="delete_title_filter">タイトル フィルター「%s」を削除しますか?</string>
<string name="delete_uploader_filter">アップローダ フィルター「%s」を削除しますか?</string>
<string name="delete_tag_filter">タグ フィルター「%s」を削除しますか?</string>
<string name="delete_filter">フィルター「%s」を削除しますか?</string>
<string name="tip">ヒント</string>
<string name="add_filter">フィルターを追加</string>
<string name="show_definition">ヘルプを表示</string>
<string name="filter_text">フィルターテキスト</string>
<string name="filter_tip">タイトルフィルター:タイトルにキーワードがあるギャラリーを除外します。\n\nアップローダ:このアップローダがアップロードしたギャラリーを除外します。\n\nタグフィルター:このタグを含むギャラリーを除外します。ギャラリーリストを取得するのにもっと時間がかかります。\n\nタグセットフィルター:このタグセットを含むギャラリーを除外します。ギャラリーリストを取得するのにもっと時間がかかります。</string>
<!-- Set Security -->
<string name="set_pattern_protection">パターン保護を設定</string>
<string name="set_pattern_protection_tip">パターンを描いてパターン保護を設定します\n空白のまま続行してパターン保護をクリアします</string>
<string name="set">設定</string>
<string name="enable_fingerprint">指紋でロックを解除</string>
<!-- UConfig Activity -->
<string name="u_config">EHentaiの設定</string>
<string name="apply">適用</string>
<string name="apply_tip">右上隅のチェックマークをタップして設定を保存します。</string>
<!-- Gallery Activity -->
<string name="page_menu_title">ページ%d</string>
<string name="page_menu_refresh">@string/refresh</string>
<string name="page_menu_share">@string/share</string>
<string name="page_menu_save">保存</string>
<string name="page_menu_add_bookmark">ブックマークに追加</string>
<string name="gallery_menu_title">メニュー</string>
<string name="share_image">画像を共有</string>
<string name="image_saved">画像は%sに保存されました</string>
<!-- Settings -->
<string name="settings_eh">EH</string>
<string name="settings_eh_sign_out">ログアウト</string>
<string name="settings_eh_sign_out_summary">ログアウト後にアプリを再起動して、もう一度ログインしてください。</string>
<string name="settings_eh_sign_out_warning">本当にログアウトしますか?</string>
<string name="settings_eh_sign_out_yes">ログアウトします</string>
<string name="settings_eh_sign_out_tip">ログアウトしました。アプリを再起動することで再度ログインします。</string>
<string name="settings_u_config">EHentaiの設定</string>
<string name="settings_u_config_summary">EHentaiサイト上の設定</string>
<string name="settings_eh_gallery_site">ギャラリーサイト</string>
<string name="settings_eh_list_mode">リスト表示モード</string>
<string name="settings_eh_list_mode_detail">詳細情報</string>
<string name="settings_eh_list_mode_thumb">サムネイル</string>
<string name="settings_eh_detail_size">詳細情報のサイズ</string>
<string name="settings_eh_detail_size_long">長い</string>
<string name="settings_eh_detail_size_short">短い</string>
<string name="settings_eh_thumb_size">サムネイルサイズ</string>
<string name="settings_eh_thumb_size_large">大</string>
<string name="settings_eh_thumb_size_middle">中</string>
<string name="settings_eh_thumb_size_small">小</string>
<string name="settings_eh_thumb_resolution">サムネイル解像度</string>
<string name="settings_eh_thumb_resolution_summary">%s。解像度を正しく設定しないと、サムネイルを取得できない場合があります</string>
<string name="settings_eh_thumb_resolution_auto">自動</string>
<string name="settings_eh_fix_thumb_url">サムネイルリンクを修正</string>
<string name="settings_eh_default_categories">ホームページに表示されるカテゴリ</string>
<string name="settings_eh_default_categories_summary">ホームページに表示されるデフォルトカテゴリ</string>
<string name="settings_eh_excluded_tag_namespaces">タグセットを除外</string>
<string name="settings_eh_excluded_tag_namespaces_summary">指定したタグセットをデフォルト検索から除外</string>
<string name="settings_eh_excluded_languages">言語を除外</string>
<string name="settings_eh_excluded_languages_summary">指定した言語のギャラリーをホームページと検索から隠す</string>
<string name="settings_eh_hath_proxy">H@H プロキシ</string>
<string name="settings_eh_hath_proxy_summary_1">%1$s %2$s:%3$d</string>
<string name="settings_eh_hath_proxy_summary_2">未設定</string>
<string name="settings_eh_show_jpn_title">日本語タイトルを表示</string>
<string name="settings_eh_show_jpn_title_summary_on">日本語タイトルを表示しようとします。有効にすると、ギャラリーリストを取得するのにもっと時間がかかることがあります</string>
<string name="settings_eh_show_jpn_title_summary_off">デフォルトのタイトルを表示します。多くの場合は英語のタイトルです。</string>
<string name="settings_eh_filter">フィルター</string>
<string name="settings_eh_filter_summary">タイトル、アップローダ、タグとタグセットをフィルター</string>
<string name="settings_eh_cellular_network_warning">モバイルネットワーク警告</string>
<string name="settings_read">閲覧</string>
<string name="settings_read_screen_rotation">画面の向き</string>
<string name="settings_read_screen_rotation_default">システムデフォルト</string>
<string name="settings_read_screen_rotation_portrait">縦画面</string>
<string name="settings_read_screen_rotation_landscape">横画面</string>
<string name="settings_read_reading_direction">閲覧方向</string>
<string name="settings_read_reading_direction_left_to_right">左から右へ</string>
<string name="settings_read_reading_direction_right_to_Left">右から左へ</string>
<string name="settings_read_reading_direction_top_to_bottom">上から下へ</string>
<string name="settings_read_page_scaling">ページのズーム</string>
<string name="settings_read_page_scaling_actual_size">元のサイズ</string>
<string name="settings_read_page_scaling_fit_to_width">幅に合わせる</string>
<string name="settings_read_page_scaling_fit_to_height">長さに合わせる</string>
<string name="settings_read_page_scaling_fit_to_screen">画面に合わせる</string>
<string name="settings_read_page_scaling_fixed_scale">固定したスケール</string>
<string name="settings_read_start_position">ページを開く位置</string>
<string name="settings_read_start_position_top_left">左上隅</string>
<string name="settings_read_start_position_top_right">右上隅</string>
<string name="settings_read_start_position_bottom_left">左下隅</string>
<string name="settings_read_start_position_bottom_right">右下隅</string>
<string name="settings_read_start_position_center">中心</string>
<string name="settings_read_keep_screen_on">画面を常にオン</string>
<string name="settings_read_show_clock">時計を表示</string>
<string name="settings_read_show_progress">進捗を表示</string>
<string name="settings_read_show_battery">バッテリー残量を表示</string>
<string name="settings_read_show_page_interval">ページ間の余白を表示</string>
<string name="settings_read_volume_page">ボリュームキーでページをめくる</string>
<string name="settings_read_reading_fullscreen">フルスクリーン</string>
<string name="settings_read_custom_screen_lightness">画面の明るさを設定</string>
<string name="settings_read_screen_lightness">画面の明るさ</string>
<string name="settings_download">ダウンロード</string>
<string name="settings_download_download_location">ダウンロードパス</string>
<string name="settings_download_invalid_download_location">無効なダウンロードパス</string>
<string name="settings_download_cant_get_download_location">ダウンロードパスを取得できない</string>
<string name="settings_download_pick_dir_l">Lollipopは外部SDカードに書き込むための新しいAPIを提供しました。ダウンロードパスを外部SDカードに設定するには、「ドキュメント」をタップしてください</string>
<string name="settings_download_document">ドキュメント</string>
<string name="settings_download_continue">続行</string>
<string name="settings_download_multi_thread_download">ダウンロードスレッド数</string>
<string name="settings_download_multi_thread_download_summary">同時に最大%s枚の画像をダウンロードできる</string>
<string name="settings_download_preload_image">画像をプリロード</string>
<string name="settings_download_preload_image_summary">%s枚の画像をプリロードします</string>
<string name="settings_download_image_resolution">画像解像度</string>
<string name="settings_download_image_resolution_summary">現在は%sです。1280xを超える解像度は不安定です</string>
<string name="settings_download_image_resolution_auto">自動</string>
<string name="settings_download_download_origin_image">オリジナル画像をダウンロード</string>
<string name="settings_download_media_scan">メディアスキャンを許可</string>
<string name="settings_download_media_scan_summary_on">ギャラリーアプリを他人に見せないでください</string>
<string name="settings_download_restore_download_items">ダウンロードタスクを復元</string>
<string name="settings_download_restore_download_items_summary">ダウンロードディレクトリのダウンロードタスクを復元</string>
<string name="settings_download_restoring">復元中</string>
<string name="settings_download_restore_not_found">復元可能なダウンロードが見つかりません</string>
<string name="settings_download_restore_failed">復元できませんでした</string>
<string name="settings_download_restore_successfully">%s件のタスクが復元されました</string>
<string name="settings_download_clean_redundancy">ダウンロードフォルダの不要なファイルを整理</string>
<string name="settings_download_clean_redundancy_summary">ダウンロードディレクトリからダウンロードタスクにない画像ファイルを削除</string>
<string name="settings_download_clean_redundancy_no_redundancy">不要なファイルが見つかりませんでした</string>
<string name="settings_download_clean_redundancy_done">%d件のファイルを削除しました</string>
<string name="settings_advanced">その他の設定</string>
<string name="settings_advanced_save_parse_error_body">解析に失敗時、HTMLファイルを保存</string>
<string name="settings_advanced_save_parse_error_body_summary">HTMLファイルに個人情報がある可能性はあります</string>
<string name="settings_advanced_dump_logcat">ログをエクスポート</string>
<string name="settings_advanced_dump_logcat_summary">ログを外部ストレージに保存</string>
<string name="settings_advanced_dump_logcat_failed">ログをエクスポートできませんでした</string>
<string name="settings_advanced_dump_logcat_to">ログを%sにエクスポートしました</string>
<string name="settings_advanced_clear_download_path_cache">ギャラリーのダウンロードパスをクリア</string>
<string name="settings_advanced_clear_download_path_cache_message">ギャラリーのダウンロード パス キャッシュをクリアしますか?</string>
<string name="settings_advanced_clear_memory_cache">メモリキャッシュをクリア</string>
<string name="settings_advanced_clear_memory_cache_summary">サムネイルとギャラリー情報のメモリキャッシュをクリア</string>
<string name="settings_advanced_read_cache_size">閲覧キャッシュのサイズ</string>
<string name="settings_privacy_pattern_protection_title">パターン保護</string>
<string name="settings_privacy_pattern_protection_not_set">パターン保護は設定されていません</string>
<string name="settings_privacy_pattern_protection_set">パターン保護は設定されています</string>
<string name="settings_advanced_export_data">データをエクスポート</string>
<string name="settings_advanced_export_data_summary">ダウンロードリストやクイック検索などのデータを外部ストレージにエクスポートします</string>
<string name="settings_advanced_export_data_to">データを%sにエクスポート</string>
<string name="settings_advanced_export_data_failed">データをエクスポートできませんでした</string>
<string name="settings_advanced_import_data">データをインポート</string>
<string name="settings_advanced_import_data_summary">外部ストレージからインポート</string>
<string name="settings_advanced_import_data_successfully">データをインポートしました</string>
<string name="settings_about">このアプリについて</string>
<string name="settings_about_author">開発者</string>
<string name="settings_about_google_plus">Google+コミュニティ</string>
<string name="settings_about_website">サイト</string>
<string name="settings_about_source">ソース</string>
<string name="settings_about_help">ヘルプ</string>
<string name="settings_about_license">オープンソースライセンス</string>
<string name="settings_about_license_summary">いろんなオープンソースプロジェクトなしで、EhViewerが生まれることはありません。</string>
<string name="settings_about_donate">寄付</string>
<string name="settings_about_donate_summary">Alipay:seven332$163.com</string>
<string name="settings_about_donate_message">ご寄付ありがとうございます。これからもいろんなアプリの開発を進めさせていただきます。\n\nAlipay:seven332$163.com</string>
<string name="settings_about_donate_toast">メールアドレスがクリップボードにコピーされました</string>
<string name="settings_privacy_enable_analytics">データ統計に参加</string>
<string name="settings_privacy_about_analytics">データ統計について</string>
<string name="settings_about_version">バージョン番号</string>
<string name="settings_about_check_for_updates">更新を確認</string>
<string name="settings_about_beta_update_channel">ベータ版を使用</string>
<string name="settings_about_beta_update_channel_summary">ベータ版では予期せぬエラーが発生することがあります</string>
<!-- ExcludedLanguagesScene -->
<string name="excluded_languages">言語を除外</string>
<string name="select_all">すべて選択</string>
<string name="deselect_all">すべてキャンセル</string>
<string name="invert_selection">選択を反転</string>
<string name="language">言語</string>
<string name="original">オリジナル</string>
<string name="translated">翻訳</string>
<string name="rewrite">書き換え</string>
<string name="language_japanese">日本語</string>
<string name="language_english">英語</string>
<string name="language_chinese">中国語</string>
<string name="language_dutch">オランダ語</string>
<string name="language_french">フランス語</string>
<string name="language_german">ドイツ語</string>
<string name="language_hungarian">ハンガリー語</string>
<string name="language_italian">イタリア語</string>
<string name="language_korean">韓国語</string>
<string name="language_polish">ポーランド語</string>
<string name="language_portuguese">ポルトガル語</string>
<string name="language_russian">ロシア語</string>
<string name="language_spanish">スペイン語</string>
<string name="language_thai">タイ語</string>
<string name="language_vietnamese">ベトナム語</string>
<string name="language_na">N/A</string>
<string name="language_other">その他</string>
<string name="please_wait">お待ちください</string>
<string name="enable">有効化</string>
<string name="enabled">有効化済み</string>
<string name="disabled">無効</string>
<string name="ip">IP</string>
<string name="port">ポート</string>
<string name="Passkey">パスキー</string>
<string name="domain_not_supported">ドメイン名には対応していません</string>
<string name="invalid_port">無効なポート</string>
<string name="cant_get_data_dir">データフォルダを取得できませんでした</string>
<string name="cant_find_any_data">データが見つかりません</string>
<string name="cant_read_the_file">ファイルを読み取れませんでした</string>
<!-- License -->
<string name="license">オープンソースライセンス</string>
<!-- Dir Picker-->
<string name="dir_picker">フォルダを選択</string>
<string name="directory_not_writable">このフォルダは書き込められません</string>
<!-- Favorites -->
<string name="cloud_favorites">Cloudのお気に入り</string>
<string name="local_favorites">ローカルのお気に入り</string>
<string name="favorites_search_bar_hint">%sを検索</string>
<string name="favorites_title">%s</string>
<string name="favorites_title_2">%1$s - %2$s</string>
<string name="delete_favorites_dialog_title">お気に入りから削除</string>
<string name="delete_favorites_dialog_message">%d件の項目をお気に入りリストから削除します?</string>
<string name="move_favorites_dialog_title">お気に入りを移動</string>
<string name="default_favorites_collection">既定のお気に入りリスト</string>
<string name="let_me_select">手動で選択</string>
<string name="favorites_info">お気に入り情報</string>
<string name="collections">お気に入りコレクション</string>
<string name="count">数量</string>
<string name="need_sign_in">ログインが必要</string>
<!-- Progress Scene -->
<string name="error_something_wrong_happened">エラーが発生しました</string>
<!-- Guide -->
<string name="guide_quick_search_title">クイック検索</string>
<string name="guide_quick_search_text">右からスワイプすると、クイック検索パネルが開きます</string>
<string name="guide_collections_title">お気に入りリスト</string>
<string name="guide_collections_text">右からスワイプすると、お気に入りリストを選べます</string>
<string name="guide_download_labels_title">ダウンロードラベル</string>
<string name="guide_download_labels_text">右からスワイプすると、ダウンロードラベルパネルが開きます</string>
<string name="guide_download_thumb_title">ギャラリーの詳細</string>
<string name="guide_download_thumb_text">サムネイルをタップすると、ギャラリー詳細を表示します</string>
<string name="guide_gallery_left">ページをめくる</string>
<string name="guide_gallery_right">ページをめくる</string>
<string name="guide_gallery_menu">メニュー</string>
<string name="guide_gallery_progress">プログレスバー</string>
<!-- Readable Time -->
<string name="from_the_future">未来から</string>
<string name="just_now">ただ今</string>
<plurals name="some_minutes_ago">
<item quantity="other">%d分前</item>
</plurals>
<plurals name="some_hours_ago">
<item quantity="other">%d時前</item>
</plurals>
<string name="yesterday">昨日</string>
<string name="some_days_ago">%d日前</string>
<plurals name="second">
<item quantity="other">秒</item>
</plurals>
<plurals name="minute">
<item quantity="other">分</item>
</plurals>
<plurals name="hour">
<item quantity="other">時</item>
</plurals>
<plurals name="day">
<item quantity="other">日</item>
</plurals>
<plurals name="year">
<item quantity="other">年</item>
</plurals>
<string name="dialog_archive_title">H@Hからダウンロード</string>
<string name="no_archives">圧縮パッケージなし</string>
<string name="download_archive_started">圧縮パッケージのダウンロードを開始しました</string>
<string name="download_archive_failure">圧縮パッケージをダウンロードできませんでした</string>
<string name="archive">圧縮パッケージ</string>
<string name="download_archive_failure_no_hath">圧縮パッケージのダウンロードにはH@Hクライアントが必要です</string>
<string name="settings_privacy">プライバシー</string>
<string name="settings_privacy_secure">スクリーンキャプチャを防ぐ</string>
<string name="settings_privacy_secure_summary">有効にすると、アプリの画面をキャプチャーできなくなり、アプリの内容も「最近のアプリ」リストに表示されません。\n\n変更を適用するには、アプリを再起動してください。</string>
<string name="default_download_label_name">デフォルト</string>
<string name="no_filter">フィルターはここに表示されます</string>
<string name="settings_download_pick_dir_kk">デバイスをroot化してパッチを適用しないと、Android 4.4以降では外部SDカードへ書き込めません。が、SDカード/Android/data/com.hippo.ehviewerは例外で書き込めます。</string>
<string name="settings_download_media_scan_summary_off">ほとんどのギャラリーアプリはダウンロードパスの内容を表示しません</string>
<string name="settings_download_download_origin_image_summary">有効にすると、ダウンロード制限にもっとはやく達する恐れがあります</string>
<string name="settings_advanced_clear_download_path_cache_summary">ギャラリー ダウンロード パスは無効なようで、もう一度ダウンロードする必要があると表示されている場合は、ダウンロードパスのキャッシュをクリアしてみてください。</string>
<string name="clipboard_gallery_url_dialog_title">ギャラリーリンクが発見されました</string>
<string name="clipboard_gallery_url_dialog_message">クリップボードにあるギャラリーにアクセスしますか?</string>
<string name="page_menu_save_to">名前を付けて保存</string>
<string name="settings_advanced_app_language_title">アプリ言語(Language)</string>
<string name="hosts">カスタムhosts.txt</string>
<string name="hosts_tip">hosts.txt</string>
<string name="hosts_host">ホスト</string>
<string name="hosts_ip">IP</string>
<string name="add_host">ホストを追加</string>
<string name="add_host_add">追加</string>
<string name="edit_host">ホストを編集</string>
<string name="edit_host_confirm">適用</string>
<string name="edit_host_delete">削除</string>
<string name="invalid_host">無効なホストです</string>
<string name="invalid_ip">無効なIPです</string>
<string name="settings_advanced_built_in_hosts_title">既定hosts.txt</string>
<string name="guide_gallery_long_click">メニューを呼び出すには、長押ししてください</string>
<string name="settings_about_changelog">変更履歴</string>
<string name="app_language_system">システム言語(既定)</string>
<string name="settings_about_telegram">Telegram</string>
<string name="settings_about_auto_check_for_updates">更新を自動で確認</string>
<string name="download_service">ダウンロードサービス</string>
<string name="settings_advanced_built_in_hosts_summary">ホストをアプリ既定のIPにマッピング\nカスタムhosts.txtに上書きされます。</string>
<string name="settings_advanced_custom_hosts_title">カスタムhosts.txt</string>
<string name="settings_advanced_custom_hosts_summary">ホスト名をIPにマッピング\n既定のhosts.txtを上書きできます。</string>
</resources>
+635
View File
@@ -0,0 +1,635 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2016 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<resources>
<string name="app_name">EhViewer</string>
<string name="homepage">홈</string>
<string name="whats_hot">인기 갤러리</string>
<string name="favourite">즐겨찾기</string>
<string name="history">방문 기록</string>
<string name="downloads">다운로드</string>
<string name="settings">설정</string>
<string name="username">사용자 이름</string>
<string name="password">비밀번호</string>
<string name="recaptcha">Recaptcha (선택)</string>
<string name="recaptcha_none">Recaptcha 불러오기</string>
<string name="recaptcha_loading">불러오는 중…</string>
<string name="recaptcha_failure">실패</string>
<string name="sign_in">로그인</string>
<string name="register">회원가입</string>
<string name="sign_in_via_webview">WebView를 통하여 로그인</string>
<string name="sign_in_via_cookies">쿠키를 사용하여 로그인</string>
<string name="display_name_dialog_title">별명 입력</string>
<string name="display_name">별명</string>
<string name="display_name_is_empty">별명이 비어 있습니다.</string>
<string name="sign_in_first">먼저 로그인하세요.</string>
<string name="default_display_name">작은 하마</string>
<string name="cookie_explain">쿠키는 웹 브라우저에 저장되는 적은 양의 데이터입니다. 이게 뭐고 어떻게 찾는지 잘 모르겠으면 검색해 보세요.\n\n특정 쿠키를 입력하여 로그인하세요.</string>
<string name="text_is_empty">텍스트가 비어 있습니다.</string>
<string name="waring">경고</string>
<string name="wrong_cookie_warning">입력한 쿠키가 잘못된 것 같습니다. 확인해 보는 게 좋겠어요.</string>
<string name="i_will_check_it">확인해 볼게요</string>
<string name="i_dont_think_so">아닌데요</string>
<string name="found_cookies">쿠키를 찾았어요!</string>
<string name="invalid_download_location">다운로드 위치가 잘못되었습니다. 설정을 확인하세요.</string>
<string name="cellular_network_warning">모바일 데이터를 사용하는 중입니다.</string>
<string name="error_bad_status_code">비정상 상태 코드: %d</string>
<string name="error_timeout">시간 초과</string>
<string name="error_unknown_host">알 수 없는 호스트</string>
<string name="error_redirection">너무 많은 서버 리디렉션</string>
<string name="error_socket">네트워크 오류</string>
<string name="error_unknown">이상함</string>
<string name="error_cant_find_activity">앱을 찾을 수 없음</string>
<string name="error_cannot_parse_the_url">URL을 분석할 수 없음</string>
<string name="error_not_folder_path">폴더 경로가 아님</string>
<string name="error_no_provider">제공자가 없음</string>
<string name="error_decoding_failed">디코딩 실패</string>
<string name="error_not_found">찾을 수 없음</string>
<string name="error_empty">비어 있음</string>
<string name="error_invalid_zip_file">잘못된 압축 파일</string>
<string name="error_reading_failed">읽기 실패</string>
<string name="error_out_of_range">범위 초과</string>
<string name="error_write_failed">쓰기 실패</string>
<string name="error_parse_error">구문 분석 오류</string>
<string name="error_509">509</string>
<string name="error_invalid_url">잘못된 URL</string>
<string name="error_get_ptoken_error">pToken 획득 오류</string>
<string name="error_invalid_specify_gallery">갤러리를 지정하려면 키워드를 \"618395 0439fa3666\" 형식으로 입력해야 합니다.</string>
<string name="error_cant_create_temp_file">임시 파일을 만들 수 없음</string>
<string name="error_cant_save_image">이미지를 저장할 수 없음</string>
<string name="error_invalid_number">잘못된 번호</string>
<string name="app_waring">이 앱의 내용은 인터넷에서 받아옵니다. 이 앱을 사용하기 위해서는 받아온 내용 중 일부가 사용자에게 가할 수 있는 신체적 또는 정신적 피해를 감수해야 합니다.</string>
<string name="error_username_cannot_empty">사용자 이름은 비워둘 수 없습니다.</string>
<string name="error_password_cannot_empty">비밀번호는 비워둘 수 없습니다.</string>
<string name="skip_signing_in">로그인 건너뛰기</string>
<string name="sign_in_failed">로그인 실패</string>
<string name="sign_in_failed_plain">뭔가가 잘못되었습니다. 웹사이트가 업데이트 중일 수 있습니다. WebView 또는 쿠키를 사용하여 로그인하거나 아래 버튼을 눌러 로그인을 건너뛸 수 있습니다. 그러나 로그인을 건너뛰면 "슬픈 팬더"를 보게 될 것입니다.</string>
<string name="press_twice_exit">한 번 더 누르면 종료됩니다.</string>
<string name="content_layout_restore_tip">다시 시도하려면 누르기</string>
<string name="write_rationale">앱이 갤러리를 다운로드하려면 WRITE_EXTERNAL_STORAGE 권한이 필요합니다. 권한을 허용하시겠습니까?</string>
<string name="you_rejected_me">안돼요</string>
<string name="analytics_explain">앱 개발자에게 기기 및 사용 정보를 보내시겠습니까? 앱 개발에 굉장한 도움이 됩니다. &lt;br&gt;&lt;br&gt;데이터 분석 서비스는 Google Analytics를 사용하며, 개인 정보 보호 정책은 &lt;a href=&quot;https://www.google.com/policies/privacy/&quot;&gt;https://www.google.com/policies/privacy/&lt;/a&gt; 에서 확인하실 수 있습니다.&lt;br&gt;&lt;br&gt;데이터 분석을 허용하면 사용자의 기기 및 앱 사용 정보가 수집됩니다. 전화번호나 이메일 주소, IMEI와 같은 개인 정보는 수집하지 않습니다.&lt;br&gt;&lt;br&gt;데이터 분석을 허용하기 전까지는 정보를 수집하지 않습니다.&lt;br&gt;&lt;br&gt;수집한 정보는 Google Analytics에 의해 분석됩니다. 분석된 정보는 이 애플리케이션의 개발자만 볼 수 있습니다.</string>
<string name="get_it">알겠습니다</string>
<string name="accept">동의</string>
<string name="reject">거부</string>
<string name="help_route">설정 -> 정보 -> 도움말</string>
<!-- Crash -->
<string name="send">보내기</string>
<string name="crash_explain">지난번 실행 시 이 애플리케이션이 충돌로 인해 종료되었습니다. 이메일을 통해 앱 개발자에게 로그를 보내시겠습니까?</string>
<!-- Select scene -->
<string name="select_scene">어느 갤러리 사이트를 사용하시겠습니까?</string>
<string name="select_scene_explain">e-hentai: 모든 사람들이 사용할 수 있음\nexhentai: 로그인한 사람만 사용할 수 있음</string>
<string name="no_select">두 사이트 중 하나를 선택하세요.</string>
<!-- Update -->
<string name="update">업데이트</string>
<string name="update_plain">버전: %1$s\n파일 크기: %2$s\n\n%3$s</string>
<string name="update_to_date">EhViewer가 최신 버전입니다.</string>
<!-- Gallery List -->
<string name="gallery_list_search_bar_hint_exhentai">ExHentai 검색</string>
<string name="gallery_list_search_bar_hint_e_hentai">E-Hentai 검색</string>
<string name="gallery_list_empty_hit">The World is Big and the panda sit alone</string>
<string name="search">검색</string>
<string name="keyword_search">키워드 검색</string>
<string name="image_search">이미지 검색</string>
<string name="search_normal">일반 검색</string>
<string name="search_advance">고급 옵션</string>
<string name="search_image">이미지 검색</string>
<string name="search_normal_search">일반 검색</string>
<string name="search_specify_uploader">업로더 지정</string>
<string name="search_specify_tag">태그 지정</string>
<string name="search_specify_gallery">갤러리 지정</string>
<string name="search_enable_advance">고급 옵션 사용</string>
<string name="search_tip">일반 검색: 그냥 검색합니다.\n\n업로더 지정: 해당 업로더가 업로드한 갤러리를 나열합니다. 다른 옵션은 무시됩니다.\n\n태그 지정: 해당 태그를 포함한 갤러리를 나열합니다. 하나의 태그만 지정할 수 있습니다. 다른 옵션은 무시됩니다.\n\n갤러리 지정: 해당 갤러리로 이동합니다. 키워드는 \"GID 토큰\" 형식으로 입력해야 합니다.</string>
<string name="search_sname">갤러리 검색</string>
<string name="search_stags">갤러래 태그 검색</string>
<string name="search_sdesc">갤러리 설명 검색</string>
<string name="search_storr">토렌트 파일 이름 검색</string>
<string name="search_sto">토렌트 파일이 있는 갤러리만 검색</string>
<string name="search_sdt1">Low-Power 태그 검색</string>
<string name="search_sdt2">Downvoted 태그 검색</string>
<string name="search_sh">Expunged 갤러리 표시</string>
<string name="search_sr">최소 평점:</string>
<string name="select_image">이미지 선택</string>
<string name="search_uss">유사한 이미지 검색</string>
<string name="search_osc">커버만 검색</string>
<string name="search_se">Expunged 이미지 표시</string>
<string name="select_image_first">먼저 이미지를 선택해 주세요.</string>
<string name="add_to_favourites">즐겨찾기에 추가</string>
<string name="quick_search">빠른 검색</string>
<string name="quick_search_tip">빠른 검색을 추가하려면 \"+\" 버튼을 누르세요.</string>
<string name="add_quick_search_dialog_title">빠른 검색 추가</string>
<string name="name_is_empty">이름이 비어 있습니다.</string>
<string name="delete">삭제</string>
<string name="delete_quick_search_title">빠른 검색 삭제</string>
<string name="delete_quick_search_message">\"%s\" 항목을 삭제하시겠습니까?</string>
<string name="no_quick_search">빠른 검색 목록이 여기에 표시됩니다.</string>
<string name="add_quick_search_tip">갤러리 목록의 상태가 빠른 검색으로 저장됩니다. 검색 패널의 상태를 저장하려면 먼저 검색 옵션을 지정하세요.</string>
<string name="readme">README</string>
<string name="image_search_not_quick_search">이미지 검색은 빠른 검색에 추가할 수 없습니다.</string>
<string name="duplicate_quick_search">이미 같은 내용의 빠른 검색 항목이 있습니다. 이름은 \"%s\"입니다.</string>
<string name="duplicate_name">같은 이름의 항목이 이미 있습니다.</string>
<string name="go_to_hint">페이지 %1$d, 총 %2$d 페이지</string>
<!-- search_min_rating -->
<string name="star_2">2개</string>
<string name="star_3">3개</string>
<string name="star_4">4개</string>
<string name="star_5">5개</string>
<!-- Gallery detail -->
<string name="error_cannot_find_gallery">갤러리를 찾을 수 없습니다.</string>
<string name="download">다운로드</string>
<string name="read">읽기</string>
<string name="more_information">추가 정보</string>
<plurals name="page_count">
<item quantity="other">%d 페이지</item>
</plurals>
<string name="favorites">즐겨찾기</string>
<string name="torrent_count">토렌트 (%d)</string>
<string name="share">공유</string>
<string name="rate">평가</string>
<string name="similar_gallery">유사</string>
<string name="search_cover">커버 검색</string>
<string name="no_tags">태그 없음</string>
<string name="no_comments">코멘트 없음</string>
<string name="no_more_comments">코멘트가 더 없음</string>
<string name="more_comment">코멘트 더 보기</string>
<string name="no_previews">미리 보기 없음</string>
<string name="no_more_previews">미리 보기가 더 없음</string>
<string name="more_previews">더 불러오기</string>
<string name="refresh">새로고침</string>
<string name="open_in_other_app">다른 앱에서 열기</string>
<string name="rate_successfully">성공적으로 평가했습니다.</string>
<string name="rate_failed">평가에 실패했습니다.</string>
<string name="no_torrents">토렌트 없음</string>
<string name="torrents">토렌트</string>
<string name="favorited">즐겨찾기에 있음</string>
<string name="not_favorited">즐겨찾기에 없음</string>
<string name="add_favorites_dialog_title">즐겨찾기에 추가</string>
<string name="remember_favorite_collection">즐겨찾기 저장 위치 기억</string>
<string name="add_to_favorite_success">즐겨찾기에 추가했습니다.</string>
<string name="remove_from_favorite_success">즐겨찾기에서 제거했습니다.</string>
<string name="add_to_favorite_failure">즐겨찾기에 추가하지 못했습니다.</string>
<string name="remove_from_favorite_failure">즐겨찾기에서 제거하지 못했습니다.</string>
<string name="block_the_uploader">필터 목록에 \"%s\" 업로더를 추가하시겠습니까?</string>
<string name="filter_added">필터 추가됨</string>
<!-- Gallery Info -->
<string name="gallery_info">갤러리 정보</string>
<string name="copied_to_clipboard">클립보드에 복사했습니다.</string>
<string name="header_key">키</string>
<string name="header_value">값</string>
<string name="key_gid">GID</string>
<string name="key_token">토큰</string>
<string name="key_url">주소</string>
<string name="key_title">제목</string>
<string name="key_title_jpn">일본어 제목</string>
<string name="key_thumb">섬네일</string>
<string name="key_category">카테고리</string>
<string name="key_uploader">업로더</string>
<string name="key_posted">날짜</string>
<string name="key_parent">부모</string>
<string name="key_visible">가시성</string>
<string name="key_language">언어</string>
<string name="key_pages">페이지</string>
<string name="key_size">크기</string>
<string name="key_favorite_count">즐겨찾기\n횟수</string>
<string name="key_favorited">즐겨찾기됨</string>
<string name="key_rating_count">평가 횟수</string>
<string name="key_rating">평가</string>
<string name="key_torrents">토렌트</string>
<string name="key_torrent_url">토렌트 주소</string>
<!-- Gallery Comments -->
<string name="gallery_comments">갤러리 코멘트</string>
<string name="no_one_comments_gallery">아무도 이 갤러리에 코멘트를 남기지 않음</string>
<string name="comment_successfully">성공적으로 코멘트를 남겼습니다.</string>
<string name="comment_failed">코멘트를 남기지 못했습니다.</string>
<string name="copy_comment_text">코멘트 텍스트 복사</string>
<string name="vote_up">추천 (Vote up)</string>
<string name="cancel_vote_up">추천 취소</string>
<string name="vote_down">비추천 (Vote down)</string>
<string name="cancel_vote_down">비추천 취소</string>
<string name="vote_up_successfully">추천 성공</string>
<string name="cancel_vote_up_successfully">추천 취소 성공</string>
<string name="vote_down_successfully">비추천 성공</string>
<string name="cancel_vote_down_successfully">비추천 취소 성공</string>
<string name="vote_failed">추천/비추천 실패</string>
<string name="check_vote_status">추천/비추천 상태 확인</string>
<!-- Gallery Previews -->
<string name="gallery_previews">갤러리 미리 보기</string>
<string name="go_to">이동</string>
<!-- Download -->
<string name="scene_download_title">다운로드 - %s</string>
<string name="no_download_info">다운로드한 항목이 여기에 표시됩니다.</string>
<string name="download_state_none">유휴 상태</string>
<string name="download_state_wait">대기 중</string>
<string name="download_state_downloading">다운로드 중</string>
<string name="download_state_downloaded">다운로드함</string>
<string name="download_state_failed">실패함</string>
<string name="download_state_failed_2">%d 남아 있음</string>
<string name="download_state_finish">완료</string>
<string name="stat_509_alert_title">509 경고</string>
<string name="stat_509_alert_text">이미지 제한에 도달하였습니다. 다운로드를 멈추고 잠시 쉬세요.</string>
<string name="stat_download_done_title">다운로드 완료</string>
<string name="stat_download_done_text_succeeded">%d 성공</string>
<string name="stat_download_done_text_failed">%d 실패</string>
<string name="stat_download_done_text_mix">%1$d 성공, %2$d 실패</string>
<string name="stat_download_done_line_succeeded">성공: %s</string>
<string name="stat_download_done_line_failed">실패: %s</string>
<string name="download_remove_dialog_title">다운로드 항목 제거</string>
<string name="download_remove_dialog_message">%s 항목을 다운로드 목록에서 제거하시겠습니까?</string>
<string name="download_remove_dialog_message_2">%d개 항목을 다운로드 목록에서 제거하시겠습니까?</string>
<string name="download_remove_dialog_check_text">이미지 파일 삭제</string>
<string name="stat_download_action_stop_all">모두 중지</string>
<string name="drawer_download_label_title">레이블</string>
<string name="default_download_label_name">기본</string>
<string name="download_move_dialog_title">이동</string>
<string name="download_labels">다운로드 레이블</string>
<string name="download_start_all">모두 시작</string>
<string name="download_stop_all">모두 중지</string>
<string name="download_service_label">EhViewer 다운로드 서비스</string>
<string name="download_speed_text">%s</string>
<string name="download_speed_text_2">%1$s, %2$s 남음</string>
<string name="remember_download_label">다운로드 레이블 기억</string>
<string name="default_download_label">기본 다운로드 레이블</string>
<string name="added_to_download_list">다운로드 목록에 추가됨</string>
<!-- Download label -->
<string name="no_download_label">다운로드 레이블이 여기에 표시됩니다.</string>
<string name="add">추가</string>
<string name="new_label_title">새 레이블</string>
<string name="label_text_is_empty">레이블 텍스트가 비어 있습니다.</string>
<string name="label_text_is_invalid">\"기본\"은 레이블 이름으로 사용할 수 없습니다.</string>
<string name="label_text_exist">이미 있는 레이블입니다.</string>
<string name="rename_label_title">레이블 이름 바꾸기</string>
<string name="delete_label_title">레이블 삭제</string>
<string name="delete_label_message">\"%s\" 레이블을 삭제하시겠습니까?</string>
<!-- History -->
<string name="no_history">읽은 갤러리가 여기에 표시됩니다.</string>
<string name="clear_all">모두 지우기</string>
<string name="clear_all_history">모든 방문 기록을 지우시겠습니까?</string>
<!-- Filter -->
<string name="filter">필터</string>
<string name="no_filter">필터가 여기에 표시됩니다.</string>
<string name="filter_title">제목</string>
<string name="filter_uploader">업로더</string>
<string name="filter_tag">태그</string>
<string name="filter_tag_namespace">태그 네임스페이스</string>
<string name="delete_title_filter">\"%s\" 제목 필터를 삭제하시겠습니까?</string>
<string name="delete_uploader_filter">\"%s\" 업로더 필터를 삭제하시겠습니까?</string>
<string name="delete_tag_filter">\"%s\" 태그 필터를 삭제하시겠습니까?</string>
<string name="delete_filter">\"%s\" 필터를 삭제하시겠습니까?</string>
<string name="tip">팁</string>
<string name="add_filter">필터 추가</string>
<string name="show_definition">정의 표시</string>
<string name="filter_text">텍스트 필터</string>
<string name="filter_tip">제목 필터: 제목에 해당 단어를 포함한 갤러리를 제외합니다.\n\n업로더 필터: 해당 업로더가 업로드한 갤러리를 제외합니다.\n\n태그 필터: 해당 태그를 포함한 갤러리를 제외합니다. 갤러리 목록을 불러오는 데 시간이 좀 더 걸립니다.\n\n태그 네임스페이스 필터: 해당 태그 네임스페이스를 포함한 갤러리를 제외합니다. 갤러리 목록을 불러오는 데 시간이 좀 더 걸립니다.</string>
<!-- Set Security -->
<string name="set_pattern_protection">패턴 보호 사용</string>
<string name="set_pattern_protection_tip">패턴 보호를 사용하려면 패턴을 그리세요.\n비워두면 패턴 보호가 해제됩니다.</string>
<string name="set">지정</string>
<string name="enable_fingerprint">지문으로 잠금 해제 허용</string>
<!-- UConfig Activity -->
<string name="u_config">E-Hentai 설정</string>
<string name="apply">적용</string>
<string name="apply_tip">설정을 저장하려면 체크 표시를 누르세요.</string>
<!-- Hosts Activity -->
<string name="hosts">사용자 지정 hosts.txt</string>
<string name="hosts_tip">hosts.txt</string>
<string name="hosts_host">호스트</string>
<string name="hosts_ip">IP</string>
<string name="add_host">호스트 추가</string>
<string name="add_host_add">추가</string>
<string name="edit_host">호스트 편집</string>
<string name="edit_host_confirm">확인</string>
<string name="edit_host_delete">삭제</string>
<string name="invalid_host">잘못된 호스트</string>
<string name="invalid_ip">잘못된 IP</string>
<!-- Gallery Activity -->
<string name="page_menu_title">페이지 %d</string>
<string name="page_menu_save">저장</string>
<string name="page_menu_save_to">다른 이름으로 저장</string>
<string name="page_menu_add_bookmark">북마크에 추가</string>
<string name="gallery_menu_title">메뉴</string>
<string name="share_image">이미지 공유</string>
<string name="image_saved">이미지를 %s 경로에 저장함</string>
<string name="settings_eh">EH</string>
<string name="settings_eh_sign_out">로그아웃</string>
<string name="settings_eh_sign_out_summary">다시 로그인하려면 앱을 다시 시작하세요.</string>
<string name="settings_u_config">E-Hentai 설정</string>
<string name="settings_u_config_summary">E-Hentai 사이트의 설정 페이지를 엽니다.</string>
<string name="settings_eh_sign_out_warning">정말 로그아웃하시겠습니까?</string>
<string name="settings_eh_sign_out_tip">로그아웃했습니다. 로그인하려면 앱을 다시 시작하세요.</string>
<string name="settings_eh_gallery_site">갤러리 사이트</string>
<string name="settings_eh_list_mode">목록 모드</string>
<string name="settings_eh_list_mode_detail">자세히</string>
<string name="settings_eh_list_mode_thumb">섬네일</string>
<string name="settings_eh_detail_size">상세 정보 크기</string>
<string name="settings_eh_detail_size_long">길게</string>
<string name="settings_eh_detail_size_short">짧게</string>
<string name="settings_eh_thumb_size">섬네일 크기</string>
<string name="settings_eh_thumb_size_large">크게</string>
<string name="settings_eh_thumb_size_middle">중간</string>
<string name="settings_eh_thumb_size_small">작게</string>
<string name="settings_eh_thumb_resolution">섬네일 해상도</string>
<string name="settings_eh_thumb_resolution_summary">현재 설정\u003a \u005b%s\u005d, 특정 해상도로 설정하면 섬네일을 불러오지 못할 수 있습니다.</string>
<string name="settings_eh_thumb_resolution_auto">자동</string>
<string name="settings_eh_fix_thumb_url">섬네일 URL 바로잡기</string>
<string name="settings_eh_default_categories">홈페이지 카테고리</string>
<string name="settings_eh_default_categories_summary">홈페이지에 기본으로 보여질 카테고리</string>
<string name="settings_eh_excluded_languages">제외할 언어</string>
<string name="settings_eh_excluded_languages_summary">갤러리 목록과 검색에서 특정 언어 숨기기</string>
<string name="settings_eh_excluded_tag_namespaces">제외할 태그 네임스페이스</string>
<string name="settings_eh_excluded_tag_namespaces_summary">기본 태그 검색에서 특정 네임스페이스 제외</string>
<string name="settings_eh_hath_proxy">H@H 프록시</string>
<string name="settings_eh_hath_proxy_summary_1">%1$s %2$s:%3$d</string>
<string name="settings_eh_hath_proxy_summary_2">없음</string>
<string name="settings_eh_show_jpn_title">일본어 제목 표시</string>
<string name="settings_eh_show_jpn_title_summary_on">가능하면 일본어 제목을 표시합니다. 갤러리 목록을 불러오는 데 시간이 좀 더 걸립니다.</string>
<string name="settings_eh_show_jpn_title_summary_off">기본 제목을 표시합니다. 대부분 영어로 표시됩니다.</string>
<string name="settings_eh_filter">필터</string>
<string name="settings_eh_filter_summary">제목, 업로더, 태그 및 태그 네임스페이스를 기반으로 필터링</string>
<string name="settings_eh_cellular_network_warning">모바일 데이터 경고</string>
<string name="settings_read">읽기</string>
<string name="settings_read_screen_rotation">화면 회전</string>
<string name="settings_read_screen_rotation_default">기본값</string>
<string name="settings_read_screen_rotation_portrait">세로 모드</string>
<string name="settings_read_screen_rotation_landscape">가로 모드</string>
<string name="settings_read_reading_direction">읽기 방향</string>
<string name="settings_read_reading_direction_left_to_right">왼쪽에서 오른쪽으로</string>
<string name="settings_read_reading_direction_right_to_Left">오른쪽에서 왼쪽으로</string>
<string name="settings_read_reading_direction_top_to_bottom">위에서 아래로</string>
<string name="settings_read_page_scaling">페이지 표시</string>
<string name="settings_read_page_scaling_actual_size">실제 크기</string>
<string name="settings_read_page_scaling_fit_to_width">너비에 맞춤</string>
<string name="settings_read_page_scaling_fit_to_height">높이에 맞춤</string>
<string name="settings_read_page_scaling_fit_to_screen">화면에 맞춤</string>
<string name="settings_read_page_scaling_fixed_scale">비율 고정</string>
<string name="settings_read_start_position">시작 위치</string>
<string name="settings_read_start_position_top_left">왼쪽 상단</string>
<string name="settings_read_start_position_top_right">오른쪽 상단</string>
<string name="settings_read_start_position_bottom_left">왼쪽 하단</string>
<string name="settings_read_start_position_bottom_right">오른쪽 하단</string>
<string name="settings_read_start_position_center">중앙</string>
<string name="settings_read_keep_screen_on">화면 켜짐 유지</string>
<string name="settings_read_show_clock">시계 표시</string>
<string name="settings_read_show_progress">진행도 표시</string>
<string name="settings_read_show_battery">배터리 표시</string>
<string name="settings_read_show_page_interval">페이지 간격 표시</string>
<string name="settings_read_volume_page">볼륨 키로 페이지 넘기기</string>
<string name="settings_read_reading_fullscreen">전체 화면</string>
<string name="settings_read_custom_screen_lightness">화면 밝기 사용자 지정</string>
<string name="settings_read_screen_lightness">화면 밝기</string>
<string name="settings_download">다운로드</string>
<string name="settings_download_download_location">다운로드 위치</string>
<string name="settings_download_invalid_download_location">다운로드 위치가 잘못되었습니다.</string>
<string name="settings_download_cant_get_download_location">다운로드 위치를 가져올 수 없습니다.</string>
<string name="settings_download_pick_dir_kk">Android 4.4 이상에서는 루트 권한 없이 외장 SD 카드에 데이터를 쓸 수 있는 방법이 없습니다. 그러나 &lt;SD 카드&gt;/Android/data/me.loverain.fleur 폴더만은 쓸 수 있습니다.</string>
<string name="settings_download_pick_dir_l">Android 5.0 이상에서는 외장 SD 카드에 쓰기 작업을 할 수 있는 새 API를 제공합니다. SD 카드를 다운로드 위치로 지정하려면 \"문서\" 버튼을 누르세요.</string>
<string name="settings_download_document">문서</string>
<string name="settings_download_continue">계속</string>
<string name="settings_download_media_scan">미디어 스캔 허용</string>
<string name="settings_download_media_scan_summary_on">다른 사람들에게 갤러리 앱을 들키지 마세요.</string>
<string name="settings_download_media_scan_summary_off">대부분의 갤러리 앱에서 다운로드 경로에 있는 사진을 무시합니다.</string>
<string name="settings_download_multi_thread_download">다중 스레드 다운로드</string>
<string name="settings_download_multi_thread_download_summary">%s개 이미지까지</string>
<string name="settings_download_preload_image">이미지 미리 불러오기</string>
<string name="settings_download_preload_image_summary">다음 %s개 이미지를 미리 불러옴</string>
<string name="settings_download_image_resolution">이미지 해상도</string>
<string name="settings_download_image_resolution_summary">현재 설정\u003a \u005b%s\u005d, 1280x 이상으로 설정하면 작동하지 않을 수 있습니다.</string>
<string name="settings_download_image_resolution_auto">자동</string>
<string name="settings_download_download_origin_image">원본 이미지 다운로드</string>
<string name="settings_download_download_origin_image_summary">이 옵션은 위험합니다! 509 오류가 발생할 수 있습니다.</string>
<string name="settings_download_restore_download_items">다운로드 항목 복구</string>
<string name="settings_download_restore_download_items_summary">다운로드 위치에 존재하는 모든 다운로드 항목 복구</string>
<string name="settings_download_restoring">복구 중</string>
<string name="settings_download_restore_not_found">복구할 다운로드 항목을 찾을 수 없습니다.</string>
<string name="settings_download_restore_failed">복구하지 못했습니다.</string>
<string name="settings_download_restore_successfully">%d개 항목을 성공적으로 복구했습니다.</string>
<string name="settings_download_clean_redundancy">잉여 파일 삭제</string>
<string name="settings_download_clean_redundancy_summary">다운로드 위치에 존재하지만 다운로드 목록에는 없는 갤러리 이미지 제거</string>
<string name="settings_download_clean_redundancy_no_redundancy">잉여 파일이 없습니다.</string>
<string name="settings_download_clean_redundancy_done">잉여 파일을 청소했습니다. 모두 %d개 항목을 지웠습니다.</string>
<string name="settings_advanced">고급</string>
<string name="settings_advanced_save_parse_error_body">파싱 오류 시 HTML 내용 저장</string>
<string name="settings_advanced_save_parse_error_body_summary">HTML 파일에는 개인 정보가 포함될 수 있습니다.</string>
<string name="settings_advanced_dump_logcat">로그캣 덤프</string>
<string name="settings_advanced_dump_logcat_summary">외부 저장소에 로그캣 저장</string>
<string name="settings_advanced_dump_logcat_failed">로그캣을 덤프하지 못했습니다.</string>
<string name="settings_advanced_dump_logcat_to">%s 경로에 로그캣을 저장했습니다.</string>
<string name="settings_advanced_clear_download_path_cache">다운로드 경로 캐시 삭제</string>
<string name="settings_advanced_clear_download_path_cache_summary">갤러리 다운로드 경로가 잘못되었을 때 다운로드 경로 캐시를 삭제하면 문제를 해결할 수 있습니다.</string>
<string name="settings_advanced_clear_download_path_cache_message">다운로드 경로 캐시를 지우시겠습니까?</string>
<string name="settings_advanced_clear_memory_cache">메모리 캐시 삭제</string>
<string name="settings_advanced_clear_memory_cache_summary">섬네일, 갤러리 정보 메모리 캐시 삭제</string>
<string name="settings_advanced_read_cache_size">읽기 캐시 크기</string>
<string name="settings_advanced_app_language_title">앱 언어 (Language)</string>
<string name="settings_advanced_built_in_hosts_title">앱 내장 hosts.txt</string>
<string name="settings_advanced_built_in_hosts_summary">앱에 내장된 호스트-IP 지정 규칙을 사용합니다.\n대신 사용자 지정 hosts.txt 파일을 사용할 수도 있습니다.</string>
<string name="settings_advanced_custom_hosts_title">사용자 지정 hosts.txt</string>
<string name="settings_advanced_custom_hosts_summary">호스트 이름을 IP 주소에 지정합니다.\n앱에 내장된 규칙은 무시됩니다.</string>
<string name="settings_privacy_pattern_protection_title">패턴 보호</string>
<string name="settings_privacy_pattern_protection_not_set">패턴 보호가 설정되어 있지 않음</string>
<string name="settings_privacy_pattern_protection_set">패턴 보호가 설정됨</string>
<string name="settings_advanced_export_data">데이터 내보내기</string>
<string name="settings_advanced_export_data_summary">다운로드 목록, 빠른 검색 목록과 같은 데이터를 외부 저장소에 저장</string>
<string name="settings_advanced_export_data_to">%s 경로에 데이터를 내보냈습니다.</string>
<string name="settings_advanced_export_data_failed">데이터를 내보내지 못했습니다.</string>
<string name="settings_advanced_import_data">데이터 가져오기</string>
<string name="settings_advanced_import_data_summary">이전에 저장한 데이터 불러오기</string>
<string name="settings_advanced_import_data_successfully">데이터를 성공적으로 가져왔습니다.</string>
<string name="settings_about">앱 정보</string>
<string name="settings_about_author">개발자</string>
<string name="settings_about_website">웹사이트</string>
<string name="settings_about_source">소스 코드</string>
<string name="settings_about_changelog">변경 사항</string>
<string name="settings_about_help">도움말</string>
<string name="settings_about_license">라이선스</string>
<string name="settings_about_license_summary">EhViewer는 많은 오픈 소스 프로젝트 덕분에 만들 수 있었습니다.</string>
<string name="settings_about_donate">후원</string>
<string name="settings_about_donate_message">후원해 주시면 더 좋은 앱을 만드는 데 도움이 됩니다.\n\nAlipay: seven332$163.com</string>
<string name="settings_about_donate_toast">이메일 주소를 클립보드에 복사했습니다.</string>
<string name="settings_privacy_enable_analytics">데이터 분석 사용</string>
<string name="settings_privacy_about_analytics">데이터 분석 정보</string>
<string name="settings_about_version">빌드 버전</string>
<string name="settings_about_check_for_updates">업데이트 확인</string>
<string name="settings_about_auto_check_for_updates">업데이트 자동 확인</string>
<string name="settings_about_beta_update_channel">베타 업데이트 채널</string>
<string name="settings_about_beta_update_channel_summary">베타 버전은 사용자의 기기에서 정상적으로 작동하지 않을 수 있습니다.</string>
<string name="enable">사용</string>
<string name="enabled">사용함</string>
<string name="disabled">사용 안 함</string>
<string name="ip">IP</string>
<string name="port">포트</string>
<string name="Passkey">암호</string>
<string name="domain_not_supported">지원하지 않는 도메인입니다.</string>
<string name="invalid_port">잘못된 포트입니다.</string>
<string name="cant_get_data_dir">데이터 디렉터리를 찾을 수 없습니다.</string>
<string name="cant_find_any_data">데이터를 가져올 수 없습니다.</string>
<string name="cant_read_the_file">파일을 읽을 수 없습니다.</string>
<string name="app_language_system">시스템 언어 (기본값)</string>
<!-- ExcludedLanguagesScene -->
<string name="excluded_languages">제외할 언어</string>
<string name="select_all">모두 선택</string>
<string name="deselect_all">모두 선택 해제</string>
<string name="invert_selection">선택 반전</string>
<string name="language">언어</string>
<string name="original">원어</string>
<string name="translated">역본</string>
<string name="rewrite">재필</string>
<string name="language_japanese">일본어</string>
<string name="language_english">영어</string>
<string name="language_chinese">중국어</string>
<string name="language_dutch">네덜란드어</string>
<string name="language_french">프랑스어</string>
<string name="language_german">독일어</string>
<string name="language_hungarian">헝가리어</string>
<string name="language_italian">이탈리아어</string>
<string name="language_korean">한국어</string>
<string name="language_polish">폴란드어</string>
<string name="language_portuguese">포르투갈어</string>
<string name="language_russian">러시아어</string>
<string name="language_spanish">스페인어</string>
<string name="language_thai">타이어</string>
<string name="language_vietnamese">베트남어</string>
<string name="language_na">없음</string>
<string name="language_other">기타</string>
<string name="please_wait">잠시만 기다려 주세요.</string>
<!-- License -->
<string name="license">라이선스</string>
<!-- Dir Picker-->
<string name="dir_picker">디렉터리 선택기</string>
<string name="directory_not_writable">쓸 수 있는 디렉터리가 아닙니다.</string>
<!-- Favorites -->
<string name="cloud_favorites">클라우드 즐겨찾기</string>
<string name="local_favorites">로컬 즐겨찾기</string>
<string name="favorites_search_bar_hint">%s 검색</string>
<string name="favorites_title">%s</string>
<string name="favorites_title_2">%1$s - %2$s</string>
<string name="delete_favorites_dialog_title">즐겨찾기에서 삭제</string>
<string name="delete_favorites_dialog_message">%d개 항목을 즐겨찾기에서 삭제하시겠습니까?</string>
<string name="move_favorites_dialog_title">즐겨찾기 이동</string>
<string name="default_favorites_collection">기본 즐겨찾기 컬렉션</string>
<string name="let_me_select">직접 선택</string>
<string name="favorites_info">즐겨찾기 정보</string>
<string name="collections">컬렉션</string>
<string name="count">개수</string>
<string name="need_sign_in">로그인 필요</string>
<!-- Progress Scene -->
<string name="error_something_wrong_happened">뭔가 잘못되었습니다.</string>
<!-- Guide -->
<string name="guide_quick_search_title">빠른 검색</string>
<string name="guide_quick_search_text">왼쪽으로 밀면 빠른 검색 패널이 열립니다.</string>
<string name="guide_collections_title">컬렉션</string>
<string name="guide_collections_text">왼쪽으로 밀면 컬렉션을 선택할 수 있습니다.</string>
<string name="guide_download_labels_title">다운로드 레이블</string>
<string name="guide_download_labels_text">왼쪽으로 밀면 다운로드 레이블 패널이 열립니다.</string>
<string name="guide_download_thumb_title">갤러리 자세히 보기</string>
<string name="guide_download_thumb_text">섬네일을 누르면 갤러리를 자세히 볼 수 있습니다.</string>
<string name="guide_gallery_left">페이지 넘기기</string>
<string name="guide_gallery_right">페이지 넘기기</string>
<string name="guide_gallery_menu">메뉴</string>
<string name="guide_gallery_progress">진행도</string>
<string name="guide_gallery_long_click">페이지 메뉴를 열려면 길게 누르세요.</string>
<!-- Readable Time -->
<string name="from_the_future">미래에</string>
<string name="just_now">방금</string>
<plurals name="some_minutes_ago">
<item quantity="other">%d분 전</item>
</plurals>
<plurals name="some_hours_ago">
<item quantity="other">%d시간 전</item>
</plurals>
<string name="yesterday">어제</string>
<string name="some_days_ago">%d일 전</string>
<plurals name="second">
<item quantity="other">초</item>
</plurals>
<plurals name="minute">
<item quantity="other">분</item>
</plurals>
<plurals name="hour">
<item quantity="other">시간</item>
</plurals>
<plurals name="day">
<item quantity="other">일</item>
</plurals>
<plurals name="year">
<item quantity="other">년</item>
</plurals>
<string name="dialog_archive_title">H@H 다운로더</string>
<string name="no_archives">아카이브 없음</string>
<string name="download_archive_started">아카이브 다운로드가 시작되었습니다.</string>
<string name="download_archive_failure">아카이브 다운로드에 실패했습니다.</string>
<string name="archive">아카이브</string>
<string name="download_archive_failure_no_hath">아카이브를 다운로드하려면 H@H 클라이언트가 필요합니다.</string>
<string name="settings_privacy">개인 정보</string>
<string name="settings_privacy_secure">화면 캡처 허용 안 함</string>
<string name="settings_privacy_secure_summary">이 옵션을 켜면 이 앱에서 스크린샷을 찍을 수 없고, 멀티태스킹 화면에서 앱의 내용을 볼 수 없습니다.\n\n이 옵션을 변경하면 앱을 다시 시작해야 합니다.</string>
<string name="download_service">다운로드 서비스</string>
</resources>
+44 -6
View File
@@ -57,7 +57,10 @@
<string name="cellular_network_warning">正在使用移动网络</string>
<string name="error_bad_status_code">错误的状态码:%d</string>
<string name="clipboard_gallery_url_dialog_title">发现画廊</string>
<string name="clipboard_gallery_url_dialog_message">剪切板里有画廊链接,要不要看看?</string>
<string name="error_bad_status_code">错误状态码:%d</string>
<string name="error_timeout">超时</string>
<string name="error_unknown_host">未知主机</string>
<string name="error_redirection">太多重定向</string>
@@ -304,6 +307,8 @@
<string name="download_labels">下载标签</string>
<string name="download_start_all">全部开始</string>
<string name="download_stop_all">全部停止</string>
<string name="download_reset_reading_progress">重置阅读进度</string>
<string name="reset_reading_progress_message">重置所有已下载画廊的阅读进度?</string>
<string name="download_service_label">EhViewer 下载服务</string>
<string name="download_speed_text">%s</string>
<string name="download_speed_text_2">%1$s,剩余 %2$s</string>
@@ -355,11 +360,25 @@
<string name="apply">应用</string>
<string name="apply_tip">点击右上角的对勾来保存设置</string>
<!-- Hosts Activity -->
<string name="hosts">自定义 hosts.txt</string>
<string name="hosts_tip">hosts.txt</string>
<string name="hosts_host">Host</string>
<string name="hosts_ip">IP</string>
<string name="add_host">添加 host</string>
<string name="add_host_add">添加</string>
<string name="edit_host">编辑 host</string>
<string name="edit_host_confirm">确认</string>
<string name="edit_host_delete">删除</string>
<string name="invalid_host">无效的 host</string>
<string name="invalid_ip">无效的 IP</string>
<!-- Gallery Activity -->
<string name="page_menu_title">第 %d 页</string>
<string name="page_menu_refresh">@string/refresh</string>
<string name="page_menu_share">@string/share</string>
<string name="page_menu_save">保存</string>
<string name="page_menu_save_to">保存到...</string>
<string name="page_menu_add_bookmark">添加书签</string>
<string name="gallery_menu_title">菜单</string>
<string name="share_image">分享图片</string>
@@ -372,6 +391,11 @@
<string name="settings_eh_sign_out_warning">天哪,我的老伙计,你要退出登录吗?我是说,你真的要退出登录吗?</string>
<string name="settings_eh_sign_out_yes">是的,我是说,真的</string>
<string name="settings_eh_sign_out_tip">已退出登录,重启应用以便再次登录</string>
<string name="settings_eh_identity_cookies">身份 Cookie</string>
<string name="settings_eh_identity_cookies_summary">可用于登录</string>
<string name="settings_eh_identity_cookies_signed">身份 Cookie 可用于登录该账号。&lt;br&gt;&lt;b&gt;注意数据安全&lt;/b&gt;&lt;br&gt;&lt;br&gt;%s</string>
<string name="settings_eh_identity_cookies_tourist">未登录</string>
<string name="settings_eh_identity_cookies_copy">复制</string>
<string name="settings_u_config">EHentai 设置</string>
<string name="settings_u_config_summary">EHentai 网站上的设置</string>
<string name="settings_eh_gallery_site">画廊站点</string>
@@ -401,6 +425,8 @@
<string name="settings_eh_show_jpn_title">显示日文标题</string>
<string name="settings_eh_show_jpn_title_summary_on">尝试显示日文标题。这会使获取画廊列表花费更多时间</string>
<string name="settings_eh_show_jpn_title_summary_off">显示默认标题。一般是英文标题</string>
<string name="settings_eh_show_gallery_pages">显示画廊页数</string>
<string name="settings_eh_show_gallery_pages_summary">在画廊列表中显示页数。这会使获取画廊列表花费更多时间</string>
<string name="settings_eh_filter">过滤</string>
<string name="settings_eh_filter_summary">过滤标题,上传者,标签和标签组</string>
<string name="settings_eh_cellular_network_warning">移动网络警告</string>
@@ -480,9 +506,14 @@
<string name="settings_advanced_clear_memory_cache">清理内存缓存</string>
<string name="settings_advanced_clear_memory_cache_summary">清理缩略图、画廊信息的内存缓存</string>
<string name="settings_advanced_read_cache_size">阅读缓存大小</string>
<string name="settings_advanced_pattern_protection_title">图案保护</string>
<string name="settings_advanced_pattern_protection_not_set">未设置图案保护</string>
<string name="settings_advanced_pattern_protection_set">已设置图案保护</string>
<string name="settings_advanced_app_language_title">App 界面语言</string>
<string name="settings_advanced_built_in_hosts_title">内置 hosts.txt</string>
<string name="settings_advanced_built_in_hosts_summary">应用提供的主机到IP的映射\n可被自定义 hosts.txt 覆盖</string>
<string name="settings_advanced_custom_hosts_title">自定义 hosts.txt</string>
<string name="settings_advanced_custom_hosts_summary">将主机名称映射到相应的IP地址\n可覆盖内置 hosts.txt</string>
<string name="settings_privacy_pattern_protection_title">图案保护</string>
<string name="settings_privacy_pattern_protection_not_set">未设置图案保护</string>
<string name="settings_privacy_pattern_protection_set">已设置图案保护</string>
<string name="settings_advanced_export_data">导出数据</string>
<string name="settings_advanced_export_data_summary">保存数据至外置存储器,例如下载列表,快速搜索列表</string>
<string name="settings_advanced_export_data_to">已导出数据至 %s</string>
@@ -504,10 +535,11 @@
<string name="settings_about_donate_summary">支付宝:seven332$163.com</string>
<string name="settings_about_donate_message">你的捐赠能帮助我开发更多更好的应用。\n\n支付宝:seven332$163.com</string>
<string name="settings_about_donate_toast">邮箱地址已复制到剪切板</string>
<string name="settings_about_enable_analytics">启用数据统计</string>
<string name="settings_about_about_analytics">关于数据统计</string>
<string name="settings_privacy_enable_analytics">启用数据统计</string>
<string name="settings_privacy_about_analytics">关于数据统计</string>
<string name="settings_about_version">版本号</string>
<string name="settings_about_check_for_updates">检查更新</string>
<string name="settings_about_auto_check_for_updates">自动检查更新</string>
<string name="settings_about_beta_update_channel">更新测试版</string>
<string name="settings_about_beta_update_channel_summary">测试版可能在你的设备上出现不可预知的错误</string>
@@ -553,6 +585,8 @@
<string name="cant_find_any_data">找不到任何数据</string>
<string name="cant_read_the_file">无法读取文件</string>
<string name="app_language_system">系统语言(默认)</string>
<!-- License -->
<string name="license">开源许可</string>
@@ -627,5 +661,9 @@
<string name="download_archive_failure">无法下载压缩包</string>
<string name="archive">压缩包</string>
<string name="download_archive_failure_no_hath">下载压缩包需要 H@H 客户端</string>
<string name="settings_privacy">隐私</string>
<string name="settings_privacy_secure">不允许屏幕抓取</string>
<string name="settings_privacy_secure_summary">启用后,将不能截取该应用的屏幕截图,同时,将不会在系统任务切换器中显示该应用的内容预览\n\n重新启动应用以生效此更改</string>
<string name="download_service">下载服务</string>
</resources>
+41 -6
View File
@@ -57,7 +57,10 @@
<string name="cellular_network_warning">正在使用移動網絡</string>
<string name="error_bad_status_code">錯誤的狀態碼:%d</string>
<string name="clipboard_gallery_url_dialog_title">發現畫廊</string>
<string name="clipboard_gallery_url_dialog_message">剪切板裏有畫廊鏈接,要不要看看?</string>
<string name="error_bad_status_code">錯誤狀態碼:%d</string>
<string name="error_timeout">超時</string>
<string name="error_unknown_host">未知主機</string>
<string name="error_redirection">太多重定向</string>
@@ -304,6 +307,8 @@
<string name="download_labels">下載標籤</string>
<string name="download_start_all">全部開始</string>
<string name="download_stop_all">全部停止</string>
<string name="download_reset_reading_progress">重置阅读进度</string>
<string name="reset_reading_progress_message">重置所有已下载画廊的阅读进度?</string>
<string name="download_service_label">EhViewer 下載服務</string>
<string name="download_speed_text">%s</string>
<string name="download_speed_text_2">%1$s,剩餘 %2$s</string>
@@ -355,6 +360,19 @@
<string name="apply">應用</string>
<string name="apply_tip">點擊右上角的對勾來保存設置</string>
<!-- Hosts Activity -->
<string name="hosts">自定義 hosts.txt</string>
<string name="hosts_tip">hosts.txt</string>
<string name="hosts_host">Host</string>
<string name="hosts_ip">IP</string>
<string name="add_host">添加 host</string>
<string name="add_host_add">添加</string>
<string name="edit_host">編輯 host</string>
<string name="edit_host_confirm">確認</string>
<string name="edit_host_delete">刪除</string>
<string name="invalid_host">無效的 host</string>
<string name="invalid_ip">無效的 IP</string>
<!-- Gallery Activity -->
<string name="page_menu_title">第 %d 頁</string>
<string name="page_menu_refresh">@string/refresh</string>
@@ -372,6 +390,11 @@
<string name="settings_eh_sign_out_warning">天哪,我的老夥計,你要退出登錄嗎?我是説,你真的要退出登錄嗎?</string>
<string name="settings_eh_sign_out_yes">是的,我是説,真的</string>
<string name="settings_eh_sign_out_tip">已退出登錄,重啟應用以便再次登錄</string>
<string name="settings_eh_identity_cookies">身份 Cookie</string>
<string name="settings_eh_identity_cookies_summary">可用於登錄</string>
<string name="settings_eh_identity_cookies_signed">身份 Cookie 可用於登錄該賬號。&lt;br&gt;&lt;b&gt;注意數據安全&lt;/b&gt;&lt;br&gt;&lt;br&gt;%s</string>
<string name="settings_eh_identity_cookies_tourist">未登錄</string>
<string name="settings_eh_identity_cookies_copy">複製</string>
<string name="settings_u_config">EHentai 設置</string>
<string name="settings_u_config_summary">EHentai 網站上的設置</string>
<string name="settings_eh_gallery_site">畫廊站點</string>
@@ -401,6 +424,8 @@
<string name="settings_eh_show_jpn_title">顯示日文標題</string>
<string name="settings_eh_show_jpn_title_summary_on">嘗試顯示日文標題。這會使獲取畫廊列表花費更多時間</string>
<string name="settings_eh_show_jpn_title_summary_off">顯示默認標題。一般是英文標題</string>
<string name="settings_eh_show_gallery_pages">顯示畫廊頁數</string>
<string name="settings_eh_show_gallery_pages_summary">在畫廊列表中顯示頁數。這會使獲取畫廊列表花費更多時間</string>
<string name="settings_eh_filter">過濾</string>
<string name="settings_eh_filter_summary">過濾標題,上傳者,標籤和標籤組</string>
<string name="settings_eh_cellular_network_warning">移動網絡警告</string>
@@ -480,9 +505,14 @@
<string name="settings_advanced_clear_memory_cache">清理內存緩存</string>
<string name="settings_advanced_clear_memory_cache_summary">清理縮略圖、畫廊信息的內存緩存</string>
<string name="settings_advanced_read_cache_size">閲讀緩存大小</string>
<string name="settings_advanced_pattern_protection_title">圖案保護</string>
<string name="settings_advanced_pattern_protection_not_set">未設置圖案保護</string>
<string name="settings_advanced_pattern_protection_set">已設置圖案保護</string>
<string name="settings_advanced_app_language_title">App 界面語言</string>
<string name="settings_advanced_built_in_hosts_title">內置 hosts.txt</string>
<string name="settings_advanced_built_in_hosts_summary">應用提供的主機到IP的映射\n可被自定義 hosts.txt 覆蓋</string>
<string name="settings_advanced_custom_hosts_title">自定義 hosts.txt</string>
<string name="settings_advanced_custom_hosts_summary">將主機名稱映射到相應的IP地址\n可覆蓋內置 hosts.txt</string>
<string name="settings_privacy_pattern_protection_title">圖案保護</string>
<string name="settings_privacy_pattern_protection_not_set">未設置圖案保護</string>
<string name="settings_privacy_pattern_protection_set">已設置圖案保護</string>
<string name="settings_advanced_export_data">導出數據</string>
<string name="settings_advanced_export_data_summary">保存數據至外置存儲器,例如下載列表,快速搜索列表</string>
<string name="settings_advanced_export_data_to">已導出數據至 %s</string>
@@ -504,8 +534,8 @@
<string name="settings_about_donate_summary">支付寶:seven332$163.com</string>
<string name="settings_about_donate_message">你的捐贈能幫助我開發更多更好的應用。\n\n支付寶:seven332$163.com</string>
<string name="settings_about_donate_toast">郵箱地址已複製到剪切板</string>
<string name="settings_about_enable_analytics">啟用數據統計</string>
<string name="settings_about_about_analytics">關於數據統計</string>
<string name="settings_privacy_enable_analytics">啟用數據統計</string>
<string name="settings_privacy_about_analytics">關於數據統計</string>
<string name="settings_about_version">版本號</string>
<string name="settings_about_check_for_updates">檢查更新</string>
<string name="settings_about_beta_update_channel">更新測試版</string>
@@ -553,6 +583,8 @@
<string name="cant_find_any_data">找不到任何數據</string>
<string name="cant_read_the_file">無法讀取文件</string>
<string name="app_language_system">系統語言(默認)</string>
<!-- License -->
<string name="license">開源許可</string>
@@ -627,5 +659,8 @@
<string name="download_archive_failure">無法下載壓縮包</string>
<string name="archive">壓縮包</string>
<string name="download_archive_failure_no_hath">下載壓縮包需要 H@H 客户端</string>
<string name="settings_privacy">隱私</string>
<string name="settings_privacy_secure">不允許荧幕抓取</string>
<string name="settings_privacy_secure_summary">啟用後,將不能截取該應用的螢幕截圖,同時,將不會在系統任務切換器中顯示該應用的內容預覽\n\n重新啟動應用以生效此更改</string>
</resources>
+42 -7
View File
@@ -57,6 +57,9 @@
<string name="cellular_network_warning">正在使用行動數據</string>
<string name="clipboard_gallery_url_dialog_title">發現圖庫</string>
<string name="clipboard_gallery_url_dialog_message">剪貼簿裡有圖庫連結,要不要看看?</string>
<string name="error_bad_status_code">錯誤狀態碼:%d</string>
<string name="error_timeout">逾時</string>
<string name="error_unknown_host">未知的主機</string>
@@ -98,7 +101,7 @@
<string name="accept">接受</string>
<string name="reject">拒絕</string>
<string name="help_route">設定->關於->幫助</string>
<string name="help_route">設定->關於->說明</string>
<!-- Crash -->
<string name="send">傳送</string>
@@ -295,7 +298,7 @@
<string name="stat_download_done_line_failed"> %s 下載失敗</string>
<string name="download_remove_dialog_title">移除下載佇列</string>
<string name="download_remove_dialog_message">將 %s 從下載佇列中移除嗎?</string>
<string name="download_remove_dialog_message_2">從下載佇列中移除 %s 項任務嗎?</string>
<string name="download_remove_dialog_message_2">從下載佇列中移除 %d 項任務嗎?</string>
<string name="download_remove_dialog_check_text">刪除圖檔</string>
<string name="stat_download_action_stop_all">全部停止</string>
<string name="drawer_download_label_title">標籤</string>
@@ -304,6 +307,8 @@
<string name="download_labels">下載標籤</string>
<string name="download_start_all">全部開始</string>
<string name="download_stop_all">全部停止</string>
<string name="download_reset_reading_progress">重置閱讀進度</string>
<string name="reset_reading_progress_message">重置所有已下載圖庫的閱讀進度?</string>
<string name="download_service_label">EhViewer 下載服務</string>
<string name="download_speed_text">%s</string>
<string name="download_speed_text_2">%1$s,剩餘 %2$s</string>
@@ -355,6 +360,19 @@
<string name="apply">應用</string>
<string name="apply_tip">點選右上角的對勾來儲存設定</string>
<!-- Hosts Activity -->
<string name="hosts">自定義 hosts.txt</string>
<string name="hosts_tip">hosts.txt</string>
<string name="hosts_host">Host</string>
<string name="hosts_ip">IP</string>
<string name="add_host">添加 host</string>
<string name="add_host_add">添加</string>
<string name="edit_host">編輯 host</string>
<string name="edit_host_confirm">確認</string>
<string name="edit_host_delete">刪除</string>
<string name="invalid_host">無效的 host</string>
<string name="invalid_ip">無效的 IP</string>
<!-- Gallery Activity -->
<string name="page_menu_title">第 %d 頁</string>
<string name="page_menu_refresh">@string/refresh</string>
@@ -372,6 +390,11 @@
<string name="settings_eh_sign_out_warning">天哪,老兄,你真的要登出嗎?我是說,你真的要登出嗎?</string>
<string name="settings_eh_sign_out_yes">沒錯,我是說,對</string>
<string name="settings_eh_sign_out_tip">已登出,重新啟動程式以再次登入</string>
<string name="settings_eh_identity_cookies">身份 Cookie</string>
<string name="settings_eh_identity_cookies_summary">可用於登入</string>
<string name="settings_eh_identity_cookies_signed">身份 Cookie 可用於登入該賬號。&lt;br&gt;&lt;b&gt;注意資料安全&lt;/b&gt;&lt;br&gt;&lt;br&gt;%s</string>
<string name="settings_eh_identity_cookies_tourist">未登入</string>
<string name="settings_eh_identity_cookies_copy">複製</string>
<string name="settings_u_config">EHentai 設定</string>
<string name="settings_u_config_summary">EHentai 網站上的設定</string>
<string name="settings_eh_gallery_site">圖庫站台</string>
@@ -401,6 +424,8 @@
<string name="settings_eh_show_jpn_title">顯示日文標題</string>
<string name="settings_eh_show_jpn_title_summary_on">嘗試顯示日文標題。這會使取得圖庫列表時間增加</string>
<string name="settings_eh_show_jpn_title_summary_off">顯示預設的標題。通常是英文的</string>
<string name="settings_eh_show_gallery_pages">顯示圖庫頁數</string>
<string name="settings_eh_show_gallery_pages_summary">在圖庫列表中顯示頁數。這會使取得圖庫列表時間增加</string>
<string name="settings_eh_filter">篩選</string>
<string name="settings_eh_filter_summary">篩選標題,上傳者,標籤和標籤命名空間</string>
<string name="settings_eh_cellular_network_warning">行動數據警告</string>
@@ -480,9 +505,14 @@
<string name="settings_advanced_clear_memory_cache">清除記憶體快取</string>
<string name="settings_advanced_clear_memory_cache_summary">清除縮圖、圖庫詳細資料的記憶體快取</string>
<string name="settings_advanced_read_cache_size">閱讀快取大小</string>
<string name="settings_advanced_pattern_protection_title">繪圖解鎖</string>
<string name="settings_advanced_pattern_protection_not_set">尚未設定繪圖解鎖</string>
<string name="settings_advanced_pattern_protection_set">已設定繪圖解鎖</string>
<string name="settings_advanced_app_language_title">App 介面語言</string>
<string name="settings_advanced_built_in_hosts_title">內建 hosts.txt</string>
<string name="settings_advanced_built_in_hosts_summary">應用提供的主機到IP的對映\n可被自定義 hosts.txt 覆蓋</string>
<string name="settings_advanced_custom_hosts_title">自定義 hosts.txt</string>
<string name="settings_advanced_custom_hosts_summary">將主機名稱對映到相應的IP位址\n可覆蓋內建 hosts.txt</string>
<string name="settings_privacy_pattern_protection_title">繪圖解鎖</string>
<string name="settings_privacy_pattern_protection_not_set">尚未設定繪圖解鎖</string>
<string name="settings_privacy_pattern_protection_set">已設定繪圖解鎖</string>
<string name="settings_advanced_export_data">匯出檔案</string>
<string name="settings_advanced_export_data_summary">儲存資料至外接儲存設備,例如下載列表,快速搜尋列表</string>
<string name="settings_advanced_export_data_to">已匯出資料至 %s</string>
@@ -504,8 +534,8 @@
<string name="settings_about_donate_summary">支付寶:seven332$163.com</string>
<string name="settings_about_donate_message">你的贊助能幫助我開發更多更好的軟體。\n\n支付寶:seven332$163.com</string>
<string name="settings_about_donate_toast">已將電子信箱地址複製到剪貼簿</string>
<string name="settings_about_enable_analytics">啟用資料統計</string>
<string name="settings_about_about_analytics">關於資料統計</string>
<string name="settings_privacy_enable_analytics">啟用資料統計</string>
<string name="settings_privacy_about_analytics">關於資料統計</string>
<string name="settings_about_version">版本號碼</string>
<string name="settings_about_check_for_updates">檢查更新</string>
<string name="settings_about_beta_update_channel">更新測試版</string>
@@ -553,6 +583,8 @@
<string name="cant_find_any_data">找不到任何資料</string>
<string name="cant_read_the_file">無法讀取檔案</string>
<string name="app_language_system">系統語言(預設)</string>
<!-- License -->
<string name="license">授權</string>
@@ -627,5 +659,8 @@
<string name="download_archive_failure">下載失敗</string>
<string name="archive">壓縮檔</string>
<string name="download_archive_failure_no_hath">下載壓縮檔需要 H@H 客戶端</string>
<string name="settings_privacy">隱私</string>
<string name="settings_privacy_secure">不允許荧幕抓取</string>
<string name="settings_privacy_secure_summary">啟用後,將不能截取該應用的螢幕截圖,同時,將不會在系統任務切換器中顯示該應用的內容預覽\n\n重新啟動應用以生效此更改</string>
</resources>
+26 -6
View File
@@ -200,12 +200,6 @@
<item>640</item>
</string-array>
<string-array name="page_menu_entries">
<item>@string/page_menu_refresh</item>
<item>@string/page_menu_share</item>
<item>@string/page_menu_save</item>
</string-array>
<string-array name="gallery_list_menu_entries">
<item>@string/download</item>
<item>@string/add_to_favourites</item>
@@ -223,4 +217,30 @@
<item>@string/add_filter</item>
</string-array>
<string-array name="app_language_entries">
<item>@string/app_language_system</item>
<item>@string/app_language_de</item>
<item>@string/app_language_en</item>
<item>@string/app_language_es</item>
<item>@string/app_language_fr</item>
<item>@string/app_language_ja</item>
<item>@string/app_language_ko</item>
<item>@string/app_language_zh_cn</item>
<item>@string/app_language_zh_hk</item>
<item>@string/app_language_zh_tw</item>
</string-array>
<string-array name="app_language_entry_values">
<item>system</item>
<item>de</item>
<item>en</item>
<item>es</item>
<item>fr</item>
<item>ja</item>
<item>ko</item>
<item>zh-CN</item>
<item>zh-HK</item>
<item>zh-TW</item>
</string-array>
</resources>
+1 -1
View File
@@ -19,5 +19,5 @@
<bool name="beta">false</bool>
<bool name="dad_spin_bars">true</bool>
<bool name="auto_check_update">true</bool>
</resources>
+2
View File
@@ -114,4 +114,6 @@
<color name="lock_pattern_view_success_color">@color/colorPrimary</color>
<color name="lock_pattern_view_error_color">@color/red_500</color>
<!--Shortcut background-->
<color name="shortcut_bg">#F5F5F5</color>
</resources>
+1
View File
@@ -61,6 +61,7 @@
<string name="pd_refresh" translatable="false">M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z</string>
<string name="pd_file_find" translatable="false">M9,13A3,3 0 0,0 12,16A3,3 0 0,0 15,13A3,3 0 0,0 12,10A3,3 0 0,0 9,13M20,19.59V8L14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18C18.45,22 18.85,21.85 19.19,21.6L14.76,17.17C13.96,17.69 13,18 12,18A5,5 0 0,1 7,13A5,5 0 0,1 12,8A5,5 0 0,1 17,13C17,14 16.69,14.96 16.17,15.75L20,19.59Z</string>
<string name="pd_check" translatable="false">M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z</string>
<string name="pd_reorder" translatable="false">M3,15H21V13H3V15M3,19H21V17H3V19M3,11H21V9H3V11M3,5V7H21V5H3Z</string>
<string name="pd_big_label" translatable="false">M12.88,2H4V11L14.97,22.14L24,13.1L12.88,2ZM7.26,5.26C7.96,4.58,9.06,4.58,9.74,5.26C10.42,5.96,10.42,7.06,9.74,7.74S7.94,8.42,7.26,7.74S6.58,5.94,7.26,5.26ZM14.98,19.3L8.76,12.95L14.88,6.83L21.18,13.11L14.98,19.31ZM11.6,21.56L10.23,23L0,12.74V5H2V11.9L11.6,21.56Z</string>
<string name="pd_big_search" translatable="false">M20.46,14.65C21.86,16.15,20.31,18.6,18.32,17.87C19.78,17.57,20.79,16.37,20.46,14.65ZM4.32,17.87C6.32,18.6,7.86,16.17,6.46,14.65C6.79,16.38,5.78,17.55,4.32,17.87ZM16.87,4.3C16.6,3.56,15.87,3,15,3C13.7,3,12.7,4.24,13.1,5.58C14.2,5.18,15.44,4.48,16.87,4.31ZM24,16C24,18.76,21.76,21,19,21C14.96,21,14.84,16.88,12,16.88S9.04,21,5,21C2.24,21,0,18.76,0,16C0,13.87,1.53,11.43,3.94,7.18C5.84,3.81,8.69,5.92,10.76,6.58C11.54,6.85,12.41,6.88,13.24,6.58C15.3,5.92,18.14,3.81,20.06,7.18C22.46,11.43,24,13.88,24,16ZM8,16C8,14.35,6.65,13,5,13S2,14.35,2,16S3.35,19,5,19S8,17.65,8,16ZM13,14C13,13.45,12.55,13,12,13S11,13.45,11,14S11.45,15,12,15S13,14.55,13,14ZM22,16C22,14.35,20.65,13,19,13S16,14.35,16,16S17.35,19,19,19S22,17.65,22,16ZM9,3C8.14,3,7.4,3.55,7.13,4.3C8.56,4.48,9.79,5.2,10.9,5.58C11.3,4.24,10.3,3,9,3Z</string>
Loaded 100 of 116 files, more files were not shown because too many files have changed in this diff. Show more