Minor string fixes

pull/461/head
Varun Patil 2023-03-08 08:43:22 -08:00
parent e8a4bcffbb
commit a07ccb5b71
3 changed files with 7 additions and 8 deletions

View File

@ -171,7 +171,7 @@ export default defineComponent({
if: () => this.routeIsArchive(),
},
{
name: t("memories", "Edit Metadata"),
name: t("memories", "Edit metadata"),
icon: EditFileIcon,
callback: this.editMetadataSelection.bind(this),
},
@ -191,11 +191,10 @@ export default defineComponent({
name: t("memories", "Add to album"),
icon: AlbumsIcon,
callback: this.addToAlbum.bind(this),
if: (self: typeof this) =>
self.config_albumsEnabled && !self.routeIsAlbum(),
if: (self: any) => self.config_albumsEnabled && !self.routeIsAlbum(),
},
{
name: t("memories", "Move to another person"),
name: t("memories", "Move to person"),
icon: MoveIcon,
callback: this.moveSelectionToPerson.bind(this),
if: () => this.$route.name === "recognize",

View File

@ -1,7 +1,7 @@
<template>
<Modal v-if="show" @close="close">
<template #title>
{{ t("memories", "Edit Metadata") }}
{{ t("memories", "Edit metadata") }}
</template>
<template #buttons>

View File

@ -132,12 +132,12 @@
</template>
</NcActionButton>
<NcActionButton
:aria-label="t('memories', 'Edit Metadata')"
:aria-label="t('memories', 'Edit metadata')"
v-if="!routeIsPublic"
@click="editMetadata"
:close-after-click="true"
>
{{ t("memories", "Edit Metadata") }}
{{ t("memories", "Edit metadata") }}
<template #icon>
<EditFileIcon :size="24" />
</template>
@ -1165,7 +1165,7 @@ export default defineComponent({
},
/**
* Edit Metadata for current photo
* Edit metadata for current photo
*/
editMetadata() {
globalThis.editMetadata([globalThis.currentViewerPhoto]);