Skip to content

Commit dd9e05a

Browse files
committed
Localize
1 parent 72fe0df commit dd9e05a

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

WooCommerce/Classes/ViewModels/Booking Details/BookingDetailsViewModel.swift

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ private extension BookingDetailsViewModel {
7171
)
7272

7373
let bookingNotes = Section(
74-
header: .title(Localization.bookingNotesSectionHeaderTitle.uppercased()),
75-
footerText: "This is a private note. It'll not be shared with the customer.",
74+
header: .title(Localization.bookingNoteSectionHeaderTitle.uppercased()),
75+
footerText: Localization.bookingNoteSectionFooterText,
7676
content: .bookingNotes
7777
)
7878

@@ -381,12 +381,18 @@ private extension BookingDetailsViewModel {
381381
comment: "Header title for the 'Payment' section in the booking details screen."
382382
)
383383

384-
static let bookingNotesSectionHeaderTitle = NSLocalizedString(
384+
static let bookingNoteSectionHeaderTitle = NSLocalizedString(
385385
"BookingDetailsView.bookingNote.headerTitle",
386386
value: "Booking note",
387387
comment: "Header title for the 'Booking note' section in the booking details screen."
388388
)
389389

390+
static let bookingNoteSectionFooterText = NSLocalizedString(
391+
"BookingDetailsView.bookingNote.footerText",
392+
value: "This is a private note. It'll not be shared with the customer.",
393+
comment: "Footer text for the `Booking note` section in the booking details screen."
394+
)
395+
390396
static let cancelBookingAlertMessage = NSLocalizedString(
391397
"BookingDetailsView.cancelation.alert.message",
392398
value: "%1$@ will no longer be able to attend “%2$@” on %3$@.",

0 commit comments

Comments
 (0)