Translation of some fields

This commit is contained in:
MrWeez 2023-06-09 13:46:19 +03:00 committed by IceToast
parent 3b18b79b47
commit fd5790c775
2 changed files with 11 additions and 12 deletions

View file

@ -105,14 +105,14 @@
<div class="mt-1">
<span class="badge badge-success"><i
class="fa fa-user-check mr-2"></i>
{{_("Referral URL")}} :
{{__("Referral URL")}} :
<span onclick="onClickCopy()" id="RefLink" style="cursor: pointer;">
{{route("register")}}?ref={{$user->referral_code}}</span>
</span>
@else
<span class="badge badge-warning"><i
class="fa fa-user-check mr-2"></i>
{{_("You can not see your Referral Code")}}</span>
{{__("You can not see your Referral Code")}}</span>
@endcan
</div>
@endif
@ -367,4 +367,3 @@
}
</script>
@endsection

View file

@ -33,7 +33,7 @@
<div class="row">
<div class="col-8">
<div class="numbers">
<p class="text-sm mb-0 text-uppercase font-weight-bold">SERVER NAME</p>
<p class="text-sm mb-0 text-uppercase font-weight-bold">{{ __('SERVER NAME') }}</p>
<h5 class="font-weight-bolder" id="domain_text">
<span class="text-success text-sm font-weight-bolder">{{ $server->name }}</span>
</h5>
@ -54,9 +54,9 @@
<div class="row">
<div class="col-8">
<div class="numbers">
<p class="text-sm mb-0 text-uppercase font-weight-bold">CPU</p>
<p class="text-sm mb-0 text-uppercase font-weight-bold">{{ __('CPU') }}</p>
<h5 class="font-weight-bolder">
<span class="text-success text-sm font-weight-bolder">@if($server->product->cpu == 0)Unlimited @else {{$server->product->cpu}} % @endif</span>
<span class="text-success text-sm font-weight-bolder">@if($server->product->cpu == 0){{ __('Unlimited') }} @else {{$server->product->cpu}} % @endif</span>
</h5>
</div>
</div>
@ -75,9 +75,9 @@
<div class="row">
<div class="col-8">
<div class="numbers">
<p class="text-sm mb-0 text-uppercase font-weight-bold">Memory</p>
<p class="text-sm mb-0 text-uppercase font-weight-bold">{{ __('MEMORY') }}</p>
<h5 class="font-weight-bolder">
<span class="text-success text-sm font-weight-bolder">@if($server->product->memory == 0)Unlimited @else {{$server->product->memory}}MB @endif</span>
<span class="text-success text-sm font-weight-bolder">@if($server->product->memory == 0){{ __('Unlimited') }} @else {{$server->product->memory}}MB @endif</span>
</h5>
</div>
</div>
@ -96,9 +96,9 @@
<div class="row">
<div class="col-8">
<div class="numbers">
<p class="text-sm mb-0 text-uppercase font-weight-bold">STORAGE</p>
<p class="text-sm mb-0 text-uppercase font-weight-bold">{{ __('STORAGE') }}</p>
<h5 class="font-weight-bolder">
<span class="text-success text-sm font-weight-bolder">@if($server->product->disk == 0)Unlimited @else {{$server->product->disk}}MB @endif</span>
<span class="text-success text-sm font-weight-bolder">@if($server->product->disk == 0){{ __('Unlimited') }} @else {{$server->product->disk}}MB @endif</span>
</h5>
</div>
</div>
@ -266,7 +266,7 @@
@endif
@endforeach
</select>
<br> <strong>{{__("Caution") }}:</strong> {{__("Upgrading/Downgrading your server will reset your billing cycle to now. Your overpayed Credits will be refunded. The price for the new billing cycle will be withdrawed")}}. <br>
<br> {{__("Server will be automatically restarted once upgraded")}}
</div>
@ -298,7 +298,7 @@
{{__("This is an irreversible action, all files of this server will be removed!")}}
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
<button type="button" class="btn btn-secondary" data-dismiss="modal">{{ __('Cancel') }}</button>
<form class="d-inline" method="post" action="{{ route('servers.destroy', ['server' => $server->id]) }}">
@csrf
@method('DELETE')