l10n: dynamic top matter
parent
930edee39c
commit
3dd56df885
|
@ -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 '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue