aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/connector/gc
diff options
context:
space:
mode:
authorSammysHP <sven@sammyshp.de>2012-05-08 23:46:32 +0200
committerSamuel Tardieu <sam@rfc1149.net>2012-05-09 09:45:48 +0200
commit5faaca070124f3868e7b59f115c2b5a1863d17ed (patch)
tree6026cf6df990e17e2c8343468c9ab8bf2f96573b /main/src/cgeo/geocaching/connector/gc
parent6e52aa6e4518838f6708ed181824ee04ffd26e47 (diff)
downloadcgeo-5faaca070124f3868e7b59f115c2b5a1863d17ed.zip
cgeo-5faaca070124f3868e7b59f115c2b5a1863d17ed.tar.gz
cgeo-5faaca070124f3868e7b59f115c2b5a1863d17ed.tar.bz2
Refactoring: Move some strings into GCConstants
Fix: issue with gc.com update Tests are not green because mocked data was not updated. Conflicts (cherry-picking from master branch): main/src/cgeo/geocaching/cgBase.java main/src/cgeo/geocaching/cgCache.java
Diffstat (limited to 'main/src/cgeo/geocaching/connector/gc')
-rw-r--r--main/src/cgeo/geocaching/connector/gc/GCConstants.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/connector/gc/GCConstants.java b/main/src/cgeo/geocaching/connector/gc/GCConstants.java
index 563cf4b..0edb0ef 100644
--- a/main/src/cgeo/geocaching/connector/gc/GCConstants.java
+++ b/main/src/cgeo/geocaching/connector/gc/GCConstants.java
@@ -151,6 +151,17 @@ public final class GCConstants {
/** Live Map since 14.02.2012 */
public final static Pattern PATTERN_USERSESSION = Pattern.compile("UserSession\\('([^']+)'");
public final static Pattern PATTERN_SESSIONTOKEN = Pattern.compile("sessionToken:'([^']+)'");
+
+ public final static String STRING_PREMIUMONLY_2 = "Sorry, the owner of this listing has made it viewable to Premium Members only.";
+ public final static String STRING_PREMIUMONLY_1 = "has chosen to make this cache listing visible to Premium Members only.";
+ public final static String STRING_UNPUBLISHED_OWNER = "Cache is Unpublished";
+ public final static String STRING_UNPUBLISHED_OTHER = "you cannot view this cache listing until it has been published";
+ public final static String STRING_UNKNOWN_ERROR = "An Error Has Occurred";
+ public final static String STRING_CACHEINFORMATIONTABLE = "<div id=\"ctl00_ContentBody_CacheInformationTable\" class=\"CacheInformationTable\">";
+ public final static String STRING_DISABLED = "<li>This cache is temporarily unavailable.";
+ public final static String STRING_ARCHIVED = "<li>This cache has been archived,";
+ public final static String STRING_CACHEDETAILS = "id=\"cacheDetails\"";
+
/** Number of logs to retrieve from GC.com */
public final static int NUMBER_OF_LOGS = 35;