summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2015-09-30 08:28:28 +0200
committerDamiano Galassi <[email protected]>2015-09-30 08:28:28 +0200
commitb6634518e840e8055bd98e81abef62d4c55adafb (patch)
tree6a078e6f3a4be48703ce51cac6861c22c24d0a83 /macosx
parentc667e5ae33ce3cb13d24925fe63e1e286192af5f (diff)
MacGui: remove the link to libdvdcss
Diffstat (limited to 'macosx')
-rw-r--r--macosx/HBController.m26
1 files changed, 10 insertions, 16 deletions
diff --git a/macosx/HBController.m b/macosx/HBController.m
index 5fd1a4ae8..9005c3dfd 100644
--- a/macosx/HBController.m
+++ b/macosx/HBController.m
@@ -678,30 +678,24 @@
[HBUtilities writeToActivityLog: "libdvdcss.2.dylib not found for decrypting physical dvd"];
NSAlert *alert = [[NSAlert alloc] init];
- [alert setMessageText:@"Please note that HandBrake does not support the removal of copy-protection from DVD Discs. You can if you wish install libdvdcss or any other 3rd party software for this function."];
- [alert setInformativeText:@"Videolan.org provides libdvdcss if you are not currently using another solution."];
- [alert addButtonWithTitle:@"Get libdvdcss.pkg"];
- [alert addButtonWithTitle:@"Cancel Scan"];
- [alert addButtonWithTitle:@"Attempt Scan Anyway"];
+ [alert setMessageText:NSLocalizedString(@"Copy-Protected sources are not supported.", nil)];
+ [alert setInformativeText:NSLocalizedString(@"Please note that HandBrake does not support the removal of copy-protection from DVD Discs. You can if you wish use any other 3rd party software for this function.", nil)];
+ [alert addButtonWithTitle:NSLocalizedString(@"Attempt Scan Anyway", nil)];
+ [alert addButtonWithTitle:NSLocalizedString(@"Cancel", nil)];
+
[NSApp requestUserAttention:NSCriticalRequest];
NSInteger status = [alert runModal];
if (status == NSAlertFirstButtonReturn)
{
- /* User chose to go download vlc (as they rightfully should) so we send them to the vlc site */
- [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"http://download.videolan.org/libdvdcss/1.2.12/macosx/"]];
- canScan = NO;
- }
- else if (status == NSAlertSecondButtonReturn)
- {
- /* User chose to cancel the scan */
- [HBUtilities writeToActivityLog: "Cannot open physical dvd, scan cancelled"];
- canScan = NO;
+ // User chose to override our warning and scan the physical dvd anyway, at their own peril. on an encrypted dvd this produces massive log files and fails
+ [HBUtilities writeToActivityLog:"User overrode copy-protection warning - trying to open physical dvd without decryption"];
}
else
{
- /* User chose to override our warning and scan the physical dvd anyway, at their own peril. on an encrypted dvd this produces massive log files and fails */
- [HBUtilities writeToActivityLog:"User overrode copy-protection warning - trying to open physical dvd without decryption"];
+ // User chose to cancel the scan
+ [HBUtilities writeToActivityLog:"Cannot open physical dvd, scan cancelled"];
+ canScan = NO;
}
}