ActivityPub-federated video streaming platform using P2P directly in your web browser
Add ... suffix to actions with another step
Chocobozzz2acade564160
diff --git a/client/src/app/+admin/moderation/registration-list/registration-list.component.ts b/client/src/app/+admin/moderation/registration-list/registration-list.component.tsindex 9873a86f67..51b6c3aed0 100644--- a/client/src/app/+admin/moderation/registration-list/registration-list.component.ts+++ b/client/src/app/+admin/moderation/registration-list/registration-list.component.ts@@ -88,13 +88,13 @@ export class RegistrationListComponent implements OnInit {const { simpleActions, bulkActions } = buildDropdownSimpleAndBulkActions<UserRegistration>([[{- label: () => $localize`Accept`,+ label: () => $localize`Accept...`,handler: registrations => this.openRegistrationRequestProcessModal(registrations, 'accept'),isDisplayed: registration => registration.state.id === UserRegistrationState.PENDING,enableBulk: true},{- label: () => $localize`Reject`,+ label: () => $localize`Reject...`,handler: registrations => this.openRegistrationRequestProcessModal(registrations, 'reject'),isDisplayed: registration => registration.state.id === UserRegistrationState.PENDING,enableBulk: truediff --git a/client/src/app/+admin/moderation/video-block-list/video-block-list.component.ts b/client/src/app/+admin/moderation/video-block-list/video-block-list.component.tsindex b29d5369ba..7a80ba7544 100644--- a/client/src/app/+admin/moderation/video-block-list/video-block-list.component.ts+++ b/client/src/app/+admin/moderation/video-block-list/video-block-list.component.ts@@ -107,7 +107,7 @@ export class VideoBlockListComponent implements OnInit {enableBulk: true},{- label: () => $localize`Set internal note`,+ label: () => $localize`Set internal note...`,handler: entries => this.internalNoteModal().openModal(entries),enableBulk: true}diff --git a/client/src/app/+admin/overview/users/user-list/user-list.component.ts b/client/src/app/+admin/overview/users/user-list/user-list.component.tsindex 1313f3320f..a680e27dcf 100644--- a/client/src/app/+admin/overview/users/user-list/user-list.component.ts+++ b/client/src/app/+admin/overview/users/user-list/user-list.component.ts@@ -146,7 +146,7 @@ export class UserListComponent implements OnInit, OnDestroy {isDisplayed: users => users.every(u => this.authUser.canManageUser(u))},{- label: $localize`Ban`,+ label: $localize`Ban...`,description: $localize`User won't be able to login anymore, but videos and comments will be kept as is.`,handler: users => this.openBanUserModal(users),isDisplayed: users => users.every(u => this.authUser.canManageUser(u) && u.blocked === false)diff --git a/client/src/app/+admin/overview/videos/video-list.component.ts b/client/src/app/+admin/overview/videos/video-list.component.tsindex 35e9cbebac..7f1e713973 100644--- a/client/src/app/+admin/overview/videos/video-list.component.ts+++ b/client/src/app/+admin/overview/videos/video-list.component.ts@@ -235,7 +235,7 @@ export class VideoListComponent implements OnInit {iconName: 'delete'},{- label: $localize`Block`,+ label: $localize`Block...`,handler: videos => this.videoBlockModal().show(videos),isDisplayed: videos => this.authUser.hasRight(UserRight.MANAGE_VIDEO_BLACKLIST) && videos.every(v => !v.blacklisted),iconName: 'no'diff --git a/client/src/app/+my-library/my-ownership-changes/my-video-ownership-changes/my-video-ownership-changes.component.ts b/client/src/app/+my-library/my-ownership-changes/my-video-ownership-changes/my-video-ownership-changes.component.tsindex 6e6e4e6fd6..12ab9fb74d 100644--- a/client/src/app/+my-library/my-ownership-changes/my-video-ownership-changes/my-video-ownership-changes.component.ts+++ b/client/src/app/+my-library/my-ownership-changes/my-video-ownership-changes/my-video-ownership-changes.component.ts@@ -66,7 +66,7 @@ export class MyVideoOwnershipChangesComponent {],[{- label: () => $localize`Accept`,+ label: () => $localize`Accept...`,handler: changeOwnership => this.openAcceptModal(changeOwnership),isDisplayed: changeOwnership => this.canAcceptOrReject(changeOwnership),enableBulk: truediff --git a/client/src/app/shared/shared-abuse-list/abuse-list-table.component.ts b/client/src/app/shared/shared-abuse-list/abuse-list-table.component.tsindex f73acc0414..22c235a23a 100644--- a/client/src/app/shared/shared-abuse-list/abuse-list-table.component.ts+++ b/client/src/app/shared/shared-abuse-list/abuse-list-table.component.ts@@ -338,8 +338,8 @@ export class AbuseListTableComponent implements OnInit, OnDestroy {private buildInternalActions (): DropdownActionForBuilder<ProcessedAbuse>[] {const messagesAction: DropdownActionForBuilder<ProcessedAbuse> = {label: this.isAdminView()- ? $localize`Messages with reporter`- : $localize`Messages with moderators`,+ ? $localize`Messages with reporter...`+ : $localize`Messages with moderators...`,handler: abuses => this.openAbuseMessagesModal(abuses[0]),isDisplayed: abuse => this.isLocalAbuse(abuse),enableBulk: false@@ -376,7 +376,7 @@ export class AbuseListTableComponent implements OnInit, OnDestroy {messagesAction,{- label: () => $localize`Set internal note`,+ label: () => $localize`Set internal note...`,handler: abuses => this.openModerationCommentModal(abuses),isDisplayed: () => this.isAdminView(),enableBulk: truediff --git a/client/src/app/shared/shared-moderation/user-moderation-dropdown.component.ts b/client/src/app/shared/shared-moderation/user-moderation-dropdown.component.tsindex a1b616ac5a..4ca79c8096 100644--- a/client/src/app/shared/shared-moderation/user-moderation-dropdown.component.ts+++ b/client/src/app/shared/shared-moderation/user-moderation-dropdown.component.ts@@ -416,7 +416,7 @@ export class UserModerationDropdownComponent implements OnInit, OnChanges {if (hasManageRight) {platformModerationActions = platformModerationActions.concat([{- label: $localize`Ban`,+ label: $localize`Ban...`,description: $localize`User won't be able to login anymore, but videos and comments will be kept as is.`,handler: ({ user }) => this.openBanUserModal(user),isDisplayed: ({ user }) => !this.isMyUser(user) && !user.blockeddiff --git a/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts b/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.tsindex 0f540e7781..f48c7d3b60 100644--- a/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts+++ b/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts@@ -505,7 +505,7 @@ export class VideoActionsDropdownComponent implements OnChanges {this.videoActions = [[{- label: $localize`Save to playlist`,+ label: $localize`Save to playlist...`,handler: () => this.playlistDropdown().toggle(),isDisplayed: () => this.authService.isLoggedIn() && this.displayOptions().playlist,iconName: 'playlist-add'@@ -513,7 +513,7 @@ export class VideoActionsDropdownComponent implements OnChanges {],[ // public actions regarding the video{- label: $localize`Download`,+ label: $localize`Download...`,handler: () => this.showDownloadModal(),isDisplayed: () => {if (!this.displayOptions().download) return false@@ -565,7 +565,7 @@ export class VideoActionsDropdownComponent implements OnChanges {isDisplayed: () => this.authService.isLoggedIn() && this.displayOptions().update && this.isVideoUpdatable()},{- label: $localize`Block`,+ label: $localize`Block...`,handler: () => this.showBlockModal(),iconName: 'no',isDisplayed: () => this.authService.isLoggedIn() && this.displayOptions().blacklist && this.isVideoBlockable()@@ -589,7 +589,7 @@ export class VideoActionsDropdownComponent implements OnChanges {iconName: 'delete'},{- label: $localize`Report`,+ label: $localize`Report...`,handler: () => this.showReportModal(),isDisplayed: () => this.authService.isLoggedIn() && this.displayOptions().report,iconName: 'flag'