fix: use fr-LU locale for currency formatting (29,99 €)
Update all shop templates to use French Luxembourg locale which displays the Euro sign after the number: 29,99 € 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -464,7 +464,7 @@ function shopOrderDetailPage() {
|
|||||||
|
|
||||||
formatPrice(amount) {
|
formatPrice(amount) {
|
||||||
if (!amount && amount !== 0) return '-';
|
if (!amount && amount !== 0) return '-';
|
||||||
return new Intl.NumberFormat('de-DE', {
|
return new Intl.NumberFormat('fr-LU', {
|
||||||
style: 'currency',
|
style: 'currency',
|
||||||
currency: 'EUR'
|
currency: 'EUR'
|
||||||
}).format(amount);
|
}).format(amount);
|
||||||
|
|||||||
@@ -219,7 +219,7 @@ function shopOrdersPage() {
|
|||||||
|
|
||||||
formatPrice(amount) {
|
formatPrice(amount) {
|
||||||
if (!amount && amount !== 0) return '-';
|
if (!amount && amount !== 0) return '-';
|
||||||
return new Intl.NumberFormat('de-DE', {
|
return new Intl.NumberFormat('fr-LU', {
|
||||||
style: 'currency',
|
style: 'currency',
|
||||||
currency: 'EUR'
|
currency: 'EUR'
|
||||||
}).format(amount);
|
}).format(amount);
|
||||||
|
|||||||
@@ -525,7 +525,7 @@ function shopProfilePage() {
|
|||||||
|
|
||||||
formatPrice(amount) {
|
formatPrice(amount) {
|
||||||
if (!amount && amount !== 0) return '-';
|
if (!amount && amount !== 0) return '-';
|
||||||
return new Intl.NumberFormat('de-DE', {
|
return new Intl.NumberFormat('fr-LU', {
|
||||||
style: 'currency',
|
style: 'currency',
|
||||||
currency: 'EUR'
|
currency: 'EUR'
|
||||||
}).format(amount);
|
}).format(amount);
|
||||||
|
|||||||
@@ -209,7 +209,7 @@ document.addEventListener('alpine:init', () => {
|
|||||||
|
|
||||||
formatPrice(amount) {
|
formatPrice(amount) {
|
||||||
if (!amount && amount !== 0) return '';
|
if (!amount && amount !== 0) return '';
|
||||||
return new Intl.NumberFormat('de-DE', {
|
return new Intl.NumberFormat('fr-LU', {
|
||||||
style: 'currency',
|
style: 'currency',
|
||||||
currency: 'EUR'
|
currency: 'EUR'
|
||||||
}).format(amount);
|
}).format(amount);
|
||||||
|
|||||||
Reference in New Issue
Block a user