From 7e86e38bc5d776fc54e8e3abdc92db86b55cb68e Mon Sep 17 00:00:00 2001
From: Tor-Einar Skog <tor-einar.skog@nibio.no>
Date: Wed, 10 May 2023 13:05:29 +0200
Subject: [PATCH] Add POI type Trap

---
 config.xml                    | 2 +-
 package.json                  | 2 +-
 src/components/CommonUtil.vue | 1 +
 src/locales/en.json           | 1 +
 src/locales/nb.json           | 1 +
 5 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/config.xml b/config.xml
index 8abd527..259b8e1 100644
--- a/config.xml
+++ b/config.xml
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='utf-8'?>
-<widget id="no.nibio.vips.observation" version="1.0.5"
+<widget id="no.nibio.vips.observation" version="1.0.6"
 	xmlns="http://www.w3.org/ns/widgets"
 	xmlns:android="http://schemas.android.com/apk/res/android"
 	xmlns:cdv="http://cordova.apache.org/ns/1.0">
diff --git a/package.json b/package.json
index 2876349..e62088e 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "vipsobservationapp",
-  "version": "1.0.5",
+  "version": "1.0.6",
   "private": true,
   "description": "The Field Pest Observation App for VIPS users",
   "author": "Tor-Einar Skog <tor-einar.skog@nibio.no>",
diff --git a/src/components/CommonUtil.vue b/src/components/CommonUtil.vue
index bbd64eb..4ce19cc 100644
--- a/src/components/CommonUtil.vue
+++ b/src/components/CommonUtil.vue
@@ -22,6 +22,7 @@
 			{"point_of_interest_type_id": 0, "default_name": "General", "is_user_selectable": true},
 			{"point_of_interest_type_id": 2, "default_name": "Farm", "is_user_selectable": true},
 			{"point_of_interest_type_id": 3, "default_name": "Field", "is_user_selectable": true},
+			{"point_of_interest_type_id": 5, "default_name": "Trap", "is_user_selectable": true},
 			{"point_of_interest_type_id": 1, "default_name": "Weather station", "is_user_selectable": false}
 		],
 		CONST_POI_TYPE_DEFAULT: 3,
diff --git a/src/locales/en.json b/src/locales/en.json
index 6e2e066..4f34bbc 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -53,6 +53,7 @@
 	"General": "General",
 	"Farm": "Farm",
 	"Field": "Field",
+	"Trap": "Trap",
 	"Weather station": "Weather station",
 	"places.search.label": "Search",
 	"placeslist.heading": "My places",
diff --git a/src/locales/nb.json b/src/locales/nb.json
index 0e832f3..5227ab9 100644
--- a/src/locales/nb.json
+++ b/src/locales/nb.json
@@ -53,6 +53,7 @@
 	"General": "Generelt",
 	"Farm": "Gård",
 	"Field": "Felt",
+	"Trap": "Felle",
 	"Weather station": "Målestasjon",
 	"places.search.label": "Søk",
 	"placeslist.heading": "Mine steder",
-- 
GitLab