Add 'my groups' to avatar menu

This commit is contained in:
Wolfgang Huß 2022-09-27 16:10:17 +02:00
parent 8867f8674f
commit f62df1f4aa
3 changed files with 18 additions and 3 deletions

View File

@ -72,10 +72,15 @@ export default {
}
const routes = [
{
name: this.$t('profile.name'),
name: this.$t('header.avatarMenu.myProfile'),
path: `/profile/${this.user.id}/${this.user.slug}`,
icon: 'user',
},
{
name: this.$t('header.avatarMenu.myGroups'),
path: '/my-groups',
icon: 'users',
},
{
name: this.$t('notifications.pageLink'),
path: '/notifications',

View File

@ -443,6 +443,12 @@
"hashtag-search": "Suche nach #{hashtag}",
"title": "Deine Filterblase"
},
"header": {
"avatarMenu": {
"myGroups": "Mein Gruppen",
"myProfile": "Mein Profil"
}
},
"index": {
"change-filter-settings": "Verändere die Filter-Einstellungen, um mehr Ergebnisse zu erhalten.",
"no-results": "Keine Beiträge gefunden."
@ -601,7 +607,6 @@
"title": "Lade jemanden zu {APPLICATION_NAME} ein!"
},
"memberSince": "Mitglied seit",
"name": "Mein Profil",
"network": {
"andMore": "und {number} weitere …",
"followedBy": "wird gefolgt von:",

View File

@ -443,6 +443,12 @@
"hashtag-search": "Searching for #{hashtag}",
"title": "Your filter bubble"
},
"header": {
"avatarMenu": {
"myGroups": "My groups",
"myProfile": "My profile"
}
},
"index": {
"change-filter-settings": "Change your filter settings to get more results.",
"no-results": "No contributions found."
@ -601,7 +607,6 @@
"title": "Invite somebody to {APPLICATION_NAME}!"
},
"memberSince": "Member since",
"name": "My Profile",
"network": {
"andMore": "and {number} more …",
"followedBy": "is followed by:",