}\r
}\r
\r
+ /// <summary>\r
+ /// Looks up a localized string similar to The Custom Width or Height fields must be filled in for the 'Custom' option..\r
+ /// </summary>\r
+ public static string AddPresetViewModel_CustomWidthHeightFieldsRequired {\r
+ get {\r
+ return ResourceManager.GetString("AddPresetViewModel_CustomWidthHeightFieldsRequired", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to A Preset must have a Name. Please fill out the Preset Name field..\r
+ /// </summary>\r
+ public static string AddPresetViewModel_PresetMustProvideName {\r
+ get {\r
+ return ResourceManager.GetString("AddPresetViewModel_PresetMustProvideName", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to A Preset with this name already exists. Would you like to overwrite it?.\r
+ /// </summary>\r
+ public static string AddPresetViewModel_PresetWithSameNameOverwriteWarning {\r
+ get {\r
+ return ResourceManager.GetString("AddPresetViewModel_PresetWithSameNameOverwriteWarning", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Unable to add preset.\r
+ /// </summary>\r
+ public static string AddPresetViewModel_UnableToAddPreset {\r
+ get {\r
+ return ResourceManager.GetString("AddPresetViewModel_UnableToAddPreset", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to You must first scan a source to use the 'Source Maximum' Option..\r
+ /// </summary>\r
+ public static string AddPresetViewModel_YouMustFirstScanSource {\r
+ get {\r
+ return ResourceManager.GetString("AddPresetViewModel_YouMustFirstScanSource", resourceCulture);\r
+ }\r
+ }\r
+ \r
/// <summary>\r
/// Looks up a localized string similar to x264 has a variety of algorithms to decide when to use B-frames and how many to use.\r
///\r
}\r
}\r
\r
+ /// <summary>\r
+ /// Looks up a localized string similar to Audio Defaults.\r
+ /// </summary>\r
+ public static string AudioViewModel_AudioDefaults {\r
+ get {\r
+ return ResourceManager.GetString("AudioViewModel_AudioDefaults", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Audio Tracks.\r
+ /// </summary>\r
+ public static string AudioViewModel_AudioTracks {\r
+ get {\r
+ return ResourceManager.GetString("AudioViewModel_AudioTracks", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Configure Defaults.\r
+ /// </summary>\r
+ public static string AudioViewModel_ConfigureDefaults {\r
+ get {\r
+ return ResourceManager.GetString("AudioViewModel_ConfigureDefaults", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Switch Back To Tracks.\r
+ /// </summary>\r
+ public static string AudioViewModel_SwitchBackToTracks {\r
+ get {\r
+ return ResourceManager.GetString("AudioViewModel_SwitchBackToTracks", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Chapter marker names will NOT be saved in your encode..\r
+ /// </summary>\r
+ public static string ChaptersViewModel_UnableToExportChaptersMsg {\r
+ get {\r
+ return ResourceManager.GetString("ChaptersViewModel_UnableToExportChaptersMsg", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Unable to save Chapter Makrers file! .\r
+ /// </summary>\r
+ public static string ChaptersViewModel_UnableToExportChaptersWarning {\r
+ get {\r
+ return ResourceManager.GetString("ChaptersViewModel_UnableToExportChaptersWarning", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Confirm.\r
+ /// </summary>\r
+ public static string Confirm {\r
+ get {\r
+ return ResourceManager.GetString("Confirm", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to The following action '{0}' will occur in {1} seconds..\r
+ /// </summary>\r
+ public static string CountdownAlertViewModel_NoticeMessage {\r
+ get {\r
+ return ResourceManager.GetString("CountdownAlertViewModel_NoticeMessage", resourceCulture);\r
+ }\r
+ }\r
+ \r
/// <summary>\r
/// Looks up a localized string similar to Error.\r
/// </summary>\r
}\r
}\r
\r
+ /// <summary>\r
+ /// Looks up a localized string similar to If the problem presists, please try restarting HandBrake..\r
+ /// </summary>\r
+ public static string ErrorViewModel_IfTheProblemPersists {\r
+ get {\r
+ return ResourceManager.GetString("ErrorViewModel_IfTheProblemPersists", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to There is no further information available about this error..\r
+ /// </summary>\r
+ public static string ErrorViewModel_NoFurtherInformation {\r
+ get {\r
+ return ResourceManager.GetString("ErrorViewModel_NoFurtherInformation", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to An Unknown Error has occured..\r
+ /// </summary>\r
+ public static string ErrorViewModel_UnknownError {\r
+ get {\r
+ return ResourceManager.GetString("ErrorViewModel_UnknownError", resourceCulture);\r
+ }\r
+ }\r
+ \r
/// <summary>\r
/// Looks up a localized string similar to HandBrake.\r
/// </summary>\r
}\r
}\r
\r
+ /// <summary>\r
+ /// Looks up a localized string similar to Your system supports the 64bit version of HandBrake! This offers performance and stability improvements over this 32bit version..\r
+ /// </summary>\r
+ public static string OptionsViewModel_64bitAvailable {\r
+ get {\r
+ return ResourceManager.GetString("OptionsViewModel_64bitAvailable", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to A New Update is Available!.\r
+ /// </summary>\r
+ public static string OptionsViewModel_NewUpdate {\r
+ get {\r
+ return ResourceManager.GetString("OptionsViewModel_NewUpdate", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to There are no new updates at this time..\r
+ /// </summary>\r
+ public static string OptionsViewModel_NoNewUpdates {\r
+ get {\r
+ return ResourceManager.GetString("OptionsViewModel_NoNewUpdates", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Update Downloaded.\r
+ /// </summary>\r
+ public static string OptionsViewModel_UpdateDownloaded {\r
+ get {\r
+ return ResourceManager.GetString("OptionsViewModel_UpdateDownloaded", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Update Failed. You can try downloading the update from https://handbrake.fr.\r
+ /// </summary>\r
+ public static string OptionsViewModel_UpdateFailed {\r
+ get {\r
+ return ResourceManager.GetString("OptionsViewModel_UpdateFailed", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Update Service Unavailable. You can try downloading the update from https://handbrake.fr.\r
+ /// </summary>\r
+ public static string OptionsViewModel_UpdateServiceUnavailable {\r
+ get {\r
+ return ResourceManager.GetString("OptionsViewModel_UpdateServiceUnavailable", resourceCulture);\r
+ }\r
+ }\r
+ \r
/// <summary>\r
/// Looks up a localized string similar to Overwrite?.\r
/// </summary>\r
}\r
}\r
\r
+ /// <summary>\r
+ /// Looks up a localized string similar to Storage: {0}x{1}, Display: {2}x{3}.\r
+ /// </summary>\r
+ public static string PictureSettingsViewModel_StorageDisplayLabel {\r
+ get {\r
+ return ResourceManager.GetString("PictureSettingsViewModel_StorageDisplayLabel", resourceCulture);\r
+ }\r
+ }\r
+ \r
/// <summary>\r
/// Looks up a localized string similar to Preset Version.\r
/// </summary>\r
}\r
}\r
\r
+ /// <summary>\r
+ /// Looks up a localized string similar to Add to Queue.\r
+ /// </summary>\r
+ public static string QueueSelectionViewModel_AddToQueue {\r
+ get {\r
+ return ResourceManager.GetString("QueueSelectionViewModel_AddToQueue", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Are you sure you wish to clear the queue?.\r
+ /// </summary>\r
+ public static string QueueViewModel_ClearQueueConfrimation {\r
+ get {\r
+ return ResourceManager.GetString("QueueViewModel_ClearQueueConfrimation", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Are you sure you want to delete the selected jobs?.\r
+ /// </summary>\r
+ public static string QueueViewModel_DelSelectedJobConfirmation {\r
+ get {\r
+ return ResourceManager.GetString("QueueViewModel_DelSelectedJobConfirmation", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Are you sure you wish to edit this job? It will be removed from the queue and sent to the main window..\r
+ /// </summary>\r
+ public static string QueueViewModel_EditConfrimation {\r
+ get {\r
+ return ResourceManager.GetString("QueueViewModel_EditConfrimation", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to This encode is currently in progress. If you delete it, the encode will be stopped. Are you sure you wish to proceed?.\r
+ /// </summary>\r
+ public static string QueueViewModel_JobCurrentlyRunningWarning {\r
+ get {\r
+ return ResourceManager.GetString("QueueViewModel_JobCurrentlyRunningWarning", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to {0} jobs pending.\r
+ /// </summary>\r
+ public static string QueueViewModel_JobsPending {\r
+ get {\r
+ return ResourceManager.GetString("QueueViewModel_JobsPending", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Last Queued Job Finished.\r
+ /// </summary>\r
+ public static string QueueViewModel_LastJobFinished {\r
+ get {\r
+ return ResourceManager.GetString("QueueViewModel_LastJobFinished", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to No encodes pending.\r
+ /// </summary>\r
+ public static string QueueViewModel_NoEncodesPending {\r
+ get {\r
+ return ResourceManager.GetString("QueueViewModel_NoEncodesPending", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to There are no jobs currently encoding.\r
+ /// </summary>\r
+ public static string QueueViewModel_NoJobsPending {\r
+ get {\r
+ return ResourceManager.GetString("QueueViewModel_NoJobsPending", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to There are no pending jobs..\r
+ /// </summary>\r
+ public static string QueueViewModel_NoPendingJobs {\r
+ get {\r
+ return ResourceManager.GetString("QueueViewModel_NoPendingJobs", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Queue.\r
+ /// </summary>\r
+ public static string QueueViewModel_Queue {\r
+ get {\r
+ return ResourceManager.GetString("QueueViewModel_Queue", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Queue Completed.\r
+ /// </summary>\r
+ public static string QueueViewModel_QueueCompleted {\r
+ get {\r
+ return ResourceManager.GetString("QueueViewModel_QueueCompleted", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Queue Not Running.\r
+ /// </summary>\r
+ public static string QueueViewModel_QueueNotRunning {\r
+ get {\r
+ return ResourceManager.GetString("QueueViewModel_QueueNotRunning", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to The Queue has been paused. The currently running job will run to completion and no further jobs will start..\r
+ /// </summary>\r
+ public static string QueueViewModel_QueuePauseNotice {\r
+ get {\r
+ return ResourceManager.GetString("QueueViewModel_QueuePauseNotice", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Queue Paused.\r
+ /// </summary>\r
+ public static string QueueViewModel_QueuePending {\r
+ get {\r
+ return ResourceManager.GetString("QueueViewModel_QueuePending", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Queue Ready.\r
+ /// </summary>\r
+ public static string QueueViewModel_QueueReady {\r
+ get {\r
+ return ResourceManager.GetString("QueueViewModel_QueueReady", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Queue Started.\r
+ /// </summary>\r
+ public static string QueueViewModel_QueueStarted {\r
+ get {\r
+ return ResourceManager.GetString("QueueViewModel_QueueStarted", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Encoding: Pass {0} of {1}, {2:00.00}%, FPS: {3:000.0}, Avg FPS: {4:000.0}, Time Remaining: {5}, Elapsed: {6:hh\:mm\:ss}.\r
+ /// </summary>\r
+ public static string QueueViewModel_QueueStatusDisplay {\r
+ get {\r
+ return ResourceManager.GetString("QueueViewModel_QueueStatusDisplay", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to An Encode is currently running. Exiting HandBrake will stop this encode.\r
+ ///Are you sure you wish to exit HandBrake?.\r
+ /// </summary>\r
+ public static string ShellViewModel_CanClose {\r
+ get {\r
+ return ResourceManager.GetString("ShellViewModel_CanClose", resourceCulture);\r
+ }\r
+ }\r
+ \r
/// <summary>\r
/// Looks up a localized string similar to Ready.\r
/// </summary>\r
}\r
}\r
\r
+ /// <summary>\r
+ /// Looks up a localized string similar to Unable to delete previous preview file. You may need to restart the application..\r
+ /// </summary>\r
+ public static string StaticPreview_UnableToDeletePreview {\r
+ get {\r
+ return ResourceManager.GetString("StaticPreview_UnableToDeletePreview", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Handbrake is already encoding a video! Only one file can be encoded at any one time..\r
+ /// </summary>\r
+ public static string StaticPreviewViewModel_AlreadyEncoding {\r
+ get {\r
+ return ResourceManager.GetString("StaticPreviewViewModel_AlreadyEncoding", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to You must first scan a source and setup your encode before creating a preview..\r
+ /// </summary>\r
+ public static string StaticPreviewViewModel_ScanFirst {\r
+ get {\r
+ return ResourceManager.GetString("StaticPreviewViewModel_ScanFirst", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Picture Preview.\r
+ /// </summary>\r
+ public static string StaticPreviewViewModel_Title {\r
+ get {\r
+ return ResourceManager.GetString("StaticPreviewViewModel_Title", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Unable to detect VLC Player. \r
+ ///Please make sure VLC is installed and the directory specified in HandBrake's options is correct. (See: "Tools Menu > Options > Picture Tab").\r
+ /// </summary>\r
+ public static string StaticPreviewViewModel_UnableToFindVLC {\r
+ get {\r
+ return ResourceManager.GetString("StaticPreviewViewModel_UnableToFindVLC", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Unable to find the preview file. Either the file was deleted or the encode failed. Check the activity log for details..\r
+ /// </summary>\r
+ public static string StaticPreviewViewModel_UnableToPlayFile {\r
+ get {\r
+ return ResourceManager.GetString("StaticPreviewViewModel_UnableToPlayFile", resourceCulture);\r
+ }\r
+ }\r
+ \r
/// <summary>\r
/// Looks up a localized string similar to None - Only tracks where the container does not support the format will be burned in.\r
///Foreign Audio Track - The Foreign Audio track will be burned in if available. \r
}\r
}\r
\r
+ /// <summary>\r
+ /// Looks up a localized string similar to Configure Defaults.\r
+ /// </summary>\r
+ public static string SubtitlesViewModel_ConfigureDefaults {\r
+ get {\r
+ return ResourceManager.GetString("SubtitlesViewModel_ConfigureDefaults", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Subtitle Defaults.\r
+ /// </summary>\r
+ public static string SubtitlesViewModel_SubDefaults {\r
+ get {\r
+ return ResourceManager.GetString("SubtitlesViewModel_SubDefaults", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Subtitle Tracks.\r
+ /// </summary>\r
+ public static string SubtitlesViewModel_SubTracks {\r
+ get {\r
+ return ResourceManager.GetString("SubtitlesViewModel_SubTracks", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Switch Back To Tracks.\r
+ /// </summary>\r
+ public static string SubtitlesViewModel_SwitchToTracks {\r
+ get {\r
+ return ResourceManager.GetString("SubtitlesViewModel_SwitchToTracks", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Unknown Error.\r
+ /// </summary>\r
+ public static string UnknownError {\r
+ get {\r
+ return ResourceManager.GetString("UnknownError", resourceCulture);\r
+ }\r
+ }\r
+ \r
/// <summary>\r
/// Looks up a localized string similar to Updated.\r
/// </summary>\r
<data name="MainViewModel_EncodeStatusChanged_StatusLabel" xml:space="preserve">\r
<value>{0:00.00}% FPS: {1:000.0} Avg FPS: {2:000.0} Time Remaining: {3} Elapsed: {4:hh\:mm\:ss}</value>\r
</data>\r
+ <data name="AddPresetViewModel_PresetMustProvideName" xml:space="preserve">\r
+ <value>A Preset must have a Name. Please fill out the Preset Name field.</value>\r
+ </data>\r
+ <data name="AddPresetViewModel_PresetWithSameNameOverwriteWarning" xml:space="preserve">\r
+ <value>A Preset with this name already exists. Would you like to overwrite it?</value>\r
+ </data>\r
+ <data name="AddPresetViewModel_YouMustFirstScanSource" xml:space="preserve">\r
+ <value>You must first scan a source to use the 'Source Maximum' Option.</value>\r
+ </data>\r
+ <data name="AddPresetViewModel_CustomWidthHeightFieldsRequired" xml:space="preserve">\r
+ <value>The Custom Width or Height fields must be filled in for the 'Custom' option.</value>\r
+ </data>\r
+ <data name="AddPresetViewModel_UnableToAddPreset" xml:space="preserve">\r
+ <value>Unable to add preset</value>\r
+ </data>\r
+ <data name="UnknownError" xml:space="preserve">\r
+ <value>Unknown Error</value>\r
+ </data>\r
+ <data name="AudioViewModel_AudioDefaults" xml:space="preserve">\r
+ <value>Audio Defaults</value>\r
+ </data>\r
+ <data name="AudioViewModel_AudioTracks" xml:space="preserve">\r
+ <value>Audio Tracks</value>\r
+ </data>\r
+ <data name="AudioViewModel_ConfigureDefaults" xml:space="preserve">\r
+ <value>Configure Defaults</value>\r
+ </data>\r
+ <data name="AudioViewModel_SwitchBackToTracks" xml:space="preserve">\r
+ <value>Switch Back To Tracks</value>\r
+ </data>\r
+ <data name="ChaptersViewModel_UnableToExportChaptersWarning" xml:space="preserve">\r
+ <value>Unable to save Chapter Makrers file! </value>\r
+ </data>\r
+ <data name="ChaptersViewModel_UnableToExportChaptersMsg" xml:space="preserve">\r
+ <value>Chapter marker names will NOT be saved in your encode.</value>\r
+ </data>\r
+ <data name="CountdownAlertViewModel_NoticeMessage" xml:space="preserve">\r
+ <value>The following action '{0}' will occur in {1} seconds.</value>\r
+ </data>\r
+ <data name="ErrorViewModel_IfTheProblemPersists" xml:space="preserve">\r
+ <value>If the problem presists, please try restarting HandBrake.</value>\r
+ </data>\r
+ <data name="ErrorViewModel_NoFurtherInformation" xml:space="preserve">\r
+ <value>There is no further information available about this error.</value>\r
+ </data>\r
+ <data name="ErrorViewModel_UnknownError" xml:space="preserve">\r
+ <value>An Unknown Error has occured.</value>\r
+ </data>\r
+ <data name="OptionsViewModel_NewUpdate" xml:space="preserve">\r
+ <value>A New Update is Available!</value>\r
+ </data>\r
+ <data name="OptionsViewModel_64bitAvailable" xml:space="preserve">\r
+ <value>Your system supports the 64bit version of HandBrake! This offers performance and stability improvements over this 32bit version.</value>\r
+ </data>\r
+ <data name="OptionsViewModel_NoNewUpdates" xml:space="preserve">\r
+ <value>There are no new updates at this time.</value>\r
+ </data>\r
+ <data name="OptionsViewModel_UpdateDownloaded" xml:space="preserve">\r
+ <value>Update Downloaded</value>\r
+ </data>\r
+ <data name="OptionsViewModel_UpdateServiceUnavailable" xml:space="preserve">\r
+ <value>Update Service Unavailable. You can try downloading the update from https://handbrake.fr</value>\r
+ </data>\r
+ <data name="OptionsViewModel_UpdateFailed" xml:space="preserve">\r
+ <value>Update Failed. You can try downloading the update from https://handbrake.fr</value>\r
+ </data>\r
+ <data name="PictureSettingsViewModel_StorageDisplayLabel" xml:space="preserve">\r
+ <value>Storage: {0}x{1}, Display: {2}x{3}</value>\r
+ </data>\r
+ <data name="QueueSelectionViewModel_AddToQueue" xml:space="preserve">\r
+ <value>Add to Queue</value>\r
+ </data>\r
+ <data name="QueueViewModel_NoEncodesPending" xml:space="preserve">\r
+ <value>No encodes pending</value>\r
+ </data>\r
+ <data name="QueueViewModel_NoJobsPending" xml:space="preserve">\r
+ <value>There are no jobs currently encoding</value>\r
+ </data>\r
+ <data name="QueueViewModel_Queue" xml:space="preserve">\r
+ <value>Queue</value>\r
+ </data>\r
+ <data name="QueueViewModel_ClearQueueConfrimation" xml:space="preserve">\r
+ <value>Are you sure you wish to clear the queue?</value>\r
+ </data>\r
+ <data name="Confirm" xml:space="preserve">\r
+ <value>Confirm</value>\r
+ </data>\r
+ <data name="QueueViewModel_JobsPending" xml:space="preserve">\r
+ <value>{0} jobs pending</value>\r
+ </data>\r
+ <data name="QueueViewModel_QueuePending" xml:space="preserve">\r
+ <value>Queue Paused</value>\r
+ </data>\r
+ <data name="QueueViewModel_QueuePauseNotice" xml:space="preserve">\r
+ <value>The Queue has been paused. The currently running job will run to completion and no further jobs will start.</value>\r
+ </data>\r
+ <data name="QueueViewModel_DelSelectedJobConfirmation" xml:space="preserve">\r
+ <value>Are you sure you want to delete the selected jobs?</value>\r
+ </data>\r
+ <data name="QueueViewModel_JobCurrentlyRunningWarning" xml:space="preserve">\r
+ <value>This encode is currently in progress. If you delete it, the encode will be stopped. Are you sure you wish to proceed?</value>\r
+ </data>\r
+ <data name="QueueViewModel_NoPendingJobs" xml:space="preserve">\r
+ <value>There are no pending jobs.</value>\r
+ </data>\r
+ <data name="QueueViewModel_EditConfrimation" xml:space="preserve">\r
+ <value>Are you sure you wish to edit this job? It will be removed from the queue and sent to the main window.</value>\r
+ </data>\r
+ <data name="QueueViewModel_QueueReady" xml:space="preserve">\r
+ <value>Queue Ready</value>\r
+ </data>\r
+ <data name="QueueViewModel_QueueNotRunning" xml:space="preserve">\r
+ <value>Queue Not Running</value>\r
+ </data>\r
+ <data name="QueueViewModel_QueueCompleted" xml:space="preserve">\r
+ <value>Queue Completed</value>\r
+ </data>\r
+ <data name="QueueViewModel_LastJobFinished" xml:space="preserve">\r
+ <value>Last Queued Job Finished</value>\r
+ </data>\r
+ <data name="QueueViewModel_QueueStarted" xml:space="preserve">\r
+ <value>Queue Started</value>\r
+ </data>\r
+ <data name="QueueViewModel_QueueStatusDisplay" xml:space="preserve">\r
+ <value>Encoding: Pass {0} of {1}, {2:00.00}%, FPS: {3:000.0}, Avg FPS: {4:000.0}, Time Remaining: {5}, Elapsed: {6:hh\:mm\:ss}</value>\r
+ </data>\r
+ <data name="ShellViewModel_CanClose" xml:space="preserve">\r
+ <value>An Encode is currently running. Exiting HandBrake will stop this encode.\r
+Are you sure you wish to exit HandBrake?</value>\r
+ </data>\r
+ <data name="StaticPreviewViewModel_Title" xml:space="preserve">\r
+ <value>Picture Preview</value>\r
+ </data>\r
+ <data name="StaticPreview_UnableToDeletePreview" xml:space="preserve">\r
+ <value>Unable to delete previous preview file. You may need to restart the application.</value>\r
+ </data>\r
+ <data name="StaticPreviewViewModel_ScanFirst" xml:space="preserve">\r
+ <value>You must first scan a source and setup your encode before creating a preview.</value>\r
+ </data>\r
+ <data name="StaticPreviewViewModel_UnableToFindVLC" xml:space="preserve">\r
+ <value>Unable to detect VLC Player. \r
+Please make sure VLC is installed and the directory specified in HandBrake's options is correct. (See: "Tools Menu > Options > Picture Tab")</value>\r
+ </data>\r
+ <data name="StaticPreviewViewModel_UnableToPlayFile" xml:space="preserve">\r
+ <value>Unable to find the preview file. Either the file was deleted or the encode failed. Check the activity log for details.</value>\r
+ </data>\r
+ <data name="StaticPreviewViewModel_AlreadyEncoding" xml:space="preserve">\r
+ <value>Handbrake is already encoding a video! Only one file can be encoded at any one time.</value>\r
+ </data>\r
+ <data name="SubtitlesViewModel_SubDefaults" xml:space="preserve">\r
+ <value>Subtitle Defaults</value>\r
+ </data>\r
+ <data name="SubtitlesViewModel_SubTracks" xml:space="preserve">\r
+ <value>Subtitle Tracks</value>\r
+ </data>\r
+ <data name="SubtitlesViewModel_SwitchToTracks" xml:space="preserve">\r
+ <value>Switch Back To Tracks</value>\r
+ </data>\r
+ <data name="SubtitlesViewModel_ConfigureDefaults" xml:space="preserve">\r
+ <value>Configure Defaults</value>\r
+ </data>\r
</root>
\ No newline at end of file
{\r
if (string.IsNullOrEmpty(this.Preset.Name))\r
{\r
- this.errorService.ShowMessageBox("A Preset must have a Name. Please fill out the Preset Name field.", Resources.Error, MessageBoxButton.OK, MessageBoxImage.Error);\r
+ this.errorService.ShowMessageBox(Resources.AddPresetViewModel_PresetMustProvideName, Resources.Error, MessageBoxButton.OK, MessageBoxImage.Error);\r
return;\r
}\r
\r
if (this.presetService.CheckIfPresetExists(this.Preset.Name))\r
{\r
- MessageBoxResult result = this.errorService.ShowMessageBox("A Preset with this name already exists. Would you like to overwrite it?", Resources.Error, MessageBoxButton.YesNo, MessageBoxImage.Error);\r
+ MessageBoxResult result = this.errorService.ShowMessageBox(Resources.AddPresetViewModel_PresetWithSameNameOverwriteWarning, Resources.Error, MessageBoxButton.YesNo, MessageBoxImage.Error);\r
if (result == MessageBoxResult.No)\r
{\r
return;\r
\r
if (this.SelectedPictureSettingMode == PresetPictureSettingsMode.SourceMaximum && this.selectedTitle == null)\r
{\r
- this.errorService.ShowMessageBox("You must first scan a source to use the 'Source Maximum' Option.", Resources.Error, MessageBoxButton.OK, MessageBoxImage.Error);\r
+ this.errorService.ShowMessageBox(Resources.AddPresetViewModel_YouMustFirstScanSource, Resources.Error, MessageBoxButton.OK, MessageBoxImage.Error);\r
return;\r
}\r
\r
if (this.CustomWidth == null && this.CustomHeight == null && this.SelectedPictureSettingMode == PresetPictureSettingsMode.Custom)\r
{\r
- this.errorService.ShowMessageBox("The Custom Width or Height fields must be filled in for the 'Custom' option.", Resources.Error, MessageBoxButton.OK, MessageBoxImage.Error);\r
+ this.errorService.ShowMessageBox(Resources.AddPresetViewModel_CustomWidthHeightFieldsRequired, Resources.Error, MessageBoxButton.OK, MessageBoxImage.Error);\r
return;\r
}\r
\r
bool added = this.presetService.Add(this.Preset);\r
if (!added)\r
{\r
- this.errorService.ShowMessageBox("Unable to add preset", "Unknown Error", MessageBoxButton.OK,\r
+ this.errorService.ShowMessageBox(Resources.AddPresetViewModel_UnableToAddPreset, Resources.UnknownError, MessageBoxButton.OK,\r
MessageBoxImage.Error);\r
}\r
else\r
+++ /dev/null
-// --------------------------------------------------------------------------------------------------------------------\r
-// <copyright file="AudioDefaultsViewModel.cs" company="HandBrake Project (http://handbrake.fr)">\r
-// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.\r
-// </copyright>\r
-// <summary>\r
-// The Audio Defaults View Model\r
-// </summary>\r
-// --------------------------------------------------------------------------------------------------------------------\r
-\r
-namespace HandBrakeWPF.ViewModels\r
-{\r
- using System.Collections.Generic;\r
- using System.ComponentModel;\r
- using System.Linq;\r
-\r
- using Caliburn.Micro;\r
-\r
- using HandBrake.ApplicationServices.Interop.Model.Encoding;\r
- using HandBrake.ApplicationServices.Utilities;\r
-\r
- using HandBrakeWPF.Commands;\r
- using HandBrakeWPF.Model.Audio;\r
- using HandBrakeWPF.Services.Interfaces;\r
- using HandBrakeWPF.Services.Presets.Model;\r
- using HandBrakeWPF.ViewModels.Interfaces;\r
-\r
- /// <summary>\r
- /// The Audio View Model\r
- /// </summary>\r
- public class AudioDefaultsViewModel : ViewModelBase, IAudioDefaultsViewModel\r
- {\r
- /// <summary>\r
- /// The available languages.\r
- /// </summary>\r
- private BindingList<string> availableLanguages;\r
-\r
- /// <summary>\r
- /// The audio behaviours.\r
- /// </summary>\r
- private AudioBehaviours audioBehaviours;\r
-\r
- #region Constructors and Destructors\r
-\r
- /// <summary>\r
- /// Initializes a new instance of the <see cref="AudioDefaultsViewModel"/> class. \r
- /// </summary>\r
- /// <param name="windowManager">\r
- /// The window manager.\r
- /// </param>\r
- /// <param name="userSettingService">\r
- /// The user Setting Service.\r
- /// </param>\r
- public AudioDefaultsViewModel(IWindowManager windowManager, IUserSettingService userSettingService)\r
- {\r
- this.AudioEncoders = EnumHelper<AudioEncoder>.GetEnumList();\r
-\r
- this.AudioBehaviours = new AudioBehaviours();\r
- this.SelectedAvailableToMove = new BindingList<string>();\r
- this.SelectedLangaugesToMove = new BindingList<string>();\r
- this.AvailableLanguages = new BindingList<string>();\r
- this.SetupLanguages(null);\r
- }\r
-\r
- #endregion\r
-\r
- #region Properties\r
-\r
- /// <summary>\r
- /// Gets or sets the audio behaviours.\r
- /// </summary>\r
- public AudioBehaviours AudioBehaviours\r
- {\r
- get\r
- {\r
- return this.audioBehaviours;\r
- }\r
- set\r
- {\r
- if (Equals(value, this.audioBehaviours))\r
- {\r
- return;\r
- }\r
- this.audioBehaviours = value;\r
- this.NotifyOfPropertyChange(() => this.AudioBehaviours);\r
- }\r
- }\r
-\r
- /// <summary>\r
- /// Gets the audio behaviour modes.\r
- /// </summary>\r
- public BindingList<AudioBehaviourModes> AudioBehaviourModeList\r
- {\r
- get\r
- {\r
- return new BindingList<AudioBehaviourModes>(EnumHelper<AudioBehaviourModes>.GetEnumList().ToList());\r
- }\r
- }\r
-\r
- /// <summary>\r
- /// Gets or sets AudioEncoders.\r
- /// </summary>\r
- public IEnumerable<AudioEncoder> AudioEncoders { get; set; }\r
-\r
-\r
- /// <summary>\r
- /// Gets or sets AvailableLanguages.\r
- /// </summary>\r
- public BindingList<string> AvailableLanguages\r
- {\r
- get\r
- {\r
- return this.availableLanguages;\r
- }\r
-\r
- set\r
- {\r
- this.availableLanguages = value;\r
- this.NotifyOfPropertyChange("AvailableLanguages");\r
- }\r
- }\r
-\r
- /// <summary>\r
- /// Gets or sets SelectedLangauges.\r
- /// </summary>\r
- public BindingList<string> SelectedAvailableToMove { get; set; }\r
-\r
- /// <summary>\r
- /// Gets or sets SelectedLangauges.\r
- /// </summary>\r
- public BindingList<string> SelectedLangaugesToMove { get; set; }\r
-\r
- #endregion\r
-\r
- #region Public Methods\r
-\r
- /// <summary>\r
- /// Audio List Move Left\r
- /// </summary>\r
- public void LanguageMoveRight()\r
- {\r
- if (this.SelectedAvailableToMove.Count > 0)\r
- {\r
- List<string> copiedList = SelectedAvailableToMove.ToList();\r
- foreach (string item in copiedList)\r
- {\r
- this.AvailableLanguages.Remove(item);\r
- this.AudioBehaviours.SelectedLangauges.Add(item);\r
- }\r
-\r
- this.AvailableLanguages = new BindingList<string>(this.AvailableLanguages.OrderBy(o => o).ToList());\r
- }\r
- }\r
-\r
- /// <summary>\r
- /// Audio List Move Right\r
- /// </summary>\r
- public void LanguageMoveLeft()\r
- {\r
- if (this.SelectedLangaugesToMove.Count > 0)\r
- {\r
- List<string> copiedList = SelectedLangaugesToMove.ToList();\r
- foreach (string item in copiedList)\r
- {\r
- this.AudioBehaviours.SelectedLangauges.Remove(item);\r
- this.AvailableLanguages.Add(item);\r
- }\r
- }\r
-\r
- this.AvailableLanguages = new BindingList<string>(this.AvailableLanguages.OrderBy(o => o).ToList());\r
- }\r
-\r
- /// <summary>\r
- /// Audio List Clear all selected languages\r
- /// </summary>\r
- public void LanguageClearAll()\r
- {\r
- foreach (string item in this.AudioBehaviours.SelectedLangauges)\r
- {\r
- this.AvailableLanguages.Add(item);\r
- }\r
- this.AvailableLanguages = new BindingList<string>(this.AvailableLanguages.OrderBy(o => o).ToList());\r
-\r
- this.AudioBehaviours.SelectedLangauges.Clear();\r
- }\r
-\r
- /// <summary>\r
- /// The close.\r
- /// </summary>\r
- public void Close()\r
- {\r
- CloseOverlayPanelCommand command = new CloseOverlayPanelCommand();\r
- command.Execute(null);\r
- }\r
-\r
- #endregion\r
-\r
- #region Methods\r
-\r
- /// <summary>\r
- /// The setup languages.\r
- /// </summary>\r
- /// <param name="preset">\r
- /// The preset.\r
- /// </param>\r
- private void SetupLanguages(Preset preset)\r
- {\r
- // Step 1, Set the behaviour mode\r
- this.AudioBehaviours.SelectedBehaviour = AudioBehaviourModes.None;\r
- this.AudioBehaviours.SelectedLangauges.Clear();\r
-\r
- // Step 2, Get all the languages\r
- IDictionary<string, string> langList = LanguageUtilities.MapLanguages();\r
- langList = (from entry in langList orderby entry.Key ascending select entry).ToDictionary(pair => pair.Key, pair => pair.Value);\r
-\r
- // Step 3, Setup Available Languages\r
- this.AvailableLanguages.Clear();\r
- foreach (string item in langList.Keys)\r
- {\r
- this.AvailableLanguages.Add(item);\r
- }\r
-\r
- // Step 4, Set the Selected Languages \r
- if (preset != null && preset.AudioTrackBehaviours != null)\r
- {\r
- this.AudioBehaviours.SelectedBehaviour = preset.AudioTrackBehaviours.SelectedBehaviour;\r
-\r
- foreach (string selectedItem in preset.AudioTrackBehaviours.SelectedLangauges)\r
- {\r
- this.AvailableLanguages.Remove(selectedItem);\r
- this.AudioBehaviours.SelectedLangauges.Add(selectedItem);\r
- }\r
- }\r
- }\r
-\r
- #endregion\r
- }\r
-}
\ No newline at end of file
using HandBrake.ApplicationServices.Utilities;\r
\r
using HandBrakeWPF.Model.Audio;\r
+ using HandBrakeWPF.Properties;\r
using HandBrakeWPF.Services.Interfaces;\r
using HandBrakeWPF.Services.Presets.Model;\r
using HandBrakeWPF.ViewModels.Interfaces;\r
{\r
get\r
{\r
- return this.ShowAudioDefaultsPanel ? "Audio Defaults" : "Audio Tracks";\r
+ return this.ShowAudioDefaultsPanel ? Resources.AudioViewModel_AudioDefaults : Resources.AudioViewModel_AudioTracks;\r
}\r
}\r
\r
{\r
get\r
{\r
- return this.ShowAudioDefaultsPanel ? "Switch Back To Tracks" : "Configure Defaults";\r
+ return this.ShowAudioDefaultsPanel ? Resources.AudioViewModel_SwitchBackToTracks : Resources.AudioViewModel_ConfigureDefaults;\r
}\r
}\r
\r
using HandBrake.ApplicationServices.Services.Encode.Model.Models;\r
using HandBrake.ApplicationServices.Services.Scan.Model;\r
\r
+ using HandBrakeWPF.Properties;\r
using HandBrakeWPF.Services.Interfaces;\r
using HandBrakeWPF.Services.Presets.Model;\r
using HandBrakeWPF.ViewModels.Interfaces;\r
catch (Exception exc)\r
{\r
throw new GeneralApplicationException(\r
- "Unable to save Chapter Makrers file! ",\r
- "Chapter marker names will NOT be saved in your encode.",\r
+ Resources.ChaptersViewModel_UnableToExportChaptersWarning,\r
+ Resources.ChaptersViewModel_UnableToExportChaptersMsg,\r
exc);\r
}\r
}\r
using System;\r
using System.Windows.Threading;\r
\r
+ using HandBrakeWPF.Properties;\r
using HandBrakeWPF.ViewModels.Interfaces;\r
\r
/// <summary>\r
{\r
get\r
{\r
- return string.Format("The following action '{0}' will occur in {1} seconds.", action, CountdownTime - this.Ticks);\r
+ return string.Format(Resources.CountdownAlertViewModel_NoticeMessage, action, CountdownTime - this.Ticks);\r
}\r
}\r
\r
using System;\r
using System.Windows;\r
\r
+ using HandBrakeWPF.Properties;\r
using HandBrakeWPF.ViewModels.Interfaces;\r
\r
/// <summary>\r
/// </summary>\r
public ErrorViewModel()\r
{\r
- this.Title = "Error";\r
- this.ErrorMessage = "An Unknown Error has occured.";\r
- this.Details = "There is no further information available about this error.";\r
+ this.Title = Resources.Error;\r
+ this.ErrorMessage = Resources.ErrorViewModel_UnknownError;\r
+ this.Details = Resources.ErrorViewModel_NoFurtherInformation;\r
}\r
\r
#endregion\r
{\r
get\r
{\r
- return string.IsNullOrEmpty(this.details) ? "There is no further information available about this error." : this.details;\r
+ return string.IsNullOrEmpty(this.details) ? Resources.ErrorViewModel_NoFurtherInformation : this.details;\r
}\r
\r
set\r
{\r
get\r
{\r
- return string.IsNullOrEmpty(this.solution) ? "If the problem presists, please try restarting HandBrake." : this.solution;\r
+ return string.IsNullOrEmpty(this.solution) ? Resources.ErrorViewModel_IfTheProblemPersists : this.solution;\r
}\r
\r
set\r
protected override void OnActivate()\r
{\r
this.scanService.ScanCompleted += ScanServiceScanCompleted;\r
- this.encodeService.EncodeCompleted += EncodeServiceEncodeCompleted;
- this.encodeService.EncodeStatusChanged += this.EncodeServiceEncodeStatusChanged;
- this.scanService.ScanStatusChanged += this.ScanServiceScanStatusChanged;
- this.scanService.ScanStarted += this.scanService_ScanStared;
- this.encodeService.EncodeStarted += this.encodeService_EncodeStarted;
- base.OnActivate();
-
+ this.encodeService.EncodeCompleted += EncodeServiceEncodeCompleted;\r
+ this.encodeService.EncodeStatusChanged += this.EncodeServiceEncodeStatusChanged;\r
+ this.scanService.ScanStatusChanged += this.ScanServiceScanStatusChanged;\r
+ this.scanService.ScanStarted += this.scanService_ScanStared;\r
+ this.encodeService.EncodeStarted += this.encodeService_EncodeStarted;\r
+ base.OnActivate();\r
+\r
this.NotifyOfPropertyChange(() => this.ScanLog);\r
this.NotifyOfPropertyChange(() => this.EncodeLog);\r
}\r
protected override void OnDeactivate(bool close)\r
{\r
this.scanService.ScanCompleted -= ScanServiceScanCompleted;\r
- this.encodeService.EncodeCompleted -= EncodeServiceEncodeCompleted;
- this.encodeService.EncodeStatusChanged -= this.EncodeServiceEncodeStatusChanged;
- this.scanService.ScanStatusChanged -= this.ScanServiceScanStatusChanged;
- this.scanService.ScanStarted -= this.scanService_ScanStared;
- this.encodeService.EncodeStarted -= this.encodeService_EncodeStarted;
-
- base.OnDeactivate(close);
+ this.encodeService.EncodeCompleted -= EncodeServiceEncodeCompleted;\r
+ this.encodeService.EncodeStatusChanged -= this.EncodeServiceEncodeStatusChanged;\r
+ this.scanService.ScanStatusChanged -= this.ScanServiceScanStatusChanged;\r
+ this.scanService.ScanStarted -= this.scanService_ScanStared;\r
+ this.encodeService.EncodeStarted -= this.encodeService_EncodeStarted;\r
+\r
+ base.OnDeactivate(close);\r
}\r
\r
/// <summary>\r
using HandBrake.ApplicationServices.Utilities;\r
\r
using HandBrakeWPF.Model;\r
+ using HandBrakeWPF.Properties;\r
using HandBrakeWPF.Services.Interfaces;\r
using HandBrakeWPF.ViewModels.Interfaces;\r
\r
this.updateInfo = info;\r
if (info.NewVersionAvailable)\r
{\r
- this.UpdateMessage = "A New Update is Available!";\r
+ this.UpdateMessage = Resources.OptionsViewModel_NewUpdate;\r
this.UpdateAvailable = true;\r
}\r
else if (Environment.Is64BitOperatingSystem && !System.Environment.Is64BitProcess)\r
{\r
- this.UpdateMessage = "Your system supports the 64bit version of HandBrake! This offers performance and stability improvements over this 32bit version.";\r
+ this.UpdateMessage = Resources.OptionsViewModel_64bitAvailable;\r
this.UpdateAvailable = true;\r
}\r
else\r
{\r
- this.UpdateMessage = "There are no new updates at this time.";\r
+ this.UpdateMessage = Resources.OptionsViewModel_NoNewUpdates;\r
this.UpdateAvailable = false;\r
}\r
}\r
if (info.TotalBytes == 0 || info.BytesRead == 0)\r
{\r
this.UpdateAvailable = false;\r
- this.UpdateMessage = info.WasSuccessful ? "Update Downloaded" : "Update Service Unavailable. You can try downloading the update from https://handbrake.fr";\r
+ this.UpdateMessage = info.WasSuccessful ? Resources.OptionsViewModel_UpdateDownloaded : Resources.OptionsViewModel_UpdateServiceUnavailable;\r
return;\r
}\r
\r
private void DownloadComplete(DownloadStatus info)\r
{\r
this.UpdateAvailable = false;\r
- this.UpdateMessage = info.WasSuccessful ? "Update Downloaded" : "Update Failed. You can try downloading the update from https://handbrake.fr";\r
+ this.UpdateMessage = info.WasSuccessful ? Resources.OptionsViewModel_UpdateDownloaded : Resources.OptionsViewModel_UpdateFailed;\r
\r
Process.Start(Path.Combine(Path.GetTempPath(), "handbrake-setup.exe"));\r
Execute.OnUIThread(() => Application.Current.Shutdown());\r
using HandBrake.ApplicationServices.Interop.Model.Encoding;\r
\r
using HandBrakeWPF.Helpers;\r
+ using HandBrakeWPF.Properties;\r
using HandBrakeWPF.Services.Presets.Model;\r
using HandBrakeWPF.Utilities;\r
using HandBrakeWPF.ViewModels.Interfaces;\r
double dispWidth = Math.Round((result.OutputWidth * result.OutputParWidth / result.OutputParHeight), 0);\r
this.DisplaySize = this.sourceResolution == null || this.sourceResolution.IsEmpty\r
? string.Empty\r
- : string.Format("Storage: {0}x{1}, Display: {2}x{3}", result.OutputWidth, result.OutputHeight, dispWidth, result.OutputHeight);\r
+ : string.Format(Resources.PictureSettingsViewModel_StorageDisplayLabel, result.OutputWidth, result.OutputHeight, dispWidth, result.OutputHeight);\r
\r
// Step 4, Force an update on all the UI elements.\r
this.NotifyOfPropertyChange(() => this.Width);\r
using HandBrake.ApplicationServices.Services.Scan.Model;\r
\r
using HandBrakeWPF.Model;\r
+ using HandBrakeWPF.Properties;\r
using HandBrakeWPF.Services.Interfaces;\r
using HandBrakeWPF.ViewModels.Interfaces;\r
\r
public QueueSelectionViewModel(IErrorService errorService)\r
{\r
this.errorService = errorService;\r
- this.Title = "Add to Queue";\r
+ this.Title = Resources.QueueSelectionViewModel_AddToQueue;\r
this.TitleList = new BindingList<SelectionTitle>();\r
this.OrderedByTitle = true;\r
}\r
this.userSettingService = userSettingService;\r
this.queueProcessor = queueProcessor;\r
this.errorService = errorService;\r
- this.Title = "Queue";\r
- this.JobsPending = "No encodes pending";\r
- this.JobStatus = "There are no jobs currently encoding";\r
+ this.Title = Resources.QueueViewModel_Queue;\r
+ this.JobsPending = Resources.QueueViewModel_NoEncodesPending;\r
+ this.JobStatus = Resources.QueueViewModel_NoJobsPending;\r
this.SelectedItems = new BindingList<QueueTask>();\r
}\r
\r
public void Clear()\r
{\r
MessageBoxResult result = this.errorService.ShowMessageBox(\r
- "Are you sure you wish to clear the queue?", "Confirm", MessageBoxButton.YesNo, MessageBoxImage.Warning);\r
+ Resources.QueueViewModel_ClearQueueConfrimation, Resources.Confirm, MessageBoxButton.YesNo, MessageBoxImage.Warning);\r
if (result == MessageBoxResult.Yes)\r
{\r
this.queueProcessor.Clear();\r
{\r
// Setup the window to the correct state.\r
this.IsEncoding = this.queueProcessor.EncodeService.IsEncoding;\r
- this.JobsPending = string.Format("{0} jobs pending", this.queueProcessor.Count);\r
+ this.JobsPending = string.Format(Resources.QueueViewModel_JobsPending, this.queueProcessor.Count);\r
\r
base.OnLoad();\r
}\r
{\r
this.queueProcessor.Pause();\r
\r
- this.JobStatus = "Queue Paused";\r
- this.JobsPending = string.Format("{0} jobs pending", this.queueProcessor.Count);\r
+ this.JobStatus = Resources.QueueViewModel_QueuePending;\r
+ this.JobsPending = string.Format(Resources.QueueViewModel_JobsPending, this.queueProcessor.Count);\r
this.IsEncoding = false;\r
\r
- MessageBox.Show("The Queue has been paused. The currently running job will run to completion and no further jobs will start.", "Queue", \r
+ MessageBox.Show(Resources.QueueViewModel_QueuePauseNotice, Resources.QueueViewModel_Queue, \r
MessageBoxButton.OK, MessageBoxImage.Information);\r
}\r
\r
{\r
MessageBoxResult result =\r
this.errorService.ShowMessageBox(\r
- "Are you sure you want to delete the selected jobs?",\r
+ Resources.QueueViewModel_DelSelectedJobConfirmation,\r
Resources.Question,\r
MessageBoxButton.YesNo,\r
MessageBoxImage.Question);\r
{\r
MessageBoxResult result =\r
this.errorService.ShowMessageBox(\r
- "This encode is currently in progress. If you delete it, the encode will be stopped. Are you sure you wish to proceed?", \r
+ Resources.QueueViewModel_JobCurrentlyRunningWarning, \r
Resources.Warning, \r
MessageBoxButton.YesNo, \r
MessageBoxImage.Question);\r
{\r
task.Status = QueueItemStatus.Waiting;\r
this.queueProcessor.BackupQueue(null);\r
- this.JobsPending = string.Format("{0} jobs pending", this.queueProcessor.Count);\r
+ this.JobsPending = string.Format(Resources.QueueViewModel_JobsPending, this.queueProcessor.Count);\r
}\r
\r
/// <summary>\r
if (this.queueProcessor.Count == 0)\r
{\r
this.errorService.ShowMessageBox(\r
- "There are no pending jobs.", Resources.Error, MessageBoxButton.OK, MessageBoxImage.Error);\r
+ Resources.QueueViewModel_NoPendingJobs, Resources.Error, MessageBoxButton.OK, MessageBoxImage.Error);\r
return;\r
}\r
\r
- this.JobStatus = "Queue Started";\r
- this.JobsPending = string.Format("{0} jobs pending", this.queueProcessor.Count);\r
+ this.JobStatus = Resources.QueueViewModel_QueueStarted;\r
+ this.JobsPending = string.Format(Resources.QueueViewModel_JobsPending, this.queueProcessor.Count);\r
this.IsEncoding = true;\r
\r
this.queueProcessor.Start(UserSettingService.GetUserSetting<bool>(UserSettingConstants.ClearCompletedFromQueue));\r
public void EditJob(QueueTask task)\r
{\r
MessageBoxResult result = this.errorService.ShowMessageBox(\r
- "Are you sure you wish to edit this job? It will be removed from the queue and sent to the main window.", \r
+ Resources.QueueViewModel_EditConfrimation, \r
"Modify Job?", \r
MessageBoxButton.YesNo, \r
MessageBoxImage.Question);\r
this.queueProcessor.EncodeService.EncodeCompleted += EncodeService_EncodeCompleted;\r
this.queueProcessor.JobProcessingStarted += this.QueueProcessorJobProcessingStarted;\r
\r
- this.JobsPending = string.Format("{0} jobs pending", this.queueProcessor.Count);\r
- this.JobStatus = "Queue Ready";\r
+ this.JobsPending = string.Format(Resources.QueueViewModel_JobsPending, this.queueProcessor.Count);\r
+ this.JobStatus = Resources.QueueViewModel_QueueReady;\r
\r
base.OnActivate();\r
}\r
{\r
this.JobStatus =\r
string.Format(\r
- "Encoding: Pass {0} of {1}, {2:00.00}%, FPS: {3:000.0}, Avg FPS: {4:000.0}, Time Remaining: {5}, Elapsed: {6:hh\\:mm\\:ss}", \r
+ Resources.QueueViewModel_QueueStatusDisplay, \r
e.Task, \r
e.TaskCount, \r
e.PercentComplete, \r
/// </param>\r
private void QueueManager_QueueChanged(object sender, EventArgs e)\r
{\r
- this.JobsPending = string.Format("{0} jobs pending", this.queueProcessor.Count);\r
+ this.JobsPending = string.Format(Resources.QueueViewModel_JobsPending, this.queueProcessor.Count);\r
\r
if (!queueProcessor.IsProcessing)\r
{\r
- this.JobStatus = "Queue Not Running";\r
+ this.JobStatus = Resources.QueueViewModel_QueueNotRunning;\r
}\r
}\r
\r
/// </param>\r
private void queueProcessor_QueueCompleted(object sender, EventArgs e)\r
{\r
- this.JobStatus = "Queue Completed";\r
- this.JobsPending = string.Format("{0} jobs pending", this.queueProcessor.Count);\r
+ this.JobStatus = Resources.QueueViewModel_QueueCompleted;\r
+ this.JobsPending = string.Format(Resources.QueueViewModel_JobsPending, this.queueProcessor.Count);\r
this.IsEncoding = false;\r
}\r
\r
{\r
if (!this.queueProcessor.IsProcessing)\r
{\r
- this.JobStatus = "Last Queued Job Finished";\r
+ this.JobStatus = Resources.QueueViewModel_LastJobFinished;\r
}\r
}\r
\r
/// </param>\r
private void QueueProcessorJobProcessingStarted(object sender, QueueProgressEventArgs e)\r
{\r
- this.JobStatus = "Queue Started";\r
- this.JobsPending = string.Format("{0} jobs pending", this.queueProcessor.Count);\r
+ this.JobStatus = Resources.QueueViewModel_QueueStarted;\r
+ this.JobsPending = string.Format(Resources.QueueViewModel_JobsPending, this.queueProcessor.Count);\r
this.IsEncoding = true;\r
}\r
\r
{\r
MessageBoxResult result =\r
errorService.ShowMessageBox(\r
- "An Encode is currently running. Exiting HandBrake will stop this encode.\nAre you sure you wish to exit HandBrake?",\r
+ Resources.ShellViewModel_CanClose,\r
Resources.Warning,\r
MessageBoxButton.YesNo,\r
MessageBoxImage.Warning);\r
{\r
this.Task = task;\r
this.UpdatePreviewFrame();\r
- this.DisplayName = "Picture Preview";\r
+ this.DisplayName = Resources.StaticPreviewViewModel_Title;\r
this.Title = Resources.Preview;\r
this.ScannedSource = scannedSource;\r
}\r
catch (Exception)\r
{\r
this.IsEncoding = false;\r
- this.errorService.ShowMessageBox("Unable to delete previous preview file. You may need to restart the application.", \r
+ this.errorService.ShowMessageBox(Resources.StaticPreview_UnableToDeletePreview, \r
Resources.Error, MessageBoxButton.OK, MessageBoxImage.Error);\r
}\r
\r
if (this.Task == null || string.IsNullOrEmpty(Task.Source))\r
{\r
- this.errorService.ShowMessageBox("You must first scan a source and setup your encode before creating a preview.", \r
+ this.errorService.ShowMessageBox(Resources.StaticPreviewViewModel_ScanFirst, \r
Resources.Error, MessageBoxButton.OK, MessageBoxImage.Error);\r
return;\r
}\r
}\r
else\r
{\r
- this.errorService.ShowMessageBox("Unable to detect VLC Player. \nPlease make sure VLC is installed and the directory specified in HandBrake's options is correct. (See: \"Tools Menu > Options > Picture Tab\")", \r
+ this.errorService.ShowMessageBox(Resources.StaticPreviewViewModel_UnableToFindVLC, \r
Resources.Error, MessageBoxButton.OK, MessageBoxImage.Warning);\r
}\r
}\r
}\r
else\r
{\r
- this.errorService.ShowMessageBox("Unable to find the preview file. Either the file was deleted or the encode failed. Check the activity log for details.", \r
+ this.errorService.ShowMessageBox(Resources.StaticPreviewViewModel_UnableToPlayFile, \r
Resources.Error, MessageBoxButton.OK, MessageBoxImage.Warning);\r
}\r
}\r
// Make sure we are not already encoding and if we are then display an error.\r
if (encodeService.IsEncoding)\r
{\r
- this.errorService.ShowMessageBox("Handbrake is already encoding a video! Only one file can be encoded at any one time.", \r
+ this.errorService.ShowMessageBox(Resources.StaticPreviewViewModel_AlreadyEncoding, \r
Resources.Error, MessageBoxButton.OK, MessageBoxImage.Error);\r
return;\r
}\r
using HandBrake.ApplicationServices.Utilities;\r
\r
using HandBrakeWPF.Model.Subtitles;\r
+ using HandBrakeWPF.Properties;\r
using HandBrakeWPF.Services.Presets.Model;\r
using HandBrakeWPF.ViewModels.Interfaces;\r
\r
{\r
get\r
{\r
- return this.ShowDefaultsPanel ? "Subtitle Defaults" : "Subtitle Tracks";\r
+ return this.ShowDefaultsPanel ? Resources.SubtitlesViewModel_SubDefaults : Resources.SubtitlesViewModel_SubTracks;\r
}\r
}\r
\r
{\r
get\r
{\r
- return this.ShowDefaultsPanel ? "Switch Back To Tracks" : "Configure Defaults";\r
+ return this.ShowDefaultsPanel ? Resources.SubtitlesViewModel_SwitchToTracks : Resources.SubtitlesViewModel_ConfigureDefaults;\r
}\r
}\r
\r