diff --git a/frontend/src/dialog/photo/files.vue b/frontend/src/dialog/photo/files.vue index 4ea20ce38..ec839c268 100644 --- a/frontend/src/dialog/photo/files.vue +++ b/frontend/src/dialog/photo/files.vue @@ -182,7 +182,7 @@ this.model.primaryFile(file.UID); }, formatTime(s) { - return DateTime.fromISO(s).toHTTP(); + return DateTime.fromISO(s).toLocaleString(DateTime.DATETIME_MED); }, refresh() { }, diff --git a/frontend/src/dialog/photo/info.vue b/frontend/src/dialog/photo/info.vue index c74eb7972..3b3015c6e 100644 --- a/frontend/src/dialog/photo/info.vue +++ b/frontend/src/dialog/photo/info.vue @@ -113,7 +113,7 @@ @change="save" hide-details v-model="model.Favorite" - :label="model.Favorite ? 'Yes' : 'No'" + :label="model.Favorite ? $gettext('Yes') : $gettext('No')" > @@ -126,7 +126,7 @@ @change="save" hide-details v-model="model.Private" - :label="model.Private ? 'Yes' : 'No'" + :label="model.Private ? $gettext('Yes') : $gettext('No')" > @@ -208,7 +208,7 @@ }, methods: { formatTime(s) { - return DateTime.fromISO(s).toHTTP(); + return DateTime.fromISO(s).toLocaleString(DateTime.DATETIME_MED); }, save() { this.model.update(); diff --git a/frontend/src/dialog/photo/labels.vue b/frontend/src/dialog/photo/labels.vue index d0d3ba29d..e4622cc30 100644 --- a/frontend/src/dialog/photo/labels.vue +++ b/frontend/src/dialog/photo/labels.vue @@ -32,7 +32,7 @@ - {{ props.item.LabelSrc }} + {{ sourceName(props.item.LabelSrc) }} {{ 100 - props.item.Uncertainty }}% - manual + {{ sourceName('manual') }} 100%