mirror of
https://github.com/getnamingo/registry.git
synced 2025-05-20 11:29:22 +02:00
Fixed #68
This commit is contained in:
parent
6ac35cbcb7
commit
7c2e6d4388
5 changed files with 54 additions and 12 deletions
|
@ -1104,7 +1104,8 @@ class DomainsController extends Controller
|
||||||
'currencySymbol' => $symbol,
|
'currencySymbol' => $symbol,
|
||||||
'currencyPosition' => $position,
|
'currencyPosition' => $position,
|
||||||
'registrar' => $registrar,
|
'registrar' => $registrar,
|
||||||
'launch_phases' => $launch_phases
|
'launch_phases' => $launch_phases,
|
||||||
|
'currency' => $currency,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2084,7 +2085,8 @@ class DomainsController extends Controller
|
||||||
'maxYears' => $maxYears,
|
'maxYears' => $maxYears,
|
||||||
'currentUri' => $uri,
|
'currentUri' => $uri,
|
||||||
'currencySymbol' => $symbol,
|
'currencySymbol' => $symbol,
|
||||||
'currencyPosition' => $position
|
'currencyPosition' => $position,
|
||||||
|
'currency' => $currency
|
||||||
]);
|
]);
|
||||||
} else {
|
} else {
|
||||||
// Domain does not exist, redirect to the domains view
|
// Domain does not exist, redirect to the domains view
|
||||||
|
@ -2719,6 +2721,7 @@ class DomainsController extends Controller
|
||||||
'registrars' => $registrars,
|
'registrars' => $registrars,
|
||||||
'currencySymbol' => $symbol,
|
'currencySymbol' => $symbol,
|
||||||
'currencyPosition' => $position,
|
'currencyPosition' => $position,
|
||||||
|
'currency' => $currency
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,27 @@ msgstr "Вийти"
|
||||||
msgid "Domains"
|
msgid "Domains"
|
||||||
msgstr "Домени"
|
msgstr "Домени"
|
||||||
|
|
||||||
|
msgid "Registrant"
|
||||||
|
msgstr "Реєстрант"
|
||||||
|
|
||||||
|
msgid "Creation Date"
|
||||||
|
msgstr "Дата створення"
|
||||||
|
|
||||||
|
msgid "Expiration Date"
|
||||||
|
msgstr "Термін дії"
|
||||||
|
|
||||||
|
msgid "Status"
|
||||||
|
msgstr "Статус"
|
||||||
|
|
||||||
|
msgid "Actions"
|
||||||
|
msgstr "Дії"
|
||||||
|
|
||||||
|
msgid "No Data"
|
||||||
|
msgstr "Немає даних"
|
||||||
|
|
||||||
|
msgid "Search"
|
||||||
|
msgstr "Пошук"
|
||||||
|
|
||||||
msgid "List Domains"
|
msgid "List Domains"
|
||||||
msgstr "Список доменів"
|
msgstr "Список доменів"
|
||||||
|
|
||||||
|
@ -34,6 +55,9 @@ msgstr "Перевірте домен"
|
||||||
msgid "Enter the domain name you want to check:"
|
msgid "Enter the domain name you want to check:"
|
||||||
msgstr "Введіть доменне ім’я, яке потрібно перевірити:"
|
msgstr "Введіть доменне ім’я, яке потрібно перевірити:"
|
||||||
|
|
||||||
|
msgid "Check claims"
|
||||||
|
msgstr "Перевірте claims"
|
||||||
|
|
||||||
msgid "Check Availability"
|
msgid "Check Availability"
|
||||||
msgstr "Перевірте наявність"
|
msgstr "Перевірте наявність"
|
||||||
|
|
||||||
|
@ -61,6 +85,15 @@ msgstr "Додати дані DNSSEC"
|
||||||
msgid "List Applications"
|
msgid "List Applications"
|
||||||
msgstr "Список заяв"
|
msgstr "Список заяв"
|
||||||
|
|
||||||
|
msgid "Applications"
|
||||||
|
msgstr "Заявки"
|
||||||
|
|
||||||
|
msgid "Applicant"
|
||||||
|
msgstr "Заявник"
|
||||||
|
|
||||||
|
msgid "Phase"
|
||||||
|
msgstr "Фаза"
|
||||||
|
|
||||||
msgid "Create Application"
|
msgid "Create Application"
|
||||||
msgstr "Створити заявку"
|
msgstr "Створити заявку"
|
||||||
|
|
||||||
|
@ -70,6 +103,12 @@ msgstr "Трансфери"
|
||||||
msgid "Request Transfer"
|
msgid "Request Transfer"
|
||||||
msgstr "Запит на перенесення"
|
msgstr "Запит на перенесення"
|
||||||
|
|
||||||
|
msgid "Initiated Date"
|
||||||
|
msgstr "Дата ініціювання"
|
||||||
|
|
||||||
|
msgid "Expiry Date"
|
||||||
|
msgstr "Термін дії"
|
||||||
|
|
||||||
msgid "Contacts"
|
msgid "Contacts"
|
||||||
msgstr "Контакти"
|
msgstr "Контакти"
|
||||||
|
|
||||||
|
|
|
@ -79,7 +79,7 @@
|
||||||
|
|
||||||
<!-- Placeholder for displaying domain price -->
|
<!-- Placeholder for displaying domain price -->
|
||||||
<div class="mb-3" id="domainPriceDisplay" style="display:none;">
|
<div class="mb-3" id="domainPriceDisplay" style="display:none;">
|
||||||
<strong>{{ __('Estimated Price') }}: </strong><span id="domainPrice">$0.00</span>
|
<strong>{{ __('Estimated Price') }}: </strong><span id="domainPrice">{{ currency }} 0.00</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Fields for 4 contacts with roles -->
|
<!-- Fields for 4 contacts with roles -->
|
||||||
|
@ -443,9 +443,9 @@ document.addEventListener("DOMContentLoaded", function() {
|
||||||
function formatPrice(price) {
|
function formatPrice(price) {
|
||||||
switch(window.currencyPosition) {
|
switch(window.currencyPosition) {
|
||||||
case 'before':
|
case 'before':
|
||||||
return `${window.currencySymbol}${price.toFixed(2)}`;
|
return `{{ currency }} ${price.toFixed(2)}`;
|
||||||
case 'after':
|
case 'after':
|
||||||
return `${price.toFixed(2)} ${window.currencySymbol}`;
|
return `${price.toFixed(2)} {{ currency }}`;
|
||||||
default:
|
default:
|
||||||
return price.toFixed(2);
|
return price.toFixed(2);
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
|
|
||||||
<!-- Placeholder for displaying domain price -->
|
<!-- Placeholder for displaying domain price -->
|
||||||
<div class="mb-3" id="domainPriceDisplay" style="display:none;">
|
<div class="mb-3" id="domainPriceDisplay" style="display:none;">
|
||||||
<strong>{{ __('Estimated Price') }}: </strong><span id="domainPrice">$0.00</span>
|
<strong>{{ __('Estimated Price') }}: </strong><span id="domainPrice">{{ currency }} 0.00</span>
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
|
@ -158,9 +158,9 @@ document.addEventListener("DOMContentLoaded", function() {
|
||||||
function formatPrice(price) {
|
function formatPrice(price) {
|
||||||
switch(window.currencyPosition) {
|
switch(window.currencyPosition) {
|
||||||
case 'before':
|
case 'before':
|
||||||
return `${window.currencySymbol}${price.toFixed(2)}`;
|
return `{{ currency }} ${price.toFixed(2)}`;
|
||||||
case 'after':
|
case 'after':
|
||||||
return `${price.toFixed(2)} ${window.currencySymbol}`;
|
return `${price.toFixed(2)} {{ currency }}`;
|
||||||
default:
|
default:
|
||||||
return price.toFixed(2);
|
return price.toFixed(2);
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
|
|
||||||
{% if registrars and not registrar %}
|
{% if registrars and not registrar %}
|
||||||
<div class="form-group mb-3">
|
<div class="form-group mb-3">
|
||||||
<label for="registrarDropdown" class="form-label required">{{ __('Gaining Registrar') }}:</label>
|
<label for="registrarDropdown" class="form-label required">{{ __('Gaining Registrar') }}</label>
|
||||||
<select id="registrarDropdown" name="registrar" class="form-control">
|
<select id="registrarDropdown" name="registrar" class="form-control">
|
||||||
{% for registrar in registrars %}
|
{% for registrar in registrars %}
|
||||||
<option value="{{ registrar.id }}">{{ registrar.name }}</option>
|
<option value="{{ registrar.id }}">{{ registrar.name }}</option>
|
||||||
|
@ -60,7 +60,7 @@
|
||||||
|
|
||||||
<!-- Placeholder for displaying domain price -->
|
<!-- Placeholder for displaying domain price -->
|
||||||
<div class="mb-3" id="domainPriceDisplay" style="display:none;">
|
<div class="mb-3" id="domainPriceDisplay" style="display:none;">
|
||||||
<strong>{{ __('Estimated Price') }}: </strong><span id="domainPrice">$0.00</span>
|
<strong>{{ __('Estimated Price') }}: </strong><span id="domainPrice">{{ currency }} 0.00</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
|
@ -168,9 +168,9 @@ document.addEventListener("DOMContentLoaded", function() {
|
||||||
function formatPrice(price) {
|
function formatPrice(price) {
|
||||||
switch(window.currencyPosition) {
|
switch(window.currencyPosition) {
|
||||||
case 'before':
|
case 'before':
|
||||||
return `${window.currencySymbol}${price.toFixed(2)}`;
|
return `{{ currency }} ${price.toFixed(2)}`;
|
||||||
case 'after':
|
case 'after':
|
||||||
return `${price.toFixed(2)} ${window.currencySymbol}`;
|
return `${price.toFixed(2)} {{ currency }}`;
|
||||||
default:
|
default:
|
||||||
return price.toFixed(2);
|
return price.toFixed(2);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue