Update translations on billing page

This commit is contained in:
Benjamin Beganović 2021-07-08 12:28:22 +02:00
parent e27739239f
commit bb3bfabe66
2 changed files with 10 additions and 6 deletions

View File

@ -4273,6 +4273,10 @@ $LANG = array(
'already_default_payment_method' => 'This is your preferred way of paying.', 'already_default_payment_method' => 'This is your preferred way of paying.',
'auto_bill_disabled' => 'Auto Bill Disabled', 'auto_bill_disabled' => 'Auto Bill Disabled',
'select_payment_method' => 'Select a payment method:', 'select_payment_method' => 'Select a payment method:',
'login_without_password' => 'Log in without password',
'email_sent' => 'E-mail sent, please check your inbox.',
'one_time_purchases' => 'One time purchases',
'recurring_purchases' => 'Recurring purchases',
); );
return $LANG; return $LANG;

View File

@ -14,7 +14,7 @@
<div class="flex flex-col mt-8"> <div class="flex flex-col mt-8">
<p <p
class="mb-4 uppercase leading-4 tracking-wide inline-flex items-center rounded-full text-xs font-medium"> class="mb-4 uppercase leading-4 tracking-wide inline-flex items-center rounded-full text-xs font-medium">
One-time purchases: {{ ctrans('texts.one_time_purchases') }}
</p> </p>
@foreach($subscription->service()->products() as $product) @foreach($subscription->service()->products() as $product)
@ -35,7 +35,7 @@
<div class="flex flex-col mt-8"> <div class="flex flex-col mt-8">
<p <p
class="mb-4 uppercase leading-4 tracking-wide inline-flex items-center rounded-full text-xs font-medium"> class="mb-4 uppercase leading-4 tracking-wide inline-flex items-center rounded-full text-xs font-medium">
Recurring purchases: {{ ctrans('texts.recurring_purchases') }}
</p> </p>
@foreach($subscription->service()->recurring_products() as $product) @foreach($subscription->service()->recurring_products() as $product)
@ -178,12 +178,12 @@
<button wire:loading.attr="disabled" type="button" wire:click="passwordlessLogin" <button wire:loading.attr="disabled" type="button" wire:click="passwordlessLogin"
class="mt-4 text-sm active:outline-none focus:outline-none"> class="mt-4 text-sm active:outline-none focus:outline-none">
Log in without password {{ ctrans('texts.login_without_password') }}
</button> </button>
@if($steps['passwordless_login_sent']) @if($steps['passwordless_login_sent'])
<span <span
class="block mt-2 text-sm text-green-600">E-mail sent. Please check your inbox!</span> class="block mt-2 text-sm text-green-600">{{ ctrans('texts.email_sent') }}</span>
@endif @endif
@endif @endif
@ -199,7 +199,7 @@
</div> </div>
<div class="relative flex justify-center text-sm leading-5"> <div class="relative flex justify-center text-sm leading-5">
<span class="px-2 text-gray-700 bg-white">Have a coupon code?</span> <span class="px-2 text-gray-700 bg-white">{{ ctrans('texts.promo_code') }}</span>
</div> </div>
</div> </div>
@ -210,7 +210,7 @@
<input type="text" wire:model.lazy="coupon" class="input w-full m-0"/> <input type="text" wire:model.lazy="coupon" class="input w-full m-0"/>
</label> </label>
<button class="button button-primary bg-primary">Apply</button> <button class="button button-primary bg-primary">{{ ctrans('texts.apply') }}</button>
</form> </form>
@endif @endif