6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit cccd8ba6

AuthorEdmir Suljic<esu@dwarf.dk>
Date2025-05-20 13:54:43 +0200
Translation fix and minor ui fix

Changed files

comwell_key_app/assets/translations/da-DK.json                         | 2 +-
 comwell_key_app/assets/translations/en-US.json                         | 2 +-
 .../lib/booking_details/components/housekeeping_button.dart            | 3 ++-
 3 files changed, 4 insertions(+), 3 deletions(-)

Diff

diff --git a/comwell_key_app/assets/translations/da-DK.json b/comwell_key_app/assets/translations/da-DK.json
index f951cfd1..8d8829bc 100644
--- a/comwell_key_app/assets/translations/da-DK.json
+++ b/comwell_key_app/assets/translations/da-DK.json
@@ -141,7 +141,7 @@
"housekeeping_page_service_cleaning_subtitle": "Der bliver gjort rent mellem 11 og 14",
"housekeeping_page_supplies": "Forsyninger",
"booking_details_page_housekeeping_button_title": "Bestil housekeeping",
- "booking_details_page_housekeeping_button_subtitle": "Ønsker du ekstra rengøring eller opfyldning på værelset, kan du altid bestille det her - uden omkostninger",
+ "booking_details_page_housekeeping_button_subtitle": "Dagen før housekeeping ønskes.",
"booking_details_page_practical_information": "Praktisk information",
"booking_details_page_checkout_title": "Check-out",
"booking_details_page_checkout_subtitle": "Start dit check-out her",
diff --git a/comwell_key_app/assets/translations/en-US.json b/comwell_key_app/assets/translations/en-US.json
index 6241d1fb..e30068e7 100644
--- a/comwell_key_app/assets/translations/en-US.json
+++ b/comwell_key_app/assets/translations/en-US.json
@@ -140,7 +140,7 @@
"housekeeping_page_supplies": "Supplies",
"housekeeping_page_cleaning": "Cleaning",
"booking_details_page_housekeeping_button_title": "Order housekeeping",
- "booking_details_page_housekeeping_button_subtitle": "Order here",
+ "booking_details_page_housekeeping_button_subtitle": "The day before housekeeping is requested.",
"booking_details_page_practical_information": "Practical information",
"booking_details_page_checkout_title": "Check-out",
"booking_details_page_checkout_subtitle": "Start your check-out here",
diff --git a/comwell_key_app/lib/booking_details/components/housekeeping_button.dart b/comwell_key_app/lib/booking_details/components/housekeeping_button.dart
index ba694eff..0cda88ee 100644
--- a/comwell_key_app/lib/booking_details/components/housekeeping_button.dart
+++ b/comwell_key_app/lib/booking_details/components/housekeeping_button.dart
@@ -57,9 +57,10 @@ class HousekeepingButton extends StatelessWidget {
Text(
"booking_details_page_housekeeping_button_subtitle".tr(),
maxLines: 1,
+ softWrap: true,
style: Theme.of(context)
.textTheme
- .headlineSmall
+ .bodySmall
?.copyWith(color: Colors.grey),
),
],