From 6112434370cfbfb3be8fddf0dd75f87c563a2dde Mon Sep 17 00:00:00 2001 From: koem Date: Fri, 3 May 2013 12:42:49 -0500 Subject: Database update * changed from O% to OC% - at least in OC caches the attributes seem to be the same (across sites) * changed english text --- main/res/values/strings.xml | 4 ++-- main/src/cgeo/geocaching/cgData.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'main') 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 @@ No swamp or marsh Hilly area No hilly area - Easy climbing - No easy climbing + Lightweight climbing + No lightweight climbing Point of interest No point of interest Moving target 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); -- cgit v1.1