Small text changes in alert when renaming/moving special folders.
Since the button was renamed from "Do it!" to the specific action, an additional explanation in case of special user folders isn't needed any more. Split text into paragraphs for better readability.
This commit is contained in:
parent
d061a70095
commit
851c719d02
@ -634,20 +634,20 @@ ConfirmChangeIfWellKnownDirectory(const BEntry *entry,
|
||||
if (DirectoryMatchesOrContains(entry, B_SYSTEM_DIRECTORY)) {
|
||||
warning.SetTo(
|
||||
B_TRANSLATE("If you %ifYouDoAction the system folder or its "
|
||||
"contents, you won't be able to boot %osName! Are you sure you "
|
||||
"want to do this? To %toDoAction the system folder or its "
|
||||
"contents, you won't be able to boot %osName!\n\nAre you sure you "
|
||||
"want to do this?\n\nTo %toDoAction the system folder or its "
|
||||
"contents anyway, hold down the Shift key and click "
|
||||
"\"%toConfirmAction\"."));
|
||||
} else if (DirectoryMatches(entry, B_COMMON_DIRECTORY)) {
|
||||
warning.SetTo(
|
||||
B_TRANSLATE("If you %ifYouDoAction the common folder, %osName "
|
||||
"may not behave properly! Are you sure you want to do this? "
|
||||
"may not behave properly!\n\nAre you sure you want to do this?\n\n"
|
||||
"To %toDoAction the common folder anyway, hold down the "
|
||||
"Shift key and click \"%toConfirmAction\"."));
|
||||
} else if (DirectoryMatches(entry, B_USER_DIRECTORY)) {
|
||||
warning .SetTo(
|
||||
B_TRANSLATE("If you %ifYouDoAction the home folder, %osName "
|
||||
"may not behave properly! Are you sure you want to do this? "
|
||||
"may not behave properly!\n\nAre you sure you want to do this?\n\n"
|
||||
"To %toDoAction the home folder anyway, hold down the "
|
||||
"Shift key and click \"%toConfirmAction\"."));
|
||||
} else if (DirectoryMatchesOrContains(entry, B_USER_CONFIG_DIRECTORY)
|
||||
@ -659,24 +659,21 @@ ConfirmChangeIfWellKnownDirectory(const BEntry *entry,
|
||||
B_COMMON_SETTINGS_DIRECTORY)) {
|
||||
warning.SetTo(
|
||||
B_TRANSLATE("If you %ifYouDoAction the mime settings, "
|
||||
"%osName may not behave properly! Are you sure you want to "
|
||||
"do this? To %toDoAction the mime settings anyway, click "
|
||||
"\"%toConfirmAction\"."));
|
||||
"%osName may not behave properly!\n\nAre you sure you want to "
|
||||
"do this?"));
|
||||
requireOverride = false;
|
||||
} else if (DirectoryMatches(entry, B_USER_CONFIG_DIRECTORY)) {
|
||||
warning.SetTo(
|
||||
B_TRANSLATE("If you %ifYouDoAction the config folder, %osName "
|
||||
"may not behave properly! Are you sure you want to do this? "
|
||||
"To %toDoAction the config folder anyway, click "
|
||||
"\"%toConfirmAction\"."));
|
||||
"may not behave properly!\n\nAre you sure you want to do "
|
||||
"this?"));
|
||||
requireOverride = false;
|
||||
} else if (DirectoryMatches(entry, B_USER_SETTINGS_DIRECTORY)
|
||||
|| DirectoryMatches(entry, B_COMMON_SETTINGS_DIRECTORY)) {
|
||||
warning.SetTo(
|
||||
B_TRANSLATE("If you %ifYouDoAction the settings folder, "
|
||||
"%osName may not behave properly! Are you sure you want to "
|
||||
"do this? To %toDoAction the settings folder anyway, click "
|
||||
"\"%toConfirmAction\"."));
|
||||
"%osName may not behave properly!\n\nAre you sure you want to "
|
||||
"do this?"));
|
||||
requireOverride = false;
|
||||
}
|
||||
}
|
||||
|
@ -681,8 +681,8 @@ OpenWithPoseView::OpenSelection(BPose *pose, int32 *)
|
||||
if (!fIterator->GenericFilesOnly()) {
|
||||
BString warning(B_TRANSLATE(
|
||||
"The application \"%appname\" does not support the type of "
|
||||
"document you are about to open. Are you sure you want to "
|
||||
"proceed? If you know that the application supports the "
|
||||
"document you are about to open.\nAre you sure you want to "
|
||||
"proceed?\n\nIf you know that the application supports the "
|
||||
"document type, you should contact the publisher of the "
|
||||
"application and ask them to update their application to list "
|
||||
"the type of your document as supported."));
|
||||
|
Loading…
Reference in New Issue
Block a user