aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorLukas Winkler <git@lw1.at>2019-09-23 08:17:42 +0200
committerChocobozzz <me@florianbigard.com>2019-09-23 08:17:42 +0200
commit32d7f2b754b8d20bf44ae2121c79570cbff973c3 (patch)
tree81245f0129677639ff89b08321a9e7f84c359656 /client/src/app
parent210709a9076ac152dd377234866b8e9b9108382a (diff)
downloadPeerTube-32d7f2b754b8d20bf44ae2121c79570cbff973c3.tar.gz
PeerTube-32d7f2b754b8d20bf44ae2121c79570cbff973c3.tar.zst
PeerTube-32d7f2b754b8d20bf44ae2121c79570cbff973c3.zip
fix a few typos (#2141)
* fix a few typos * apply changes to original files instead * additional correction
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/+my-account/my-account-settings/my-account-danger-zone/my-account-danger-zone.component.ts2
-rw-r--r--client/src/app/login/login.component.html2
-rw-r--r--client/src/app/shared/forms/form-validators/user-validators.service.ts2
-rw-r--r--client/src/app/videos/+video-watch/comment/video-comment-add.component.html2
-rw-r--r--client/src/app/videos/+video-watch/comment/video-comments.component.ts2
5 files changed, 5 insertions, 5 deletions
diff --git a/client/src/app/+my-account/my-account-settings/my-account-danger-zone/my-account-danger-zone.component.ts b/client/src/app/+my-account/my-account-settings/my-account-danger-zone/my-account-danger-zone.component.ts
index 3f79efe20..41021c592 100644
--- a/client/src/app/+my-account/my-account-settings/my-account-danger-zone/my-account-danger-zone.component.ts
+++ b/client/src/app/+my-account/my-account-settings/my-account-danger-zone/my-account-danger-zone.component.ts
@@ -24,7 +24,7 @@ export class MyAccountDangerZoneComponent {
24 24
25 async deleteMe () { 25 async deleteMe () {
26 const res = await this.confirmService.confirmWithInput( 26 const res = await this.confirmService.confirmWithInput(
27 this.i18n('Are you sure you want to delete your account? This will delete all you data, including channels, videos etc.'), 27 this.i18n('Are you sure you want to delete your account? This will delete all your data, including channels, videos etc.'),
28 this.i18n('Type your username to confirm'), 28 this.i18n('Type your username to confirm'),
29 this.user.username, 29 this.user.username,
30 this.i18n('Delete your account'), 30 this.i18n('Delete your account'),
diff --git a/client/src/app/login/login.component.html b/client/src/app/login/login.component.html
index 683355960..3fb1247c8 100644
--- a/client/src/app/login/login.component.html
+++ b/client/src/app/login/login.component.html
@@ -63,7 +63,7 @@
63 <div class="modal-body"> 63 <div class="modal-body">
64 64
65 <div *ngIf="isEmailDisabled()" class="alert alert-danger" i18n> 65 <div *ngIf="isEmailDisabled()" class="alert alert-danger" i18n>
66 We are sorry, you cannot recover you password because your instance administrator did not configure the PeerTube email system. 66 We are sorry, you cannot recover your password because your instance administrator did not configure the PeerTube email system.
67 </div> 67 </div>
68 68
69 <div class="form-group" [hidden]="isEmailDisabled()"> 69 <div class="form-group" [hidden]="isEmailDisabled()">
diff --git a/client/src/app/shared/forms/form-validators/user-validators.service.ts b/client/src/app/shared/forms/form-validators/user-validators.service.ts
index 2dafb1816..4dff3e422 100644
--- a/client/src/app/shared/forms/form-validators/user-validators.service.ts
+++ b/client/src/app/shared/forms/form-validators/user-validators.service.ts
@@ -103,7 +103,7 @@ export class UserValidatorsService {
103 Validators.requiredTrue 103 Validators.requiredTrue
104 ], 104 ],
105 MESSAGES: { 105 MESSAGES: {
106 'required': this.i18n('You must to agree with the instance terms in order to registering on it.') 106 'required': this.i18n('You must agree with the instance terms in order to register on it.')
107 } 107 }
108 } 108 }
109 109
diff --git a/client/src/app/videos/+video-watch/comment/video-comment-add.component.html b/client/src/app/videos/+video-watch/comment/video-comment-add.component.html
index 916f5d0ff..cce8455e0 100644
--- a/client/src/app/videos/+video-watch/comment/video-comment-add.component.html
+++ b/client/src/app/videos/+video-watch/comment/video-comment-add.component.html
@@ -34,7 +34,7 @@
34 </span> 34 </span>
35 <span class="btn btn-sm mx-3" role="button" (click)="gotoLogin()" i18n>login to comment</span> 35 <span class="btn btn-sm mx-3" role="button" (click)="gotoLogin()" i18n>login to comment</span>
36 <span i18n> 36 <span i18n>
37 Otherwise you can comment using an account on any ActivityPub-compatible instance. 37 Otherwise, you can comment using an account on any ActivityPub-compatible instance.
38 On most platforms, you can find the video by typing its URL in the search bar and then comment it 38 On most platforms, you can find the video by typing its URL in the search bar and then comment it
39 from within the software's interface. 39 from within the software's interface.
40 </span> 40 </span>
diff --git a/client/src/app/videos/+video-watch/comment/video-comments.component.ts b/client/src/app/videos/+video-watch/comment/video-comments.component.ts
index a3e5ed880..57b98afce 100644
--- a/client/src/app/videos/+video-watch/comment/video-comments.component.ts
+++ b/client/src/app/videos/+video-watch/comment/video-comments.component.ts
@@ -158,7 +158,7 @@ export class VideoCommentsComponent implements OnInit, OnChanges, OnDestroy {
158 } 158 }
159 159
160 if (commentToDelete.isLocal) { 160 if (commentToDelete.isLocal) {
161 message += this.i18n(' The deletion will be sent to remote instances so they remove the comment too.') 161 message += this.i18n(' The deletion will be sent to remote instances, so they remove the comment too.')
162 } else { 162 } else {
163 message += this.i18n(' It is a remote comment, so the deletion will only be effective on your instance.') 163 message += this.i18n(' It is a remote comment, so the deletion will only be effective on your instance.')
164 } 164 }