From: Chocobozzz Date: Thu, 7 Jun 2018 15:05:57 +0000 (+0200) Subject: Rename "my settings" to "my account" in menu X-Git-Tag: v1.0.0-beta.8~19 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=379acb21bcc491efdc0118ea714790bb34238d66;p=oweals%2Fpeertube.git Rename "my settings" to "my account" in menu --- diff --git a/client/src/app/+my-account/my-account-routing.module.ts b/client/src/app/+my-account/my-account-routing.module.ts index 7e19cd994..91b464f75 100644 --- a/client/src/app/+my-account/my-account-routing.module.ts +++ b/client/src/app/+my-account/my-account-routing.module.ts @@ -15,6 +15,11 @@ const myAccountRoutes: Routes = [ component: MyAccountComponent, canActivateChild: [ MetaGuard, LoginGuard ], children: [ + { + path: '', + redirectTo: 'settings', + pathMatch: 'full' + }, { path: 'settings', component: MyAccountSettingsComponent, diff --git a/client/src/app/menu/menu.component.html b/client/src/app/menu/menu.component.html index 167729405..8e3b295f7 100644 --- a/client/src/app/menu/menu.component.html +++ b/client/src/app/menu/menu.component.html @@ -18,8 +18,8 @@ My public profile - - My settings + + My account diff --git a/scripts/release.sh b/scripts/release.sh index 393955264..9adfe2b5d 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -57,7 +57,8 @@ git commit package.json client/package.json -m "Bumped to version $version" git tag -s -a "$version" -m "$version" npm run build -rm "./client/dist/en-US/stats.json" +rm "./client/dist/en_US/stats.json" +rm "./client/dist/embed-stats.json" # Creating the archives (