diff --git a/Clover/res/values/strings.xml b/Clover/res/values/strings.xml
index fedd57f8..a9a3f8c9 100644
--- a/Clover/res/values/strings.xml
+++ b/Clover/res/values/strings.xml
@@ -1,14 +1,14 @@
- Chan
-
+ Clover
+
Cancel
Change
Add
Close
Back
OK
-
+
Settings
Reload
Reload board
@@ -21,38 +21,38 @@
Open catalog
Share
Download album
-
+
Unsupported link
- Chan can\'t open this link. Opening it in your browser instead.
+ Clover can\'t open this link. Opening it in your browser instead.
No applications found to open link
-
+
Save image
Saved image to
Saving image failed
Cannot make save directory
Cannot write to storage
Start / stop playing
-
+
Failed to show image
Failed to open image
-
+
No network
Server inaccessible
404 not found
No more posts
-
+
Edit my boards
Add board
Added board
Board already added
Unknown board code
The board with code CODE is not known. Press OK to add it anyway.
-
+
Open drawer
Close drawer
Pinned threads
Edit title
-
+
reply
replies
Back
@@ -65,7 +65,7 @@
- Show clickables
- Copy text
-
+
Reply to
Make thread in
Name
@@ -83,7 +83,7 @@
Post Successful
Failed to load captcha
Tap to reload the captcha
-
+
Delete
Delete your post?
Deleting post…
@@ -93,33 +93,33 @@
You cannot delete a post this old
Error deleting post
Only delete the image
-
+
Thread watcher
4chan pass
-
+
General
Ask before opening links
Start playing videos directly
-
+
Default name
Default email
-
+
About
Open Source Licenses
Legal information about licenses
Developer options
-
+
Open link?
-
+
Stop watching
-
+
Off
Watching pinned threads
To watch pins for new posts, turn the thread watcher on.
-
+
Enable in the background
- Watching pins when Chan is in the background
- Not watching when Chan is in the background
+ Watching pins when Clover is in the background
+ Not watching when Clover is in the background
Time between reloads in background
- 1 minute
@@ -139,7 +139,7 @@
- 1800
- 3600
-
+
4chan pass enables you to post without filling in CAPTCHAs
Learn more
https://www.4chan.org/pass
@@ -151,7 +151,7 @@
Using 4chan pass
Off
Using 4chan pass
-
+
COUNT images will be downloaded to FOLDER
diff --git a/Clover/src/org/floens/chan/core/ChanPreferences.java b/Clover/src/org/floens/chan/core/ChanPreferences.java
index 0c68cb22..33645d9d 100644
--- a/Clover/src/org/floens/chan/core/ChanPreferences.java
+++ b/Clover/src/org/floens/chan/core/ChanPreferences.java
@@ -42,7 +42,7 @@ public class ChanPreferences {
}
public static String getImageSaveDirectory() {
- return "Chan";
+ return "Clover";
}
public static boolean getWatchEnabled() {
diff --git a/Clover/src/org/floens/chan/core/manager/ReplyManager.java b/Clover/src/org/floens/chan/core/manager/ReplyManager.java
index 40f36cbc..a390a629 100644
--- a/Clover/src/org/floens/chan/core/manager/ReplyManager.java
+++ b/Clover/src/org/floens/chan/core/manager/ReplyManager.java
@@ -465,7 +465,7 @@ public class ReplyManager {
/**
* Raw html from the response. Used to set html in an WebView to the
- * client, when the error was not recognized by Chan.
+ * client, when the error was not recognized by Clover.
*/
public String responseData = "";
}
diff --git a/Clover/src/org/floens/chan/core/net/JsonReaderRequest.java b/Clover/src/org/floens/chan/core/net/JsonReaderRequest.java
index e1fea755..b5db438b 100644
--- a/Clover/src/org/floens/chan/core/net/JsonReaderRequest.java
+++ b/Clover/src/org/floens/chan/core/net/JsonReaderRequest.java
@@ -59,8 +59,6 @@ public abstract class JsonReaderRequest extends Request {
JsonReader reader = new JsonReader(new InputStreamReader(baos, "UTF-8"));
- // long start = System.currentTimeMillis();
-
T read = readJson(reader);
try {
@@ -69,8 +67,6 @@ public abstract class JsonReaderRequest extends Request {
e.printStackTrace();
}
- // Log.e("Chan", "Total time: " + (System.currentTimeMillis() - start));
-
if (read == null) {
return Response.error(new VolleyError());
} else if (error != null) {
diff --git a/Clover/src/org/floens/chan/utils/Logger.java b/Clover/src/org/floens/chan/utils/Logger.java
index ff76a93e..2445ce7f 100644
--- a/Clover/src/org/floens/chan/utils/Logger.java
+++ b/Clover/src/org/floens/chan/utils/Logger.java
@@ -22,7 +22,7 @@ import org.floens.chan.ChanApplication;
import android.util.Log;
public class Logger {
- private static final String TAG = "Chan";
+ private static final String TAG = "Clover";
private static final String TAG_SPACER = " | ";
public static void v(String tag, String message) {
diff --git a/docs/FileNotice.txt b/docs/FileNotice.txt
index 2e0a591f..a2205e6e 100644
--- a/docs/FileNotice.txt
+++ b/docs/FileNotice.txt
@@ -1,5 +1,5 @@
/*
- * Chan - 4chan browser https://github.com/Floens/Chan/
+ * Clover - 4chan browser https://github.com/Floens/Clover/
* Copyright (C) 2014 Floens
*
* This program is free software: you can redistribute it and/or modify
diff --git a/docs/Loading.txt b/docs/Loading.txt
deleted file mode 100644
index 9b1c5ca9..00000000
--- a/docs/Loading.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-LoaderPool:
-Loader obtain(Loadable):
- If loader already obtained somewhere, return the existing Loader
- Create a new Loader if not obtained somewhere else.
-void release(Loader):
- If no more listeners on loader, call destroy()
-
-Loader:
-void destroy():
-
-void requestData():
- load from beginning
-void requestNextData():
- board: load next page
- thread: reset new counter
-int getUnread():
- return unread posts
-long getTimeUntilReload:
- return time in ms until next reload
-
-
-LoaderListener:
-void onData(List, boolean append) can be called at any moment
- append:
- true if the displayer should append to existing posts
- false if the displayer should replace existing posts
-void onError(Error error) can be called at any moment
- 404: it's gone
- EndOfLineException: no more pages
-
-
-
-
diff --git a/docs/images/chanlogo.ai b/docs/images/cloverlogo.ai
similarity index 100%
rename from docs/images/chanlogo.ai
rename to docs/images/cloverlogo.ai
diff --git a/docs/images/old/4chanlogo.png b/docs/images/old/4chanlogo.png
deleted file mode 100644
index 87c13cf7..00000000
Binary files a/docs/images/old/4chanlogo.png and /dev/null differ