Update popup titles and messages with localized Danish translations in POS Mobile flow

This commit is contained in:
Jeppe Bundgaard
2025-09-23 16:41:05 +02:00
parent e0e6b30c69
commit ef43052156
2 changed files with 11 additions and 11 deletions
@@ -17,7 +17,7 @@ const emit = defineEmits<{
</div>
<div>
<!-- Text: Completed -->
<p class="custom-title">Completed</p>
<p class="custom-title">Fuldført</p>
<!-- Text: any -->
<p class="custom-subtitle">{{ popups.get()?.message || '' }}</p>
</div>
@@ -198,8 +198,8 @@ const addDefaultPopups = () => {
// Select customer
addPopup({
id: 'select_customer',
title: 'Select Customer',
message: 'Verify user to continue',
title: 'Vælg Kunde',
message: 'Bekræft venligst valget af kunde til denne transaktion',
component: 'select_customer',
style: {height: '60vh'},
actionButtons: [{...defaultActionButtons.value.cancel}],
@@ -207,16 +207,16 @@ const addDefaultPopups = () => {
// Completed
addPopup({
id: 'completed_transaction',
title: 'Transaction Completed',
message: 'Thank you for your purchase!',
title: 'Gennemført',
message: 'Transaktionen er gennemført!',
component: 'completed_transaction',
hideHeader: true,
});
// Completed
addPopup({
id: 'complete_booking',
title: 'Complete Booking',
message: 'Complete the booking details',
title: 'Fuldført',
message: 'Bookingen er nu fuldført!',
component: 'complete_booking',
hideHeader: true,
actionButtons: [{...defaultActionButtons.value.close}],
@@ -224,8 +224,8 @@ const addDefaultPopups = () => {
// Error
addPopup({
id: 'error',
title: 'Error',
message: 'An error occurred. Please try again.',
title: 'Fejl',
message: 'Der opstod en fejl under behandlingen af din anmodning. Prøv venligst igen.',
component: 'error',
hideHeader: true,
actionButtons: [{...defaultActionButtons.value.close}],
@@ -233,8 +233,8 @@ const addDefaultPopups = () => {
// Add product note
addPopup({
id: 'add_product_note',
title: 'Add Product Note',
message: 'Please enter notes for the product.',
title: 'Tilføj note',
message: 'Tilføj venligst en note for produktet',
component: 'add_product_note', // This component should handle input and return the notes
hideHeader: true,
actionButtons: [{...defaultActionButtons.value.cancel}],