Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing translation #304

Closed
Partymann2000 opened this issue Dec 24, 2023 · 1 comment
Closed

missing translation #304

Partymann2000 opened this issue Dec 24, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Partymann2000
Copy link

Partymann2000 commented Dec 24, 2023

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

@Partymann2000 Partymann2000 added the bug Something isn't working label Dec 24, 2023
@github-actions github-actions bot added the wemx label Dec 24, 2023
@PadowYT2 PadowYT2 removed the wemx label Jan 6, 2024
@GIGABAIT93
Copy link

GIGABAIT93 commented Jan 14, 2024

Thank you. I added this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants