aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/enumerations
diff options
context:
space:
mode:
authorBananeweizen <Bananeweizen@gmx.de>2012-12-27 16:17:19 +0100
committerBananeweizen <Bananeweizen@gmx.de>2012-12-27 16:17:19 +0100
commitdc6959c605fb30d8b8d9f47fe8186f9d1292540b (patch)
treed895c6201ec800057ce3a5a44ebcb4edf43112ff /main/src/cgeo/geocaching/enumerations
parent5d3759bdc01877cfce831ec57d029354d139c7eb (diff)
downloadcgeo-dc6959c605fb30d8b8d9f47fe8186f9d1292540b.zip
cgeo-dc6959c605fb30d8b8d9f47fe8186f9d1292540b.tar.gz
cgeo-dc6959c605fb30d8b8d9f47fe8186f9d1292540b.tar.bz2
#2210: use resource for main options menu
* remove context menus, use list selection UI or alert dialog instead
Diffstat (limited to 'main/src/cgeo/geocaching/enumerations')
-rw-r--r--main/src/cgeo/geocaching/enumerations/CacheType.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/enumerations/CacheType.java b/main/src/cgeo/geocaching/enumerations/CacheType.java
index 028b2b1..88bded2 100644
--- a/main/src/cgeo/geocaching/enumerations/CacheType.java
+++ b/main/src/cgeo/geocaching/enumerations/CacheType.java
@@ -89,4 +89,9 @@ public enum CacheType {
public boolean isEvent() {
return CacheType.EVENT == this || CacheType.MEGA_EVENT == this || CacheType.CITO == this || CacheType.LOSTANDFOUND == this;
}
+
+ @Override
+ public String toString() {
+ return getL10n();
+ }
}