aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorkoem <koem@petoria.de>2013-05-03 12:42:49 -0500
committerkoem <koem@petoria.de>2013-05-03 12:42:49 -0500
commit6112434370cfbfb3be8fddf0dd75f87c563a2dde (patch)
treeaea47fc369a44607ce2198ebe6f9c6e0b262db0e /main
parentf7fb7e91cbfb14a473220a544e469d1a1581288f (diff)
downloadcgeo-6112434370cfbfb3be8fddf0dd75f87c563a2dde.zip
cgeo-6112434370cfbfb3be8fddf0dd75f87c563a2dde.tar.gz
cgeo-6112434370cfbfb3be8fddf0dd75f87c563a2dde.tar.bz2
Database update
* changed from O% to OC% - at least in OC caches the attributes seem to be the same (across sites) * changed english text
Diffstat (limited to 'main')
-rw-r--r--main/res/values/strings.xml4
-rw-r--r--main/src/cgeo/geocaching/cgData.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/main/res/values/strings.xml b/main/res/values/strings.xml
index b08ad5a..b7e1f8d 100644
--- a/main/res/values/strings.xml
+++ b/main/res/values/strings.xml
@@ -1005,8 +1005,8 @@
<string name="attribute_swamp_no">No swamp or marsh</string>
<string name="attribute_hills_yes">Hilly area</string>
<string name="attribute_hills_no">No hilly area</string>
- <string name="attribute_easy_climbing_yes">Easy climbing</string>
- <string name="attribute_easy_climbing_no">No easy climbing</string>
+ <string name="attribute_easy_climbing_yes">Lightweight climbing</string>
+ <string name="attribute_easy_climbing_no">No lightweight climbing</string>
<string name="attribute_poi_yes">Point of interest</string>
<string name="attribute_poi_no">No point of interest</string>
<string name="attribute_moving_target_yes">Moving target</string>
diff --git a/main/src/cgeo/geocaching/cgData.java b/main/src/cgeo/geocaching/cgData.java
index 8a6d718..32d428a 100644
--- a/main/src/cgeo/geocaching/cgData.java
+++ b/main/src/cgeo/geocaching/cgData.java
@@ -678,8 +678,8 @@ public class cgData {
// issue2662 OC: Leichtes Klettern / Easy climbing
if (oldVersion < 67) {
try {
- db.execSQL("update " + dbTableAttributes + " set attribute = 'easy_climbing_yes' where geocode like 'O%' and attribute = 'climbing_yes'");
- db.execSQL("update " + dbTableAttributes + " set attribute = 'easy_climbing_no' where geocode like 'O%' and attribute = 'climbing_no'");
+ db.execSQL("update " + dbTableAttributes + " set attribute = 'easy_climbing_yes' where geocode like 'OC%' and attribute = 'climbing_yes'");
+ db.execSQL("update " + dbTableAttributes + " set attribute = 'easy_climbing_no' where geocode like 'OC%' and attribute = 'climbing_no'");
} catch (Exception e) {
Log.e("Failed to upgrade to ver. 67", e);