Sentence-case strings

This commit is contained in:
Jaidyn Ann 2021-03-25 10:59:35 -05:00
parent 2147c43103
commit 36a0d1bf46
4 changed files with 10 additions and 10 deletions

View File

@ -256,7 +256,7 @@ EntriesView::_FileError(status_t result)
find_directory(B_USER_SETTINGS_DIRECTORY, &cfgPath);
if (result == B_NOT_A_DIRECTORY) {
BAlert* alert = new BAlert(B_TRANSLATE("Entries Directory"),
BAlert* alert = new BAlert(B_TRANSLATE("Entries directory"),
B_TRANSLATE("The path you selected isn't a folder― please choose "
"another path."), B_TRANSLATE("OK"), NULL, NULL,
B_WIDTH_AS_USUAL, B_WARNING_ALERT);
@ -264,7 +264,7 @@ EntriesView::_FileError(status_t result)
return;
}
userFileError(result, B_TRANSLATE("Entries Directory"),
userFileError(result, B_TRANSLATE("Entries directory"),
B_TRANSLATE("Couldn't open this folder because no path was specified.\n"
"Please select a new folder."),
B_TRANSLATE("Couldn't open this folder because permission was denied.\n"

View File

@ -41,7 +41,7 @@ FeedEditWindow::FeedEditWindow(BEntry feedEntry)
:
FeedEditWindow()
{
SetTitle(B_TRANSLATE("Edit Feed"));
SetTitle(B_TRANSLATE("Edit feed"));
fFeed = Feed(feedEntry);
fFeedNameText->SetText(fFeed.Title().String());
@ -149,7 +149,7 @@ FeedEditWindow::_SaveFeed()
BUrl url = BUrl(urlString);
if (BString(urlString).IsEmpty() == true) {
BAlert* emptyAlert = new BAlert(B_TRANSLATE("Invalid Feed"),
BAlert* emptyAlert = new BAlert(B_TRANSLATE("Invalid feed"),
B_TRANSLATE("Please enter a URL."), B_TRANSLATE("OK"), NULL, NULL,
B_WIDTH_AS_USUAL, B_OFFSET_SPACING, B_WARNING_ALERT);
emptyAlert->Go();
@ -157,7 +157,7 @@ FeedEditWindow::_SaveFeed()
}
if (url.IsValid() == false) {
BAlert* invAlert = new BAlert(B_TRANSLATE("Invalid Feed"),
BAlert* invAlert = new BAlert(B_TRANSLATE("Invalid feed"),
B_TRANSLATE("The given URL is invalid. Please make sure you typed "
"it in correctly."), B_TRANSLATE("OK"), NULL, NULL,
B_WIDTH_AS_USUAL, B_OFFSET_SPACING, B_WARNING_ALERT);

View File

@ -167,7 +167,7 @@ MainWindow::_SetUpdateButton(bool cancel)
fUpdateButton->SetLabel(B_TRANSLATE("Cancel"));
fUpdateButton->SetMessage(new BMessage(kClearQueue));
} else {
fUpdateButton->SetLabel(B_TRANSLATE("Update Now"));
fUpdateButton->SetLabel(B_TRANSLATE("Update now"));
fUpdateButton->SetMessage(new BMessage(kUpdateSubscribed));
}
}

View File

@ -98,7 +98,7 @@ Notifier::_SendUpdatedNotification()
}
BNotification notifyNew(B_INFORMATION_NOTIFICATION);
BString notifyLabel(B_TRANSLATE("Feed Updates"));
BString notifyLabel(B_TRANSLATE("Feed updates"));
BString notifyText;
static BStringFormat oneSourceFormat(B_TRANSLATE("{0, plural,"
@ -119,7 +119,7 @@ Notifier::_SendUpdatedNotification()
BString* feedTitle = (BString*)fUpdatedFeeds->ItemAt(0);
if (feedTitle->IsEmpty())
feedTitle->SetTo(B_TRANSLATE("Untitled Feed"));
feedTitle->SetTo(B_TRANSLATE("Untitled feed"));
notifyText.ReplaceAll("%n%", entryNum);
notifyText.ReplaceAll("%source%", feedTitle->String());
@ -144,7 +144,7 @@ Notifier::_SendFailedNotification()
}
BNotification notifyError(B_ERROR_NOTIFICATION);
BString notifyLabel(B_TRANSLATE("Update Failure"));
BString notifyLabel(B_TRANSLATE("Update failure"));
BString notifyText;
static BStringFormat multiSourceFormat(B_TRANSLATE("{0, plural,"
@ -158,7 +158,7 @@ Notifier::_SendFailedNotification()
BString* feedTitle = (BString*)fFailedFeeds->ItemAt(0);
if (feedTitle->IsEmpty())
feedTitle->SetTo(B_TRANSLATE("Untitled Feed"));
feedTitle->SetTo(B_TRANSLATE("Untitled feed"));
notifyText.ReplaceAll("%source%", feedTitle->String());