diff options
author | Chocobozzz <me@florianbigard.com> | 2018-12-05 10:53:14 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-12-05 10:53:14 +0100 |
commit | 9c53ef67e303d6c2742126670963db8cfc81e6d2 (patch) | |
tree | 0fb1dfc376e40c7fd38036a9f92055557e3734b0 /client | |
parent | d7aea77bdb989df7df4a9c492f5e5ab033291e07 (diff) | |
download | PeerTube-9c53ef67e303d6c2742126670963db8cfc81e6d2.tar.gz PeerTube-9c53ef67e303d6c2742126670963db8cfc81e6d2.tar.zst PeerTube-9c53ef67e303d6c2742126670963db8cfc81e6d2.zip |
Add button to help to translate peertube
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/menu/language-chooser.component.html | 5 | ||||
-rw-r--r-- | client/src/app/menu/language-chooser.component.scss | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/client/src/app/menu/language-chooser.component.html b/client/src/app/menu/language-chooser.component.html index c37bf2826..c79609898 100644 --- a/client/src/app/menu/language-chooser.component.html +++ b/client/src/app/menu/language-chooser.component.html | |||
@@ -4,6 +4,11 @@ | |||
4 | <span class="close" aria-label="Close" role="button" (click)="hide()"></span> | 4 | <span class="close" aria-label="Close" role="button" (click)="hide()"></span> |
5 | </div> | 5 | </div> |
6 | 6 | ||
7 | |||
8 | <a i18n class="help-to-translate" target="_blank" rel="noreferrer noopener" href="https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/translation.md"> | ||
9 | Help to translate PeerTube! | ||
10 | </a> | ||
11 | |||
7 | <div class="modal-body"> | 12 | <div class="modal-body"> |
8 | <a *ngFor="let lang of languages" [href]="buildLanguageLink(lang)">{{ lang.label }}</a> | 13 | <a *ngFor="let lang of languages" [href]="buildLanguageLink(lang)">{{ lang.label }}</a> |
9 | </div> | 14 | </div> |
diff --git a/client/src/app/menu/language-chooser.component.scss b/client/src/app/menu/language-chooser.component.scss index 944e86f46..72deb3952 100644 --- a/client/src/app/menu/language-chooser.component.scss +++ b/client/src/app/menu/language-chooser.component.scss | |||
@@ -1,6 +1,11 @@ | |||
1 | @import '_variables'; | 1 | @import '_variables'; |
2 | @import '_mixins'; | 2 | @import '_mixins'; |
3 | 3 | ||
4 | .help-to-translate { | ||
5 | @include peertube-button-link; | ||
6 | @include orange-button; | ||
7 | } | ||
8 | |||
4 | .modal-body { | 9 | .modal-body { |
5 | text-align: center; | 10 | text-align: center; |
6 | 11 | ||
@@ -9,4 +14,4 @@ | |||
9 | font-size: 16px; | 14 | font-size: 16px; |
10 | margin: 15px; | 15 | margin: 15px; |
11 | } | 16 | } |
12 | } \ No newline at end of file | 17 | } |