Sentence-case strings
This commit is contained in:
parent
2147c43103
commit
36a0d1bf46
|
@ -256,7 +256,7 @@ EntriesView::_FileError(status_t result)
|
||||||
find_directory(B_USER_SETTINGS_DIRECTORY, &cfgPath);
|
find_directory(B_USER_SETTINGS_DIRECTORY, &cfgPath);
|
||||||
|
|
||||||
if (result == B_NOT_A_DIRECTORY) {
|
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 "
|
B_TRANSLATE("The path you selected isn't a folder― please choose "
|
||||||
"another path."), B_TRANSLATE("OK"), NULL, NULL,
|
"another path."), B_TRANSLATE("OK"), NULL, NULL,
|
||||||
B_WIDTH_AS_USUAL, B_WARNING_ALERT);
|
B_WIDTH_AS_USUAL, B_WARNING_ALERT);
|
||||||
|
@ -264,7 +264,7 @@ EntriesView::_FileError(status_t result)
|
||||||
return;
|
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"
|
B_TRANSLATE("Couldn't open this folder because no path was specified.\n"
|
||||||
"Please select a new folder."),
|
"Please select a new folder."),
|
||||||
B_TRANSLATE("Couldn't open this folder because permission was denied.\n"
|
B_TRANSLATE("Couldn't open this folder because permission was denied.\n"
|
||||||
|
|
|
@ -41,7 +41,7 @@ FeedEditWindow::FeedEditWindow(BEntry feedEntry)
|
||||||
:
|
:
|
||||||
FeedEditWindow()
|
FeedEditWindow()
|
||||||
{
|
{
|
||||||
SetTitle(B_TRANSLATE("Edit Feed"));
|
SetTitle(B_TRANSLATE("Edit feed"));
|
||||||
fFeed = Feed(feedEntry);
|
fFeed = Feed(feedEntry);
|
||||||
|
|
||||||
fFeedNameText->SetText(fFeed.Title().String());
|
fFeedNameText->SetText(fFeed.Title().String());
|
||||||
|
@ -149,7 +149,7 @@ FeedEditWindow::_SaveFeed()
|
||||||
BUrl url = BUrl(urlString);
|
BUrl url = BUrl(urlString);
|
||||||
|
|
||||||
if (BString(urlString).IsEmpty() == true) {
|
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_TRANSLATE("Please enter a URL."), B_TRANSLATE("OK"), NULL, NULL,
|
||||||
B_WIDTH_AS_USUAL, B_OFFSET_SPACING, B_WARNING_ALERT);
|
B_WIDTH_AS_USUAL, B_OFFSET_SPACING, B_WARNING_ALERT);
|
||||||
emptyAlert->Go();
|
emptyAlert->Go();
|
||||||
|
@ -157,7 +157,7 @@ FeedEditWindow::_SaveFeed()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (url.IsValid() == false) {
|
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 "
|
B_TRANSLATE("The given URL is invalid. Please make sure you typed "
|
||||||
"it in correctly."), B_TRANSLATE("OK"), NULL, NULL,
|
"it in correctly."), B_TRANSLATE("OK"), NULL, NULL,
|
||||||
B_WIDTH_AS_USUAL, B_OFFSET_SPACING, B_WARNING_ALERT);
|
B_WIDTH_AS_USUAL, B_OFFSET_SPACING, B_WARNING_ALERT);
|
||||||
|
|
|
@ -167,7 +167,7 @@ MainWindow::_SetUpdateButton(bool cancel)
|
||||||
fUpdateButton->SetLabel(B_TRANSLATE("Cancel"));
|
fUpdateButton->SetLabel(B_TRANSLATE("Cancel"));
|
||||||
fUpdateButton->SetMessage(new BMessage(kClearQueue));
|
fUpdateButton->SetMessage(new BMessage(kClearQueue));
|
||||||
} else {
|
} else {
|
||||||
fUpdateButton->SetLabel(B_TRANSLATE("Update Now"));
|
fUpdateButton->SetLabel(B_TRANSLATE("Update now"));
|
||||||
fUpdateButton->SetMessage(new BMessage(kUpdateSubscribed));
|
fUpdateButton->SetMessage(new BMessage(kUpdateSubscribed));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -98,7 +98,7 @@ Notifier::_SendUpdatedNotification()
|
||||||
}
|
}
|
||||||
|
|
||||||
BNotification notifyNew(B_INFORMATION_NOTIFICATION);
|
BNotification notifyNew(B_INFORMATION_NOTIFICATION);
|
||||||
BString notifyLabel(B_TRANSLATE("Feed Updates"));
|
BString notifyLabel(B_TRANSLATE("Feed updates"));
|
||||||
BString notifyText;
|
BString notifyText;
|
||||||
|
|
||||||
static BStringFormat oneSourceFormat(B_TRANSLATE("{0, plural,"
|
static BStringFormat oneSourceFormat(B_TRANSLATE("{0, plural,"
|
||||||
|
@ -119,7 +119,7 @@ Notifier::_SendUpdatedNotification()
|
||||||
|
|
||||||
BString* feedTitle = (BString*)fUpdatedFeeds->ItemAt(0);
|
BString* feedTitle = (BString*)fUpdatedFeeds->ItemAt(0);
|
||||||
if (feedTitle->IsEmpty())
|
if (feedTitle->IsEmpty())
|
||||||
feedTitle->SetTo(B_TRANSLATE("Untitled Feed"));
|
feedTitle->SetTo(B_TRANSLATE("Untitled feed"));
|
||||||
|
|
||||||
notifyText.ReplaceAll("%n%", entryNum);
|
notifyText.ReplaceAll("%n%", entryNum);
|
||||||
notifyText.ReplaceAll("%source%", feedTitle->String());
|
notifyText.ReplaceAll("%source%", feedTitle->String());
|
||||||
|
@ -144,7 +144,7 @@ Notifier::_SendFailedNotification()
|
||||||
}
|
}
|
||||||
|
|
||||||
BNotification notifyError(B_ERROR_NOTIFICATION);
|
BNotification notifyError(B_ERROR_NOTIFICATION);
|
||||||
BString notifyLabel(B_TRANSLATE("Update Failure"));
|
BString notifyLabel(B_TRANSLATE("Update failure"));
|
||||||
BString notifyText;
|
BString notifyText;
|
||||||
|
|
||||||
static BStringFormat multiSourceFormat(B_TRANSLATE("{0, plural,"
|
static BStringFormat multiSourceFormat(B_TRANSLATE("{0, plural,"
|
||||||
|
@ -158,7 +158,7 @@ Notifier::_SendFailedNotification()
|
||||||
|
|
||||||
BString* feedTitle = (BString*)fFailedFeeds->ItemAt(0);
|
BString* feedTitle = (BString*)fFailedFeeds->ItemAt(0);
|
||||||
if (feedTitle->IsEmpty())
|
if (feedTitle->IsEmpty())
|
||||||
feedTitle->SetTo(B_TRANSLATE("Untitled Feed"));
|
feedTitle->SetTo(B_TRANSLATE("Untitled feed"));
|
||||||
|
|
||||||
notifyText.ReplaceAll("%source%", feedTitle->String());
|
notifyText.ReplaceAll("%source%", feedTitle->String());
|
||||||
|
|
||||||
|
|
Ŝarĝante…
Reference in New Issue