]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Add button to help to translate peertube
authorChocobozzz <me@florianbigard.com>
Wed, 5 Dec 2018 09:53:14 +0000 (10:53 +0100)
committerChocobozzz <me@florianbigard.com>
Wed, 5 Dec 2018 09:53:14 +0000 (10:53 +0100)
client/src/app/menu/language-chooser.component.html
client/src/app/menu/language-chooser.component.scss

index c37bf28262acba3714f7080e9c598f7a04203789..c7960989831d4e5adb1c1b463f0774bbd8981db9 100644 (file)
@@ -4,6 +4,11 @@
     <span class="close" aria-label="Close" role="button" (click)="hide()"></span>
   </div>
 
+
+  <a i18n class="help-to-translate" target="_blank" rel="noreferrer noopener" href="https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/translation.md">
+    Help to translate PeerTube!
+  </a>
+
   <div class="modal-body">
     <a *ngFor="let lang of languages" [href]="buildLanguageLink(lang)">{{ lang.label }}</a>
   </div>
index 944e86f461d3ee0e350d74f359b22f56dd39ae7e..72deb3952e431e09ff994c694ac2bb4eff9d380a 100644 (file)
@@ -1,6 +1,11 @@
 @import '_variables';
 @import '_mixins';
 
+.help-to-translate {
+  @include peertube-button-link;
+  @include orange-button;
+}
+
 .modal-body {
   text-align: center;
 
@@ -9,4 +14,4 @@
     font-size: 16px;
     margin: 15px;
   }
-}
\ No newline at end of file
+}