mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-20 09:35:59 +02:00
Translation update
This commit is contained in:
parent
b961dc4e76
commit
4b99f2ccfc
3 changed files with 75 additions and 28 deletions
|
@ -76,6 +76,39 @@ msgstr "Check Host"
|
|||
msgid "Create Host"
|
||||
msgstr "Create Host"
|
||||
|
||||
msgid "Host Name"
|
||||
msgstr "Host Name"
|
||||
|
||||
msgid "Select Registrar"
|
||||
msgstr "Select Registrar"
|
||||
|
||||
msgid "IPv4 Address"
|
||||
msgstr "IPv4 Address"
|
||||
|
||||
msgid "IPv6 Address"
|
||||
msgstr "IPv6 Address"
|
||||
|
||||
msgid "Optional"
|
||||
msgstr "Optional"
|
||||
|
||||
msgid "Please enter a valid IPv4 address."
|
||||
msgstr "Please enter a valid IPv4 address."
|
||||
|
||||
msgid "Please enter a valid IPv6 address."
|
||||
msgstr "Please enter a valid IPv6 address."
|
||||
|
||||
msgid "Create"
|
||||
msgstr "Create"
|
||||
|
||||
msgid "Host"
|
||||
msgstr "Host"
|
||||
|
||||
msgid "has been created successfully on"
|
||||
msgstr "has been created successfully on"
|
||||
|
||||
msgid "is not available"
|
||||
msgstr "is not available"
|
||||
|
||||
msgid "Logs"
|
||||
msgstr "Logs"
|
||||
|
||||
|
|
|
@ -76,6 +76,39 @@ msgstr "Перевірте хост"
|
|||
msgid "Create Host"
|
||||
msgstr "Створити хост"
|
||||
|
||||
msgid "Host Name"
|
||||
msgstr "Ім'я хоста"
|
||||
|
||||
msgid "Select Registrar"
|
||||
msgstr "Виберіть Реєстратор"
|
||||
|
||||
msgid "IPv4 Address"
|
||||
msgstr "Адреса IPv4"
|
||||
|
||||
msgid "IPv6 Address"
|
||||
msgstr "Адреса IPv6"
|
||||
|
||||
msgid "Optional"
|
||||
msgstr "Необов'язковий"
|
||||
|
||||
msgid "Please enter a valid IPv4 address."
|
||||
msgstr "Введіть дійсну адресу IPv4."
|
||||
|
||||
msgid "Please enter a valid IPv6 address."
|
||||
msgstr "Введіть дійсну адресу IPv6."
|
||||
|
||||
msgid "Create"
|
||||
msgstr "Створити"
|
||||
|
||||
msgid "Host"
|
||||
msgstr "Хост"
|
||||
|
||||
msgid "has been created successfully on"
|
||||
msgstr "було успішно створено на"
|
||||
|
||||
msgid "is not available"
|
||||
msgstr "недоступний"
|
||||
|
||||
msgid "Logs"
|
||||
msgstr "Логи"
|
||||
|
||||
|
|
|
@ -17,25 +17,6 @@
|
|||
{{ __('Create Host') }}
|
||||
</h2>
|
||||
</div>
|
||||
<!-- Page title actions -->
|
||||
<div class="col-auto ms-auto d-print-none">
|
||||
<div class="btn-list">
|
||||
<span class="d-none d-sm-inline">
|
||||
<a href="#" class="btn">
|
||||
New view
|
||||
</a>
|
||||
</span>
|
||||
<a href="#" class="btn btn-primary d-none d-sm-inline-block" data-bs-toggle="modal" data-bs-target="#modal-report">
|
||||
<!-- Download SVG icon from http://tabler-icons.io/i/plus -->
|
||||
<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"/><line x1="12" y1="5" x2="12" y2="19" /><line x1="5" y1="12" x2="19" y2="12" /></svg>
|
||||
Create new report
|
||||
</a>
|
||||
<a href="#" class="btn btn-primary d-sm-none btn-icon" data-bs-toggle="modal" data-bs-target="#modal-report" aria-label="Create new report">
|
||||
<!-- Download SVG icon from http://tabler-icons.io/i/plus -->
|
||||
<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"/><line x1="12" y1="5" x2="12" y2="19" /><line x1="5" y1="12" x2="19" y2="12" /></svg>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -48,13 +29,13 @@
|
|||
<form action="/host/create" method="post">
|
||||
{{ csrf.field | raw }}
|
||||
<div class="form-group">
|
||||
<label for="hostname" class="form-label required">Host Name:</label>
|
||||
<label for="hostname" class="form-label required">{{ __('Host Name') }}:</label>
|
||||
<input type="text" class="form-control" id="hostname" name="hostname" placeholder="ns1.example.com" required>
|
||||
</div>
|
||||
|
||||
{% if registrars %}
|
||||
<div class="form-group mt-3">
|
||||
<label for="registrarDropdown" class="form-label required">Select Registrar:</label>
|
||||
<label for="registrarDropdown" class="form-label required">{{ __('Select Registrar') }}:</label>
|
||||
<select id="registrarDropdown" name="registrar" class="form-control">
|
||||
{% for registrar in registrars %}
|
||||
<option value="{{ registrar.id }}">{{ registrar.name }}</option>
|
||||
|
@ -64,26 +45,26 @@
|
|||
{% endif %}
|
||||
|
||||
<div class="form-group mt-3">
|
||||
<label for="ipv4" class="form-label">IPv4 Address (Optional):</label>
|
||||
<label for="ipv4" class="form-label">{{ __('IPv4 Address') }} ({{ __('Optional') }}):</label>
|
||||
<input type="text" class="form-control" id="ipv4" name="ipv4" placeholder="192.168.1.1" pattern="^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$">
|
||||
<small class="form-text text-muted">Please enter a valid IPv4 address.</small>
|
||||
<small class="form-text text-muted">{{ __('Please enter a valid IPv4 address.') }}</small>
|
||||
</div>
|
||||
|
||||
<div class="form-group mt-3">
|
||||
<label for="ipv6" class="form-label">IPv6 Address (Optional):</label>
|
||||
<label for="ipv6" class="form-label">{{ __('IPv6 Address') }} ({{ __('Optional') }}):</label>
|
||||
<input type="text" class="form-control" id="ipv6" name="ipv6" placeholder="2001:0db8:85a3:0000:0000:8a2e:0370:7334">
|
||||
<small class="form-text text-muted">Please enter a valid IPv6 address.</small>
|
||||
<small class="form-text text-muted">{{ __('Please enter a valid IPv6 address.') }}</small>
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn btn-primary mt-3">Create</button>
|
||||
<button type="submit" class="btn btn-primary mt-3">{{ __('Create') }}</button>
|
||||
</form>
|
||||
{% if hostName is defined and crdate is defined %}
|
||||
<div class="alert alert-success mt-3" role="alert">
|
||||
Host <strong>{{ hostName }}</strong> has been created successfully on <strong>{{ crdate|date("Y-m-d H:i:s") }}!</strong>
|
||||
{{ __('Host') }} <strong>{{ hostName }}</strong> {{ __('has been created successfully on') }} <strong>{{ crdate|date("Y-m-d H:i:s") }}!</strong>
|
||||
</div>
|
||||
{% elseif error is defined %}
|
||||
<div class="alert alert-danger mt-3" role="alert">
|
||||
<strong>{{ hostName }}</strong> is not available: <strong>{{ error }}</strong>
|
||||
{{ __('Host') }} <strong>{{ hostName }}</strong> {{ __('is not available') }}: <strong>{{ error }}</strong>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue