Further translation updates

This commit is contained in:
Pinga 2024-01-08 15:03:38 +02:00
parent 72acd498aa
commit 0aeeec272c
7 changed files with 45 additions and 117 deletions

View file

@ -170,18 +170,6 @@
</div> </div>
</div> </div>
</div> </div>
<footer class="footer footer-transparent d-print-none"> {% include 'partials/footer.twig' %}
<div class="container-xl">
<div class="col-12 col-lg-auto mt-3 mt-lg-0">
<ul class="list-inline list-inline-dots mb-0">
<li class="list-inline-item">
Copyright &copy; 2023
<a href="https://namingo.org" target="_blank" class="link-secondary">Namingo</a>.
</li>
</ul>
</div>
</div>
</div>
</footer>
</div> </div>
{% endblock %} {% endblock %}

View file

@ -34,9 +34,9 @@
<button class="btn btn-red btn-icon" onclick="downloadPDF()"><svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 8v8h2a2 2 0 0 0 2 -2v-4a2 2 0 0 0 -2 -2h-2z"></path><path d="M3 12h2a2 2 0 1 0 0 -4h-2v8"></path><path d="M17 12h3"></path><path d="M21 8h-4v8"></path></svg></button> <button class="btn btn-red btn-icon" onclick="downloadPDF()"><svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 8v8h2a2 2 0 0 0 2 -2v-4a2 2 0 0 0 -2 -2h-2z"></path><path d="M3 12h2a2 2 0 1 0 0 -4h-2v8"></path><path d="M17 12h3"></path><path d="M21 8h-4v8"></path></svg></button>
</div> </div>
<div class="ms-auto text-secondary"> <div class="ms-auto text-secondary">
Search: {{ __('Search') }}:
<div class="ms-2 d-inline-block"> <div class="ms-2 d-inline-block">
<input id="search-input" type="text" class="form-control" aria-label="Search logs"> <input id="search-input" type="text" class="form-control" aria-label="{{ __('Search logs') }}">
</div> </div>
</div> </div>
</div> </div>
@ -48,18 +48,6 @@
</div> </div>
</div> </div>
</div> </div>
<footer class="footer footer-transparent d-print-none"> {% include 'partials/footer.twig' %}
<div class="container-xl">
<div class="col-12 col-lg-auto mt-3 mt-lg-0">
<ul class="list-inline list-inline-dots mb-0">
<li class="list-inline-item">
Copyright &copy; 2023
<a href="https://namingo.org" target="_blank" class="link-secondary">Namingo</a>.
</li>
</ul>
</div>
</div>
</div>
</footer>
</div> </div>
{% endblock %} {% endblock %}

View file

@ -34,9 +34,9 @@
<button class="btn btn-red btn-icon" onclick="downloadPDF()"><svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 8v8h2a2 2 0 0 0 2 -2v-4a2 2 0 0 0 -2 -2h-2z"></path><path d="M3 12h2a2 2 0 1 0 0 -4h-2v8"></path><path d="M17 12h3"></path><path d="M21 8h-4v8"></path></svg></button> <button class="btn btn-red btn-icon" onclick="downloadPDF()"><svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 8v8h2a2 2 0 0 0 2 -2v-4a2 2 0 0 0 -2 -2h-2z"></path><path d="M3 12h2a2 2 0 1 0 0 -4h-2v8"></path><path d="M17 12h3"></path><path d="M21 8h-4v8"></path></svg></button>
</div> </div>
<div class="ms-auto text-secondary"> <div class="ms-auto text-secondary">
Search: {{ __('Search') }}:
<div class="ms-2 d-inline-block"> <div class="ms-2 d-inline-block">
<input id="search-input" type="text" class="form-control" aria-label="Search logs"> <input id="search-input" type="text" class="form-control" aria-label="{{ __('Search logs') }}">
</div> </div>
</div> </div>
</div> </div>
@ -48,18 +48,6 @@
</div> </div>
</div> </div>
</div> </div>
<footer class="footer footer-transparent d-print-none"> {% include 'partials/footer.twig' %}
<div class="container-xl">
<div class="col-12 col-lg-auto mt-3 mt-lg-0">
<ul class="list-inline list-inline-dots mb-0">
<li class="list-inline-item">
Copyright &copy; 2023
<a href="https://namingo.org" target="_blank" class="link-secondary">Namingo</a>.
</li>
</ul>
</div>
</div>
</div>
</footer>
</div> </div>
{% endblock %} {% endblock %}

View file

@ -34,9 +34,9 @@
<button class="btn btn-red btn-icon" onclick="downloadPDF()"><svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 8v8h2a2 2 0 0 0 2 -2v-4a2 2 0 0 0 -2 -2h-2z"></path><path d="M3 12h2a2 2 0 1 0 0 -4h-2v8"></path><path d="M17 12h3"></path><path d="M21 8h-4v8"></path></svg></button> <button class="btn btn-red btn-icon" onclick="downloadPDF()"><svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 8v8h2a2 2 0 0 0 2 -2v-4a2 2 0 0 0 -2 -2h-2z"></path><path d="M3 12h2a2 2 0 1 0 0 -4h-2v8"></path><path d="M17 12h3"></path><path d="M21 8h-4v8"></path></svg></button>
</div> </div>
<div class="ms-auto text-secondary"> <div class="ms-auto text-secondary">
Search: {{ __('Search') }}:
<div class="ms-2 d-inline-block"> <div class="ms-2 d-inline-block">
<input id="search-input" type="text" class="form-control" aria-label="Search queue"> <input id="search-input" type="text" class="form-control" aria-label="{{ __('Search queue') }}">
</div> </div>
</div> </div>
</div> </div>
@ -48,18 +48,6 @@
</div> </div>
</div> </div>
</div> </div>
<footer class="footer footer-transparent d-print-none"> {% include 'partials/footer.twig' %}
<div class="container-xl">
<div class="col-12 col-lg-auto mt-3 mt-lg-0">
<ul class="list-inline list-inline-dots mb-0">
<li class="list-inline-item">
Copyright &copy; 2023
<a href="https://namingo.org" target="_blank" class="link-secondary">Namingo</a>.
</li>
</ul>
</div>
</div>
</div>
</footer>
</div> </div>
{% endblock %} {% endblock %}

View file

@ -28,7 +28,7 @@
<div class="card-header"> <div class="card-header">
<ul class="nav nav-tabs card-header-tabs" data-bs-toggle="tabs"> <ul class="nav nav-tabs card-header-tabs" data-bs-toggle="tabs">
<li class="nav-item"> <li class="nav-item">
<a href="#tabs-details" class="nav-link active" data-bs-toggle="tab">Details</a> <a href="#tabs-details" class="nav-link active" data-bs-toggle="tab">{{ __('Details') }}</a>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a href="#tabs-2fa" class="nav-link" data-bs-toggle="tab">2FA</a> <a href="#tabs-2fa" class="nav-link" data-bs-toggle="tab">2FA</a>
@ -37,7 +37,7 @@
<a href="#tabs-webauthn" class="nav-link" data-bs-toggle="tab">WebAuthn</a> <a href="#tabs-webauthn" class="nav-link" data-bs-toggle="tab">WebAuthn</a>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a href="#tabs-log" class="nav-link" data-bs-toggle="tab">Log</a> <a href="#tabs-log" class="nav-link" data-bs-toggle="tab">{{ __('Log') }}</a>
</li> </li>
</ul> </ul>
</div> </div>
@ -99,35 +99,35 @@
</div> </div>
</div> </div>
<div class="tab-pane" id="tabs-2fa"> <div class="tab-pane" id="tabs-2fa">
<h4 class="card-title">Two-Factor Authentication (2FA)</h4> <h4 class="card-title">{{ __('Two-Factor Authentication') }} (2FA)</h4>
<div class="card"> <div class="card">
{% if secret is defined %} {% if secret is defined %}
<form action="{{route('activate2fa')}}" name="2fa" method="post"> <form action="{{route('activate2fa')}}" name="2fa" method="post">
{{ csrf.field | raw }} {{ csrf.field | raw }}
<div class="card-body"> <div class="card-body">
<p>Set up 2FA for additional security. Scan the QR code with your authentication app and enter the provided code below to verify.</p> <p>{{ __('Set up 2FA for additional security. Scan the QR code with your authentication app and enter the provided code below to verify.') }}</p>
<!-- QR Code --> <!-- QR Code -->
<div class="mb-3"> <div class="mb-3">
<img src="{{ qrcodeDataUri }}" alt="2FA QR Code" class="img-fluid"> <img src="{{ qrcodeDataUri }}" alt="2FA QR Code" class="img-fluid">
</div> </div>
<!-- Secret for Manual Entry --> <!-- Secret for Manual Entry -->
<div class="mb-3"> <div class="mb-3">
<p class="font-weight-bold">Manual Entry Secret</p> <p class="font-weight-bold">{{ __('Manual Entry Secret') }}</p>
<code>{{ secret|split(4)|join(' ') }}</code> <code>{{ secret|split(4)|join(' ') }}</code>
<small class="form-text text-muted"> <small class="form-text text-muted">
If you're unable to scan the QR code, enter this secret manually into your authentication app. The secret is case-sensitive and should be entered exactly as shown. {{ __('If you\'re unable to scan the QR code, enter this secret manually into your authentication app. The secret is case-sensitive and should be entered exactly as shown.') }}
</small> </small>
</div> </div>
<!-- Verification Code Input --> <!-- Verification Code Input -->
<div class="mb-3"> <div class="mb-3">
<label for="verificationCode" class="form-label required">Verification Code</label> <label for="verificationCode" class="form-label required">{{ __('Verification Code') }}</label>
<input type="number" class="form-control" id="verificationCode" name="verificationCode" placeholder="Enter code" required="required"> <input type="number" class="form-control" id="verificationCode" name="verificationCode" placeholder="{{ __('Enter code') }}" required="required">
<small class="form-text text-muted"> <small class="form-text text-muted">
Enter the code generated by your authentication app. This code verifies that your 2FA setup is working correctly. Once entered, click 'Save 2FA Settings' to activate two-factor authentication for your account. {{ __('Enter the code generated by your authentication app. This code verifies that your 2FA setup is working correctly. Once entered, click') }} {{ __('Save 2FA Settings') }} {{ __('to activate two-factor authentication for your account.') }}
</small> </small>
</div> </div>
<!-- Save Button --> <!-- Save Button -->
<button type="submit" class="btn btn-primary">Save 2FA Settings</button> <button type="submit" class="btn btn-primary">{{ __('Save 2FA Settings') }}</button>
</div> </div>
</form> </form>
{% else %} {% else %}
@ -135,8 +135,8 @@
<div class="d-flex align-items-center"> <div class="d-flex align-items-center">
<span class="badge bg-green text-green-fg me-3"><svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 3a12 12 0 0 0 8.5 3a12 12 0 0 1 -8.5 15a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3" /><path d="M12 11m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" /><path d="M12 12l0 2.5" /></svg></span> <span class="badge bg-green text-green-fg me-3"><svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 3a12 12 0 0 0 8.5 3a12 12 0 0 1 -8.5 15a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3" /><path d="M12 11m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" /><path d="M12 12l0 2.5" /></svg></span>
<div> <div>
<h5 class="card-title mb-1">Your account is secured with an additional layer of protection.</h5> <h5 class="card-title mb-1">{{ __('Your account is secured with an additional layer of protection.') }}</h5>
<p class="text-muted mb-2">2FA is currently <strong>enabled</strong> for your account. If you encounter any issues or need to disable 2FA, please contact our support team for assistance.</p> <p class="text-muted mb-2">{{ __('2FA is currently') }} <strong>{{ __('enabled') }}</strong> {{ __('for your account. If you encounter any issues or need to disable 2FA, please contact our support team for assistance.') }}</p>
</div> </div>
</div> </div>
</div> </div>
@ -144,20 +144,20 @@
</div> </div>
</div> </div>
<div class="tab-pane" id="tabs-webauthn"> <div class="tab-pane" id="tabs-webauthn">
<h4 class="card-title">WebAuthn Authentication</h4> <h4 class="card-title">{{ __('WebAuthn Authentication') }}</h4>
<div class="card"> <div class="card">
<div class="card-body"> <div class="card-body">
<p>Secure your account with WebAuthn. Click the button below to register your device for passwordless sign-in.</p> <p>{{ __('Secure your account with WebAuthn. Click the button below to register your device for passwordless sign-in.') }}</p>
<!-- Connect WebAuthn Button --> <!-- Connect WebAuthn Button -->
<button type="button" class="btn btn-success" id="connectWebAuthnButton">Connect WebAuthn Device</button> <button type="button" class="btn btn-success" id="connectWebAuthnButton">{{ __('Connect WebAuthn Device') }}</button>
<!-- WebAuthn Devices Table --> <!-- WebAuthn Devices Table -->
<div class="table-responsive mt-4"> <div class="table-responsive mt-4">
<table class="table table-striped"> <table class="table table-striped">
<thead> <thead>
<tr> <tr>
<th>Device/Browser Info</th> <th>{{ __('Device/Browser Info') }}</th>
<th>Registration Date</th> <th>{{ __('Registration Date') }}</th>
<th>Action</th> <th>{{ __('Action') }}</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -166,12 +166,12 @@
<td>{{ device.user_agent }}</td> <td>{{ device.user_agent }}</td>
<td>{{ device.created_at }}</td> <td>{{ device.created_at }}</td>
<td> <td>
<a href="/path/to/action?deviceId={{ device.id }}">Edit</a> <a href="/path/to/action?deviceId={{ device.id }}">{{ __('Edit') }}</a>
</td> </td>
</tr> </tr>
{% else %} {% else %}
<tr> <tr>
<td colspan="3">No devices found.</td> <td colspan="3">{{ __('No devices found.') }}</td>
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>
@ -181,19 +181,19 @@
</div> </div>
</div> </div>
<div class="tab-pane" id="tabs-log"> <div class="tab-pane" id="tabs-log">
<h4 class="card-title">User Audit Log</h4> <h4 class="card-title">{{ __('User Audit Log') }}</h4>
<div class="card"> <div class="card">
<div class="card-body"> <div class="card-body">
<p>Track and review all user activities in your account below. Monitor logins, profile changes, and other key actions to ensure security and transparency.</p> <p>{{ __('Track and review all user activities in your account below. Monitor logins, profile changes, and other key actions to ensure security and transparency.') }}</p>
<div class="table-responsive mt-4"> <div class="table-responsive mt-4">
<table class="table table-striped"> <table class="table table-striped">
<thead> <thead>
<tr> <tr>
<th>Event</th> <th>{{ __('Event') }}</th>
<th>User Agent</th> <th>{{ __('User Agent') }}</th>
<th>IP</th> <th>IP</th>
<th>Location</th> <th>{{ __('Location') }}</th>
<th>Timestamp</th> <th>{{ __('Timestamp') }}</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -207,7 +207,7 @@
</tr> </tr>
{% else %} {% else %}
<tr> <tr>
<td colspan="5">No log data for user.</td> <td colspan="5">{{ __('No log data for user.') }}</td>
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>
@ -220,19 +220,7 @@
</div> </div>
</div> </div>
</div> </div>
<footer class="footer footer-transparent d-print-none"> {% include 'partials/footer.twig' %}
<div class="container-xl">
<div class="col-12 col-lg-auto mt-3 mt-lg-0">
<ul class="list-inline list-inline-dots mb-0">
<li class="list-inline-item">
Copyright &copy; 2023
<a href="https://getpinga.com" class="link-secondary">Pinga</a>.
</li>
</ul>
</div>
</div>
</div>
</footer>
</div> </div>
<script> <script>
document.addEventListener('DOMContentLoaded', function() { document.addEventListener('DOMContentLoaded', function() {

View file

@ -34,9 +34,9 @@
<button class="btn btn-red btn-icon" onclick="downloadPDF()"><svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 8v8h2a2 2 0 0 0 2 -2v-4a2 2 0 0 0 -2 -2h-2z"></path><path d="M3 12h2a2 2 0 1 0 0 -4h-2v8"></path><path d="M17 12h3"></path><path d="M21 8h-4v8"></path></svg></button> <button class="btn btn-red btn-icon" onclick="downloadPDF()"><svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 8v8h2a2 2 0 0 0 2 -2v-4a2 2 0 0 0 -2 -2h-2z"></path><path d="M3 12h2a2 2 0 1 0 0 -4h-2v8"></path><path d="M17 12h3"></path><path d="M21 8h-4v8"></path></svg></button>
</div> </div>
<div class="ms-auto text-secondary"> <div class="ms-auto text-secondary">
Search: {{ __('Search') }}:
<div class="ms-2 d-inline-block"> <div class="ms-2 d-inline-block">
<input id="search-input" type="text" class="form-control" aria-label="Search reports"> <input id="search-input" type="text" class="form-control" aria-label="{{ __('Search reports') }}">
</div> </div>
</div> </div>
</div> </div>
@ -48,18 +48,6 @@
</div> </div>
</div> </div>
</div> </div>
<footer class="footer footer-transparent d-print-none"> {% include 'partials/footer.twig' %}
<div class="container-xl">
<div class="col-12 col-lg-auto mt-3 mt-lg-0">
<ul class="list-inline list-inline-dots mb-0">
<li class="list-inline-item">
Copyright &copy; 2023
<a href="https://namingo.org" target="_blank" class="link-secondary">Namingo</a>.
</li>
</ul>
</div>
</div>
</div>
</footer>
</div> </div>
{% endblock %} {% endblock %}

View file

@ -35,7 +35,7 @@
<div class="mb-3"> <div class="mb-3">
<label for="registryOperator" class="form-label required">{{ __('Registry Operator Name') }}</label> <label for="registryOperator" class="form-label required">{{ __('Registry Operator Name') }}</label>
<input type="text" class="form-control" id="registryOperator" name="registryOperator" placeholder="{{ __('Enter registry operator's name') }}" value="{{ company_name }}" required> <input type="text" class="form-control" id="registryOperator" name="registryOperator" placeholder="{{ __('Enter registry operator\'s name') }}" value="{{ company_name }}" required>
<small class="form-hint">{{ __('The official name of the organization operating the registry.') }}</small> <small class="form-hint">{{ __('The official name of the organization operating the registry.') }}</small>
</div> </div>
@ -48,13 +48,13 @@
<div class="mb-3"> <div class="mb-3">
<label for="whoisServer" class="form-label required">{{ __('WHOIS Server') }}</label> <label for="whoisServer" class="form-label required">{{ __('WHOIS Server') }}</label>
<input type="text" class="form-control" id="whoisServer" name="whoisServer" placeholder="{{ __('Enter registry whois server') }}" value="{{ whois_server }}" required> <input type="text" class="form-control" id="whoisServer" name="whoisServer" placeholder="{{ __('Enter registry whois server') }}" value="{{ whois_server }}" required>
<small class="form-hint">{{ __('Enter the URL of the registry's WHOIS server. Example:') }} whois.example.com</small> <small class="form-hint">{{ __('Enter the URL of the registry\'s WHOIS server. Example:') }} whois.example.com</small>
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="rdapServer" class="form-label required">{{ __('RDAP Server') }}</label> <label for="rdapServer" class="form-label required">{{ __('RDAP Server') }}</label>
<input type="text" class="form-control" id="rdapServer" name="rdapServer" placeholder="{{ __('Enter registry RDAP server') }}" value="{{ rdap_server }}" required> <input type="text" class="form-control" id="rdapServer" name="rdapServer" placeholder="{{ __('Enter registry RDAP server') }}" value="{{ rdap_server }}" required>
<small class="form-hint">{{ __('Enter the URL of the registry's RDAP server. Example:') }} https://rdap.example.com</small> <small class="form-hint">{{ __('Enter the URL of the registry\'s RDAP server. Example:') }} https://rdap.example.com</small>
</div> </div>
<div class="mb-3"> <div class="mb-3">
@ -80,7 +80,7 @@
<div class="mb-3"> <div class="mb-3">
<label for="registryOperatorVat" class="form-label required">{{ __('Registry VAT/Company Number') }}</label> <label for="registryOperatorVat" class="form-label required">{{ __('Registry VAT/Company Number') }}</label>
<input type="text" class="form-control" id="registryOperatorVat" name="registryOperatorVat" placeholder="{{ __('Enter registry operator's VAT number') }}" value="{{ vat_number }}" required> <input type="text" class="form-control" id="registryOperatorVat" name="registryOperatorVat" placeholder="{{ __('Enter registry operator\'s VAT number') }}" value="{{ vat_number }}" required>
<small class="form-hint">{{ __('Enter the VAT number of the organization operating the registry, or company number if VAT is unavailable.') }}</small> <small class="form-hint">{{ __('Enter the VAT number of the organization operating the registry, or company number if VAT is unavailable.') }}</small>
</div> </div>