l10n: dynamic top matter

old-stable24
Varun Patil 2022-10-12 12:40:56 -07:00
parent 930edee39c
commit 3dd56df885
1 changed files with 7 additions and 7 deletions

View File

@ -388,13 +388,13 @@ export default class Timeline extends Mixins(GlobalMixin, UserConfig) {
/** Get view name for dynamic top matter */ /** Get view name for dynamic top matter */
getViewName() { getViewName() {
switch (this.$route.name) { switch (this.$route.name) {
case 'timeline': return 'Your Photos'; case 'timeline': return this.t('memories', 'Your Timeline');
case 'favorites': return 'Favorites'; case 'favorites': return this.t('memories', 'Favorites');
case 'people': return 'People'; case 'people': return this.t('memories', 'People');
case 'videos': return 'Videos'; case 'videos': return this.t('memories', 'Videos');
case 'archive': return 'Archive'; case 'archive': return this.t('memories', 'Archive');
case 'thisday': return 'On this day'; case 'thisday': return this.t('memories', 'On this day');
case 'tags': return 'Tags'; case 'tags': return this.t('memories', 'Tags');
default: return ''; default: return '';
} }
} }