fix a few typos (#2141)

* fix a few typos

* apply changes to original files instead

* additional correction
This commit is contained in:
Lukas Winkler 2019-09-23 08:17:42 +02:00 committed by Chocobozzz
parent 210709a907
commit 32d7f2b754
10 changed files with 10 additions and 10 deletions

View File

@ -24,7 +24,7 @@ export class MyAccountDangerZoneComponent {
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'),

View File

@ -63,7 +63,7 @@
<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()">

View File

@ -103,7 +103,7 @@ export class UserValidatorsService {
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.')
}
}

View File

@ -34,7 +34,7 @@
</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>

View File

@ -158,7 +158,7 @@ export class VideoCommentsComponent implements OnInit, OnChanges, OnDestroy {
}
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.')
}

View File

@ -48,7 +48,7 @@ export {
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

View File

@ -91,7 +91,7 @@ const usersRegisterValidator = [
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)

View File

@ -901,7 +901,7 @@ describe('Test users API validators', function () {
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)

View File

@ -18,7 +18,7 @@ COMMANDS
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

View File

@ -36,7 +36,7 @@
## 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