Skip to content

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

Replace "instance" wording with "platform". (#6897)

Boo5166b2f886fe
diff --git a/client/src/app/+about/about-instance/about-instance.routes.ts b/client/src/app/+about/about-instance/about-instance.routes.ts
index 5aab913011..6688867f6a 100644
--- a/client/src/app/+about/about-instance/about-instance.routes.ts
+++ b/client/src/app/+about/about-instance/about-instance.routes.ts
@@ -13,7 +13,7 @@ export const aboutInstanceRoutes: Routes = [
component: AboutInstanceComponent,
data: {
meta: {
- title: $localize`About this instance`
+ title: $localize`About this platform`
}
},
resolve: {
diff --git a/client/src/app/+about/routes.ts b/client/src/app/+about/routes.ts
index cfe5a24e1e..94cd835115 100644
--- a/client/src/app/+about/routes.ts
+++ b/client/src/app/+about/routes.ts
@@ -41,7 +41,7 @@ export default [
component: AboutFollowsComponent,
data: {
meta: {
- title: $localize`About this instance's network`
+ title: $localize`About this platform's network`
}
}
},
diff --git a/client/src/app/+admin/moderation/moderation.routes.ts b/client/src/app/+admin/moderation/moderation.routes.ts
index 639f9b6818..bc2aca225b 100644
--- a/client/src/app/+admin/moderation/moderation.routes.ts
+++ b/client/src/app/+admin/moderation/moderation.routes.ts
@@ -112,7 +112,7 @@ export const moderationRoutes: Routes = [
data: {
userRight: UserRight.MANAGE_SERVERS_BLOCKLIST,
meta: {
- title: $localize`Muted instances`
+ title: $localize`Muted platforms`
}
}
},
diff --git a/client/src/app/+admin/plugins/plugin-search/plugin-search.component.ts b/client/src/app/+admin/plugins/plugin-search/plugin-search.component.ts
index 9487e8e243..adf0743e51 100644
--- a/client/src/app/+admin/plugins/plugin-search/plugin-search.component.ts
+++ b/client/src/app/+admin/plugins/plugin-search/plugin-search.component.ts
@@ -146,7 +146,7 @@ export class PluginSearchComponent implements OnInit {
if (this.installing[plugin.npmName]) return
const res = await this.confirmService.confirm(
- $localize`Please only install plugins or themes you trust, since they can execute any code on your instance.`,
+ $localize`Please only install plugins or themes you trust, since they can execute any code on your platform.`,
$localize`Install ${plugin.name}?`
)
if (res === false) return
diff --git a/client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.ts b/client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.ts
index 4fa4018061..38987545a7 100644
--- a/client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.ts
+++ b/client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.ts
@@ -39,11 +39,11 @@ export class MyAccountNotificationPreferencesComponent implements OnInit {
blacklistOnMyVideo: $localize`One of your video is blocked/unblocked`,
myVideoPublished: $localize`Video published (after transcoding/scheduled update)`,
myVideoImportFinished: $localize`Video import finished`,
- newUserRegistration: $localize`A new user registered on your instance`,
+ newUserRegistration: $localize`A new user registered on your platform`,
newFollow: $localize`You or one of your channels has a new follower`,
commentMention: $localize`Someone mentioned you in video comments`,
- newInstanceFollower: $localize`Your instance has a new follower`,
- autoInstanceFollowing: $localize`Your instance automatically followed another instance`,
+ newInstanceFollower: $localize`Your platform has a new follower`,
+ autoInstanceFollowing: $localize`Your platform automatically followed another platform`,
abuseNewMessage: $localize`An abuse report received a new message`,
abuseStateChange: $localize`One of your abuse reports has been accepted or rejected by moderators`,
newPeerTubeVersion: $localize`A new PeerTube version is available`,
diff --git a/client/src/app/+search/search.component.ts b/client/src/app/+search/search.component.ts
index 01626501c7..d1ca9cad7c 100644
--- a/client/src/app/+search/search.component.ts
+++ b/client/src/app/+search/search.component.ts
@@ -190,7 +190,7 @@ export class SearchComponent implements OnInit, OnDestroy {
}
this.notifier.error(
- $localize`Search index is unavailable. Retrying with instance results instead.`,
+ $localize`Search index is unavailable. Retrying with platform results instead.`,
$localize`Search error`
)
this.advancedSearch.searchTarget = 'local'
@@ -367,7 +367,7 @@ export class SearchComponent implements OnInit, OnDestroy {
private checkFieldsAndGetError () {
if (this.advancedSearch.host && !validateHost(this.advancedSearch.host)) {
- return $localize`PeerTube instance host filter is invalid`
+ return $localize`platform host filter is invalid`
}
return undefined
diff --git a/client/src/app/+signup/+register/shared/register-validators.ts b/client/src/app/+signup/+register/shared/register-validators.ts
index 63a9a1e799..33b3712a7a 100644
--- a/client/src/app/+signup/+register/shared/register-validators.ts
+++ b/client/src/app/+signup/+register/shared/register-validators.ts
@@ -4,7 +4,7 @@ import { BuildFormValidator } from '@app/shared/form-validators/form-validator.m
export const REGISTER_TERMS_VALIDATOR: BuildFormValidator = {
VALIDATORS: [ Validators.requiredTrue ],
MESSAGES: {
- required: $localize`You must agree with the instance terms in order to register on it.`
+ required: $localize`You must agree with the platform terms in order to register on it.`
}
}
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts b/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts
index d22acb1ac5..36c03bc0c2 100644
--- a/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts
+++ b/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts
@@ -147,7 +147,7 @@ export class VideoGoLiveComponent extends VideoSend implements OnInit, AfterView
const error = err.body as PeerTubeProblemDocument
if (error?.code === ServerErrorCode.MAX_INSTANCE_LIVES_LIMIT_REACHED) {
- message = $localize`Cannot create live because this instance have too many created lives`
+ message = $localize`Cannot create live because this platform have too many created lives`
} else if (error?.code === ServerErrorCode.MAX_USER_LIVES_LIMIT_REACHED) {
message = $localize`Cannot create live because you created too many lives`
}
diff --git a/client/src/app/+videos/+video-watch/shared/comment/video-comments.component.ts b/client/src/app/+videos/+video-watch/shared/comment/video-comments.component.ts
index c192c07bb0..83ba530d1d 100644
--- a/client/src/app/+videos/+video-watch/shared/comment/video-comments.component.ts
+++ b/client/src/app/+videos/+video-watch/shared/comment/video-comments.component.ts
@@ -220,9 +220,9 @@ export class VideoCommentsComponent implements OnInit, OnChanges, OnDestroy {
message = $localize`Do you really want to delete this comment?`
): Promise<boolean> {
if (commentToDelete.isLocal || this.video.isLocal) {
- message += $localize` The deletion will be sent to remote instances so they can reflect the change.`
+ message += $localize` The deletion will be sent to remote platforms so they can reflect the change.`
} else {
- message += $localize` It is a remote comment, so the deletion will only be effective on your instance.`
+ message += $localize` It is a remote comment, so the deletion will only be effective on your platform.`
}
const res = await this.confirmService.confirm(message, title)
diff --git a/client/src/app/+videos/+video-watch/video-watch.component.ts b/client/src/app/+videos/+video-watch/video-watch.component.ts
index 5ebea6e4eb..89f0667194 100644
--- a/client/src/app/+videos/+video-watch/video-watch.component.ts
+++ b/client/src/app/+videos/+video-watch/video-watch.component.ts
@@ -434,7 +434,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
const res = await this.confirmService.confirm(
// eslint-disable-next-line max-len
- $localize`This video is not available on this instance. Do you want to be redirected on the origin instance: <a href="${originUrl}">${originUrl}</a>?`,
+ $localize`This video is not available on this platform. Do you want to be redirected on the origin platform: <a href="${originUrl}">${originUrl}</a>?`,
$localize`Redirection`
)
diff --git a/client/src/app/shared/form-validators/custom-config-validators.ts b/client/src/app/shared/form-validators/custom-config-validators.ts
index a3abe60ceb..7cd4132538 100644
--- a/client/src/app/shared/form-validators/custom-config-validators.ts
+++ b/client/src/app/shared/form-validators/custom-config-validators.ts
@@ -4,7 +4,7 @@ import { BuildFormValidator } from './form-validator.model'
export const INSTANCE_NAME_VALIDATOR: BuildFormValidator = {
VALIDATORS: [ Validators.required ],
MESSAGES: {
- required: $localize`Instance name is required.`
+ required: $localize`Platform name is required.`
}
}
@@ -84,8 +84,8 @@ export const MAX_LIVE_DURATION_VALIDATOR: BuildFormValidator = {
export const MAX_INSTANCE_LIVES_VALIDATOR: BuildFormValidator = {
VALIDATORS: [ Validators.required, Validators.min(-1) ],
MESSAGES: {
- required: $localize`Max instance lives is required.`,
- min: $localize`Max instance lives must be greater or equal to -1.`
+ required: $localize`Max platform lives is required.`,
+ min: $localize`Max platform lives must be greater or equal to -1.`
}
}
diff --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.ts
index 44cc99752c..e4db30e4f0 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
@@ -494,7 +494,7 @@ export class AbuseListTableComponent extends RestTable implements OnInit, OnDest
this.blocklistService.blockAccountByInstance(account)
.subscribe({
next: () => {
- this.notifier.success($localize`Account ${account.nameWithHost} muted by the instance.`)
+ this.notifier.success($localize`Account ${account.nameWithHost} muted by the platform.`)
account.mutedByInstance = true
},
@@ -506,7 +506,7 @@ export class AbuseListTableComponent extends RestTable implements OnInit, OnDest
this.blocklistService.blockServerByInstance(host)
.subscribe({
next: () => {
- this.notifier.success($localize`Server ${host} muted by the instance.`)
+ this.notifier.success($localize`Server ${host} muted by the platform.`)
},
error: err => this.notifier.error(err.message)
diff --git a/client/src/app/shared/shared-main/video/video.service.ts b/client/src/app/shared/shared-main/video/video.service.ts
index a8f1f8a6d5..89a4361457 100644
--- a/client/src/app/shared/shared-main/video/video.service.ts
+++ b/client/src/app/shared/shared-main/video/video.service.ts
@@ -472,7 +472,7 @@ export class VideoService {
[VideoPrivacy.PRIVATE]: $localize`Only I can see this video`,
[VideoPrivacy.UNLISTED]: $localize`Only shareable via a private link`,
[VideoPrivacy.PUBLIC]: $localize`Anyone can see this video`,
- [VideoPrivacy.INTERNAL]: $localize`Only users of this instance can see this video`,
+ [VideoPrivacy.INTERNAL]: $localize`Only users of this platform can see this video`,
[VideoPrivacy.PASSWORD_PROTECTED]: $localize`Only users with the appropriate password can see this video`
}
diff --git a/client/src/app/shared/shared-moderation/account-blocklist.component.ts b/client/src/app/shared/shared-moderation/account-blocklist.component.ts
index 38dbbff788..8fb1806e75 100644
--- a/client/src/app/shared/shared-moderation/account-blocklist.component.ts
+++ b/client/src/app/shared/shared-moderation/account-blocklist.component.ts
@@ -40,7 +40,7 @@ export class GenericAccountBlocklistComponent extends RestTable implements OnIni
this.notifier.success(
this.mode === BlocklistComponentType.Account
? $localize`Account ${blockedAccount.nameWithHost} unmuted.`
- : $localize`Account ${blockedAccount.nameWithHost} unmuted by your instance.`
+ : $localize`Account ${blockedAccount.nameWithHost} unmuted by your platform.`
)
this.reloadData()
diff --git a/client/src/app/shared/shared-moderation/server-blocklist.component.ts b/client/src/app/shared/shared-moderation/server-blocklist.component.ts
index 4105645fa7..87411ca082 100644
--- a/client/src/app/shared/shared-moderation/server-blocklist.component.ts
+++ b/client/src/app/shared/shared-moderation/server-blocklist.component.ts
@@ -42,8 +42,8 @@ export class GenericServerBlocklistComponent extends RestTable implements OnInit
() => {
this.notifier.success(
this.mode === BlocklistComponentType.Account
- ? $localize`Instance ${host} unmuted.`
- : $localize`Instance ${host} unmuted by your instance.`
+ ? $localize`Platform ${host} unmuted.`
+ : $localize`Platform ${host} unmuted by your platform.`
)
this.reloadData()
@@ -65,8 +65,8 @@ export class GenericServerBlocklistComponent extends RestTable implements OnInit
() => {
this.notifier.success(
this.mode === BlocklistComponentType.Account
- ? $localize`Instance ${domain} muted.`
- : $localize`Instance ${domain} muted by your instance.`
+ ? $localize`Platform ${domain} muted.`
+ : $localize`Platform ${domain} muted by your platform.`
)
this.reloadData()
diff --git a/client/src/app/shared/shared-moderation/user-moderation-dropdown.component.ts b/client/src/app/shared/shared-moderation/user-moderation-dropdown.component.ts
index f3de0cf99e..daddca3fa2 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
@@ -310,14 +310,14 @@ export class UserModerationDropdownComponent implements OnInit, OnChanges {
handler: ({ account }) => this.unblockAccountByUser(account)
},
{
- label: $localize`Mute the instance`,
- description: $localize`Hide any content from that instance for you.`,
+ label: $localize`Mute the platform`,
+ description: $localize`Hide any content from that platform for you.`,
isDisplayed: ({ account }) => !account.userId && account.mutedServerByUser === false,
handler: ({ account }) => this.blockServerByUser(account.host)
},
{
- label: $localize`Unmute the instance`,
- description: $localize`Show back content from that instance for you.`,
+ label: $localize`Unmute the platform`,
+ description: $localize`Show back content from that platform for you.`,
isDisplayed: ({ account }) => !account.userId && account.mutedServerByUser === true,
handler: ({ account }) => this.unblockServerByUser(account.host)
},
@@ -377,13 +377,13 @@ export class UserModerationDropdownComponent implements OnInit, OnChanges {
instanceActions = instanceActions.concat([
{
label: $localize`Mute this account`,
- description: $localize`Hide any content from that user from you, your instance and its users.`,
+ description: $localize`Hide any content from that user from you, your platform and its users.`,
isDisplayed: ({ account }) => !this.isMyAccount(account) && account.mutedByInstance === false,
handler: ({ account }) => this.blockAccountByInstance(account)
},
{
label: $localize`Unmute this account`,
- description: $localize`Show this user's content to the users of this instance again.`,
+ description: $localize`Show this user's content to the users of this platform again.`,
isDisplayed: ({ account }) => !this.isMyAccount(account) && account.mutedByInstance === true,
handler: ({ account }) => this.unblockAccountByInstance(account)
}
@@ -394,14 +394,14 @@ export class UserModerationDropdownComponent implements OnInit, OnChanges {
if (this.account && this.displayOptions.instanceAccount && authUser.hasRight(UserRight.MANAGE_SERVERS_BLOCKLIST)) {
instanceActions = instanceActions.concat([
{
- label: $localize`Mute the instance`,
- description: $localize`Hide any content from that instance from you, your instance and its users.`,
+ label: $localize`Mute the platform`,
+ description: $localize`Hide any content from that platform from you, your platform and its users.`,
isDisplayed: ({ account }) => !account.userId && account.mutedServerByInstance === false,
handler: ({ account }) => this.blockServerByInstance(account.host)
},
{
- label: $localize`Unmute the instance by your instance`,
- description: $localize`Show back content from that instance for you, your instance and its users.`,
+ label: $localize`Unmute the platform by your platform`,
+ description: $localize`Show back content from that platform for you, your platform and its users.`,
isDisplayed: ({ account }) => !account.userId && account.mutedServerByInstance === true,
handler: ({ account }) => this.unblockServerByInstance(account.host)
}
@@ -411,8 +411,8 @@ export class UserModerationDropdownComponent implements OnInit, OnChanges {
if (this.account && this.displayOptions.instanceAccount && authUser.hasRight(UserRight.MANAGE_ANY_VIDEO_COMMENT)) {
instanceActions = instanceActions.concat([
{
- label: $localize`Remove comments from your instance`,
- description: $localize`Remove comments made by this account from your instance.`,
+ label: $localize`Remove comments from your platform`,
+ description: $localize`Remove comments made by this account from your platform.`,
isDisplayed: ({ account }) => !this.isMyAccount(account),
handler: ({ account }) => this.bulkRemoveCommentsOf({ accountName: account.nameWithHost, scope: 'instance' })
}
@@ -421,6 +421,6 @@ export class UserModerationDropdownComponent implements OnInit, OnChanges {
if (instanceActions.length === 0) return []
- return [ { label: $localize`Instance moderation`, isHeader: true }, ...instanceActions ]
+ return [ { label: $localize`Platform moderation`, isHeader: true }, ...instanceActions ]
}
}
diff --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.ts
index b4c003a952..f29ff552e0 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
@@ -328,7 +328,7 @@ export class VideoActionsDropdownComponent implements OnChanges {
this.redundancyService.addVideoRedundancy(this.video)
.subscribe({
next: () => {
- const message = $localize`${this.video.name} will be duplicated by your instance.`
+ const message = $localize`${this.video.name} will be duplicated by your platform.`
this.notifier.success(message)
},
diff --git a/client/src/app/shared/standalone-channels/video-channel-create.component.ts b/client/src/app/shared/standalone-channels/video-channel-create.component.ts
index 32c94c7439..25e7268e1d 100644
--- a/client/src/app/shared/standalone-channels/video-channel-create.component.ts
+++ b/client/src/app/shared/standalone-channels/video-channel-create.component.ts
@@ -95,7 +95,7 @@ export class VideoChannelCreateComponent extends VideoChannelEdit implements OnI
error: err => {
if (err.status === HttpStatusCode.CONFLICT_409) {
- this.error = $localize`This name already exists on this instance.`
+ this.error = $localize`This name already exists on this platform.`
return
}