diff --git a/src/CurrencyBox.cpp b/src/CurrencyBox.cpp index 84a59f6..f98250b 100644 --- a/src/CurrencyBox.cpp +++ b/src/CurrencyBox.cpp @@ -70,7 +70,8 @@ CurrencyBox::Validate(bool alert) if (alert) { ShowAlert(B_TRANSLATE_CONTEXT("CapitalBe didn't understand the amount", "TextInput"), B_TRANSLATE_CONTEXT("There may be a typo or the wrong kind of currency symbol " - "for this account.", "TextInput")); + "for this account.", + "TextInput")); MakeFocus(true); } return false; diff --git a/src/ReportWindow.cpp b/src/ReportWindow.cpp index 756c4f6..1a487a6 100644 --- a/src/ReportWindow.cpp +++ b/src/ReportWindow.cpp @@ -338,12 +338,13 @@ ReportWindow::MessageReceived(BMessage* msg) fStartDate = fEndDate; RenderReport(); } else { - ShowAlert(B_TRANSLATE_CONTEXT("CapitalBe didn't understand the date you entered", - "TextInput"), + ShowAlert(B_TRANSLATE_CONTEXT( + "CapitalBe didn't understand the date you entered", "TextInput"), B_TRANSLATE_CONTEXT( "CapitalBe understands lots of different ways of entering dates. " "Apparently, this wasn't one of them. You'll need to change how you " - "entered this date. Sorry.", "TextInput")); + "entered this date. Sorry.", + "TextInput")); fStartDateBox->MakeFocus(true); break; } @@ -363,12 +364,13 @@ ReportWindow::MessageReceived(BMessage* msg) fStartDate = fEndDate; RenderReport(); } else { - ShowAlert(B_TRANSLATE_CONTEXT("CapitalBe didn't understand the date you entered", - "TextInput"), + ShowAlert(B_TRANSLATE_CONTEXT( + "CapitalBe didn't understand the date you entered", "TextInput"), B_TRANSLATE_CONTEXT( "CapitalBe understands lots of different ways of entering dates. " "Apparently, this wasn't one of them. You'll need to change how you " - "entered this date. Sorry.", "TextInput")); + "entered this date. Sorry.", + "TextInput")); fEndDateBox->MakeFocus(true); break; } diff --git a/src/ScheduleAddWindow.cpp b/src/ScheduleAddWindow.cpp index 9b66b11..b17ba76 100644 --- a/src/ScheduleAddWindow.cpp +++ b/src/ScheduleAddWindow.cpp @@ -207,12 +207,13 @@ ScheduleAddWindow::MessageReceived(BMessage* msg) BString datestr = fStartDate->Text(); if (datestr.CountChars() < 3 || gDefaultLocale.StringToDate(datestr.String(), tempdate) != B_OK) { - ShowAlert(B_TRANSLATE_CONTEXT("CapitalBe didn't understand the date you entered", - "TextInput"), + ShowAlert(B_TRANSLATE_CONTEXT( + "CapitalBe didn't understand the date you entered", "TextInput"), B_TRANSLATE_CONTEXT( "CapitalBe understands lots of different ways of entering dates. " "Apparently, this wasn't one of them. You'll need to change how you " - "entered this date. Sorry.", "TextInput")); + "entered this date. Sorry.", + "TextInput")); break; } diff --git a/src/SplitView.cpp b/src/SplitView.cpp index e1bdd6e..43b1f63 100644 --- a/src/SplitView.cpp +++ b/src/SplitView.cpp @@ -604,7 +604,8 @@ SplitView::ValidateSplitAmountField(void) if (gCurrentLocale.StringToCurrency(fSplitAmount->Text(), amount) != B_OK) { ShowAlert(B_TRANSLATE_CONTEXT("CapitalBe didn't understand the amount", "TextInput"), B_TRANSLATE_CONTEXT("There may be a typo or the wrong kind of currency symbol " - "for this account.", "TextInput")); + "for this account.", + "TextInput")); fSplitAmount->MakeFocus(true); return false; } else { @@ -630,7 +631,8 @@ SplitView::ValidateSplitItems(void) fAmount->MakeFocus(true); ShowAlert(B_TRANSLATE_CONTEXT("CapitalBe didn't understand the amount", "TextInput"), B_TRANSLATE_CONTEXT("There may be a typo or the wrong kind of currency symbol " - "for this account.", "TextInput")); + "for this account.", + "TextInput")); return false; }