async deleteMe () {
const res = await this.confirmService.confirmWithInput(
- this.i18n('Are you sure you want to delete your account? This will delete all you data, including channels, videos etc.'),
+ this.i18n('Are you sure you want to delete your account? This will delete all your data, including channels, videos etc.'),
this.i18n('Type your username to confirm'),
this.user.username,
this.i18n('Delete your account'),
<div class="modal-body">
<div *ngIf="isEmailDisabled()" class="alert alert-danger" i18n>
- We are sorry, you cannot recover you password because your instance administrator did not configure the PeerTube email system.
+ We are sorry, you cannot recover your password because your instance administrator did not configure the PeerTube email system.
</div>
<div class="form-group" [hidden]="isEmailDisabled()">
Validators.requiredTrue
],
MESSAGES: {
- 'required': this.i18n('You must to agree with the instance terms in order to registering on it.')
+ 'required': this.i18n('You must agree with the instance terms in order to register on it.')
}
}
</span>
<span class="btn btn-sm mx-3" role="button" (click)="gotoLogin()" i18n>login to comment</span>
<span i18n>
- Otherwise you can comment using an account on any ActivityPub-compatible instance.
+ Otherwise, you can comment using an account on any ActivityPub-compatible instance.
On most platforms, you can find the video by typing its URL in the search bar and then comment it
from within the software's interface.
</span>
}
if (commentToDelete.isLocal) {
- message += this.i18n(' The deletion will be sent to remote instances so they remove the comment too.')
+ message += this.i18n(' The deletion will be sent to remote instances, so they remove the comment too.')
} else {
message += this.i18n(' It is a remote comment, so the deletion will only be effective on your instance.')
}
async function follow (fromActor: MActor, targetActor: MActorFull, isAutoFollow = false) {
if (fromActor.id === targetActor.id) {
- throw new Error('Follower is the same than target actor.')
+ throw new Error('Follower is the same as target actor.')
}
// Same server, direct accept
if (body.channel.name === body.username) {
return res.status(400)
- .json({ error: 'Channel name cannot be the same than user username.' })
+ .json({ error: 'Channel name cannot be the same as user username.' })
}
const existing = await ActorModel.loadLocalByName(body.channel.name)
await makePostBodyRequest({ url: server.url, path: registrationPath, token: server.accessToken, fields })
})
- it('Should fail with a channel name that is the same than user username', async function () {
+ it('Should fail with a channel name that is the same as username', async function () {
const source = { username: 'super_user', channel: { name: 'super_user', displayName: 'display name' } }
const fields = immutableAssign(baseCorrectParams, source)
Unless otherwise specified, every command can be queried for its own help or manual by passing its name to the `help` command, or by using the `--help` option.
-`auth [action]`: stores credentials for your accounts on remote instances so that you don't need to pass them at every command
+`auth [action]`: stores credentials for your accounts on remote instances, so that you don't need to pass them at every command
`upload|up`: upload a video to a remote instance
## Concepts
-Themes are exactly the same than plugins, except that:
+Themes are exactly the same as plugins, except that:
* Their name starts with `peertube-theme-` instead of `peertube-plugin-`
* They cannot declare server code (so they cannot register server hooks or settings)
* CSS files are loaded by client only if the theme is chosen by the administrator or the user