aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-06-07 17:05:57 +0200
committerChocobozzz <me@florianbigard.com>2018-06-07 17:05:57 +0200
commit379acb21bcc491efdc0118ea714790bb34238d66 (patch)
treeaba72ff8671733437b18456955c72e4ef53786ec
parent6cca7360eb9027e1544f7513df7da4684061ef7e (diff)
downloadPeerTube-379acb21bcc491efdc0118ea714790bb34238d66.tar.gz
PeerTube-379acb21bcc491efdc0118ea714790bb34238d66.tar.zst
PeerTube-379acb21bcc491efdc0118ea714790bb34238d66.zip
Rename "my settings" to "my account" in menu
-rw-r--r--client/src/app/+my-account/my-account-routing.module.ts5
-rw-r--r--client/src/app/menu/menu.component.html4
-rwxr-xr-xscripts/release.sh3
3 files changed, 9 insertions, 3 deletions
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
@@ -16,6 +16,11 @@ const myAccountRoutes: Routes = [
16 canActivateChild: [ MetaGuard, LoginGuard ], 16 canActivateChild: [ MetaGuard, LoginGuard ],
17 children: [ 17 children: [
18 { 18 {
19 path: '',
20 redirectTo: 'settings',
21 pathMatch: 'full'
22 },
23 {
19 path: 'settings', 24 path: 'settings',
20 component: MyAccountSettingsComponent, 25 component: MyAccountSettingsComponent,
21 data: { 26 data: {
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 @@
18 My public profile 18 My public profile
19 </a> 19 </a>
20 20
21 <a i18n routerLink="/my-account/settings" class="dropdown-item" title="My settings"> 21 <a i18n routerLink="/my-account" class="dropdown-item" title="My account">
22 My settings 22 My account
23 </a> 23 </a>
24 24
25 <a i18n (click)="logout($event)" class="dropdown-item" title="Log out" href="#"> 25 <a i18n (click)="logout($event)" class="dropdown-item" title="Log out" href="#">
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"
57git tag -s -a "$version" -m "$version" 57git tag -s -a "$version" -m "$version"
58 58
59npm run build 59npm run build
60rm "./client/dist/en-US/stats.json" 60rm "./client/dist/en_US/stats.json"
61rm "./client/dist/embed-stats.json"
61 62
62# Creating the archives 63# Creating the archives
63( 64(