]> BookStack Code Mirror - bookstack/blobdiff - resources/views/mfa/backup-codes-generate.blade.php
Fixed failing test after drawio default url change
[bookstack] / resources / views / mfa / backup-codes-generate.blade.php
index 6a491fc07f68d40ca6209c6e28e66ccdec8df799..27ab0317c667f76360fca6f6e1a57101d1e3072f 100644 (file)
@@ -1,15 +1,11 @@
-@extends('simple-layout')
+@extends('layouts.simple')
 
 @section('body')
 
     <div class="container very-small py-xl">
         <div class="card content-wrap auto-height">
-            <h1 class="list-heading">Backup Codes</h1>
-            <p>
-                Store the below list of codes in a safe place.
-                When accessing the system you'll be able to use one of the codes
-                as a second authentication mechanism.
-            </p>
+            <h1 class="list-heading">{{ trans('auth.mfa_gen_backup_codes_title') }}</h1>
+            <p>{{ trans('auth.mfa_gen_backup_codes_desc') }}</p>
 
             <div class="text-center mb-xs">
                 <div class="text-bigger code-base p-m" style="column-count: 2">
             </div>
 
             <p class="text-right">
-                <a href="{{ $downloadUrl }}" download="backup-codes.txt" class="button outline small">Download Codes</a>
+                <a href="{{ $downloadUrl }}" download="backup-codes.txt" class="button outline small">{{ trans('auth.mfa_gen_backup_codes_download') }}</a>
             </p>
 
             <p class="callout warning">
-                Each code can only be used once
+                {{ trans('auth.mfa_gen_backup_codes_usage_warning') }}
             </p>
 
             <form action="{{ url('/mfa/backup_codes/confirm') }}" method="POST">
                 {{ csrf_field() }}
                 <div class="mt-s text-right">
                     <a href="{{ url('/mfa/setup') }}" class="button outline">{{ trans('common.cancel') }}</a>
-                    <button class="button">Confirm and Enable</button>
+                    <button class="button">{{ trans('auth.mfa_gen_confirm_and_enable') }}</button>
                 </div>
             </form>
         </div>