Translations (#3552)

This commit is contained in:
Benjamin Beganović 2020-03-26 22:43:57 +01:00 committed by GitHub
parent b8b5245253
commit 1882836d8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 95 additions and 62 deletions

View File

@ -3149,4 +3149,38 @@ return [
'display_log' => 'Display Log',
'send_fail_logs_to_our_server' => 'Send error logs to our servers for analysis',
'setup' => 'Setup',
'quick_overview_statistics' => 'Quick overview & statistics',
'update_your_personal_info' => 'Update your personal information',
'name_website_logo' => 'Name, website & logo',
'make_sure_use_full_link' => 'Make sure you use full link to your site',
'personal_address' => 'Personal address',
'enter_your_personal_address' => 'Enter your personal address',
'enter_your_shipping_address' => 'Enter your shipping address',
'list_of_invoices' => 'List of invoices',
'with_selected' => 'With selected',
'invoice_still_unpaid' => 'This invoice is still not paid. Click the button to complete the payment',
'list_of_recurring_invoices' => 'List of recurring invoices',
'details_of_recurring_invoice' => 'Here are some details about recurring invoice',
'cancellation' => 'Cancellation',
'about_cancellation' => 'In case you want to stop the recurring invoice,
please click the request the cancellation.',
'request_cancellation' => 'Request cancellation',
'cancellation_warning' => 'Warning! You are requesting a cancellation of this service.
Your service may be cancelled with no further notification to you.',
'cancellation_pending' => 'Cancellation pending, we\'ll be in touch!',
'list_of_payments' => 'List of payments',
'payment_details' => 'Details of the payment',
'list_of_payment_invoices' => 'List of invoices affected by the payment',
'list_of_payment_methods' => 'List of payment methods',
'payment_method_details' => 'Details of payment method',
'permanently_remove_payment_method' => 'Permanently remove this payment method.',
'remove_payment_method' => 'Remove payment method',
'warning_action_cannot_be_reversed' => 'Warning! This action can\'t be reversed!',
'confirmation' => 'Confirmation',
'list_of_quotes' => 'List of quotes',
'waiting_for_approval' => 'Waiting for approval',
'quote_still_not_approved' => 'This quote is still not approved',
'list_of_credits' => 'List of credits',
];

View File

@ -1,40 +1,43 @@
@extends('portal.default.layouts.master')
@section('header')
@stop
@section('body')
<main class="main">
<div class="container-fluid">
<div class="row" style="padding-top: 30px;">
<div class="col d-flex justify-content-center">
<div class="card w-50 p-10">
<div class="card-header">
Request Cancellation
</div>
<div class="card-body">
<table class="table table-responsive-sm table-bordered">
<tr><td style="text-align: right;">{{ctrans('texts.start_date')}}</td><td>{!! $invoice->start_date !!}</td></tr>
<tr><td style="text-align: right;">{{ctrans('texts.next_send_date')}}</td><td>{!! $invoice->next_send_date !!}</td></tr>
<tr><td style="text-align: right;">{{ctrans('texts.frequency')}}</td><td>{!! App\Models\RecurringInvoice::frequencyForKey($invoice->frequency_id) !!}</td></tr>
<tr><td style="text-align: right;">{{ctrans('texts.cycles_remaining')}}</td><td>{!! $invoice->remaining_cycles !!}</td></tr>
<tr><td style="text-align: right;">{{ctrans('texts.amount')}}</td><td>{!! $invoice->amount !!}</td></tr>
<main class="main">
<div class="container-fluid">
<div class="row" style="padding-top: 30px;">
<div class="col d-flex justify-content-center">
<div class="card w-50 p-10">
<div class="card-header">
{{ ctrans('texts.cancellation') }}
</div>
<div class="card-body">
<table class="table table-responsive-sm table-bordered">
<tr>
<td style="text-align: right;">{{ctrans('texts.start_date')}}</td>
<td>{!! $invoice->start_date !!}</td>
</tr>
<tr>
<td style="text-align: right;">{{ctrans('texts.next_send_date')}}</td>
<td>{!! $invoice->next_send_date !!}</td>
</tr>
<tr>
<td style="text-align: right;">{{ctrans('texts.frequency')}}</td>
<td>{!! App\Models\RecurringInvoice::frequencyForKey($invoice->frequency_id) !!}</td>
</tr>
<tr>
<td style="text-align: right;">{{ctrans('texts.cycles_remaining')}}</td>
<td>{!! $invoice->remaining_cycles !!}</td>
</tr>
<tr>
<td style="text-align: right;">{{ctrans('texts.amount')}}</td>
<td>{!! $invoice->amount !!}</td>
</tr>
</table>
<div class="alert alert-primary" role="alert">Cancellation pending, we'll be in touch!</div>
</table>
<div class="alert alert-primary" role="alert">{{ ctrans('texts.cancellation_pending') }}</div>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
</body>
@endsection
@push('css')
@endpush
@push('scripts')
@endpush
@section('footer')
@endsection
</main>
@endsection

View File

@ -19,7 +19,7 @@
</h3>
<div class="mt-2 max-w-xl text-sm leading-5 text-gray-500">
<p translate>
{{ ctrans('texts.invoice_unpaid') }}
{{ ctrans('texts.invoice_still_unpaid') }}
<!-- This invoice is still not paid. Click the button to complete the payment. -->
</p>
</div>

View File

@ -22,11 +22,11 @@
</div>
<div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left">
<h3 class="text-lg leading-6 font-medium text-gray-900" translate>
Are you sure?
{{ ctrans('texts.confirmation') }}
</h3>
<div class="mt-2">
<p class="text-sm leading-5 text-gray-500">
Warning! This action can't be reversed.
{{ ctrans('texts.warning_action_cannot_be_reversed' )}}
</p>
</div>
</div>

View File

@ -14,7 +14,6 @@
<div class="mt-2 max-w-xl text-sm leading-5 text-gray-500">
<p translate>
{{ ctrans('texts.list_of_payment_methods') }}
<!-- List of methods available for payments. -->
</p>
</div>
</div>

View File

@ -13,8 +13,7 @@
{{ ctrans("texts.{$payment_method->gateway_type->alias}") }}
</h3>
<p class="mt-1 max-w-2xl text-sm leading-5 text-gray-500" translate>
<!-- Details of the payment method. -->
{{ ctrans('texts.details_of_method') }}
{{ ctrans('texts.payment_method_details') }}
</p>
</div>
<div>
@ -77,18 +76,18 @@
<div class="sm:flex sm:items-start sm:justify-between">
<div>
<h3 class="text-lg leading-6 font-medium text-gray-900">
Remove
{{ ctrans('texts.remove')}}
</h3>
<div class="mt-2 max-w-xl text-sm leading-5 text-gray-500">
<p>
Permanently remove this payment method.
{{ ctrans('texts.permanently_remove_payment_method') }}
</p>
</div>
</div>
<div class="mt-5 sm:mt-0 sm:ml-6 sm:flex-shrink-0 sm:flex sm:items-center">
<div class="inline-flex rounded-md shadow-sm" x-data="{ open: false }">
<button class="button button-danger" translate @click="open = true">
Remove payment method
{{ ctrans('texts.remove_payment_method') }}
</button>
@include('portal.ninja2020.payment_methods.includes.modals.removal')
</div>

View File

@ -13,7 +13,7 @@
</h3>
<div class="mt-2 max-w-xl text-sm leading-5 text-gray-500">
<p translate>
{{ ctrans('texts.List of your payments.') }}
{{ ctrans('texts.list_of_payments') }}
</p>
</div>
</div>

View File

@ -13,7 +13,7 @@
{{ ctrans('texts.payment') }}
</h3>
<p class="mt-1 max-w-2xl text-sm leading-5 text-gray-500" translate>
{{ ctrans('texts.Details of the payment.') }}
{{ ctrans('texts.payment_details') }}
</p>
</div>
<div>
@ -67,7 +67,7 @@
{{ ctrans('texts.invoices') }}
</h3>
<p class="mt-1 max-w-2xl text-sm leading-5 text-gray-500" translate>
{{ ctrans('texts.List of invoices affected by payment.') }}
{{ ctrans('texts.list_of_payment_invoices') }}
</p>
</div>
<div>

View File

@ -3,7 +3,7 @@
@section('meta_title', ctrans('texts.client_information'))
@section('header')
<p class="leading-5 text-gray-500" translate>{{ ctrans('texts.Update your personal information.') }}</p>
<p class="leading-5 text-gray-500">{{ ctrans('texts.update_your_personal_info') }}</p>
@endsection
@section('body')
@ -13,7 +13,7 @@
<div class="md:grid md:grid-cols-3 md:gap-6">
<div class="md:col-span-1">
<div class="sm:px-0">
<h3 class="text-lg font-medium leading-6 text-gray-900" translate>{{ ctrans('texts.profile') }}</h3>
<h3 class="text-lg font-medium leading-6 text-gray-900">{{ ctrans('texts.profile') }}</h3>
<p class="mt-1 text-sm leading-5 text-gray-500">
@lang('texts.client_information_text')
</p>
@ -108,8 +108,8 @@
<div class="md:col-span-1">
<div class="sm:px-0">
<h3 class="text-lg font-medium leading-6 text-gray-900">{{ ctrans('texts.name_website_logo') }}</h3>
<p class="mt-1 text-sm leading-5 text-gray-500" translate>
{{ ctrans('texts. Make sure you use full link to your site.') }}
<p class="mt-1 text-sm leading-5 text-gray-500">
{{ ctrans('texts.make_sure_use_full_link') }}
</p>
</div>
</div>
@ -161,8 +161,8 @@
<div class="md:col-span-1">
<div class="sm:px-0">
<h3 class="text-lg font-medium leading-6 text-gray-900">{{ ctrans('texts.personal_address') }}</h3>
<p class="mt-1 text-sm leading-5 text-gray-500" translate>
{{ ctrans('texts.your_personal_address') }}
<p class="mt-1 text-sm leading-5 text-gray-500">
{{ ctrans('texts.enter_your_personal_address') }}
</p>
</div>
</div>
@ -257,8 +257,8 @@
<div class="md:col-span-1">
<div class="sm:px-0">
<h3 class="text-lg font-medium leading-6 text-gray-900">{{ ctrans('texts.shipping_address') }}</h3>
<p class="mt-1 text-sm leading-5 text-gray-500" translate>
{{ ctrans('texts.your_shipping_address') }}
<p class="mt-1 text-sm leading-5 text-gray-500">
{{ ctrans('texts.enter_your_shipping_address') }}
</p>
</div>
</div>

View File

@ -17,7 +17,7 @@
<div class="sm:flex sm:items-start sm:justify-between">
<div>
<h3 class="text-lg leading-6 font-medium text-gray-900" translate>
{{ ctrans('texts.waitin_for_approval') }}
{{ ctrans('texts.waiting_for_approval') }}
</h3>
<div class="mt-2 max-w-xl text-sm leading-5 text-gray-500">
<p translate>

View File

@ -22,12 +22,11 @@
</div>
<div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left">
<h3 class="text-lg leading-6 font-medium text-gray-900" translate>
Request Cancellation
{{ ctrans('texts.request_cancellation' )}}
</h3>
<div class="mt-2">
<p class="text-sm leading-5 text-gray-500">
Warning! You are requesting a cancellation of this service.
Your service may be cancelled with no further notification to you.
{{ ctrans('texts.cancellation_warning') }}
</p>
</div>
</div>
@ -36,12 +35,12 @@
<div class="flex w-full rounded-md shadow-sm sm:ml-3 sm:w-auto">
<a href="{{ route('client.recurring_invoices.request_cancellation',['recurring_invoice' => $invoice->hashed_id]) }}"
class="button button-danger button-block">
Confirm cancellation
{{ ctrans('texts.confirm') }}
</a>
</div>
<div class="mt-3 flex w-full rounded-md shadow-sm sm:mt-0 sm:w-auto">
<button @click="open = false" type="button" class="button button-secondary button-block">
Cancel
{{ ctrans('texts.cancel') }}
</button>
</div>
</div>

View File

@ -69,8 +69,7 @@
</h3>
<div class="mt-2 max-w-xl text-sm leading-5 text-gray-500">
<p translate>
{{ ctrans('texts.In case you want to stop the recurring invoice, please click the request the
cancellation.') }}
{{ ctrans('texts.about_cancellation') }}
</p>
</div>
</div>
@ -84,4 +83,4 @@
</div>
</div>
</div>
@endsection
@endsection