<Name>HandBrake.Interop</Name>\r
</ProjectReference>\r
</ItemGroup>\r
+ <ItemGroup />\r
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />\r
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. \r
Other similar extension points exist, see Microsoft.Common.targets.\r
}\r
}\r
\r
- /// <summary>\r
- /// Looks up a localized string similar to Please choose a destination for where you would like the encoded file to be saved..\r
- /// </summary>\r
- public static string Main_ChooseDestination {\r
- get {\r
- return ResourceManager.GetString("Main_ChooseDestination", resourceCulture);\r
- }\r
- }\r
- \r
/// <summary>\r
/// Looks up a localized string similar to Unable to add the last job to the queue. Do you wish to proceed trying to add the rest?.\r
/// </summary>\r
}\r
}\r
\r
- /// <summary>\r
- /// Looks up a localized string similar to The current file already exists, do you wish to overwrite it?.\r
- /// </summary>\r
- public static string Main_DestinationOverwrite {\r
- get {\r
- return ResourceManager.GetString("Main_DestinationOverwrite", resourceCulture);\r
- }\r
- }\r
- \r
/// <summary>\r
/// Looks up a localized string similar to There are jobs on the queue with the same destination path. Please choose a different path for this job..\r
/// </summary>\r
<data name="Main_AlreadyEncoding" xml:space="preserve">\r
<value>HandBrake is already encoding.</value>\r
</data>\r
- <data name="Main_ChooseDestination" xml:space="preserve">\r
- <value>Please choose a destination for where you would like the encoded file to be saved.</value>\r
- </data>\r
- <data name="Main_DestinationOverwrite" xml:space="preserve">\r
- <value>The current file already exists, do you wish to overwrite it?</value>\r
- </data>\r
<data name="Main_DuplicateDestinationOnQueue" xml:space="preserve">\r
<value>There are jobs on the queue with the same destination path. Please choose a different path for this job.</value>\r
</data>\r
return;\r
}\r
\r
- // Otherwise, perform Santiy Checking then add to the queue and start if everything is ok.\r
+ // Otherwise, perform Sanity Checking then add to the queue and start if everything is ok.\r
if (this.SelectedTitle == null)\r
{\r
this.errorService.ShowMessageBox(Resources.Main_ScanSource, Resources.Error, MessageBoxButton.OK, MessageBoxImage.Error);\r
return;\r
}\r
\r
- if (string.IsNullOrEmpty(this.Destination))\r
- {\r
- this.errorService.ShowMessageBox(Resources.Main_ChooseDestination, Resources.Error, MessageBoxButton.OK, MessageBoxImage.Error);\r
- return;\r
- }\r
-\r
if (!DriveUtilities.HasMinimumDiskSpace(\r
this.Destination,\r
this.userSettingService.GetUserSetting<long>(UserSettingConstants.PauseOnLowDiskspaceLevel)))\r
return;\r
}\r
\r
- if (this.scannedSource != null && !string.IsNullOrEmpty(this.scannedSource.ScanPath) && this.Destination.ToLower() == this.scannedSource.ScanPath.ToLower())\r
- {\r
- this.errorService.ShowMessageBox(Resources.Main_MatchingFileOverwriteWarning, Resources.Error, MessageBoxButton.OK, MessageBoxImage.Error);\r
- return;\r
- }\r
-\r
- if (File.Exists(this.Destination))\r
- {\r
- MessageBoxResult result = this.errorService.ShowMessageBox(Resources.Main_DestinationOverwrite, Resources.Question, MessageBoxButton.YesNo, MessageBoxImage.Question);\r
- if (result == MessageBoxResult.No)\r
- {\r
- return;\r
- }\r
- }\r
-\r
// Create the Queue Task and Start Processing\r
if (this.AddToQueue())\r
{\r