Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Rename "my settings" to "my account" in menu

Chocobozzz379acb21bcc4
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 7e19cd9945..91b464f75e 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 1677294054..8e3b295f77 100644
--- a/client/src/app/menu/menu.component.html
+++ b/client/src/app/menu/menu.component.html
@@ -18,8 +18,8 @@
My public profile
</a>
- <a i18n routerLink="/my-account/settings" class="dropdown-item" title="My settings">
- My settings
+ <a i18n routerLink="/my-account" class="dropdown-item" title="My account">
+ My account
</a>
<a i18n (click)="logout($event)" class="dropdown-item" title="Log out" href="#">
diff --git a/scripts/release.sh b/scripts/release.sh
index 393955264b..9adfe2b5d0 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
(