WemXPro / tracker

This repository is made to track bugs and suggestions in WemX
8 stars 4 forks source link

missing translation #304

Closed Partymann2000 closed 8 months ago

Partymann2000 commented 9 months ago

Product

WemX

Describe the issue

Replace: resources\themes\client\tailwind\store\packages\view.blade.php (Line 342 - 352)^

                <div class="@if(!settings('taxes')) hidden @endif" id="tax-div">
                    <hr class="h-px my-4 bg-gray-200 border-0 dark:bg-gray-700">
                    <p class="font-normal text-sm text-gray-700 dark:text-gray-400 flex justify-between mb-4">
                        <span>VAT @if(settings('tax_add_to_price'))
                                Incl.
                            @else
                                Excl.
                            @endif</span> <span>{{ currency('symbol') }}<span
                                id="taxes">0.00</span></span>
                    </p>
                </div>

and replace the code with this:

                <div class="@if(!settings('taxes')) hidden @endif" id="tax-div">
                    <hr class="h-px my-4 bg-gray-200 border-0 dark:bg-gray-700">
                    <p class="font-normal text-sm text-gray-700 dark:text-gray-400 flex justify-between mb-4">
                        <span>{!! __('client.vat') !!} @if(settings('tax_add_to_price'))
                                {!! __('client.incl') !!}
                            @else
                                {!! __('client.excl') !!}
                            @endif</span> <span>{{ currency('symbol') }}<span
                                id="taxes">0.00</span></span>
                    </p>
                </div>

and add this to the transaltion files

'vat' => 'VAT',
'incl' => 'Incl.',
'excl' => 'Excl.'

Product Version

1.9.1

Pterodactyl Panel Version

xxx

To Reproduce

No response

Expected Behaviour

No response

Screenshots

No response

Additional Information

No response

GIGABAIT93 commented 8 months ago

Thank you. I added this