]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+signup/+register/register.component.ts
add previous button to registration form, with alignment
[github/Chocobozzz/PeerTube.git] / client / src / app / +signup / +register / register.component.ts
index b1f5d8e93f2d16c0b3bad474039140b6ecc16f68..8e89bb01a25d66692c9ff28c602f12e61400b7d2 100644 (file)
@@ -38,7 +38,8 @@ export class RegisterComponent implements OnInit {
     moderation: false
   }
 
-  defaultNextStepButtonLabel = $localize`Next`
+  defaultPreviousStepButtonLabel = $localize`:Button on the registration form to go to the previous step:Back`
+  defaultNextStepButtonLabel = $localize`:Button on the registration form to go to the previous step:Next`
   stepUserButtonLabel = this.defaultNextStepButtonLabel
 
   private serverConfig: ServerConfig
@@ -60,7 +61,7 @@ export class RegisterComponent implements OnInit {
 
     this.videoUploadDisabled = this.serverConfig.user.videoQuota === 0
     this.stepUserButtonLabel = this.videoUploadDisabled
-      ? $localize`Signup`
+      ? $localize`:Button on the registration form to finalize the account and channel creation:Signup`
       : this.defaultNextStepButtonLabel
 
     this.hooks.runAction('action:signup.register.init', 'signup')