diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-04 16:21:17 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-05 08:43:01 +0200 |
commit | b1d40cff89f7cff565a98cdbcea9a624196a169a (patch) | |
tree | d24746c1cc69f50471a9eba0dfb1c1bae06a1870 /client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.html | |
parent | 989e526abf0c0dd7958deb630df009608561bb67 (diff) | |
download | PeerTube-b1d40cff89f7cff565a98cdbcea9a624196a169a.tar.gz PeerTube-b1d40cff89f7cff565a98cdbcea9a624196a169a.tar.zst PeerTube-b1d40cff89f7cff565a98cdbcea9a624196a169a.zip |
Add i18n attributes
Diffstat (limited to 'client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.html')
-rw-r--r-- | client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.html | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.html b/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.html index 0e8598e9e..98587eb18 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.html +++ b/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.html | |||
@@ -1,13 +1,16 @@ | |||
1 | <form role="form" (ngSubmit)="updateDetails()" [formGroup]="form"> | 1 | <form role="form" (ngSubmit)="updateDetails()" [formGroup]="form"> |
2 | <div class="form-group"> | 2 | <div class="form-group"> |
3 | <label for="nsfwPolicy">Default policy on videos containing sensitive content</label> | 3 | <label i18n for="nsfwPolicy">Default policy on videos containing sensitive content</label> |
4 | <my-help helpType="custom" customHtml="With <strong>Do not list</strong> or <strong>Blur thumbnails</strong>, a confirmation will be requested to watch the video."></my-help> | 4 | <my-help |
5 | helpType="custom" i18n-customHtml | ||
6 | customHtml="With <strong>Do not list</strong> or <strong>Blur thumbnails</strong>, a confirmation will be requested to watch the video." | ||
7 | ></my-help> | ||
5 | 8 | ||
6 | <div class="peertube-select-container"> | 9 | <div class="peertube-select-container"> |
7 | <select id="nsfwPolicy" formControlName="nsfwPolicy"> | 10 | <select id="nsfwPolicy" formControlName="nsfwPolicy"> |
8 | <option value="do_not_list">Do not list</option> | 11 | <option i18n value="do_not_list">Do not list</option> |
9 | <option value="blur">Blur thumbnails</option> | 12 | <option i18n value="blur">Blur thumbnails</option> |
10 | <option value="display">Display</option> | 13 | <option i18n value="display">Display</option> |
11 | </select> | 14 | </select> |
12 | </div> | 15 | </div> |
13 | </div> | 16 | </div> |
@@ -18,8 +21,8 @@ | |||
18 | formControlName="autoPlayVideo" | 21 | formControlName="autoPlayVideo" |
19 | > | 22 | > |
20 | <label for="autoPlayVideo"></label> | 23 | <label for="autoPlayVideo"></label> |
21 | <label for="autoPlayVideo">Automatically plays video</label> | 24 | <label i18n for="autoPlayVideo">Automatically plays video</label> |
22 | </div> | 25 | </div> |
23 | 26 | ||
24 | <input type="submit" value="Save" [disabled]="!form.valid"> | 27 | <input type="submit" i18n-value value="Save" [disabled]="!form.valid"> |
25 | </form> | 28 | </form> |