From 92d096fe8802920d298c5ccd3b2d3781265f8fea Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Sat, 27 Jun 2020 10:51:23 +0200 Subject: [PATCH] Frontend: Change photo album success messages Signed-off-by: Michael Mayer --- frontend/src/pages/album/photos.vue | 10 +++++----- frontend/src/share/photos.vue | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/frontend/src/pages/album/photos.vue b/frontend/src/pages/album/photos.vue index 4e8fd14f7..d6af789d6 100644 --- a/frontend/src/pages/album/photos.vue +++ b/frontend/src/pages/album/photos.vue @@ -194,7 +194,7 @@ this.offset = offset; if (this.results.length > 1) { - this.$notify.info(this.$gettext('All ') + this.results.length + this.$gettext(' photos loaded')); + this.$notify.info(this.$gettext('All ') + this.results.length + this.$gettext(' entries loaded')); } } else { this.offset = offset + count; @@ -279,14 +279,14 @@ if (this.scrollDisabled) { if (!this.results.length) { - this.$notify.warn(this.$gettext("No photos found")); + this.$notify.warn(this.$gettext("No entries found")); } else if (this.results.length === 1) { - this.$notify.info(this.$gettext("One photo found")); + this.$notify.info(this.$gettext("One entry found")); } else { - this.$notify.info(this.results.length + this.$gettext(" photos found")); + this.$notify.info(this.results.length + this.$gettext(" entries found")); } } else { - this.$notify.info(this.$gettext('More than 50 photos found')); + this.$notify.info(this.$gettext('More than 50 entries found')); this.$nextTick(() => this.$emit("scrollRefresh")); } diff --git a/frontend/src/share/photos.vue b/frontend/src/share/photos.vue index 578f9436a..f1273aa08 100644 --- a/frontend/src/share/photos.vue +++ b/frontend/src/share/photos.vue @@ -237,7 +237,7 @@ this.offset = offset; if (this.results.length > 1) { - this.$notify.info(this.$gettext('All ') + this.results.length + this.$gettext(' photos loaded')); + this.$notify.info(this.$gettext('All ') + this.results.length + this.$gettext(' entries loaded')); } } else { this.offset = offset + count; @@ -322,14 +322,14 @@ if (this.scrollDisabled) { if (!this.results.length) { - this.$notify.warn(this.$gettext("No photos found")); + this.$notify.warn(this.$gettext("No entries found")); } else if (this.results.length === 1) { - this.$notify.info(this.$gettext("One photo found")); + this.$notify.info(this.$gettext("One entry found")); } else { - this.$notify.info(this.results.length + this.$gettext(" photos found")); + this.$notify.info(this.results.length + this.$gettext(" entries found")); } } else { - this.$notify.info(this.$gettext('More than 50 photos found')); + this.$notify.info(this.$gettext('More than 50 entries found')); this.$nextTick(() => this.$emit("scrollRefresh")); }