chore: 🐛 removed invoices::invoice.string localization -> no need to translate

This commit is contained in:
IceToast 2021-12-22 14:51:29 +01:00
parent f0852498ed
commit 277d28df85
2 changed files with 33 additions and 58 deletions

View file

@ -67,7 +67,7 @@
"User ID": "User ID",
"Server Creation Error": "Server Creation Error",
"Your servers have been suspended!": "Your servers have been suspended!",
"To automatically re-enable your server/s, you need to purchase more credits.": "To automatically re-enable your server/s, you need to purchase more credits.",
"To automatically re-enable your server\/s, you need to purchase more credits.": "To automatically re-enable your server\/s, you need to purchase more credits.",
"Purchase credits": "Purchase credits",
"If you have any questions please let us know.": "If you have any questions please let us know.",
"Regards": "Regards",
@ -213,7 +213,7 @@
"A voucher can only be used one time per user. Uses specifies the number of different users that can use this voucher.": "A voucher can only be used one time per user. Uses specifies the number of different users that can use this voucher.",
"Max": "Max",
"Expires at": "Expires at",
"Used / Uses": "Used / Uses",
"Used \/ Uses": "Used \/ Uses",
"Expires": "Expires",
"Sign in to start your session": "Sign in to start your session",
"Password": "Password",
@ -283,7 +283,7 @@
"No nodes have been linked!": "No nodes have been linked!",
"No nests available!": "No nests available!",
"No eggs have been linked!": "No eggs have been linked!",
"Software / Games": "Software / Games",
"Software \/ Games": "Software \/ Games",
"Please select software ...": "Please select software ...",
"---": "---",
"Specification ": "Specification ",
@ -343,30 +343,5 @@
"Total amount": "Total amount",
"Notes": "Notes",
"Amount in words": "Amount in words",
"Please pay until": "Please pay until",
"invoices::invoice.serial": "invoices::invoice.serial",
"invoices::invoice.date": "invoices::invoice.date",
"invoices::invoice.seller": "invoices::invoice.seller",
"invoices::invoice.buyer": "invoices::invoice.buyer",
"invoices::invoice.address": "invoices::invoice.address",
"invoices::invoice.code": "invoices::invoice.code",
"invoices::invoice.vat": "invoices::invoice.vat",
"invoices::invoice.phone": "invoices::invoice.phone",
"invoices::invoice.description": "invoices::invoice.description",
"invoices::invoice.units": "invoices::invoice.units",
"invoices::invoice.quantity": "invoices::invoice.quantity",
"invoices::invoice.price": "invoices::invoice.price",
"invoices::invoice.discount": "invoices::invoice.discount",
"invoices::invoice.tax": "invoices::invoice.tax",
"invoices::invoice.sub_total": "invoices::invoice.sub_total",
"invoices::invoice.total_discount": "invoices::invoice.total_discount",
"invoices::invoice.taxable_amount": "invoices::invoice.taxable_amount",
"invoices::invoice.tax_rate": "invoices::invoice.tax_rate",
"invoices::invoice.total_taxes": "invoices::invoice.total_taxes",
"invoices::invoice.shipping": "invoices::invoice.shipping",
"invoices::invoice.total_amount": "invoices::invoice.total_amount",
"invoices::invoice.notes": "invoices::invoice.notes",
"invoices::invoice.amount_in_words": "invoices::invoice.amount_in_words",
"invoices::invoice.pay_until": "invoices::invoice.pay_until"
}
"Please pay until": "Please pay until"
}

View file

@ -152,8 +152,8 @@
<strong>{{ $invoice->status }}</strong>
</h4>
@endif
<p>{{ __('invoices::invoice.serial') }} <strong>{{ $invoice->getSerialNumber() }}</strong></p>
<p>{{ __('invoices::invoice.date') }}: <strong>{{ $invoice->getDate() }}</strong></p>
<p>{{ trans('invoices::invoice.serial') }} <strong>{{ $invoice->getSerialNumber() }}</strong></p>
<p>{{ trans('invoices::invoice.date') }}: <strong>{{ $invoice->getDate() }}</strong></p>
</td>
</tr>
</tbody>
@ -164,11 +164,11 @@
<thead>
<tr>
<th class="border-0 pl-0 party-header" width="48.5%">
{{ __('invoices::invoice.seller') }}
{{ trans('invoices::invoice.seller') }}
</th>
<th class="border-0" width="3%"></th>
<th class="border-0 pl-0 party-header">
{{ __('invoices::invoice.buyer') }}
{{ trans('invoices::invoice.buyer') }}
</th>
</tr>
</thead>
@ -183,25 +183,25 @@
@if($invoice->seller->address)
<p class="seller-address">
{{ __('invoices::invoice.address') }}: {{ $invoice->seller->address }}
{{ trans('invoices::invoice.address') }}: {{ $invoice->seller->address }}
</p>
@endif
@if($invoice->seller->code)
<p class="seller-code">
{{ __('invoices::invoice.code') }}: {{ $invoice->seller->code }}
{{ trans('invoices::invoice.code') }}: {{ $invoice->seller->code }}
</p>
@endif
@if($invoice->seller->vat)
<p class="seller-vat">
{{ __('invoices::invoice.vat') }}: {{ $invoice->seller->vat }}
{{ trans('invoices::invoice.vat') }}: {{ $invoice->seller->vat }}
</p>
@endif
@if($invoice->seller->phone)
<p class="seller-phone">
{{ __('invoices::invoice.phone') }}: {{ $invoice->seller->phone }}
{{ trans('invoices::invoice.phone') }}: {{ $invoice->seller->phone }}
</p>
@endif
@ -221,25 +221,25 @@
@if($invoice->buyer->address)
<p class="buyer-address">
{{ __('invoices::invoice.address') }}: {{ $invoice->buyer->address }}
{{ trans('invoices::invoice.address') }}: {{ $invoice->buyer->address }}
</p>
@endif
@if($invoice->buyer->code)
<p class="buyer-code">
{{ __('invoices::invoice.code') }}: {{ $invoice->buyer->code }}
{{ trans('invoices::invoice.code') }}: {{ $invoice->buyer->code }}
</p>
@endif
@if($invoice->buyer->vat)
<p class="buyer-vat">
{{ __('invoices::invoice.vat') }}: {{ $invoice->buyer->vat }}
{{ trans('invoices::invoice.vat') }}: {{ $invoice->buyer->vat }}
</p>
@endif
@if($invoice->buyer->phone)
<p class="buyer-phone">
{{ __('invoices::invoice.phone') }}: {{ $invoice->buyer->phone }}
{{ trans('invoices::invoice.phone') }}: {{ $invoice->buyer->phone }}
</p>
@endif
@ -257,19 +257,19 @@
<table class="table table-items">
<thead>
<tr>
<th scope="col" class="border-0 pl-0">{{ __('invoices::invoice.description') }}</th>
<th scope="col" class="border-0 pl-0">{{ trans('invoices::invoice.description') }}</th>
@if($invoice->hasItemUnits)
<th scope="col" class="text-center border-0">{{ __('invoices::invoice.units') }}</th>
<th scope="col" class="text-center border-0">{{ trans('invoices::invoice.units') }}</th>
@endif
<th scope="col" class="text-center border-0">{{ __('invoices::invoice.quantity') }}</th>
<th scope="col" class="text-right border-0">{{ __('invoices::invoice.price') }}</th>
<th scope="col" class="text-center border-0">{{ trans('invoices::invoice.quantity') }}</th>
<th scope="col" class="text-right border-0">{{ trans('invoices::invoice.price') }}</th>
@if($invoice->hasItemDiscount)
<th scope="col" class="text-right border-0">{{ __('invoices::invoice.discount') }}</th>
<th scope="col" class="text-right border-0">{{ trans('invoices::invoice.discount') }}</th>
@endif
@if($invoice->hasItemTax)
<th scope="col" class="text-right border-0">{{ __('invoices::invoice.tax') }}</th>
<th scope="col" class="text-right border-0">{{ trans('invoices::invoice.tax') }}</th>
@endif
<th scope="col" class="text-right border-0 pr-0">{{ __('invoices::invoice.sub_total') }}</th>
<th scope="col" class="text-right border-0 pr-0">{{ trans('invoices::invoice.sub_total') }}</th>
</tr>
</thead>
<tbody>
@ -310,7 +310,7 @@
@if($invoice->hasItemOrInvoiceDiscount())
<tr>
<td colspan="{{ $invoice->table_columns - 2 }}" class="border-0"></td>
<td class="text-right pl-0">{{ __('invoices::invoice.total_discount') }}</td>
<td class="text-right pl-0">{{ trans('invoices::invoice.total_discount') }}</td>
<td class="text-right pr-0">
{{ $invoice->formatCurrency($invoice->total_discount) }}
</td>
@ -319,7 +319,7 @@
@if($invoice->taxable_amount)
<tr>
<td colspan="{{ $invoice->table_columns - 2 }}" class="border-0"></td>
<td class="text-right pl-0">{{ __('invoices::invoice.taxable_amount') }}</td>
<td class="text-right pl-0">{{ trans('invoices::invoice.taxable_amount') }}</td>
<td class="text-right pr-0">
{{ $invoice->formatCurrency($invoice->taxable_amount) }}
</td>
@ -328,7 +328,7 @@
@if($invoice->tax_rate)
<tr>
<td colspan="{{ $invoice->table_columns - 2 }}" class="border-0"></td>
<td class="text-right pl-0">{{ __('invoices::invoice.tax_rate') }}</td>
<td class="text-right pl-0">{{ trans('invoices::invoice.tax_rate') }}</td>
<td class="text-right pr-0">
{{ $invoice->tax_rate }}%
</td>
@ -337,7 +337,7 @@
@if($invoice->hasItemOrInvoiceTax())
<tr>
<td colspan="{{ $invoice->table_columns - 2 }}" class="border-0"></td>
<td class="text-right pl-0">{{ __('invoices::invoice.total_taxes') }}</td>
<td class="text-right pl-0">{{ trans('invoices::invoice.total_taxes') }}</td>
<td class="text-right pr-0">
{{ $invoice->formatCurrency($invoice->total_taxes) }}
</td>
@ -346,7 +346,7 @@
@if($invoice->shipping_amount)
<tr>
<td colspan="{{ $invoice->table_columns - 2 }}" class="border-0"></td>
<td class="text-right pl-0">{{ __('invoices::invoice.shipping') }}</td>
<td class="text-right pl-0">{{ trans('invoices::invoice.shipping') }}</td>
<td class="text-right pr-0">
{{ $invoice->formatCurrency($invoice->shipping_amount) }}
</td>
@ -354,7 +354,7 @@
@endif
<tr>
<td colspan="{{ $invoice->table_columns - 2 }}" class="border-0"></td>
<td class="text-right pl-0">{{ __('invoices::invoice.total_amount') }}</td>
<td class="text-right pl-0">{{ trans('invoices::invoice.total_amount') }}</td>
<td class="text-right pr-0 total-amount">
{{ $invoice->formatCurrency($invoice->total_amount) }}
</td>
@ -364,15 +364,15 @@
@if($invoice->notes)
<p>
{{ __('invoices::invoice.notes') }}: {!! $invoice->notes !!}
{{ trans('invoices::invoice.notes') }}: {!! $invoice->notes !!}
</p>
@endif
<p>
{{ __('invoices::invoice.amount_in_words') }}: {{ $invoice->getTotalAmountInWords() }}
{{ trans('invoices::invoice.amount_in_words') }}: {{ $invoice->getTotalAmountInWords() }}
</p>
<p>
{{ __('invoices::invoice.pay_until') }}: {{ $invoice->getPayUntilDate() }}
{{ trans('invoices::invoice.pay_until') }}: {{ $invoice->getPayUntilDate() }}
</p>
<script type="text/php">