diff --git a/frontend/src/dialog/photo/edit/info.vue b/frontend/src/dialog/photo/edit/info.vue
index 2f08c119a..a7c86d6c7 100644
--- a/frontend/src/dialog/photo/edit/info.vue
+++ b/frontend/src/dialog/photo/edit/info.vue
@@ -59,18 +59,24 @@
-
+ |
Title
check
|
- {{ model.Title }} |
+
+ {{ model.Title }}
+ insert_drive_file
+ |
-
+ |
Taken
check
|
- {{ model.getDateString() }} |
+
+ {{ model.getDateString() }}
+ insights
+ |
@@ -181,12 +187,13 @@
|
-
+ |
Place
check
|
-
+ |
{{ model.locationInfo() }}
+ insights
|
@@ -283,6 +290,8 @@
import Thumb from "model/thumb";
import {DateTime, Info} from "luxon";
import * as options from "options/options";
+import {T} from "common/vm";
+import Util from "common/util";
export default {
name: 'PTabPhotoAdvanced',
@@ -331,6 +340,28 @@ export default {
},
},
methods: {
+ sourceName(s) {
+ switch (s) {
+ case "":
+ case "auto":
+ case "manual":
+ return "";
+ case "meta":
+ return this.$gettext('Metadata');
+ case "xmp":
+ return "XMP";
+ case "estimate":
+ return this.$gettext("Estimate");
+ case "name":
+ return this.$gettext("Name");
+ case "image":
+ return this.$gettext("Image");
+ case "location":
+ return this.$gettext("Location");
+ default:
+ return T(Util.capitalize(s));
+ }
+ },
formatTime(s) {
return DateTime.fromISO(s).toLocaleString(DateTime.DATETIME_MED);
},
diff --git a/frontend/src/page/settings/library.vue b/frontend/src/page/settings/library.vue
index 01254f606..9fcbf10c9 100644
--- a/frontend/src/page/settings/library.vue
+++ b/frontend/src/page/settings/library.vue
@@ -20,7 +20,7 @@
color="secondary-dark"
:label="$gettext('Estimates')"
:hint="$gettext('Estimate the approximate location of pictures without coordinates.')"
- prepend-icon="timeline"
+ prepend-icon="insights"
persistent-hint
@change="onChange"
>