Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6af75a9758 | ||
|
|
e4fc925b04 | ||
|
|
2262779ba0 | ||
|
|
b52cd2a619 | ||
|
|
8bad20e58c | ||
|
|
30ca44b9c6 | ||
|
|
cf43ed965e | ||
|
|
dab29819bd | ||
|
|
5fb090f241 | ||
|
|
ff84c63445 | ||
|
|
140ace739e | ||
|
|
5f8c078367 | ||
|
|
faddb37557 | ||
|
|
5d8fe06d5c | ||
|
|
2e34913c7d | ||
|
|
6cc607469b | ||
|
|
26eff55e6d | ||
|
|
9a5743dd67 | ||
|
|
0b547147b1 | ||
|
|
6bd3bd5e80 | ||
|
|
af93a6730e | ||
|
|
27e4bd4e0b | ||
|
|
459b27253a | ||
|
|
bb99570cd4 | ||
|
|
3f2b62c119 | ||
|
|
91e9975a24 | ||
|
|
00485efd0e | ||
|
|
c5d56243e0 | ||
|
|
b8c3229d9f | ||
|
|
8cf935accc | ||
|
|
2cf5589369 | ||
|
|
89addaf211 | ||
|
|
f5409c7b8a | ||
|
|
733ddb5964 | ||
|
|
537380eeb7 | ||
|
|
e44473f26b | ||
|
|
a503832016 | ||
|
|
4935995342 | ||
|
|
a367373c87 | ||
|
|
62cd2e4809 | ||
|
|
7df7defa92 | ||
|
|
56b42c67d5 | ||
|
|
d1afcc2f54 | ||
|
|
f6b05ed42b | ||
|
|
095334d338 | ||
|
|
dac0ef178d | ||
|
|
c23a502e9e | ||
|
|
5ddd652076 | ||
|
|
3f9e3f620d | ||
|
|
1c62fe9615 | ||
|
|
8703102c97 | ||
|
|
28ab591769 | ||
|
|
8cc2bfbced | ||
|
|
7612dde6d4 | ||
|
|
5188fe7170 | ||
|
|
c31048e829 | ||
|
|
44629bb405 | ||
|
|
3e387b1833 | ||
|
|
080693656a | ||
|
|
bc5479fa96 | ||
|
|
b95892d3b6 | ||
|
|
e1eea40fd7 | ||
|
|
c00fb901a0 | ||
|
|
029bca22ed | ||
|
|
facb931cb6 | ||
|
|
2f319afd40 | ||
|
|
95114502c9 | ||
|
|
2eef9b8fb0 | ||
|
|
6180ea3302 | ||
|
|
bf3ebc5ff8 | ||
|
|
5f77728a7b | ||
|
|
e823834889 | ||
|
|
35c97a7772 | ||
|
|
d59a520aa5 | ||
|
|
6bcdbfeaa4 | ||
|
|
dcb11102f6 | ||
|
|
a0e957b1fd | ||
|
|
c8c0a3aae0 | ||
|
|
aed7acfdc8 | ||
|
|
6707f0ee35 | ||
|
|
44694f351e | ||
|
|
8e3585b32d | ||
|
|
25312953af | ||
|
|
c8a32ba76e | ||
|
|
a97a6682fb | ||
|
|
ed8151632e | ||
|
|
aca061ecf6 | ||
|
|
b2bef7a4b0 | ||
|
|
db63a8f05b | ||
|
|
998f57f435 | ||
|
|
46c9197cce | ||
|
|
3f3c0c6c6a | ||
|
|
ff34acfe59 | ||
|
|
b969177244 | ||
|
|
32efad2b33 | ||
|
|
bad4cdac1a | ||
|
|
5cebca42e9 | ||
|
|
3ef2447eef | ||
|
|
a8faa2930a | ||
|
|
02abba52a7 | ||
|
|
6da2bc352d | ||
|
|
cc39e0dda3 | ||
|
|
c81145d46e | ||
|
|
a56c79d4bb | ||
|
|
fa3f409a70 | ||
|
|
1865924469 | ||
|
|
b3a23ad4e8 | ||
|
|
7a02103e05 | ||
|
|
95ed0eb7ea | ||
|
|
9ec74934bc | ||
|
|
4f868a4556 | ||
|
|
21bff4dff7 | ||
|
|
30819fc7c6 | ||
|
|
ce70859fb2 | ||
|
|
197a34721b | ||
|
|
3a21724342 | ||
|
|
ffceda72b1 | ||
|
|
bb655783b8 | ||
|
|
d5cd23c130 | ||
|
|
70bb0d06b2 | ||
|
|
18f1ec7403 | ||
|
|
20c0030cdc | ||
|
|
7509bf9776 | ||
|
|
fb7b9b28a7 |
No files matched your search
@@ -1,5 +1,9 @@
|
||||
感谢您提交 Issue,请在提交前仔细阅读以下信息。
|
||||
|
||||
请在阅读完毕后,删除这些文字,并写下对该 Issue 的描述。
|
||||
|
||||
若您能熟练使用现代标准汉语,请务必使用该语言描述 Issue。
|
||||
|
||||
Issue 的内容仅可为
|
||||
* Bug 反馈
|
||||
* 功能申请
|
||||
|
||||
@@ -6,3 +6,4 @@
|
||||
*.iml
|
||||
.idea
|
||||
/captures
|
||||
release
|
||||
@@ -1,31 +1,39 @@
|
||||
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 78
|
||||
versionName "1.0.25"
|
||||
targetSdkVersion 27
|
||||
versionCode 83
|
||||
versionName "1.0.30"
|
||||
vectorDrawables.useSupportLibrary = true
|
||||
resConfigs "zh", "zh-rCN", "zh-rHK", "zh-rTW",
|
||||
"es"
|
||||
"es", "ja", "ko"
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
abortOnError true
|
||||
abortOnError false
|
||||
checkReleaseBuilds false
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
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"'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,7 +50,7 @@ task copyNotice(type: Copy) {
|
||||
finalizedBy ":daogenerator:executeDaoGenerator"
|
||||
}
|
||||
|
||||
tasks.withType(DefaultAndroidTask) {
|
||||
tasks.withType(JavaCompile) {
|
||||
task -> task.dependsOn copyNotice
|
||||
}
|
||||
|
||||
@@ -51,35 +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.10.0'
|
||||
implementation 'org.ccil.cowan.tagsoup:tagsoup:1.2.1'
|
||||
implementation 'org.greenrobot:greendao:2.2.1'
|
||||
implementation 'org.jsoup:jsoup:1.11.2'
|
||||
testImplementation 'junit:junit:4.12'
|
||||
testImplementation 'org.robolectric:robolectric:3.4'
|
||||
testImplementation 'org.jooq:joor:0.9.6'
|
||||
}
|
||||
|
||||
configurations.all {
|
||||
resolutionStrategy {
|
||||
force 'com.github.seven332:glgallery:0f276c0'
|
||||
force 'com.github.seven332:glview-image:4c744db'
|
||||
force 'com.github.seven332:image:bab9b11'
|
||||
|
||||
exclude group: 'com.github.seven332', module: 'okhttp'
|
||||
}
|
||||
}
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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"/>
|
||||
@@ -132,13 +135,33 @@
|
||||
android:theme="@style/AppTheme.NoActionBar"
|
||||
android:label="@string/set_pattern_protection"/>
|
||||
|
||||
<activity
|
||||
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<>();
|
||||
|
||||
@@ -147,6 +147,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 +241,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 +307,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;
|
||||
}
|
||||
}
|
||||
@@ -520,6 +520,17 @@ public class Settings {
|
||||
putBoolean(KEY_SHOW_BATTERY, value);
|
||||
}
|
||||
|
||||
private static final String KEY_SHOW_PAGE_INTERVAL = "gallery_show_page_interval";
|
||||
private static final boolean DEFAULT_SHOW_PAGE_INTERVAL = true;
|
||||
|
||||
public static boolean getShowPageInterval() {
|
||||
return getBoolean(KEY_SHOW_PAGE_INTERVAL, DEFAULT_SHOW_PAGE_INTERVAL);
|
||||
}
|
||||
|
||||
public static void putShowPageInterval(boolean value) {
|
||||
putBoolean(KEY_SHOW_PAGE_INTERVAL, value);
|
||||
}
|
||||
|
||||
private static final String KEY_VOLUME_PAGE = "volume_page";
|
||||
private static final boolean DEFAULT_VOLUME_PAGE = false;
|
||||
|
||||
@@ -564,6 +575,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
|
||||
********************/
|
||||
@@ -694,26 +718,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];
|
||||
@@ -746,6 +786,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;
|
||||
|
||||
@@ -862,6 +949,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);
|
||||
@@ -871,6 +960,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
|
||||
********************/
|
||||
@@ -928,6 +1021,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
|
||||
********************/
|
||||
|
||||
@@ -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;
|
||||
@@ -370,8 +371,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 +392,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);
|
||||
|
||||
@@ -52,6 +52,9 @@ public class EhUrl {
|
||||
public static final String URL_FAVORITES_EX = HOST_EX + "favorites.php";
|
||||
public static final String URL_FORUMS = "https://forums.e-hentai.org/";
|
||||
|
||||
public static final String UCONFIG_E = HOST_E + "uconfig.php";
|
||||
public static final String UCONFIG_EX = HOST_EX + "uconfig.php";
|
||||
|
||||
private static final String URL_PREFIX_THUMB_E = "https://ehgt.org/t/";
|
||||
private static final String URL_PREFIX_THUMB_EX = "https://exhentai.org/t/";
|
||||
|
||||
@@ -89,6 +92,16 @@ public class EhUrl {
|
||||
}
|
||||
}
|
||||
|
||||
public static String getUConfigUrl() {
|
||||
switch (Settings.getGallerySite()) {
|
||||
default:
|
||||
case SITE_E:
|
||||
return UCONFIG_E;
|
||||
case SITE_EX:
|
||||
return UCONFIG_EX;
|
||||
}
|
||||
}
|
||||
|
||||
public static String getGalleryDetailUrl(long gid, String token, int index, boolean allComment) {
|
||||
UrlBuilder builder = new UrlBuilder(getHost() + "g/" + gid + '/' + token + '/');
|
||||
if (index != 0) {
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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,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);
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
@@ -280,8 +290,8 @@ public class GalleryActivity extends EhActivity implements SeekBar.OnSeekBarChan
|
||||
.setStartPage(startPage)
|
||||
.setBackgroundColor(resources.getColor(R.color.gallery_background))
|
||||
.setEdgeColor(primaryColor & 0xffffff | 0x33000000)
|
||||
.setPagerInterval(resources.getDimensionPixelOffset(R.dimen.gallery_pager_interval))
|
||||
.setScrollInterval(resources.getDimensionPixelOffset(R.dimen.gallery_scroll_interval))
|
||||
.setPagerInterval(Settings.getShowPageInterval() ? resources.getDimensionPixelOffset(R.dimen.gallery_pager_interval) : 0)
|
||||
.setScrollInterval(Settings.getShowPageInterval() ? resources.getDimensionPixelOffset(R.dimen.gallery_scroll_interval) : 0)
|
||||
.setPageMinHeight(resources.getDimensionPixelOffset(R.dimen.gallery_page_min_height))
|
||||
.setPageInfoInterval(resources.getDimensionPixelOffset(R.dimen.gallery_page_info_interval))
|
||||
.setProgressColor(primaryColor)
|
||||
@@ -702,6 +712,7 @@ public class GalleryActivity extends EhActivity implements SeekBar.OnSeekBarChan
|
||||
private final SwitchCompat mShowClock;
|
||||
private final SwitchCompat mShowProgress;
|
||||
private final SwitchCompat mShowBattery;
|
||||
private final SwitchCompat mShowPageInterval;
|
||||
private final SwitchCompat mVolumePage;
|
||||
private final SwitchCompat mReadingFullscreen;
|
||||
private final SwitchCompat mCustomScreenLightness;
|
||||
@@ -718,6 +729,7 @@ public class GalleryActivity extends EhActivity implements SeekBar.OnSeekBarChan
|
||||
mShowClock = (SwitchCompat) mView.findViewById(R.id.show_clock);
|
||||
mShowProgress = (SwitchCompat) mView.findViewById(R.id.show_progress);
|
||||
mShowBattery = (SwitchCompat) mView.findViewById(R.id.show_battery);
|
||||
mShowPageInterval = (SwitchCompat) mView.findViewById(R.id.show_page_interval);
|
||||
mVolumePage = (SwitchCompat) mView.findViewById(R.id.volume_page);
|
||||
mReadingFullscreen = (SwitchCompat) mView.findViewById(R.id.reading_fullscreen);
|
||||
mCustomScreenLightness = (SwitchCompat) mView.findViewById(R.id.custom_screen_lightness);
|
||||
@@ -731,6 +743,7 @@ public class GalleryActivity extends EhActivity implements SeekBar.OnSeekBarChan
|
||||
mShowClock.setChecked(Settings.getShowClock());
|
||||
mShowProgress.setChecked(Settings.getShowProgress());
|
||||
mShowBattery.setChecked(Settings.getShowBattery());
|
||||
mShowPageInterval.setChecked(Settings.getShowPageInterval());
|
||||
mVolumePage.setChecked(Settings.getVolumePage());
|
||||
mReadingFullscreen.setChecked(Settings.getReadingFullscreen());
|
||||
mCustomScreenLightness.setChecked(Settings.getCustomScreenLightness());
|
||||
@@ -759,6 +772,7 @@ public class GalleryActivity extends EhActivity implements SeekBar.OnSeekBarChan
|
||||
boolean showClock = mShowClock.isChecked();
|
||||
boolean showProgress = mShowProgress.isChecked();
|
||||
boolean showBattery = mShowBattery.isChecked();
|
||||
boolean showPageInterval = mShowPageInterval.isChecked();
|
||||
boolean volumePage = mVolumePage.isChecked();
|
||||
boolean readingFullscreen = mReadingFullscreen.isChecked();
|
||||
boolean customScreenLightness = mCustomScreenLightness.isChecked();
|
||||
@@ -774,6 +788,7 @@ public class GalleryActivity extends EhActivity implements SeekBar.OnSeekBarChan
|
||||
Settings.putShowClock(showClock);
|
||||
Settings.putShowProgress(showProgress);
|
||||
Settings.putShowBattery(showBattery);
|
||||
Settings.putShowPageInterval(showPageInterval);
|
||||
Settings.putVolumePage(volumePage);
|
||||
Settings.putReadingFullscreen(readingFullscreen);
|
||||
Settings.putCustomScreenLightness(customScreenLightness);
|
||||
@@ -812,6 +827,8 @@ public class GalleryActivity extends EhActivity implements SeekBar.OnSeekBarChan
|
||||
if (mBattery != null) {
|
||||
mBattery.setVisibility(showBattery ? View.VISIBLE : View.GONE);
|
||||
}
|
||||
mGalleryView.setPagerInterval(showPageInterval ? getResources().getDimensionPixelOffset(R.dimen.gallery_pager_interval) : 0);
|
||||
mGalleryView.setScrollInterval(showPageInterval ? getResources().getDimensionPixelOffset(R.dimen.gallery_scroll_interval) : 0);
|
||||
setScreenLightness(customScreenLightness, screenLightness);
|
||||
|
||||
// Update slider
|
||||
@@ -829,7 +846,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;
|
||||
@@ -853,18 +870,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) {
|
||||
@@ -889,32 +904,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 {
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -331,7 +331,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();
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -0,0 +1,251 @@
|
||||
/*
|
||||
* 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/2/9.
|
||||
*/
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.content.Context;
|
||||
import android.content.DialogInterface;
|
||||
import android.graphics.Bitmap;
|
||||
import android.os.Build;
|
||||
import android.os.Bundle;
|
||||
import android.support.annotation.Nullable;
|
||||
import android.support.design.widget.Snackbar;
|
||||
import android.support.v7.app.AlertDialog;
|
||||
import android.view.Menu;
|
||||
import android.view.MenuItem;
|
||||
import android.view.View;
|
||||
import android.webkit.CookieManager;
|
||||
import android.webkit.CookieSyncManager;
|
||||
import android.webkit.JsPromptResult;
|
||||
import android.webkit.JsResult;
|
||||
import android.webkit.WebChromeClient;
|
||||
import android.webkit.WebView;
|
||||
import android.webkit.WebViewClient;
|
||||
import android.widget.EditText;
|
||||
import android.widget.TextView;
|
||||
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.widget.ProgressView;
|
||||
import okhttp3.Cookie;
|
||||
import okhttp3.HttpUrl;
|
||||
|
||||
public class UConfigActivity extends ToolbarActivity {
|
||||
|
||||
private WebView webView;
|
||||
private ProgressView progress;
|
||||
private String url;
|
||||
private boolean loaded;
|
||||
|
||||
@SuppressLint("SetJavaScriptEnabled")
|
||||
@Override
|
||||
protected void onCreate(@Nullable Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
// http://stackoverflow.com/questions/32284642/how-to-handle-an-uncatched-exception
|
||||
CookieManager cookieManager = CookieManager.getInstance();
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
||||
cookieManager.flush();
|
||||
cookieManager.removeAllCookies(null);
|
||||
cookieManager.removeSessionCookies(null);
|
||||
} else {
|
||||
CookieSyncManager cookieSyncManager = CookieSyncManager.createInstance(this);
|
||||
cookieSyncManager.startSync();
|
||||
cookieManager.removeAllCookie();
|
||||
cookieManager.removeSessionCookie();
|
||||
cookieSyncManager.stopSync();
|
||||
}
|
||||
|
||||
// Copy cookies from okhttp cookie store to CookieManager
|
||||
url = EhUrl.getUConfigUrl();
|
||||
EhCookieStore store = EhApplication.getEhCookieStore(this);
|
||||
for (Cookie cookie : store.getCookies(HttpUrl.parse(url))) {
|
||||
cookieManager.setCookie(url, cookie.toString());
|
||||
}
|
||||
|
||||
setContentView(R.layout.activity_u_config);
|
||||
setNavigationIcon(R.drawable.v_arrow_left_dark_x24);
|
||||
webView = (WebView) findViewById(R.id.webview);
|
||||
webView.getSettings().setJavaScriptEnabled(true);
|
||||
webView.setWebViewClient(new UConfigWebViewClient());
|
||||
webView.setWebChromeClient(new UConfigWebChromeClient());
|
||||
webView.loadUrl(url);
|
||||
progress = (ProgressView) findViewById(R.id.progress);
|
||||
|
||||
Snackbar.make(webView, R.string.apply_tip, Snackbar.LENGTH_LONG).show();
|
||||
}
|
||||
|
||||
private void apply() {
|
||||
webView.loadUrl("javascript:"
|
||||
+ "(function() {\n"
|
||||
+ " var apply = document.getElementById(\"apply\").children[0];\n"
|
||||
+ " apply.click();\n"
|
||||
+ "})();");
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onCreateOptionsMenu(Menu menu) {
|
||||
super.onCreateOptionsMenu(menu);
|
||||
getMenuInflater().inflate(R.menu.activity_u_config, menu);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onOptionsItemSelected(MenuItem item) {
|
||||
switch (item.getItemId()) {
|
||||
case android.R.id.home:
|
||||
finish();
|
||||
return true;
|
||||
case R.id.action_apply:
|
||||
if (loaded) {
|
||||
apply();
|
||||
}
|
||||
return true;
|
||||
default:
|
||||
return super.onOptionsItemSelected(item);
|
||||
}
|
||||
}
|
||||
|
||||
private Cookie longLive(Cookie cookie) {
|
||||
return new Cookie.Builder()
|
||||
.name(cookie.name())
|
||||
.value(cookie.value())
|
||||
.domain(cookie.domain())
|
||||
.path(cookie.path())
|
||||
.expiresAt(Long.MAX_VALUE)
|
||||
.build();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onDestroy() {
|
||||
super.onDestroy();
|
||||
webView.destroy();
|
||||
|
||||
// Put cookies back to okhttp cookie store
|
||||
CookieManager cookieManager = CookieManager.getInstance();
|
||||
String cookiesString = cookieManager.getCookie(url);
|
||||
|
||||
if (cookiesString != null && !cookiesString.isEmpty()) {
|
||||
EhCookieStore store = EhApplication.getEhCookieStore(this);
|
||||
HttpUrl eUrl = HttpUrl.parse(EhUrl.HOST_E);
|
||||
HttpUrl exUrl = HttpUrl.parse(EhUrl.HOST_EX);
|
||||
|
||||
// The cookies saved in the uconfig page should be shared between e and ex
|
||||
for (String header : cookiesString.split(";")) {
|
||||
Cookie eCookie = Cookie.parse(eUrl, header);
|
||||
if (eCookie != null) {
|
||||
store.addCookie(longLive(eCookie));
|
||||
}
|
||||
|
||||
Cookie exCookie = Cookie.parse(exUrl, header);
|
||||
if (exCookie != null) {
|
||||
store.addCookie(longLive(exCookie));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private class UConfigWebViewClient extends WebViewClient {
|
||||
@Override
|
||||
public boolean shouldOverrideUrlLoading(WebView view, String url) {
|
||||
// Never load other urls
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onPageStarted(WebView view, String url, Bitmap favicon) {
|
||||
progress.setVisibility(View.VISIBLE);
|
||||
loaded = false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onPageFinished(WebView view, String url) {
|
||||
progress.setVisibility(View.GONE);
|
||||
loaded = true;
|
||||
}
|
||||
}
|
||||
|
||||
private class UConfigWebChromeClient extends WebChromeClient {
|
||||
|
||||
private Context context = UConfigActivity.this;
|
||||
|
||||
@Override
|
||||
public boolean onJsPrompt(WebView view, String url, String message, String defaultValue,
|
||||
final JsPromptResult result) {
|
||||
|
||||
View promptView = UConfigActivity.this.getLayoutInflater()
|
||||
.inflate(R.layout.dialog_js_prompt, null, false);
|
||||
TextView messageView = (TextView) promptView.findViewById(R.id.message);
|
||||
messageView.setText(message);
|
||||
final EditText valueView = (EditText) promptView.findViewById(R.id.value);
|
||||
valueView.setText(defaultValue);
|
||||
|
||||
new AlertDialog.Builder(context)
|
||||
.setView(promptView)
|
||||
.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(DialogInterface dialog, int which) {
|
||||
result.confirm(valueView.getText().toString());
|
||||
}
|
||||
})
|
||||
.setOnCancelListener(new DialogInterface.OnCancelListener() {
|
||||
@Override
|
||||
public void onCancel(DialogInterface dialog) {
|
||||
result.cancel();
|
||||
}
|
||||
})
|
||||
.show();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
private void showMessageDialog(String message, final JsResult result) {
|
||||
new AlertDialog.Builder(context)
|
||||
.setMessage(message)
|
||||
.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(DialogInterface dialog, int which) {
|
||||
result.confirm();
|
||||
}
|
||||
})
|
||||
.setOnCancelListener(new DialogInterface.OnCancelListener() {
|
||||
@Override
|
||||
public void onCancel(DialogInterface dialog) {
|
||||
result.cancel();
|
||||
}
|
||||
})
|
||||
.show();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onJsAlert(WebView view, String url, String message, final JsResult result) {
|
||||
showMessageDialog(message, result);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onJsConfirm(WebView view, String url, String message, final JsResult result) {
|
||||
showMessageDialog(message, result);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -635,7 +635,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 +1092,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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -903,6 +887,8 @@ public class FavoritesScene extends BaseScene implements
|
||||
mHelper.setPages(taskId, 0);
|
||||
mHelper.onGetPageData(taskId, Collections.EMPTY_LIST);
|
||||
} else {
|
||||
mFavLocalCount = list.size();
|
||||
Settings.putFavLocalCount(mFavLocalCount);
|
||||
mHelper.setPages(taskId, 1);
|
||||
mHelper.onGetPageData(taskId, list);
|
||||
}
|
||||
@@ -1144,7 +1130,7 @@ public class FavoritesScene extends BaseScene implements
|
||||
private final int mTaskId;
|
||||
private final String mKeyword;
|
||||
|
||||
public AddFavoritesListener(Context context, int stageId,
|
||||
private AddFavoritesListener(Context context, int stageId,
|
||||
String sceneTag, int taskId, String keyword) {
|
||||
super(context, stageId, sceneTag);
|
||||
mTaskId = taskId;
|
||||
@@ -1183,7 +1169,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 +1181,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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -38,6 +38,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 ||
|
||||
|
||||
@@ -709,7 +709,7 @@ public class ContentLayout extends FrameLayout {
|
||||
}
|
||||
|
||||
public void showText(CharSequence text) {
|
||||
mTipView.setText(text);
|
||||
mTipView.setText(text + "\n\n" + getContext().getString(R.string.help_route));
|
||||
mViewTransition.showView(2);
|
||||
}
|
||||
|
||||
|
||||
@@ -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_dark"
|
||||
android:pathData="@string/pd_check"/>
|
||||
|
||||
</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>
|
||||
@@ -0,0 +1,38 @@
|
||||
<?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"
|
||||
android:animateLayoutChanges="true">
|
||||
|
||||
<WebView
|
||||
android:id="@+id/webview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
|
||||
<com.hippo.widget.ProgressView
|
||||
android:id="@+id/progress"
|
||||
style="@style/ProgressView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:visibility="gone"/>
|
||||
|
||||
</FrameLayout>
|
||||
@@ -150,6 +150,13 @@
|
||||
android:text="@string/settings_read_show_battery"
|
||||
android:textColor="@color/primary_text_dark"/>
|
||||
|
||||
<android.support.v7.widget.SwitchCompat
|
||||
android:id="@+id/show_page_interval"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/settings_read_show_page_interval"
|
||||
android:textColor="@color/primary_text_dark"/>
|
||||
|
||||
<android.support.v7.widget.SwitchCompat
|
||||
android:id="@+id/volume_page"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -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,38 @@
|
||||
<?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:padding="@dimen/keyline_margin">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/message"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/value"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/keyline_margin"
|
||||
android:inputType="text"/>
|
||||
|
||||
</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>
|
||||
@@ -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>
|
||||
@@ -0,0 +1,28 @@
|
||||
<?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.
|
||||
-->
|
||||
|
||||
<menu
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<item
|
||||
android:id="@+id/action_apply"
|
||||
android:icon="@drawable/v_check_dark_x24"
|
||||
android:title="@string/apply"
|
||||
app:showAsAction="always"/>
|
||||
|
||||
</menu>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
|
After Width: | Height: | Size: 644 B |
|
After Width: | Height: | Size: 539 B |
|
After Width: | Height: | Size: 484 B |
|
After Width: | Height: | Size: 358 B |
|
After Width: | Height: | Size: 747 B |
|
After Width: | Height: | Size: 732 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
@@ -26,31 +26,31 @@
|
||||
<string name="favourite">Favoritos</string>
|
||||
<string name="history">Historial</string>
|
||||
<string name="downloads">Descargas</string>
|
||||
<string name="settings">Configuraciones</string>
|
||||
<string name="settings">Configuración</string>
|
||||
|
||||
<string name="username">Usuario</string>
|
||||
<string name="password">Contraseña</string>
|
||||
|
||||
<string name="sign_in">Iniciar sesión</string>
|
||||
<string name="register">Registrarse</string>
|
||||
<string name="sign_in_via_webview">Iniciar sesión vía WebView</string>
|
||||
<string name="sign_in_via_webview">Iniciar sesión vía web</string>
|
||||
<string name="sign_in_via_cookies">Iniciar sesión vía cookies</string>
|
||||
<string name="display_name_dialog_title">Ingresa un nombre para mostrar</string>
|
||||
<string name="display_name">Nombre para mostrar</string>
|
||||
<string name="display_name_is_empty">El nombre a mostrar esta vacío</string>
|
||||
<string name="sign_in_first">Primero debes iniciar sesión</string>
|
||||
<string name="sign_in_first">Por favor, inicie sesión primero</string>
|
||||
|
||||
<string name="default_display_name">Little Hippo</string>
|
||||
|
||||
<string name="cookie_explain">Un cookie es una pequeña pieza de datos almacenados en el navegador web. Busque si no conoce lo que es o cómo obtenerlo.\n\nPor favor ingrese cookies especiales para iniciar sesión.</string>
|
||||
<string name="text_is_empty">El texto esta vacío</string>
|
||||
<string name="waring">Advertencia.</string>
|
||||
<string name="wrong_cookie_warning">Parece que las cookies que ingresaste son erróneas. Debe revisarlos.</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="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>
|
||||
<string name="i_will_check_it">Comprobar ahora</string>
|
||||
<string name="i_dont_think_so">No lo creo</string>
|
||||
<string name="found_cookies">¡Cookies encontradas!</string>
|
||||
|
||||
<string name="invalid_download_location">Parece que la ubicación de descarga no está disponible. Configure esta opción en configuraciones.</string>
|
||||
<string name="invalid_download_location">Parece que la ubicación de descarga no está disponible. Establece la ubicación en Configuración.</string>
|
||||
|
||||
<string name="cellular_network_warning">Conectado a redes móviles</string>
|
||||
|
||||
@@ -76,95 +76,94 @@
|
||||
<string name="error_invalid_url">Url invalida</string>
|
||||
<string name="error_get_ptoken_error">Error al obtener token</string>
|
||||
<string name="error_invalid_specify_gallery">Keyword should looks like \"618395 0439fa3666\" for specify gallery</string>
|
||||
<string name="error_cant_create_temp_file">Imposible crear archivo temporal.</string>
|
||||
<string name="error_cant_create_temp_file">Imposible crear archivo temporal</string>
|
||||
<string name="error_cant_save_image">Imposible guardar la imagen</string>
|
||||
<string name="error_invalid_number">Numero invalido</string>
|
||||
<string name="error_invalid_number">Número invalido</string>
|
||||
|
||||
<string name="app_waring">The content of this application is from the Internet. Some of it may do physical or mental harm to you. You have learnt the risks above and would like to undertake them.</string>
|
||||
<string name="app_waring">El contenido de esta aplicación es de Internet. Algunas de ellas pueden causarle daño psicológico. Ahora sabes los riesgos anteriormente mencionado y te gustaría asumirlos</string>
|
||||
<string name="error_username_cannot_empty">El usuario no puede estar vacío</string>
|
||||
<string name="skip_signing_in">Saltar inicio de sesión</string>
|
||||
<string name="sign_in_failed">Inicio de sesión fallido</string>
|
||||
<string name="sign_in_failed_plain">Tal ves sea debido a un error de actualización de el sitio web o algo mal sucedió.Pude intentar iniciar sesión vía WebView, ingresar una cookie o saltar el inicio de sesión presionando el boton de abajo.\nPero pude salir un \"Panda Triste\" después de saltar el inicio de sesión. Intente \"Ingresar via cookies\" primero si ha iniciado sesión en la versión 0.6.x de HeViewer.</string>
|
||||
<string name="press_twice_exit">Presione una ves más para salir</string>
|
||||
<string name="content_layout_restore_tip">Click para reintentar</string>
|
||||
<string name="write_rationale">EhViewer solicitara el permiso WRITE_EXTERNAL_STORAGE para descargar galerías. ¿Desea conceder el permiso?</string>
|
||||
<string name="you_rejected_me">Duele</string>
|
||||
<string name="sign_in_failed_plain">Tal ves sea debido a un error de actualización de el sitio web o algo mal sucedió. Puedes intentar iniciar sesión vía WebView, ingresar una cookie o saltar el inicio de sesión presionando el boton de abajo.\nEs posible que te salga un \"Panda Triste\" después de saltar el inicio de sesión. Intente \"Ingresar via cookies\" primero si ha iniciado sesión en la versión 0.6.x de HeViewer.</string>
|
||||
<string name="press_twice_exit">Presione una vez más para salir</string>
|
||||
<string name="content_layout_restore_tip">Puslar para reintentar</string>
|
||||
<string name="write_rationale">EhViewer solicitará el permiso WRITE_EXTERNAL_STORAGE para descargar galerías. ¿Desea conceder el permiso?</string>
|
||||
<string name="you_rejected_me">Me has rechazado :(</string>
|
||||
<string name="analytics_explain">Would you mind if the developer collected your device information and your usage? It will help the developer a lot.<br><br>Data analysis service is provided by Google Analytics. Its privacy policy can be found at <a href="https://www.google.com/policies/privacy/">https://www.google.com/policies/privacy/</a>.<br><br>If you agree to join data analysis, your device information and your usage will be collected, including but not limited to Android API version, equipment model, language residence, the application version, conversion time, function times. The developer promise that these information will NOT be collected, including phone number, e-mail address, IMEI.<br><br>Your information will not be collected until you agree to join data analysis.<br><br>The collected information will be analyzed by Google Analytics. The analysis report can only be viewed by the developer of this application.</string>
|
||||
<string name="get_it">Lo tengo</string>
|
||||
<string name="get_it">Entendido</string>
|
||||
<string name="accept">Aceptar</string>
|
||||
<string name="reject">Rechazar</string>
|
||||
|
||||
<!-- Crash -->
|
||||
<string name="send">Enviar</string>
|
||||
<string name="crash_explain">Esta aplicación se crasheó la ultima vez. ¿Desea enviarle un logcat al desarrollador para una mejor experiencia en el futuro? (vía e-mail)</string>
|
||||
<string name="crash_explain">Esta aplicación se cerró inesperadamente la ultima vez. ¿Desea enviarle un logcat (registro) al desarrollador para una mejor experiencia en el futuro? (vía e-mail)</string>
|
||||
|
||||
<!-- Select scene -->
|
||||
<string name="select_scene">¿Qué galería quiere seleccionar?</string>
|
||||
<string name="select_scene_explain">e-hentai: Disponible para cualquier persona.\nexhentai: Solo para usuarios que iniciaron sesión.</string>
|
||||
<string name="no_select">Por favor selecciona un sitio</string>
|
||||
<string name="select_scene">¿Qué galería deseas seleccionar?</string>
|
||||
<string name="select_scene_explain">e-hentai: Disponible para cualquiera .\nexhentai: Solo para usuarios que han iniciado sesión</string>
|
||||
<string name="no_select">Por favor seleccione un sitio</string>
|
||||
|
||||
<!-- Update -->
|
||||
<string name="update">Actualizar.</string>
|
||||
<string name="update">Actualizar</string>
|
||||
<string name="update_plain">Versión: %1$s\nSize: %2$s\n\n%3$s</string>
|
||||
<string name="update_to_date">EhViewer esta actualizado</string>
|
||||
<string name="update_to_date">EhViewer está actualizado</string>
|
||||
|
||||
<!-- Gallery List -->
|
||||
<string name="gallery_list_search_bar_hint_exhentai">Buscar ExHentai</string>
|
||||
<string name="gallery_list_search_bar_hint_e_hentai">Buscar E-Hentai</string>
|
||||
<string name="gallery_list_empty_hit">El Mundo es Grande y el panda está sentado solo</string>
|
||||
<string name="gallery_list_empty_hit">El mundo es grande y el panda está sentado solo</string>
|
||||
|
||||
<string name="search">Buscar</string>
|
||||
|
||||
<string name="keyword_search">Búsqueda por palabras clave</string>
|
||||
<string name="image_search">Búsqueda de Imagen</string>
|
||||
|
||||
<string name="search_normal">Búsqueda Normal</string>
|
||||
<string name="search_advance">Opciones Avanzadas</string>
|
||||
<string name="search_image">Búsqueda de Imágenes</string>
|
||||
<string name="search_normal_search">Búsqueda General</string>
|
||||
<string name="image_search">Búsqueda de imagen</string>
|
||||
<string name="search_normal">Búsqueda normal</string>
|
||||
<string name="search_advance">Opciones avanzadas</string>
|
||||
<string name="search_image">Búsqueda de imágenes</string>
|
||||
<string name="search_normal_search">Búsqueda general</string>
|
||||
<string name="search_specify_uploader">Uploader específicos</string>
|
||||
<string name="search_specify_tag">Etiquetas especificas</string>
|
||||
<string name="search_specify_gallery">Galerías Especificas</string>
|
||||
<string name="search_specify_tag">Etiquetas específicas</string>
|
||||
<string name="search_specify_gallery">Galerías específicas</string>
|
||||
<string name="search_enable_advance">Habilitar opciones avanzadas</string>
|
||||
|
||||
<string name="search_tip">Búsqueda Normal: Solo busca.\n\nUploader Especifico: Lista de galerías que subió el uploader. Otras opciones serán ignoradas.\n\nSpecify tag: List galleries which contains the tag. Only one tag accepted. Otras opciones serán ignoradas.\n\nGaleria Especifica: Ir a la Galería. La palabra clave debe ser \"gid token\".</string>
|
||||
<string name="search_tip">Búsqueda normal: Solo busca.\n\nUploader especifico: Listar de galerías subidas por el uploader. Otras opciones serán ignoradas.\n\nEtiquetas específicas: Listar las galerías que contienen la etiqueta. Solo se acepta una etiqueta. Otras opciones serán ignoradas.\n\nGalería especifica: Ir a la Galería. La palabra clave debe ser \"gid token\".</string>
|
||||
|
||||
<string name="search_sname">Buscar Galerías</string>
|
||||
<string name="search_stags">Buscar Etiquetas de Galerías</string>
|
||||
<string name="search_sdesc">Buscar Descripción de Galería</string>
|
||||
<string name="search_storr">Buscar por Nombres de Torrent</string>
|
||||
<string name="search_sto">Mostrar Solo Galerías con Torrents</string>
|
||||
<string name="search_sdt1">Buscar Etiquetas Low-Power</string>
|
||||
<string name="search_sname">Buscar galerías</string>
|
||||
<string name="search_stags">Buscar etiquetas de galería</string>
|
||||
<string name="search_sdesc">Buscar descripción de galería</string>
|
||||
<string name="search_storr">Buscar nombres de archivo torrent</string>
|
||||
<string name="search_sto">Mostrar solo galerías con torrents</string>
|
||||
<string name="search_sdt1">Buscar etiquetas Low-Power</string>
|
||||
<string name="search_sdt2">Buscar etiquetas pobres</string>
|
||||
<string name="search_sh">Mostrar Galerías Borradas</string>
|
||||
<string name="search_sr">Valoración Mínima:</string>
|
||||
<string name="search_sh">Mostrar galerías borradas</string>
|
||||
<string name="search_sr">Valoración mínima:</string>
|
||||
|
||||
<string name="select_image">Seleccionar Imagen</string>
|
||||
<string name="select_image">Seleccionar imagen</string>
|
||||
<string name="search_uss">Usar búsqueda similar</string>
|
||||
<string name="search_osc">Buscar solo portadas</string>
|
||||
<string name="search_se">Mostrar Borrados</string>
|
||||
<string name="search_se">Mostrar borrados</string>
|
||||
<string name="select_image_first">Seleccione la imagen primero</string>
|
||||
|
||||
<string name="quick_search">Búsqueda Rápida</string>
|
||||
<string name="quick_search_tip">Clic \"+\" para añadir a la búsqueda rápida</string>
|
||||
<string name="add_quick_search_dialog_title">Añadir Búsqueda Rápida</string>
|
||||
<string name="quick_search">Búsqueda rápida</string>
|
||||
<string name="quick_search_tip">Pulsar \"+\" para añadir a la búsqueda rápida</string>
|
||||
<string name="add_quick_search_dialog_title">Añadir búsqueda rápida</string>
|
||||
<string name="name_is_empty">Nombre vacío</string>
|
||||
<string name="delete_quick_search_title">Eliminar Búsqueda Rápida</string>
|
||||
<string name="delete_quick_search_message">Eliminar \"%s\"?</string>
|
||||
<string name="delete_quick_search_title">Eliminar búsqueda rápida</string>
|
||||
<string name="delete_quick_search_message">¿Eliminar \"%s\"?</string>
|
||||
<string name="no_quick_search">La búsqueda rápida se muestra acá</string>
|
||||
<string name="add_quick_search_tip">El estado de la lista de galerías se guardara como búsqueda rápida. Aplique la búsqueda primero si usted desea guardar el estado del panel de búsqueda.</string>
|
||||
<string name="readme">LEEME</string>
|
||||
<string name="image_search_not_quick_search">No se puede añadir la búsqueda por imágenes la la búsqueda rápida</string>
|
||||
<string name="add_quick_search_tip">El estado de la lista de galerías se guardará como búsqueda rápida. Aplique la búsqueda primero si desea guardar el estado del panel de búsqueda.</string>
|
||||
<string name="readme">LÉEME</string>
|
||||
<string name="image_search_not_quick_search">No se puede añadir la búsqueda de imágenes como búsqueda rápida</string>
|
||||
<string name="duplicate_quick_search">Búsqueda rápida duplicada. El nombre es \"%s\".</string>
|
||||
<string name="duplicate_name">Nombre duplicado existente</string>
|
||||
|
||||
<string name="go_to_hint">Pagina %1$d, total %2$d paginas</string>
|
||||
<string name="go_to_hint">Página %1$d, total %2$d páginas</string>
|
||||
|
||||
<!-- search_min_rating -->
|
||||
<string name="star_2">2 stars</string>
|
||||
<string name="star_3">3 stars</string>
|
||||
<string name="star_4">4 stars</string>
|
||||
<string name="star_5">5 stars</string>
|
||||
<string name="star_2">2 estrellas</string>
|
||||
<string name="star_3">3 estrellas</string>
|
||||
<string name="star_4">4 estrellas</string>
|
||||
<string name="star_5">5 estrellas</string>
|
||||
|
||||
<!-- Gallery detail -->
|
||||
<string name="error_cannot_find_gallery">No se encuentra la galería</string>
|
||||
@@ -172,8 +171,8 @@
|
||||
<string name="read">Leer</string>
|
||||
<string name="more_information">Más información</string>
|
||||
<plurals name="page_count">
|
||||
<item quantity="one">%d page</item>
|
||||
<item quantity="other">%d pages</item>
|
||||
<item quantity="one">%d páginas</item>
|
||||
<item quantity="other">%d páginas</item>
|
||||
</plurals>
|
||||
<string name="favored_times">\u2665 %d</string>
|
||||
<string name="rating_text">%1$s (%2$.2f, %3$d)</string>
|
||||
@@ -182,7 +181,7 @@
|
||||
<string name="share">Compartir</string>
|
||||
<string name="rate">Valorar</string>
|
||||
<string name="similar_gallery">Similar</string>
|
||||
<string name="search_cover">Buscar Portada</string>
|
||||
<string name="search_cover">Buscar portada</string>
|
||||
<string name="no_tags">Sin etiquetas</string>
|
||||
<string name="no_comments">Sin comentarios</string>
|
||||
<string name="no_more_comments">No hay más comentarios</string>
|
||||
@@ -190,73 +189,73 @@
|
||||
<string name="no_previews">Sin vistas previas</string>
|
||||
<string name="no_more_previews">No hay más vistas previas</string>
|
||||
<string name="more_previews">Más vistas previas</string>
|
||||
<string name="refresh">Refrescar</string>
|
||||
<string name="open_in_other_app">Abrir en otra app</string>
|
||||
<string name="rate_successfully">Valoración Completada</string>
|
||||
<string name="refresh">Actualizar</string>
|
||||
<string name="open_in_other_app">Abrir en otra aplicación</string>
|
||||
<string name="rate_successfully">Valoración completada</string>
|
||||
<string name="rate_failed">Valoración fallida</string>
|
||||
<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="add_favorites_dialog_title">Añadir a Favoritos</string>
|
||||
<string name="remember_favorite_collection">Recordar 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>
|
||||
<string name="add_to_favorite_failure">No se a podido agregar a favoritos</string>
|
||||
<string name="add_to_favorite_failure">No se ha podido agregar a favoritos</string>
|
||||
<string name="remove_from_favorite_failure">Error al borrar de favoritos</string>
|
||||
<string name="block_the_uploader">Añadir el cargador \"%s\" a la lista de filtros?</string>
|
||||
<string name="block_the_uploader">¿Añadir el uploader \"%s\" a la lista de filtros?</string>
|
||||
<string name="filter_added">Filtro añadido</string>
|
||||
|
||||
<!-- Rating -->
|
||||
<string name="rating10">PIEZA MAESTRA</string>
|
||||
<string name="rating9">INGREIBLE</string>
|
||||
<string name="rating10">OBRA MAESTRA</string>
|
||||
<string name="rating9">ASOMBROSO</string>
|
||||
<string name="rating8">GRANDIOSO</string>
|
||||
<string name="rating7">BUENO</string>
|
||||
<string name="rating6">OKAY</string>
|
||||
<string name="rating6">DECENTE</string>
|
||||
<string name="rating5">MEDIOCRE</string>
|
||||
<string name="rating4">MALO</string>
|
||||
<string name="rating3">HORRIBLE</string>
|
||||
<string name="rating2">DOLOROSO</string>
|
||||
<string name="rating1">INAGUANTABLE</string>
|
||||
<string name="rating1">INSORPOTABLE</string>
|
||||
<string name="rating0">DESASTRE</string>
|
||||
|
||||
<!-- Gallery Info -->
|
||||
<string name="gallery_info">Información de la Galería</string>
|
||||
<string name="gallery_info">Información de la galería</string>
|
||||
<string name="copied_to_clipboard">Copiado al portapapeles</string>
|
||||
<string name="header_key">Clave</string>
|
||||
<string name="header_value">Valor</string>
|
||||
<string name="key_gid">Guía</string>
|
||||
<string name="key_token">Clave</string>
|
||||
<string name="key_url">Url</string>
|
||||
<string name="key_url">URL</string>
|
||||
<string name="key_title">Título</string>
|
||||
<string name="key_title_jpn">Título Japonés</string>
|
||||
<string name="key_thumb">Thumb</string>
|
||||
<string name="key_title_jpn">Título en japonés</string>
|
||||
<string name="key_thumb">Miniatura</string>
|
||||
<string name="key_category">Categoría</string>
|
||||
<string name="key_uploader">Uploader</string>
|
||||
<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_pages">Paginas</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>
|
||||
<string name="key_favorited">Favorito</string>
|
||||
<string name="key_rating_count">Número de Valoraciones</string>
|
||||
<string name="key_rating">Rating</string>
|
||||
<string name="key_rating_count">Número de valoraciones</string>
|
||||
<string name="key_rating">Valoración</string>
|
||||
<string name="key_torrents">Torrents</string>
|
||||
<string name="key_torrent_url">Url de Torrent</string>
|
||||
<string name="key_torrent_url">Url de torrent</string>
|
||||
|
||||
<!-- Gallery Comments -->
|
||||
<string name="gallery_comments">Comentarios de la Galería</string>
|
||||
<string name="gallery_comments">Comentarios de la galería</string>
|
||||
<string name="no_one_comments_gallery">Sin comentarios en esta galería</string>
|
||||
<string name="comment_successfully">Comentario exitoso</string>
|
||||
<string name="copy_comment_text">Copiar el texto del comentario</string>
|
||||
<string name="vote_up">Voto positivo</string>
|
||||
<string name="cancel_vote_up">Cancelar voto positivo</string>
|
||||
<string name="vote_down">Voto negativo</string>
|
||||
<string name="comment_successfully">Comentario publicado</string>
|
||||
<string name="copy_comment_text">Copiar texto de comentario</string>
|
||||
<string name="vote_up">Votar positivo</string>
|
||||
<string name="cancel_vote_up">Cancelar voto</string>
|
||||
<string name="vote_down">Votar negativo</string>
|
||||
<string name="vote_up_successfully">Voto positivo completado</string>
|
||||
<string name="cancel_vote_up_successfully">Voto positivo cancelado satisfactoriamente</string>
|
||||
<string name="vote_down_successfully">Vote negativo completado</string>
|
||||
<string name="cancel_vote_down_successfully">Voto negativo cancelado satisfactoriamente</string>
|
||||
<string name="cancel_vote_up_successfully">Voto cancelado</string>
|
||||
<string name="vote_down_successfully">Voto negativo completado</string>
|
||||
<string name="cancel_vote_down_successfully">Voto cancelado</string>
|
||||
<string name="vote_failed">Voto fallido</string>
|
||||
<string name="check_vote_status">Verificar estado del voto</string>
|
||||
|
||||
@@ -265,78 +264,78 @@
|
||||
<string name="go_to">Ir a</string>
|
||||
|
||||
<!-- Download -->
|
||||
<string name="scene_download_title">Descargar - %s</string>
|
||||
<string name="no_download_info">Las descargas de archivos se mostraran acá</string>
|
||||
<string name="scene_download_title">Descargas - %s</string>
|
||||
<string name="no_download_info">Las descargas de galerías se muestran acá</string>
|
||||
<string name="download_state_wait">Esperando</string>
|
||||
<string name="download_state_downloading">Descargando</string>
|
||||
<string name="download_state_downloaded">Descargado</string>
|
||||
<string name="download_state_failed_2">%d incompleto</string>
|
||||
<string name="download_state_finish">Completada</string>
|
||||
<string name="download_state_finish">Completado</string>
|
||||
<string name="stat_509_alert_title">Alerta 509</string>
|
||||
<string name="stat_509_alert_text">Limite de imagen alcanzado. Por favor deje de descargar y espere un poco.</string>
|
||||
<string name="stat_download_done_title">Descarga Terminada.</string>
|
||||
<string name="stat_download_done_text_succeeded">%d Completado</string>
|
||||
<string name="stat_509_alert_text">Se alcanzó el límite de imágenes. Detenga la descarga y espere un poco</string>
|
||||
<string name="stat_download_done_title">Descarga completada</string>
|
||||
<string name="stat_download_done_text_succeeded">%d completada</string>
|
||||
<string name="stat_download_done_text_failed">%d fallido</string>
|
||||
<string name="stat_download_done_text_mix">%1$d completado, %2$d fallido</string>
|
||||
<string name="stat_download_done_line_succeeded">Completado: %s</string>
|
||||
<string name="stat_download_done_line_failed">Fallido: %s</string>
|
||||
<string name="download_remove_dialog_title">Borrar elemento descargado</string>
|
||||
<string name="download_remove_dialog_message">Borrar %s de la lista de descarga ?</string>
|
||||
<string name="download_remove_dialog_message_2">Borrar %d elementos de la lista de descarga?</string>
|
||||
<string name="download_remove_dialog_check_text">Eliminar imágenes</string>
|
||||
<string name="download_remove_dialog_title">Borrar galería descargada</string>
|
||||
<string name="download_remove_dialog_message">¿Borrar %s de la lista de descargas?</string>
|
||||
<string name="download_remove_dialog_message_2">¿Borrar %d galerías de la lista de descargas?</string>
|
||||
<string name="download_remove_dialog_check_text">Borrar imágenes</string>
|
||||
<string name="stat_download_action_stop_all">Detener todo</string>
|
||||
<string name="drawer_download_label_title">Etiquetas</string>
|
||||
<string name="default_download_label_name">Predeterminado.</string>
|
||||
<string name="default_download_label_name">Predeterminado</string>
|
||||
<string name="download_move_dialog_title">Mover</string>
|
||||
<string name="download_labels">Descargar etiquetas</string>
|
||||
<string name="download_start_all">Iniciar todo</string>
|
||||
<string name="download_stop_all">Detener todo</string>
|
||||
<string name="download_service_label">EhViewer Servicio de Descarga</string>
|
||||
<string name="download_service_label">Servicio de descarga EhViewer</string>
|
||||
<string name="download_speed_text">%s</string>
|
||||
<string name="download_speed_text_2">%1$s, %2$s izquierda</string>
|
||||
<string name="remember_download_label">Recordar descargas</string>
|
||||
<string name="download_speed_text_2">%1$s, %2$s restantes</string>
|
||||
<string name="remember_download_label">Recordar etiqueta de descarga</string>
|
||||
<string name="default_download_label">Etiqueta predeterminada de descarga</string>
|
||||
<string name="added_to_download_list">Añadido a la lista de descargas</string>
|
||||
|
||||
<!-- Download label -->
|
||||
<string name="no_download_label">Las etiquetas de descarga se mostraran acá</string>
|
||||
<string name="no_download_label">Las etiquetas de descarga se muestran acá</string>
|
||||
<string name="add">Añadir</string>
|
||||
<string name="new_label_title">Nueva etiqueta</string>
|
||||
<string name="label_text_is_empty">Nombre de la etiqueta vacia</string>
|
||||
<string name="label_text_is_invalid">\"Defecto\" Es una etiqueta invalida</string>
|
||||
<string name="label_text_is_empty">Nombre de la etiqueta vacía</string>
|
||||
<string name="label_text_is_invalid">\"Defecto\" es una etiqueta invalida</string>
|
||||
<string name="label_text_exist">Etiqueta existente</string>
|
||||
<string name="rename_label_title">Renombrar etiqueta</string>
|
||||
<string name="delete_label_title">Eliminar etiqueta</string>
|
||||
<string name="delete_label_message">Eliminar \"%s\"?</string>
|
||||
<string name="delete_label_message">¿Eliminar \"%s\"?</string>
|
||||
|
||||
<!-- History -->
|
||||
<string name="no_history">El historial de lectura esta acá</string>
|
||||
<string name="clear_all_history">Limpiar todo el historial?</string>
|
||||
<string name="no_history">Las galerías visualizadas se muestran aquí</string>
|
||||
<string name="clear_all_history">¿Limpiar historial?</string>
|
||||
|
||||
<!-- Filter -->
|
||||
<string name="filter">Filtros</string>
|
||||
<string name="no_filter">Los filtros se mostrarán acá</string>
|
||||
<string name="filter_title">Titulo</string>
|
||||
<string name="no_filter">Los filtros se muestran acá</string>
|
||||
<string name="filter_title">Título</string>
|
||||
<string name="filter_uploader">Uploader</string>
|
||||
<string name="filter_tag">Tag</string>
|
||||
<string name="filter_tag_namespace">Tag namespace</string>
|
||||
<string name="delete_title_filter">Eliminar filtro de titulo \"%s\"?</string>
|
||||
<string name="delete_uploader_filter">Eliminar filtros de uploader \"%s\"?</string>
|
||||
<string name="delete_tag_filter">Eliminar filtro de etiquetas \"%s\"?</string>
|
||||
<string name="delete_filter">Eliminar filtro \"%s\"?</string>
|
||||
<string name="tip">Tip</string>
|
||||
<string name="add_filter">Añadir Filtros</string>
|
||||
<string name="show_definition">Mostrar definicion</string>
|
||||
<string name="filter_text">Filter text</string>
|
||||
<string name="filter_tip">Title Filter: exclude the gallery whose title contains the word.\n\nUploader Filter: exclude the gallery which was uploaded by the uploader.\n\nTag Filter: exclude the gallery which contain the tag, it takes more time to get gallery list.\n\nTag Namespace Filter: exclude the gallery which contain the tag namespace, it takes more time to get gallery list.</string>
|
||||
<string name="filter_tag">Etiqueta</string>
|
||||
<string name="filter_tag_namespace">Etiqueta de espacio de nombres</string>
|
||||
<string name="delete_title_filter">¿Eliminar filtro de título \"%s\"?</string>
|
||||
<string name="delete_uploader_filter">¿Eliminar filtro de uploader \"%s\"?</string>
|
||||
<string name="delete_tag_filter">¿Eliminar filtro de etiquetas \"%s\"?</string>
|
||||
<string name="delete_filter">¿Eliminar filtro \"%s\"?</string>
|
||||
<string name="tip">Sugerencia</string>
|
||||
<string name="add_filter">Añadir filtro</string>
|
||||
<string name="show_definition">Mostrar definición</string>
|
||||
<string name="filter_text">Filtro de texto</string>
|
||||
<string name="filter_tip">Filtro de título: excluye la galería cuyo título contiene la palabra.\n\nFiltro de uploader: excluye las galerías subidas por el uploader.\n\nFiltro de etiquetas: excluye la galería que contiene la etiqueta, toma más tiempo para cargar la lista de galerías.\n\nFiltro de etiqueta de nombre de espacio: excluye la galería que contiene el espacio de nombres de la etiqueta, toma más tiempo para cargar la lista de galerías.</string>
|
||||
|
||||
<!-- Set Security -->
|
||||
<string name="set_pattern_protection">Establecer protección por patrón</string>
|
||||
<string name="set_pattern_protection_tip">Dibuje un patrón para establecer la protección por patrón. \nDejar en blanco para quitar la protección por patrón.</string>
|
||||
<string name="set_pattern_protection_tip">Dibuje un patrón para establecer la protección por patrón. \nDéjelo en blanco para quitar la protección por patrón</string>
|
||||
<string name="set">Establecer</string>
|
||||
|
||||
<!-- Gallery Activity -->
|
||||
<string name="page_menu_title">Pagina %d</string>
|
||||
<string name="page_menu_title">Página %d</string>
|
||||
<string name="page_menu_refresh">@string/refresh</string>
|
||||
<string name="page_menu_share">@string/share</string>
|
||||
<string name="page_menu_save">Guardar</string>
|
||||
@@ -346,13 +345,13 @@
|
||||
<string name="image_saved">Imagen guardada en %s</string>
|
||||
|
||||
<string name="settings_eh">EH</string>
|
||||
<string name="settings_eh_sign_out">Cerrar sesión.</string>
|
||||
<string name="settings_eh_sign_out_summary">Reiniciar la aplicación para inicia sesion</string>
|
||||
<string name="settings_eh_sign_out_warning">¿Esta seguro de cerrar sesión?</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_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_gallery_site">Sitio de la Galería</string>
|
||||
<string name="settings_eh_list_mode">Modo de Lista</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>
|
||||
@@ -364,34 +363,34 @@
|
||||
<string name="settings_eh_thumb_size_small">Pequeño</string>
|
||||
<string name="settings_eh_thumb_resolution">Resolución de vista previa</string>
|
||||
<string name="settings_eh_thumb_resolution_summary">%s, las resoluciones especiales podrían causar errores en la vista previa</string>
|
||||
<string name="settings_eh_thumb_resolution_auto">Auto</string>
|
||||
<string name="settings_eh_thumb_resolution_auto">Automático</string>
|
||||
<string name="settings_eh_fix_thumb_url">Reparar URL de vistas previas</string>
|
||||
<string name="settings_eh_default_categories">Categorías en la página de inicio</string>
|
||||
<string name="settings_eh_default_categories_summary">Las categorías que se muestran en la página de inicio por defecto.</string>
|
||||
<string name="settings_eh_default_categories_summary">Categorías que se muestran en la página de inicio por defecto.</string>
|
||||
<string name="settings_eh_excluded_languages">Idiomas excluidos</string>
|
||||
<string name="settings_eh_excluded_languages_summary">Ocultar galerías en ciertos idiomas de las búsquedas y la lista de galerías</string>
|
||||
<string name="settings_eh_excluded_tag_namespaces">Excluir etiquetas variables</string>
|
||||
<string name="settings_eh_excluded_tag_namespaces_summary">Excluir ciertas variables de una búsqueda de etiquetas por defecto</string>
|
||||
<string name="settings_eh_excluded_languages_summary">Ocultar galerías en ciertos idiomas de la lista de galerías y búsquedas</string>
|
||||
<string name="settings_eh_excluded_tag_namespaces">Excluir etiquetas espacios de nombres</string>
|
||||
<string name="settings_eh_excluded_tag_namespaces_summary">Excluir ciertos espacios de nombres de una búsqueda de etiquetas por defecto</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">Sin Establecer</string>
|
||||
<string name="settings_eh_show_jpn_title">Mostrar titulo en japonés</string>
|
||||
<string name="settings_eh_show_jpn_title_summary_on">Intentar mostrar titulo en japonés. Pude tomar más tiempo en cargar la lista de galerías</string>
|
||||
<string name="settings_eh_show_jpn_title_summary_off">Mostrar titulo por defecto, usualmente es en ingles</string>
|
||||
<string name="settings_eh_hath_proxy_summary_2">Sin establecer</string>
|
||||
<string name="settings_eh_show_jpn_title">Mostrar título en japonés</string>
|
||||
<string name="settings_eh_show_jpn_title_summary_on">Intentar mostrar títulos en japonés. Tomará más tiempo en cargar la lista de galerías</string>
|
||||
<string name="settings_eh_show_jpn_title_summary_off">Mostrar títulos por defecto, usualmente es en inglés</string>
|
||||
<string name="settings_eh_filter">Filtros</string>
|
||||
<string name="settings_eh_filter_summary">Filtrar por titulo, uploader,etiqueta y etiquetas variables</string>
|
||||
<string name="settings_eh_filter_summary">Filtrar por titulo, uploader, etiqueta y etiquetas variables</string>
|
||||
<string name="settings_eh_cellular_network_warning">Advertencia de redes moviles</string>
|
||||
|
||||
<string name="settings_read">Leer</string>
|
||||
<string name="settings_read">Lectura</string>
|
||||
<string name="settings_read_screen_rotation">Orientación de la pantalla</string>
|
||||
<string name="settings_read_screen_rotation_default">Defecto</string>
|
||||
<string name="settings_read_screen_rotation_portrait">Retrato</string>
|
||||
<string name="settings_read_screen_rotation_landscape">Paisaje</string>
|
||||
<string name="settings_read_reading_direction">Dirección de lectura</string>
|
||||
<string name="settings_read_reading_direction_left_to_right">Izquierda a Derecha</string>
|
||||
<string name="settings_read_reading_direction_right_to_Left">Derecha a Izquierda</string>
|
||||
<string name="settings_read_reading_direction_top_to_bottom">Arriba hacia Abajo</string>
|
||||
<string name="settings_read_page_scaling">Escala de pagina</string>
|
||||
<string name="settings_read_reading_direction_left_to_right">Izquierda a derecha</string>
|
||||
<string name="settings_read_reading_direction_right_to_Left">Derecha a izquierda</string>
|
||||
<string name="settings_read_reading_direction_top_to_bottom">Arriba hacia abajo</string>
|
||||
<string name="settings_read_page_scaling">Escala de página</string>
|
||||
<string name="settings_read_page_scaling_actual_size">Tamaño actual</string>
|
||||
<string name="settings_read_page_scaling_fit_to_width">Ajustar a lo ancho</string>
|
||||
<string name="settings_read_page_scaling_fit_to_height">Ajustar a la altura</string>
|
||||
@@ -407,8 +406,8 @@
|
||||
<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">Usar teclas de volumen para pasar paginas</string>
|
||||
<string name="settings_read_reading_fullscreen">Pantalla Completa</string>
|
||||
<string name="settings_read_volume_page">Pasar páginas con tecla de 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>
|
||||
|
||||
@@ -421,58 +420,58 @@
|
||||
<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">Por favor mantenga sus aplicaciones de galeria lejor de otras personas (si no quiere que vean sus descargas)</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_multi_thread_download">Multi hilos al descargar</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_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 no funcionar</string>
|
||||
<string name="settings_download_image_resolution_summary">%s, resoluciones mayores a 1280x podrían dar error</string>
|
||||
<string name="settings_download_image_resolution_auto">Auto</string>
|
||||
<string name="settings_download_download_origin_image">Descargar imagen original</string>
|
||||
<string name="settings_download_download_origin_image_summary">Es peligroso! Puede obtener el error 509</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_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_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 redundantes</string>
|
||||
<string name="settings_download_clean_redundancy_summary">Eliminar galería de imágenes si no esta en la lista de descargas pero si en la direccion de descargas</string>
|
||||
<string name="settings_download_clean_redundancy_no_redundancy">Sin redundancia</string>
|
||||
<string name="settings_download_clean_redundancy_done">Borrado de redundancia completado, Borrados %d elemtos totales</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_advanced">Avanzado</string>
|
||||
<string name="settings_advanced_save_parse_error_body">Guardar contenido en HTML al analizar el error</string>
|
||||
<string name="settings_advanced_save_parse_error_body_summary">El contenido HTML puede ser sensible a la privacidad</string>
|
||||
<string name="settings_advanced_dump_logcat">Dump logcat</string>
|
||||
<string name="settings_advanced_dump_logcat">Guardado de logcat</string>
|
||||
<string name="settings_advanced_dump_logcat_summary">Guardar logcat en almacenamiento externo</string>
|
||||
<string name="settings_advanced_dump_logcat_failed">Dump logcat fallado</string>
|
||||
<string name="settings_advanced_dump_logcat_failed">Guardado de logcat fallido</string>
|
||||
<string name="settings_advanced_dump_logcat_to">Logcat guardado en %s</string>
|
||||
<string name="settings_advanced_clear_download_path_cache">Borrar cache de la ruta de descarga</string>
|
||||
<string name="settings_advanced_clear_download_path_cache_summary">Gallery download path might be wrong and it need to be redownload. Clearing download path cache might solve the problem.</string>
|
||||
<string name="settings_advanced_clear_download_path_cache_message">Borrar cache de la ruta de descarga?</string>
|
||||
<string name="settings_advanced_clear_memory_cache">Borrar cache de memoria</string>
|
||||
<string name="settings_advanced_clear_memory_cache_summary">Borrar vistas previas, galerías, información y cache de memoria</string>
|
||||
<string name="settings_advanced_read_cache_size">Leer el tamaño de la caché</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_clear_download_path_cache">Borrar caché de la ruta de descarga</string>
|
||||
<string name="settings_advanced_clear_download_path_cache_summary">La ruta de descarga de la galería podría ser incorrecta y necesita ser descargada de nuevo. Borrar el caché de la ruta de descarga debería resolver el problema</string>
|
||||
<string name="settings_advanced_clear_download_path_cache_message">¿Borrar caché de la ruta de descarga?</string>
|
||||
<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_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 raida, etc</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>
|
||||
<string name="settings_advanced_export_data_failed">Exportación de datos fallado</string>
|
||||
<string name="settings_advanced_import_data">importar datos</string>
|
||||
<string name="settings_advanced_import_data_summary">Cargar datos guardados anteriormente</string>
|
||||
<string name="settings_advanced_export_data_failed">Exportación de datos fallido</string>
|
||||
<string name="settings_advanced_import_data">Importar datos</string>
|
||||
<string name="settings_advanced_import_data_summary">Cargar datos que han sido guardado antes</string>
|
||||
<string name="settings_advanced_import_data_successfully">Importación de datos completo</string>
|
||||
|
||||
<string name="settings_about">Acerca de</string>
|
||||
<string name="settings_about_author">Autor</string>
|
||||
<string name="settings_about_google_plus">Comunidad en Google+</string>
|
||||
<string name="settings_about_website">PaginaWeb</string>
|
||||
<string name="settings_about_source">Código Fuente</string>
|
||||
<string name="settings_about_changelog">Registro de Cambios.</string>
|
||||
<string name="settings_about_source">Código fuente</string>
|
||||
<string name="settings_about_changelog">Registro de cambios</string>
|
||||
<string name="settings_about_help">Ayuda</string>
|
||||
<string name="settings_about_license">Licencia</string>
|
||||
<string name="settings_about_license_summary">EhViewer es posible gracias a varios proyectos de código abierto</string>
|
||||
@@ -480,12 +479,12 @@
|
||||
<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_beta_update_channel">Canal de actualizaciones Beta</string>
|
||||
<string name="settings_about_beta_update_channel_summary">Las versiones beta pueden fallar en tu dispositivo.</string>
|
||||
<string name="settings_about_check_for_updates">Verificar 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>
|
||||
|
||||
<string name="enable">Habilitar</string>
|
||||
<string name="enabled">Habilitado</string>
|
||||
@@ -507,9 +506,9 @@
|
||||
<string name="language">Idioma</string>
|
||||
<string name="original">Original</string>
|
||||
<string name="translated">Traducido</string>
|
||||
<string name="rewrite">Reescribir</string>
|
||||
<string name="language_japanese">Japones</string>
|
||||
<string name="language_english">ingles</string>
|
||||
<string name="rewrite">Reescrito</string>
|
||||
<string name="language_japanese">Japonés</string>
|
||||
<string name="language_english">Inglés</string>
|
||||
<string name="language_chinese">Chino</string>
|
||||
<string name="language_dutch">Holandés</string>
|
||||
<string name="language_french">Francés</string>
|
||||
@@ -535,78 +534,78 @@
|
||||
|
||||
<!-- Favorites -->
|
||||
<string name="cloud_favorites">Favoritos en la nube</string>
|
||||
<string name="local_favorites">Favoritos Locales</string>
|
||||
<string name="local_favorites">Favoritos locales</string>
|
||||
<string name="favorites_search_bar_hint">Buscar %s</string>
|
||||
<string name="favorites_title">%s</string>
|
||||
<string name="favorites_title_2">%1$s - %2$s</string>
|
||||
<string name="delete_favorites_dialog_title">Eliminar de favoritos</string>
|
||||
<string name="delete_favorites_dialog_message">Eliminar %d Elementos de favoritos?</string>
|
||||
<string name="delete_favorites_dialog_message">¿Eliminar %d galerías de favoritos?</string>
|
||||
<string name="move_favorites_dialog_title">Mover favoritos</string>
|
||||
<string name="default_favorites_collection">Colección de favoritos por defecto</string>
|
||||
<string name="let_me_select">Permiteme seleccionar</string>
|
||||
<string name="let_me_select">Déjame elegir</string>
|
||||
<string name="favorites_info">Información de favoritos</string>
|
||||
<string name="collections">Colecciones</string>
|
||||
<string name="need_sign_in">Inicio de sesión requerido</string>
|
||||
<string name="collections">Colección</string>
|
||||
<string name="need_sign_in">Se necesita iniciar sesión</string>
|
||||
|
||||
<!-- Progress Scene -->
|
||||
|
||||
<!-- Guide -->
|
||||
<string name="guide_quick_search_title">Búsqueda rápida</string>
|
||||
<string name="guide_quick_search_text">Desliza a la derecha para abrir el panel de búsqueda rápida</string>
|
||||
<string name="guide_collections_title">Colecciones</string>
|
||||
<string name="guide_collections_title">Colección</string>
|
||||
<string name="guide_collections_text">Desliza hacia la derecha para elegir favoritos</string>
|
||||
<string name="guide_download_labels_title">Descargas</string>
|
||||
<string name="guide_download_labels_text">Desliza hacia la derecha para abrir el panel de descarga</string>
|
||||
<string name="guide_download_thumb_title">Detalles de galería</string>
|
||||
<string name="guide_download_thumb_text">Clic en la imagen para ver detalles de la galería</string>
|
||||
<string name="guide_gallery_left">Giro de Pagina</string>
|
||||
<string name="guide_gallery_right">Giro de Pagina</string>
|
||||
<string name="guide_download_thumb_text">Pulsar en la imagen para ver detalles de la galería</string>
|
||||
<string name="guide_gallery_left">Cambiar de página</string>
|
||||
<string name="guide_gallery_right">Cambiar de página</string>
|
||||
<string name="guide_gallery_menu">Menú</string>
|
||||
<string name="guide_gallery_progress">Progreso</string>
|
||||
<string name="guide_gallery_long_click">Clic largo para abrir el menú de pagina</string>
|
||||
<string name="guide_gallery_long_click">Pulso largo para abrir el menú de página</string>
|
||||
|
||||
<!-- Readable Time -->
|
||||
<string name="from_the_future">Desde el futuro</string>
|
||||
<string name="just_now">Ahora!</string>
|
||||
<string name="just_now">Ahora</string>
|
||||
<plurals name="some_minutes_ago">
|
||||
<item quantity="one">A minute ago</item>
|
||||
<item quantity="other">%d minutes ago</item>
|
||||
<item quantity="one">Hace un minuto</item>
|
||||
<item quantity="other">Hace %d minutos</item>
|
||||
</plurals>
|
||||
<plurals name="some_hours_ago">
|
||||
<item quantity="one">An hour ago</item>
|
||||
<item quantity="other">%d hours ago</item>
|
||||
<item quantity="one">Hace una hora</item>
|
||||
<item quantity="other">Hace %d horas</item>
|
||||
</plurals>
|
||||
<string name="yesterday">Ayer.</string>
|
||||
<string name="some_days_ago">%d dias atras</string>
|
||||
<string name="yesterday">Ayer</string>
|
||||
<string name="some_days_ago">Hace %d días atrás</string>
|
||||
<plurals name="second">
|
||||
<item quantity="one">sec</item>
|
||||
<item quantity="other">secs</item>
|
||||
<item quantity="one">segundo</item>
|
||||
<item quantity="other">segundos</item>
|
||||
</plurals>
|
||||
<plurals name="minute">
|
||||
<item quantity="one">min</item>
|
||||
<item quantity="other">mins</item>
|
||||
<item quantity="one">minuto</item>
|
||||
<item quantity="other">minutos</item>
|
||||
</plurals>
|
||||
<plurals name="hour">
|
||||
<item quantity="one">hour</item>
|
||||
<item quantity="other">hours</item>
|
||||
<item quantity="one">hora</item>
|
||||
<item quantity="other">horas</item>
|
||||
</plurals>
|
||||
<plurals name="day">
|
||||
<item quantity="one">day</item>
|
||||
<item quantity="other">days</item>
|
||||
<item quantity="one">día</item>
|
||||
<item quantity="other">días</item>
|
||||
</plurals>
|
||||
<plurals name="year">
|
||||
<item quantity="one">year</item>
|
||||
<item quantity="other">years</item>
|
||||
<item quantity="one">año</item>
|
||||
<item quantity="other">años</item>
|
||||
</plurals>
|
||||
<string name="no_archives">Sin Archivos</string>
|
||||
<string name="no_archives">Sin archivos</string>
|
||||
<string name="download_archive_started">Descarga de archivos iniciada</string>
|
||||
<string name="download_archive_failure">Error al descargar archivo</string>
|
||||
<string name="download_archive_failure_no_hath">Necesita un cliente H@H para descargar archivo</string>
|
||||
<string name="add_to_favorite_success">Añadido a favoritos</string>
|
||||
<string name="add_to_favourites">Agregar a favoritos</string>
|
||||
<string name="cancel_vote_down">Cancelar voto negativo</string>
|
||||
<string name="clear_all">Limpiar Todo</string>
|
||||
<string name="comment_failed">Comentario Fallido</string>
|
||||
<string name="clear_all">Limpiar todo</string>
|
||||
<string name="comment_failed">Comentario fallido</string>
|
||||
<string name="count">Contar</string>
|
||||
<string name="archive">Archivo</string>
|
||||
<string name="delete">Eliminar</string>
|
||||
@@ -614,9 +613,10 @@
|
||||
<string name="directory_not_writable">No se puede escribir en el directorio</string>
|
||||
<string name="disabled">Deshabilitado</string>
|
||||
<string name="download_state_failed">Descarga fallida</string>
|
||||
<string name="download_state_none">Descarga Parada</string>
|
||||
<string name="error_password_cannot_empty">La contraseña no puede estar vacia</string>
|
||||
<string name="error_something_wrong_happened">Sucedió algo malo</string>
|
||||
<string name="download_state_none">Descarga en pausa</string>
|
||||
<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>
|
||||
|
||||
</resources>
|
||||
@@ -0,0 +1,634 @@
|
||||
<?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">Cookieは、ブラウザに格納された小さなデータです。Cookie及びその入手方法がかわからない場合は、Webで検索してください。\n\n特定のCookieを入力することでログインしてください。</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を入力するか、あるいはログインをスキップします。ログインをスキップするでアプリが正常に使用できなくなることがあります。0.6.xバージョンでログインした場合は、「Cookieでログイン」を選択することが推奨です。</string>
|
||||
<string name="press_twice_exit">もう一度押して終了</string>
|
||||
<string name="content_layout_restore_tip">クリックしてもう一度試す</string>
|
||||
<string name="write_rationale">EhViewerはギャラリーをダウンロードするためにデバイスのストレージへのアクセスを要求します。あなたは許可しますか?</string>
|
||||
<string name="you_rejected_me">痛い</string>
|
||||
<string name="analytics_explain">あなたは、開発者があなたのデバイスや使用状況に関する情報を収集できるように同意しますか?これは開発にとって大きな助けになります。<br><br>データ統計サービスはGoogleアナリティクスによって提供で、 <a href="https://www.google.com/policies/privacy/">https://www.google.com/policies/privacy/</a> にプライバシーポリシーを閲覧できます。<br><br>データ統計に参加することに同意すると、Android APIのバージョン、デバイスモデル、言語の場所、アプリのバージョン番号、セッションの長さ、使用するアプリの数など、デバイス情報とアプリの使用状況が記録されます。開発者は、電話番号、電子メールアドレス、IMEIの情報は記録しないことを約束します。<br><br>統計に参加することに同意するまで、あなたの情報は記録されません。<br><br>記録されたデータは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">トレントファイル名を検索</string>
|
||||
<string name="search_sto">トレントのあるギャラリーだけを表示</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">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">トレント数</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">賛成</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="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">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_kk">おかしいことをしない限り、KitKatの外部SDカードにデータを書き込むことはできません。ただし、<SD card>/Android/data/com.hippo.ehviewerこのパスは特殊なものであり、書き込むことができます。</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_download_origin_image_summary">これは危険です!これを確認すると、ダウンロードクォータが急激に失われます</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_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">解析失敗したときにページ内容を保存</string>
|
||||
<string name="settings_advanced_save_parse_error_body_summary">ページ内容にプライバシーに関する機密情報が含まれるかもしれない</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_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_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_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">クラウドの気に入り</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>
|
||||
|
||||
</resources>
|
||||
@@ -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">앱 개발자에게 기기 및 사용 정보를 보내시겠습니까? 앱 개발에 굉장한 도움이 됩니다. <br><br>데이터 분석 서비스는 Google Analytics를 사용하며, 개인 정보 보호 정책은 <a href="https://www.google.com/policies/privacy/">https://www.google.com/policies/privacy/</a> 에서 확인하실 수 있습니다.<br><br>데이터 분석을 허용하면 사용자의 기기 및 앱 사용 정보가 수집됩니다. 전화번호나 이메일 주소, IMEI와 같은 개인 정보는 수집하지 않습니다.<br><br>데이터 분석을 허용하기 전까지는 정보를 수집하지 않습니다.<br><br>수집한 정보는 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 카드에 데이터를 쓸 수 있는 방법이 없습니다. 그러나 <SD 카드>/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>
|
||||
@@ -98,6 +98,8 @@
|
||||
<string name="accept">接受</string>
|
||||
<string name="reject">拒绝</string>
|
||||
|
||||
<string name="help_route">设置->关于->帮助</string>
|
||||
|
||||
<!-- Crash -->
|
||||
<string name="send">发送</string>
|
||||
<string name="crash_explain">上次应用崩溃了。你愿意把错误日志发送给开发者以便以后得到更好的用户体验?(以电子邮件的形式发送)</string>
|
||||
@@ -348,11 +350,30 @@
|
||||
<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>
|
||||
|
||||
<!-- 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>
|
||||
@@ -365,6 +386,8 @@
|
||||
<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>
|
||||
@@ -421,6 +444,7 @@
|
||||
<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>
|
||||
@@ -470,15 +494,20 @@
|
||||
<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>
|
||||
<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_summary">从置存储器导入数据</string>
|
||||
<string name="settings_advanced_import_data_successfully">导入数据成功</string>
|
||||
|
||||
<string name="settings_about">关于</string>
|
||||
@@ -494,10 +523,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>
|
||||
|
||||
@@ -543,6 +573,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>
|
||||
|
||||
@@ -617,5 +649,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>
|
||||
@@ -98,6 +98,8 @@
|
||||
<string name="accept">接受</string>
|
||||
<string name="reject">拒絕</string>
|
||||
|
||||
<string name="help_route">設置->關於->幫助</string>
|
||||
|
||||
<!-- Crash -->
|
||||
<string name="send">發送</string>
|
||||
<string name="crash_explain">上次應用崩潰了。你願意把錯誤日誌發送給開發者以便以後得到更好的用户體驗?(以電子郵件的形式發送)</string>
|
||||
@@ -348,6 +350,24 @@
|
||||
<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>
|
||||
|
||||
<!-- 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>
|
||||
@@ -365,6 +385,8 @@
|
||||
<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>
|
||||
@@ -421,6 +443,7 @@
|
||||
<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>
|
||||
@@ -470,15 +493,20 @@
|
||||
<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>
|
||||
<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_summary">從置存儲器導入數據</string>
|
||||
<string name="settings_advanced_import_data_successfully">導入數據成功</string>
|
||||
|
||||
<string name="settings_about">關於</string>
|
||||
@@ -494,8 +522,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>
|
||||
@@ -543,6 +571,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>
|
||||
|
||||
@@ -617,5 +647,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>
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
<string name="app_name">EhViewer</string>
|
||||
|
||||
<string name="homepage">主頁</string>
|
||||
<string name="homepage">首頁</string>
|
||||
<string name="whats_hot">熱門</string>
|
||||
<string name="favourite">收藏</string>
|
||||
<string name="history">歷史</string>
|
||||
@@ -36,76 +36,78 @@
|
||||
|
||||
<string name="sign_in">登入</string>
|
||||
<string name="register">註冊</string>
|
||||
<string name="sign_in_via_webview">通過網頁登入</string>
|
||||
<string name="sign_in_via_cookies">通過 Cookie 登入</string>
|
||||
<string name="sign_in_via_webview">透過網頁登入</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="display_name_is_empty">暱稱是空的</string>
|
||||
<string name="sign_in_first">請先登入</string>
|
||||
|
||||
<string name="default_display_name">Little Hippo</string>
|
||||
|
||||
<string name="cookie_explain">Cookie 是儲存在瀏覽器裡的一小塊資料。如果您不清楚 Cookie 什麼或者怎麼獲取 Cookie,最好搜尋一下。\n\n請輸入特定的 Cookie 來登入。</string>
|
||||
<string name="text_is_empty">文字為空</string>
|
||||
<string name="cookie_explain">Cookie 是儲存在瀏覽器裡的一小塊資料。如果您不清楚 Cookie 是什麼或者如何取得 Cookie,最好去查一下。\n\n請輸入特定的 Cookie 來登入。</string>
|
||||
<string name="text_is_empty">文字是空的</string>
|
||||
<string name="waring">警告</string>
|
||||
<string name="wrong_cookie_warning">看起來您輸入的 Cookie 是錯誤的,最好檢查一下。</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="i_dont_think_so">我覺得沒打錯</string>
|
||||
<string name="found_cookies">找到 Cookie了!</string>
|
||||
|
||||
<string name="invalid_download_location">似乎下載路徑不可用。請到重新設定下載路徑。</string>
|
||||
<string name="invalid_download_location">看來下載路徑似乎沒辦法使用。請至設定重新設定下載路徑。</string>
|
||||
|
||||
<string name="cellular_network_warning">正在使用行動網路</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_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_cant_find_activity">找不到相對應的應用程式</string>
|
||||
<string name="error_cannot_parse_the_url">無法解析連結</string>
|
||||
<string name="error_not_folder_path">非資料夾路徑</string>
|
||||
<string name="error_no_provider">無 provider</string>
|
||||
<string name="error_decoding_failed">解碼失敗</string>
|
||||
<string name="error_not_found">未找到</string>
|
||||
<string name="error_not_found">沒能找到</string>
|
||||
<string name="error_empty">空</string>
|
||||
<string name="error_invalid_zip_file">無效 zip 檔案</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_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_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="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="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">這可能是網站更新導致的,也有可能是發生了奇怪的事情。您可以選擇在登入按鈕下方通過網頁登入或者輸入 cookie,或者跳過登入。跳過登入可能導致無法正常使用應用。如果你已經在 0.6.x 版登入過了,請優先嚐試選擇“通過 Cookie 登入”。</string>
|
||||
<string name="press_twice_exit">再按一次退出</string>
|
||||
<string name="content_layout_restore_tip">點選重試</string>
|
||||
<string name="write_rationale">EhViewer 將申請裝置儲存空間訪問許可權以便下載畫廊。您願意授權嗎?</string>
|
||||
<string name="you_rejected_me">好痛</string>
|
||||
<string name="analytics_explain">您同意讓開發者收集您的裝置資訊與使用情況嗎?這將對開發有很大幫助。<br><br>資料統計服務由 Google Analytics 提供,其隱私政策可在 <a href="https://www.google.com/policies/privacy/">https://www.google.com/policies/privacy/</a> 檢視。<br><br>若您同意參與資料統計,您的裝置資訊與應用使用情況將會被記錄,其包括但不限於:Android API 版本、裝置型號、語言所在地、本應用版本號、會話時長、應用功能使用次數。開發者承諾以下資訊並不會被記錄:電話號碼、電子郵件地址、IMEI。<br><br>在您同意參與資料統計之前,您的資訊不會被記錄。<br><br>被記錄的資料會由 Google Analytics 進行分析,分析報表僅可被本應用開發者訪問。</string>
|
||||
<string name="sign_in_failed_plain">這可能是網站更新造成的,也有可能是哪裡出錯了。您可以選擇在登入按鈕下方透過網頁登入或者輸入 cookie,也可以略過登入。略過登入可能導致無法正常使用應用程式。如果你已經在 0.6.x 版登入過了,請先試試“透過 Cookie 登入”。</string>
|
||||
<string name="press_twice_exit">再按一次離開</string>
|
||||
<string name="content_layout_restore_tip">點擊重試</string>
|
||||
<string name="write_rationale">EhViewer 將請求裝置外部儲存空間的存取許可以下載圖庫。您願意授權嗎?</string>
|
||||
<string name="you_rejected_me">好難過</string>
|
||||
<string name="analytics_explain">您同意讓開發者收集您的裝置資訊與使用方式嗎?這對開發有很大幫助。<br><br>資料統計服務由 Google Analytics 提供,其隱私政策可在 <a href="https://www.google.com/policies/privacy/">https://www.google.com/policies/privacy/</a> 檢視。<br><br>若您同意參與資料統計,您的裝置資訊與應用使用情況將會被記錄,其包括但不限於:Android API 版本、裝置型號、語言所在地、本應用版本號、會話時長、應用功能使用次數。開發者承諾以下資訊並不會被記錄:電話號碼、電子郵件地址、IMEI。<br><br>在您同意參與資料統計之前,您的資訊不會被記錄。<br><br>被記錄的資料會由 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>
|
||||
<string name="crash_explain">剛剛當掉了。你是否願意把錯誤紀錄傳送給開發者讓未來的使用者體驗變得更好?(以電子郵件傳送)</string>
|
||||
|
||||
<!-- Select scene -->
|
||||
<string name="select_scene">你想選擇哪個畫廊站點?</string>
|
||||
<string name="select_scene">你想選擇哪個圖庫站台?</string>
|
||||
<string name="select_scene_explain">e-hentai:對任何人開放\nexhentai:僅對登入使用者開放</string>
|
||||
<string name="no_select">請選擇一個站點</string>
|
||||
<string name="no_select">請選擇一個站台</string>
|
||||
|
||||
<!-- Update -->
|
||||
<string name="update">更新</string>
|
||||
@@ -113,57 +115,57 @@
|
||||
<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="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_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_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_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_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">搜尋低願力標籤</string>
|
||||
<string name="search_sdt2">搜尋差評標籤</string>
|
||||
<string name="search_sh">顯示被刪除的畫廊</string>
|
||||
<string name="search_sto">只顯示有種子的圖庫</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_uss">使用相似性搜尋</string>
|
||||
<string name="search_osc">只搜尋封面</string>
|
||||
<string name="search_se">顯示被刪除的畫廊</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="quick_search_tip">點擊“+”以新增快速搜尋</string>
|
||||
<string name="add_quick_search_dialog_title">新增快速搜尋</string>
|
||||
<string name="name_is_empty">名稱為空</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="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="duplicate_name">已經由重複的名稱了</string>
|
||||
|
||||
<string name="go_to_hint">第 %1$d 頁,共 %2$d 頁</string>
|
||||
|
||||
@@ -174,10 +176,10 @@
|
||||
<string name="star_5">5 星</string>
|
||||
|
||||
<!-- Gallery detail -->
|
||||
<string name="error_cannot_find_gallery">找不到畫廊</string>
|
||||
<string name="error_cannot_find_gallery">找不到圖庫</string>
|
||||
<string name="download">下載</string>
|
||||
<string name="read">閱讀</string>
|
||||
<string name="more_information">檢視更多資訊</string>
|
||||
<string name="more_information">更多資訊</string>
|
||||
<plurals name="page_count">
|
||||
<item quantity="other">%d 頁</item>
|
||||
</plurals>
|
||||
@@ -187,114 +189,114 @@
|
||||
<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="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="no_more_previews">已經顯示所有預覽了</string>
|
||||
<string name="more_previews">更多預覽</string>
|
||||
<string name="refresh">重新整理</string>
|
||||
<string name="open_in_other_app">在其他應用中開啟</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>
|
||||
<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="rating9">太神啦</string>
|
||||
<string name="rating8">很棒</string>
|
||||
<string name="rating7">不錯</string>
|
||||
<string name="rating6">還行</string>
|
||||
<string name="rating5">一般般</string>
|
||||
<string name="rating6">還好</string>
|
||||
<string name="rating5">普通</string>
|
||||
<string name="rating4">不行</string>
|
||||
<string name="rating3">糟糕</string>
|
||||
<string name="rating2">瞎眼</string>
|
||||
<string name="rating3">超爛</string>
|
||||
<string name="rating2">快瞎了</string>
|
||||
<string name="rating1">快要窒息了</string>
|
||||
<string name="rating0">…</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="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_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_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">種子個數</string>
|
||||
<string name="key_torrent_url">種子</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">深表贊同</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>
|
||||
<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>
|
||||
<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="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="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_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_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">從下載佇列中移除 %s 項任務嗎?</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>
|
||||
@@ -310,44 +312,62 @@
|
||||
<string name="added_to_download_list">已新增至下載列表</string>
|
||||
|
||||
<!-- Download label -->
|
||||
<string name="no_download_label">這裡是下載標籤</string>
|
||||
<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_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>
|
||||
<string name="delete_label_message">將 “%s”刪除?</string>
|
||||
|
||||
<!-- History -->
|
||||
<string name="no_history">這裡是閱讀歷史</string>
|
||||
<string name="no_history">歷史紀錄將會顯示在這裡</string>
|
||||
<string name="clear_all">全部清除</string>
|
||||
<string name="clear_all_history">清除所有閱讀歷史?</string>
|
||||
<string name="clear_all_history">清除所有歷史紀錄?</string>
|
||||
|
||||
<!-- Filter -->
|
||||
<string name="filter">過濾</string>
|
||||
<string name="no_filter">這裡是過濾列表</string>
|
||||
<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="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="add_filter">新增篩選條件</string>
|
||||
<string name="show_definition">檢視定義</string>
|
||||
<string name="filter_text">過濾項文字</string>
|
||||
<string name="filter_tip">標題過濾項:排除標題含有該關鍵字的畫廊。\n\n上傳者過濾項:排除該上傳者上傳的畫廊。\n\n標籤過濾項:排除包含該標籤的畫廊,這會使獲取畫廊列表花費更多時間。\n\n標籤組過濾項:排除包含該標籤組的畫廊,這會使獲取畫廊列表花費更多時間。</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_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>
|
||||
|
||||
<!-- 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>
|
||||
@@ -356,20 +376,22 @@
|
||||
<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="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_eh_gallery_site">畫廊站點</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_detail">詳細資料</string>
|
||||
<string name="settings_eh_list_mode_thumb">縮圖</string>
|
||||
<string name="settings_eh_detail_size">詳情大小</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>
|
||||
@@ -377,109 +399,115 @@
|
||||
<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_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_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_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_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_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_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_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_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_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_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">在 KitKat 中您無法把資料寫入外接 SD 卡,除非您做了奇怪的事情。不過 <SD card>/Android/data/com.hippo.ehviewer 這個路徑比較特殊,是可以寫入的。</string>
|
||||
<string name="settings_download_pick_dir_l">Lollipop 提供了新的寫入外接 SD 卡的 API。如果您想把下載路徑設定到外接 SD 卡上,點選“文件”按鈕</string>
|
||||
<string name="settings_download_document">文件</string>
|
||||
<string name="settings_download_cant_get_download_location">無法取得下載路徑</string>
|
||||
<string name="settings_download_pick_dir_kk">在 Android 4.4+ KitKat 中您無法把數據寫到外接 SD 卡裡,除非你駭了他。不過 <SD card>/Android/data/com.hippo.ehviewer 這個路徑比較特別,可以寫入。</string>
|
||||
<string name="settings_download_pick_dir_l">Android 5.0+ 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">同時多重下載</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_summary">%s,大於 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">這很危險!勾選此項會導致下載配額迅速流失</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_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_download_download_origin_image_summary">這很危險!勾選這個選項會導致圖片流量配額快速耗用</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_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">解析失敗時儲存頁面內容</string>
|
||||
<string name="settings_advanced_save_parse_error_body_summary">頁面內容可能含有隱私敏感資訊</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">進階</string>
|
||||
<string name="settings_advanced_save_parse_error_body">解析失敗時儲存網頁的內容</string>
|
||||
<string name="settings_advanced_save_parse_error_body_summary">網頁內容可能含有敏感的隱私資料</string>
|
||||
<string name="settings_advanced_dump_logcat">傾印log</string>
|
||||
<string name="settings_advanced_dump_logcat_summary">儲存log紀錄至外接儲存裝置中</string>
|
||||
<string name="settings_advanced_dump_logcat_failed">無法傾印log紀錄</string>
|
||||
<string name="settings_advanced_dump_logcat_to">已儲存log紀錄至 %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_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_export_data">匯出資料</string>
|
||||
<string name="settings_advanced_export_data_summary">儲存資料至外接儲存器,例如下載列表,快速搜尋列表</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>
|
||||
<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_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>
|
||||
@@ -487,28 +515,28 @@
|
||||
<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_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">贊助</string>
|
||||
<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_about_version">版本號</string>
|
||||
<string name="settings_about_donate_message">你的贊助能幫助我開發更多更好的軟體。\n\n支付寶: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>
|
||||
<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="invert_selection">反轉選取</string>
|
||||
<string name="language">語言</string>
|
||||
<string name="original">原作</string>
|
||||
<string name="translated">翻譯</string>
|
||||
<string name="original">原史作品</string>
|
||||
<string name="translated">翻譯版</string>
|
||||
<string name="rewrite">改寫</string>
|
||||
<string name="language_japanese">日語</string>
|
||||
<string name="language_english">英語</string>
|
||||
@@ -534,30 +562,32 @@
|
||||
<string name="enabled">已啟用</string>
|
||||
<string name="disabled">未啟用</string>
|
||||
<string name="ip">IP</string>
|
||||
<string name="port">埠</string>
|
||||
<string name="port">通訊埠</string>
|
||||
<string name="Passkey">金鑰</string>
|
||||
<string name="domain_not_supported">不支援域名</string>
|
||||
<string name="invalid_port">無效的埠</string>
|
||||
<string name="domain_not_supported">不支援的域名</string>
|
||||
<string name="invalid_port">無效的通訊埠</string>
|
||||
|
||||
<string name="cant_get_data_dir">無法獲取資料資料夾</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>
|
||||
|
||||
<!-- License -->
|
||||
<string name="license">開源許可</string>
|
||||
<string name="license">授權</string>
|
||||
|
||||
<!-- Dir Picker-->
|
||||
<string name="dir_picker">選擇資料夾</string>
|
||||
<string name="directory_not_writable">該資料夾不可寫</string>
|
||||
<string name="directory_not_writable">該資料夾無法寫入</string>
|
||||
|
||||
<!-- Favorites -->
|
||||
<string name="cloud_favorites">雲端收藏</string>
|
||||
<string name="local_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="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>
|
||||
@@ -571,18 +601,18 @@
|
||||
|
||||
<!-- Guide -->
|
||||
<string name="guide_quick_search_title">快速搜尋</string>
|
||||
<string name="guide_quick_search_text">從右側滑動開啟快速搜尋面板</string>
|
||||
<string name="guide_quick_search_text">從右側滑動以開啟快速搜尋面板</string>
|
||||
<string name="guide_collections_title">收藏夾</string>
|
||||
<string name="guide_collections_text">從右側滑動來選擇收藏夾</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_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>
|
||||
<string name="guide_gallery_long_click">長按以開啟頁面選單</string>
|
||||
|
||||
<!-- Readable Time -->
|
||||
<string name="from_the_future">來自未來</string>
|
||||
@@ -611,11 +641,14 @@
|
||||
<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="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>
|
||||
|
||||
</resources>
|
||||
@@ -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,26 @@
|
||||
<item>@string/add_filter</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="app_language_entries">
|
||||
<item>@string/app_language_system</item>
|
||||
<item>@string/app_language_en</item>
|
||||
<item>@string/app_language_es</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>en</item>
|
||||
<item>es</item>
|
||||
<item>ja</item>
|
||||
<item>ko</item>
|
||||
<item>zh-CN</item>
|
||||
<item>zh-HK</item>
|
||||
<item>zh-TW</item>
|
||||
</string-array>
|
||||
|
||||
</resources>
|
||||
@@ -19,5 +19,5 @@
|
||||
|
||||
<bool name="beta">false</bool>
|
||||
<bool name="dad_spin_bars">true</bool>
|
||||
|
||||
<bool name="auto_check_update">true</bool>
|
||||
</resources>
|
||||
@@ -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>
|
||||
@@ -60,6 +60,7 @@
|
||||
<string name="pd_similar" translatable="false">M2,20L17,10L22,22M14,9L2,8L11,2Z</string>
|
||||
<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_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>
|
||||
|
||||
@@ -140,6 +140,8 @@
|
||||
<string name="accept">Accept</string>
|
||||
<string name="reject">Reject</string>
|
||||
|
||||
<string name="help_route">Settings->About->Help</string>
|
||||
|
||||
<!-- Crash -->
|
||||
<string name="send">Send</string>
|
||||
<string name="crash_explain">This application crashed last time. Would you mind to send logcat to the developer for a better user experience in future ? (via e-mail)</string>
|
||||
@@ -392,11 +394,30 @@
|
||||
<string name="set">Set</string>
|
||||
<string name="enable_fingerprint">Also allow unlock with fingerprint</string>
|
||||
|
||||
<!-- UConfig Activity -->
|
||||
<string name="u_config">EHentai settings</string>
|
||||
<string name="apply">Apply</string>
|
||||
<string name="apply_tip">Click the check mark to save the settings</string>
|
||||
|
||||
<!-- Hosts Activity -->
|
||||
<string name="hosts">Custom 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">Add a host</string>
|
||||
<string name="add_host_add">Add</string>
|
||||
<string name="edit_host">Edit the host</string>
|
||||
<string name="edit_host_confirm">Confirm</string>
|
||||
<string name="edit_host_delete">Delete</string>
|
||||
<string name="invalid_host">Invalid host</string>
|
||||
<string name="invalid_ip">Invalid IP</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">Save</string>
|
||||
<string name="page_menu_save_to">Save to...</string>
|
||||
<string name="page_menu_add_bookmark">Add a bookmark</string>
|
||||
<string name="gallery_menu_title">Menu</string>
|
||||
<string name="share_image">Share image</string>
|
||||
@@ -408,6 +429,8 @@
|
||||
<string name="settings_eh_sign_out_warning">Do you really want to sign out?</string>
|
||||
<string name="settings_eh_sign_out_yes">@android:string/ok</string>
|
||||
<string name="settings_eh_sign_out_tip">Signed out, restart the application to sign in</string>
|
||||
<string name="settings_u_config">EHentai settings</string>
|
||||
<string name="settings_u_config_summary">Settings on EHentai website</string>
|
||||
<string name="settings_eh_gallery_site">Gallery site</string>
|
||||
<string name="settings_eh_list_mode">List mode</string>
|
||||
<string name="settings_eh_list_mode_detail">Detail</string>
|
||||
@@ -464,6 +487,7 @@
|
||||
<string name="settings_read_show_clock">Show clock</string>
|
||||
<string name="settings_read_show_progress">Show progress</string>
|
||||
<string name="settings_read_show_battery">Show battery</string>
|
||||
<string name="settings_read_show_page_interval">Show page interval</string>
|
||||
<string name="settings_read_volume_page">Use volume key to turn pages</string>
|
||||
<string name="settings_read_reading_fullscreen">Fullscreen</string>
|
||||
<string name="settings_read_custom_screen_lightness">Custom screen lightness</string>
|
||||
@@ -513,9 +537,14 @@
|
||||
<string name="settings_advanced_clear_memory_cache">Clear memory cache</string>
|
||||
<string name="settings_advanced_clear_memory_cache_summary">Clear thumb, gallery info memory cache</string>
|
||||
<string name="settings_advanced_read_cache_size">Read cache size</string>
|
||||
<string name="settings_advanced_pattern_protection_title">Pattern protection</string>
|
||||
<string name="settings_advanced_pattern_protection_not_set">Pattern protection has not been set</string>
|
||||
<string name="settings_advanced_pattern_protection_set">Pattern protection has been set</string>
|
||||
<string name="settings_advanced_app_language_title">App language</string>
|
||||
<string name="settings_advanced_built_in_hosts_title">Built-in hosts.txt</string>
|
||||
<string name="settings_advanced_built_in_hosts_summary">The host-to-IP mapping provided by the app\nIt can be overrode by custom hosts.txt</string>
|
||||
<string name="settings_advanced_custom_hosts_title">Custom hosts.txt</string>
|
||||
<string name="settings_advanced_custom_hosts_summary">Map hostnames to IP addresses\nIt can override built-in hosts.txt</string>
|
||||
<string name="settings_privacy_pattern_protection_title">Pattern protection</string>
|
||||
<string name="settings_privacy_pattern_protection_not_set">Pattern protection has not been set</string>
|
||||
<string name="settings_privacy_pattern_protection_set">Pattern protection has been set</string>
|
||||
<string name="settings_advanced_export_data">Export data</string>
|
||||
<string name="settings_advanced_export_data_summary">Save data to external storage, such as download list, quick search list</string>
|
||||
<string name="settings_advanced_export_data_to">Exported data to %s</string>
|
||||
@@ -539,10 +568,11 @@
|
||||
<string name="settings_about_donate_summary">Alipay: seven332$163.com</string>
|
||||
<string name="settings_about_donate_message">Your donation can help me develop more and better applications.\n\nAlipay: seven332$163.com</string>
|
||||
<string name="settings_about_donate_toast">Email address copied to clipboard</string>
|
||||
<string name="settings_about_enable_analytics">Enable analytics</string>
|
||||
<string name="settings_about_about_analytics">About analytics</string>
|
||||
<string name="settings_privacy_enable_analytics">Enable analytics</string>
|
||||
<string name="settings_privacy_about_analytics">About analytics</string>
|
||||
<string name="settings_about_version">Build version</string>
|
||||
<string name="settings_about_check_for_updates">Check for updates</string>
|
||||
<string name="settings_about_auto_check_for_updates">Auto check for updates</string>
|
||||
<string name="settings_about_beta_update_channel">Beta update channel</string>
|
||||
<string name="settings_about_beta_update_channel_summary">Beta release might be broken on your devices</string>
|
||||
|
||||
@@ -559,6 +589,15 @@
|
||||
<string name="cant_find_any_data">Can\'t find any data</string>
|
||||
<string name="cant_read_the_file">Can\'t read the file</string>
|
||||
|
||||
<string name="app_language_system">System Language (Default)</string>
|
||||
<string name="app_language_en" translatable="false">English</string>
|
||||
<string name="app_language_es" translatable="false">Español</string>
|
||||
<string name="app_language_ja" translatable="false">日本語</string>
|
||||
<string name="app_language_ko" translatable="false">한국어</string>
|
||||
<string name="app_language_zh_cn" translatable="false">中文(大陆)</string>
|
||||
<string name="app_language_zh_hk" translatable="false">中文(香港)</string>
|
||||
<string name="app_language_zh_tw" translatable="false">國文(臺灣)</string>
|
||||
|
||||
<!-- ExcludedLanguagesScene -->
|
||||
<string name="excluded_languages">Excluded languages</string>
|
||||
<string name="select_all">All</string>
|
||||
@@ -668,5 +707,9 @@
|
||||
<string name="download_archive_failure">Failed to download archive</string>
|
||||
<string name="archive">Archive</string>
|
||||
<string name="download_archive_failure_no_hath">Need H@H client for archive download</string>
|
||||
<string name="settings_privacy">Privacy</string>
|
||||
<string name="settings_privacy_secure">Not Allowed Screen Capture</string>
|
||||
<string name="settings_privacy_secure_summary">If enabled, you cannot take screenshots of the app, and the system will not display app contents in the task switcher\n\nNeed to restart the app for this to take effect</string>
|
||||
|
||||
<string name="download_service">Download Service</string>
|
||||
</resources>
|
||||
@@ -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"
|
||||
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"
|
||||
android:targetClass="com.hippo.ehviewer.shortcuts.ShortcutsActivity" />
|
||||
<categories android:name="android.shortcut.conversation" />
|
||||
</shortcut>
|
||||
|
||||
</shortcuts>
|
||||
@@ -73,16 +73,9 @@
|
||||
android:defaultValue="@bool/beta"/>
|
||||
|
||||
<com.hippo.preference.SwitchPreference
|
||||
android:key="enable_analytics"
|
||||
android:title="@string/settings_about_enable_analytics"
|
||||
android:defaultValue="true"/>
|
||||
|
||||
<com.hippo.preference.MessagePreference
|
||||
android:key="about_analytics"
|
||||
android:title="@string/settings_about_about_analytics"
|
||||
app:dialogMessage="@string/analytics_explain"
|
||||
app:dialogMessageHtml="true"
|
||||
app:dialogMessageLinkify="true"/>
|
||||
android:key="auto_check_for_updates"
|
||||
android:title="@string/settings_about_auto_check_for_updates"
|
||||
android:defaultValue="@bool/auto_check_update"/>
|
||||
|
||||
<Preference
|
||||
android:key="donate"
|
||||
|
||||
@@ -48,11 +48,27 @@
|
||||
app:entryValues="@array/read_cache_size_entry_values"
|
||||
android:defaultValue="160"/>
|
||||
|
||||
<com.hippo.preference.ListPreference
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:key="app_language"
|
||||
android:title="@string/settings_advanced_app_language_title"
|
||||
android:summary="%s"
|
||||
app:entries="@array/app_language_entries"
|
||||
app:entryValues="@array/app_language_entry_values"
|
||||
android:defaultValue="system"/>
|
||||
|
||||
<com.hippo.preference.SwitchPreference
|
||||
android:key="built_in_hosts"
|
||||
android:title="@string/settings_advanced_built_in_hosts_title"
|
||||
android:summary="@string/settings_advanced_built_in_hosts_summary"
|
||||
android:defaultValue="false"/>
|
||||
|
||||
<com.hippo.preference.ActivityPreference
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:key="pattern_protection"
|
||||
android:title="@string/settings_advanced_pattern_protection_title"
|
||||
app:activity="com.hippo.ehviewer.ui.SetSecurityActivity"/>
|
||||
android:key="custom_hosts"
|
||||
android:title="@string/settings_advanced_custom_hosts_title"
|
||||
android:summary="@string/settings_advanced_custom_hosts_summary"
|
||||
app:activity="com.hippo.ehviewer.ui.HostsActivity"/>
|
||||
|
||||
<Preference
|
||||
android:key="export_data"
|
||||
|
||||
@@ -32,6 +32,12 @@
|
||||
app:entryValues="@array/gallery_site_entry_values"
|
||||
android:defaultValue="1"/>
|
||||
|
||||
<com.hippo.preference.ActivityPreference
|
||||
android:key="u_config"
|
||||
android:title="@string/settings_u_config"
|
||||
android:summary="@string/settings_u_config_summary"
|
||||
app:activity="com.hippo.ehviewer.ui.UConfigActivity"/>
|
||||
|
||||
<com.hippo.preference.ListPreference
|
||||
android:key="list_mode"
|
||||
android:title="@string/settings_eh_list_mode"
|
||||
@@ -69,26 +75,6 @@
|
||||
android:title="@string/settings_eh_fix_thumb_url"
|
||||
android:defaultValue="false"/>
|
||||
|
||||
<com.hippo.ehviewer.preference.DefaultCategoryPreference
|
||||
android:key="default_categories"
|
||||
android:title="@string/settings_eh_default_categories"
|
||||
android:summary="@string/settings_eh_default_categories_summary"/>
|
||||
|
||||
<com.hippo.ehviewer.preference.ExcludedTagNamespacesPreference
|
||||
android:key="excluded_tag_namespaces"
|
||||
android:title="@string/settings_eh_excluded_tag_namespaces"
|
||||
android:summary="@string/settings_eh_excluded_tag_namespaces_summary"/>
|
||||
|
||||
<com.hippo.preference.ActivityPreference
|
||||
android:key="excluded_languages"
|
||||
android:title="@string/settings_eh_excluded_languages"
|
||||
android:summary="@string/settings_eh_excluded_languages_summary"
|
||||
app:activity="com.hippo.ehviewer.ui.ExcludedLanguagesActivity"/>
|
||||
|
||||
<com.hippo.ehviewer.preference.HatHProxyPreference
|
||||
android:key="hath_proxy"
|
||||
android:title="@string/settings_eh_hath_proxy"/>
|
||||
|
||||
<com.hippo.preference.SwitchPreference
|
||||
android:key="show_jpn_title"
|
||||
android:title="@string/settings_eh_show_jpn_title"
|
||||
|
||||
@@ -17,6 +17,6 @@
|
||||
|
||||
<path xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<external-path name="image" path="EhViewer/image"/>
|
||||
<external-path name="temp" path="EhViewer/temp"/>
|
||||
|
||||
</path>
|
||||
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<com.hippo.preference.ActivityPreference
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:key="pattern_protection"
|
||||
android:title="@string/settings_privacy_pattern_protection_title"
|
||||
app:activity="com.hippo.ehviewer.ui.SetSecurityActivity"/>
|
||||
|
||||
<com.hippo.preference.SwitchPreference
|
||||
android:key="enable_secure"
|
||||
android:title="@string/settings_privacy_secure"
|
||||
app:summaryOn="@string/settings_privacy_secure_summary"
|
||||
app:summaryOff="@string/settings_privacy_secure_summary"
|
||||
android:defaultValue="false"/>
|
||||
|
||||
<com.hippo.preference.SwitchPreference
|
||||
android:key="enable_analytics"
|
||||
android:title="@string/settings_privacy_enable_analytics"
|
||||
android:defaultValue="true"/>
|
||||
|
||||
<com.hippo.preference.MessagePreference
|
||||
android:key="about_analytics"
|
||||
android:title="@string/settings_privacy_about_analytics"
|
||||
app:dialogMessage="@string/analytics_explain"
|
||||
app:dialogMessageHtml="true"
|
||||
app:dialogMessageLinkify="true"/>
|
||||
</PreferenceScreen>
|
||||
@@ -71,6 +71,11 @@
|
||||
android:title="@string/settings_read_show_battery"
|
||||
android:defaultValue="true"/>
|
||||
|
||||
<com.hippo.preference.SwitchPreference
|
||||
android:key="gallery_show_page_interval"
|
||||
android:title="@string/settings_read_show_page_interval"
|
||||
android:defaultValue="true"/>
|
||||
|
||||
<com.hippo.preference.SwitchPreference
|
||||
android:key="volume_page"
|
||||
android:title="@string/settings_read_volume_page"
|
||||
|
||||
@@ -33,6 +33,11 @@
|
||||
android:title="@string/settings_download"
|
||||
android:icon="@drawable/v_download_primary_x24"/>
|
||||
|
||||
<header
|
||||
android:fragment="com.hippo.ehviewer.ui.fragment.PrivacyFragment"
|
||||
android:title="@string/settings_privacy"
|
||||
android:icon="@drawable/v_sec_primary_x24"/>
|
||||
|
||||
<header
|
||||
android:fragment="com.hippo.ehviewer.ui.fragment.AdvancedFragment"
|
||||
android:title="@string/settings_advanced"
|
||||
|
||||