aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/views
diff options
context:
space:
mode:
Diffstat (limited to 'viewer/src/views')
-rw-r--r--viewer/src/views/GallerySearch.vue6
1 files changed, 2 insertions, 4 deletions
diff --git a/viewer/src/views/GallerySearch.vue b/viewer/src/views/GallerySearch.vue
index e75a37e..dfaa5d3 100644
--- a/viewer/src/views/GallerySearch.vue
+++ b/viewer/src/views/GallerySearch.vue
@@ -29,8 +29,7 @@ import IndexSearch from "@/services/indexsearch";
29@Component 29@Component
30export default class GalleryPicture extends Vue { 30export default class GalleryPicture extends Vue {
31 @Prop(String) readonly path!: string; 31 @Prop(String) readonly path!: string;
32 32 otherCount: number = 0;
33 otherCount: Number = 0;
34 33
35 mounted() { 34 mounted() {
36 this.$uiStore.toggleFullscreen(false); 35 this.$uiStore.toggleFullscreen(false);
@@ -50,8 +49,7 @@ export default class GalleryPicture extends Vue {
50 } 49 }
51 50
52 noResult() { 51 noResult() {
53 const params = [this.otherCount, this.otherCount > 1 ? "s" : ""]; 52 return this.$tc("search.no-result-fmt", this.otherCount, [this.otherCount]);
54 return this.$t("search.no-results.otherfolders", params);
55 } 53 }
56} 54}
57</script> 55</script>