diff options
| author | Humdinger <humdingerb@gmail.com> | 2012-07-04 08:42:38 +0200 |
|---|---|---|
| committer | Humdinger <humdingerb@gmail.com> | 2012-07-04 08:42:38 +0200 |
| commit | 851c719d021e7f867be9f6dd97da23ce881b86ff (patch) | |
| tree | 5ce07f49215be594c189695d3d451c1279f2af18 | |
| parent | d061a7009519756006ab8b2430d17883765b43af (diff) | |
Small text changes in alert when renaming/moving special folders.hrev44294
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.
| -rw-r--r-- | src/kits/tracker/FSUtils.cpp | 23 | ||||
| -rw-r--r-- | src/kits/tracker/OpenWithWindow.cpp | 4 |
2 files changed, 12 insertions, 15 deletions
diff --git a/src/kits/tracker/FSUtils.cpp b/src/kits/tracker/FSUtils.cpp index ac2c1580e7..fb4e9d2fd0 100644 --- a/src/kits/tracker/FSUtils.cpp +++ b/src/kits/tracker/FSUtils.cpp @@ -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; } } diff --git a/src/kits/tracker/OpenWithWindow.cpp b/src/kits/tracker/OpenWithWindow.cpp index 464a1eeb47..9b9b8ac478 100644 --- a/src/kits/tracker/OpenWithWindow.cpp +++ b/src/kits/tracker/OpenWithWindow.cpp @@ -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.")); |
