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", "User ID": "User ID",
"Server Creation Error": "Server Creation Error", "Server Creation Error": "Server Creation Error",
"Your servers have been suspended!": "Your servers have been suspended!", "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", "Purchase credits": "Purchase credits",
"If you have any questions please let us know.": "If you have any questions please let us know.", "If you have any questions please let us know.": "If you have any questions please let us know.",
"Regards": "Regards", "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.", "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", "Max": "Max",
"Expires at": "Expires at", "Expires at": "Expires at",
"Used / Uses": "Used / Uses", "Used \/ Uses": "Used \/ Uses",
"Expires": "Expires", "Expires": "Expires",
"Sign in to start your session": "Sign in to start your session", "Sign in to start your session": "Sign in to start your session",
"Password": "Password", "Password": "Password",
@ -283,7 +283,7 @@
"No nodes have been linked!": "No nodes have been linked!", "No nodes have been linked!": "No nodes have been linked!",
"No nests available!": "No nests available!", "No nests available!": "No nests available!",
"No eggs have been linked!": "No eggs have been linked!", "No eggs have been linked!": "No eggs have been linked!",
"Software / Games": "Software / Games", "Software \/ Games": "Software \/ Games",
"Please select software ...": "Please select software ...", "Please select software ...": "Please select software ...",
"---": "---", "---": "---",
"Specification ": "Specification ", "Specification ": "Specification ",
@ -343,30 +343,5 @@
"Total amount": "Total amount", "Total amount": "Total amount",
"Notes": "Notes", "Notes": "Notes",
"Amount in words": "Amount in words", "Amount in words": "Amount in words",
"Please pay until": "Please pay until", "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"
}

View file

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