Update popup titles and messages with localized Danish translations in POS Mobile flow
This commit is contained in:
+1
-1
@@ -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>
|
||||
|
||||
+10
-10
@@ -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}],
|
||||
|
||||
Reference in New Issue
Block a user