diff options
author | sr55 <[email protected]> | 2015-06-18 19:58:31 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2015-06-18 19:58:31 +0000 |
commit | 726ce9731952489d69c312daf6a5ec0744f0061d (patch) | |
tree | d40c66515ecdb8fe36a4c4242d85ccd51cbbb237 /win/CS | |
parent | e65b19468e1eb1c859ceb18dd757ca9ddcbdfe9f (diff) |
WinGui: Move options strings to resources.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7304 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS')
-rw-r--r-- | win/CS/HandBrakeWPF/Properties/ResourcesUI.Designer.cs | 468 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Properties/ResourcesUI.resx | 156 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Views/OptionsView.xaml | 122 |
3 files changed, 685 insertions, 61 deletions
diff --git a/win/CS/HandBrakeWPF/Properties/ResourcesUI.Designer.cs b/win/CS/HandBrakeWPF/Properties/ResourcesUI.Designer.cs index b5f058344..3bc2d064d 100644 --- a/win/CS/HandBrakeWPF/Properties/ResourcesUI.Designer.cs +++ b/win/CS/HandBrakeWPF/Properties/ResourcesUI.Designer.cs @@ -916,6 +916,474 @@ namespace HandBrakeWPF.Properties { }
/// <summary>
+ /// Looks up a localized string similar to Clear Log files older than 30 days.
+ /// </summary>
+ public static string Options_30DayLogClear {
+ get {
+ return ResourceManager.GetString("Options_30DayLogClear", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to About HandBrake.
+ /// </summary>
+ public static string Options_About {
+ get {
+ return ResourceManager.GetString("Options_About", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Advanced.
+ /// </summary>
+ public static string Options_Advanced {
+ get {
+ return ResourceManager.GetString("Options_Advanced", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Advanced Options.
+ /// </summary>
+ public static string Options_AdvancedOptions {
+ get {
+ return ResourceManager.GetString("Options_AdvancedOptions", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Show Advanced Encoder Options Tab.
+ /// </summary>
+ public static string Options_AdvancedTab {
+ get {
+ return ResourceManager.GetString("Options_AdvancedTab", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Arguments:.
+ /// </summary>
+ public static string Options_Arguments {
+ get {
+ return ResourceManager.GetString("Options_Arguments", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Automatic File Naming.
+ /// </summary>
+ public static string Options_AutomaticFileNaming {
+ get {
+ return ResourceManager.GetString("Options_AutomaticFileNaming", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Automatically name output files.
+ /// </summary>
+ public static string Options_AutoNameOutput {
+ get {
+ return ResourceManager.GetString("Options_AutoNameOutput", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Check for Updates.
+ /// </summary>
+ public static string Options_CheckForUpdates {
+ get {
+ return ResourceManager.GetString("Options_CheckForUpdates", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Always clear completed queue items after an encode completes.
+ /// </summary>
+ public static string Options_ClearCompleted {
+ get {
+ return ResourceManager.GetString("Options_ClearCompleted", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Clear Log History.
+ /// </summary>
+ public static string Options_ClearLogs {
+ get {
+ return ResourceManager.GetString("Options_ClearLogs", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Put a copy of individual encode logs in a specified location:.
+ /// </summary>
+ public static string Options_CopyLogToDir {
+ get {
+ return ResourceManager.GetString("Options_CopyLogToDir", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Put a copy of individual encode logs in the same location as the encoded video.
+ /// </summary>
+ public static string Options_CopyLogToEncDir {
+ get {
+ return ResourceManager.GetString("Options_CopyLogToEncDir", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Current Version.
+ /// </summary>
+ public static string Options_CurVersion {
+ get {
+ return ResourceManager.GetString("Options_CurVersion", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Decoding.
+ /// </summary>
+ public static string Options_Decoding {
+ get {
+ return ResourceManager.GetString("Options_Decoding", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Default Path:.
+ /// </summary>
+ public static string Options_DefaultPath {
+ get {
+ return ResourceManager.GetString("Options_DefaultPath", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Download Update.
+ /// </summary>
+ public static string Options_DownloadUpdates {
+ get {
+ return ResourceManager.GetString("Options_DownloadUpdates", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to DVD Reading.
+ /// </summary>
+ public static string Options_DVD {
+ get {
+ return ResourceManager.GetString("Options_DVD", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Disable LibDVDNav. (libdvdread will be used instead).
+ /// </summary>
+ public static string Options_DvdRead {
+ get {
+ return ResourceManager.GetString("Options_DvdRead", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Enable DXVA Hardware Accelerated Decoding (Experimental)".
+ /// </summary>
+ public static string Options_DXVA {
+ get {
+ return ResourceManager.GetString("Options_DXVA", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Format:.
+ /// </summary>
+ public static string Options_Format {
+ get {
+ return ResourceManager.GetString("Options_Format", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to General.
+ /// </summary>
+ public static string Options_General {
+ get {
+ return ResourceManager.GetString("Options_General", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Logging.
+ /// </summary>
+ public static string Options_Logging {
+ get {
+ return ResourceManager.GetString("Options_Logging", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Log Verbosity Level:.
+ /// </summary>
+ public static string Options_LogLevel {
+ get {
+ return ResourceManager.GetString("Options_LogLevel", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Log Path:.
+ /// </summary>
+ public static string Options_LogPath {
+ get {
+ return ResourceManager.GetString("Options_LogPath", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Minimize to system tray (Requires Restart).
+ /// </summary>
+ public static string Options_MinimiseTray {
+ get {
+ return ResourceManager.GetString("Options_MinimiseTray", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Minimum length of title to scan (seconds):.
+ /// </summary>
+ public static string Options_MinTitleScanLength {
+ get {
+ return ResourceManager.GetString("Options_MinTitleScanLength", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to MP4 File Extension:.
+ /// </summary>
+ public static string Options_MP4FileExtension {
+ get {
+ return ResourceManager.GetString("Options_MP4FileExtension", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to On Startup.
+ /// </summary>
+ public static string Options_OnStartup {
+ get {
+ return ResourceManager.GetString("Options_OnStartup", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Output Files.
+ /// </summary>
+ public static string Options_Output {
+ get {
+ return ResourceManager.GetString("Options_Output", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Path: .
+ /// </summary>
+ public static string Options_Path {
+ get {
+ return ResourceManager.GetString("Options_Path", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Path to VLC Player.
+ /// </summary>
+ public static string Options_PathToVLC {
+ get {
+ return ResourceManager.GetString("Options_PathToVLC", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Prevent the system from sleeping while encoding.
+ /// </summary>
+ public static string Options_PreventSleep {
+ get {
+ return ResourceManager.GetString("Options_PreventSleep", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Number of picture previews to scan:.
+ /// </summary>
+ public static string Options_PreviewScanCount {
+ get {
+ return ResourceManager.GetString("Options_PreviewScanCount", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Priority Level:.
+ /// </summary>
+ public static string Options_PriorityLevel {
+ get {
+ return ResourceManager.GetString("Options_PriorityLevel", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Disable QuickSync Decoding.
+ /// </summary>
+ public static string Options_QsvDecode {
+ get {
+ return ResourceManager.GetString("Options_QsvDecode", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Remove common punctuation.
+ /// </summary>
+ public static string Options_RemovePunctuation {
+ get {
+ return ResourceManager.GetString("Options_RemovePunctuation", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Replace underscores with a space.
+ /// </summary>
+ public static string Options_ReplaceUnderscores {
+ get {
+ return ResourceManager.GetString("Options_ReplaceUnderscores", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Reset to 'Do nothing' when the app is re-launched..
+ /// </summary>
+ public static string Options_ResetDoNothing {
+ get {
+ return ResourceManager.GetString("Options_ResetDoNothing", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Choose Scaler:.
+ /// </summary>
+ public static string Options_Scaler {
+ get {
+ return ResourceManager.GetString("Options_Scaler", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Scaling.
+ /// </summary>
+ public static string Options_Scaling {
+ get {
+ return ResourceManager.GetString("Options_Scaling", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Send file to:.
+ /// </summary>
+ public static string Options_SendFileTo {
+ get {
+ return ResourceManager.GetString("Options_SendFileTo", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Change case to Title Case.
+ /// </summary>
+ public static string Options_TitleCase {
+ get {
+ return ResourceManager.GetString("Options_TitleCase", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Updates.
+ /// </summary>
+ public static string Options_Updates {
+ get {
+ return ResourceManager.GetString("Options_Updates", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to User Interface.
+ /// </summary>
+ public static string Options_UserInterface {
+ get {
+ return ResourceManager.GetString("Options_UserInterface", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Version:.
+ /// </summary>
+ public static string Options_Version {
+ get {
+ return ResourceManager.GetString("Options_Version", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Video.
+ /// </summary>
+ public static string Options_Video {
+ get {
+ return ResourceManager.GetString("Options_Video", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to This path is used for the video preview feature only..
+ /// </summary>
+ public static string Options_VideoPreviewPath {
+ get {
+ return ResourceManager.GetString("Options_VideoPreviewPath", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to View Log Directory.
+ /// </summary>
+ public static string Options_ViewLogDirectory {
+ get {
+ return ResourceManager.GetString("Options_ViewLogDirectory", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to When Done.
+ /// </summary>
+ public static string Options_WhenDone {
+ get {
+ return ResourceManager.GetString("Options_WhenDone", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to x264 Settings.
+ /// </summary>
+ public static string Options_x264 {
+ get {
+ return ResourceManager.GetString("Options_x264", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Constant quality fractional granularity:.
+ /// </summary>
+ public static string Options_x264Granularity {
+ get {
+ return ResourceManager.GetString("Options_x264Granularity", resourceCulture);
+ }
+ }
+
+ /// <summary>
/// Looks up a localized string similar to Anamorphic:.
/// </summary>
public static string PictureSettingsView_Anamorphic {
diff --git a/win/CS/HandBrakeWPF/Properties/ResourcesUI.resx b/win/CS/HandBrakeWPF/Properties/ResourcesUI.resx index f750284bd..34c80bc43 100644 --- a/win/CS/HandBrakeWPF/Properties/ResourcesUI.resx +++ b/win/CS/HandBrakeWPF/Properties/ResourcesUI.resx @@ -681,4 +681,160 @@ <data name="SourceSelection_OpenFolderWIth" xml:space="preserve">
<value>Open a folder with one or more files.</value>
</data>
+ <data name="Options_30DayLogClear" xml:space="preserve">
+ <value>Clear Log files older than 30 days</value>
+ </data>
+ <data name="Options_About" xml:space="preserve">
+ <value>About HandBrake</value>
+ </data>
+ <data name="Options_Advanced" xml:space="preserve">
+ <value>Advanced</value>
+ </data>
+ <data name="Options_AdvancedOptions" xml:space="preserve">
+ <value>Advanced Options</value>
+ </data>
+ <data name="Options_AdvancedTab" xml:space="preserve">
+ <value>Show Advanced Encoder Options Tab</value>
+ </data>
+ <data name="Options_Arguments" xml:space="preserve">
+ <value>Arguments:</value>
+ </data>
+ <data name="Options_AutomaticFileNaming" xml:space="preserve">
+ <value>Automatic File Naming</value>
+ </data>
+ <data name="Options_AutoNameOutput" xml:space="preserve">
+ <value>Automatically name output files</value>
+ </data>
+ <data name="Options_CheckForUpdates" xml:space="preserve">
+ <value>Check for Updates</value>
+ </data>
+ <data name="Options_ClearCompleted" xml:space="preserve">
+ <value>Always clear completed queue items after an encode completes</value>
+ </data>
+ <data name="Options_ClearLogs" xml:space="preserve">
+ <value>Clear Log History</value>
+ </data>
+ <data name="Options_CopyLogToDir" xml:space="preserve">
+ <value>Put a copy of individual encode logs in a specified location:</value>
+ </data>
+ <data name="Options_CopyLogToEncDir" xml:space="preserve">
+ <value>Put a copy of individual encode logs in the same location as the encoded video</value>
+ </data>
+ <data name="Options_CurVersion" xml:space="preserve">
+ <value>Current Version</value>
+ </data>
+ <data name="Options_Decoding" xml:space="preserve">
+ <value>Decoding</value>
+ </data>
+ <data name="Options_DefaultPath" xml:space="preserve">
+ <value>Default Path:</value>
+ </data>
+ <data name="Options_DownloadUpdates" xml:space="preserve">
+ <value>Download Update</value>
+ </data>
+ <data name="Options_DVD" xml:space="preserve">
+ <value>DVD Reading</value>
+ </data>
+ <data name="Options_DvdRead" xml:space="preserve">
+ <value>Disable LibDVDNav. (libdvdread will be used instead)</value>
+ </data>
+ <data name="Options_DXVA" xml:space="preserve">
+ <value>Enable DXVA Hardware Accelerated Decoding (Experimental)"</value>
+ </data>
+ <data name="Options_Format" xml:space="preserve">
+ <value>Format:</value>
+ </data>
+ <data name="Options_General" xml:space="preserve">
+ <value>General</value>
+ </data>
+ <data name="Options_Logging" xml:space="preserve">
+ <value>Logging</value>
+ </data>
+ <data name="Options_LogLevel" xml:space="preserve">
+ <value>Log Verbosity Level:</value>
+ </data>
+ <data name="Options_LogPath" xml:space="preserve">
+ <value>Log Path:</value>
+ </data>
+ <data name="Options_MinimiseTray" xml:space="preserve">
+ <value>Minimize to system tray (Requires Restart)</value>
+ </data>
+ <data name="Options_MinTitleScanLength" xml:space="preserve">
+ <value>Minimum length of title to scan (seconds):</value>
+ </data>
+ <data name="Options_MP4FileExtension" xml:space="preserve">
+ <value>MP4 File Extension:</value>
+ </data>
+ <data name="Options_OnStartup" xml:space="preserve">
+ <value>On Startup</value>
+ </data>
+ <data name="Options_Output" xml:space="preserve">
+ <value>Output Files</value>
+ </data>
+ <data name="Options_Path" xml:space="preserve">
+ <value>Path: </value>
+ </data>
+ <data name="Options_PathToVLC" xml:space="preserve">
+ <value>Path to VLC Player</value>
+ </data>
+ <data name="Options_PreventSleep" xml:space="preserve">
+ <value>Prevent the system from sleeping while encoding</value>
+ </data>
+ <data name="Options_PreviewScanCount" xml:space="preserve">
+ <value>Number of picture previews to scan:</value>
+ </data>
+ <data name="Options_PriorityLevel" xml:space="preserve">
+ <value>Priority Level:</value>
+ </data>
+ <data name="Options_QsvDecode" xml:space="preserve">
+ <value>Disable QuickSync Decoding</value>
+ </data>
+ <data name="Options_RemovePunctuation" xml:space="preserve">
+ <value>Remove common punctuation</value>
+ </data>
+ <data name="Options_ReplaceUnderscores" xml:space="preserve">
+ <value>Replace underscores with a space</value>
+ </data>
+ <data name="Options_ResetDoNothing" xml:space="preserve">
+ <value>Reset to 'Do nothing' when the app is re-launched.</value>
+ </data>
+ <data name="Options_Scaler" xml:space="preserve">
+ <value>Choose Scaler:</value>
+ </data>
+ <data name="Options_Scaling" xml:space="preserve">
+ <value>Scaling</value>
+ </data>
+ <data name="Options_SendFileTo" xml:space="preserve">
+ <value>Send file to:</value>
+ </data>
+ <data name="Options_TitleCase" xml:space="preserve">
+ <value>Change case to Title Case</value>
+ </data>
+ <data name="Options_Updates" xml:space="preserve">
+ <value>Updates</value>
+ </data>
+ <data name="Options_UserInterface" xml:space="preserve">
+ <value>User Interface</value>
+ </data>
+ <data name="Options_Version" xml:space="preserve">
+ <value>Version:</value>
+ </data>
+ <data name="Options_Video" xml:space="preserve">
+ <value>Video</value>
+ </data>
+ <data name="Options_VideoPreviewPath" xml:space="preserve">
+ <value>This path is used for the video preview feature only.</value>
+ </data>
+ <data name="Options_ViewLogDirectory" xml:space="preserve">
+ <value>View Log Directory</value>
+ </data>
+ <data name="Options_WhenDone" xml:space="preserve">
+ <value>When Done</value>
+ </data>
+ <data name="Options_x264" xml:space="preserve">
+ <value>x264 Settings</value>
+ </data>
+ <data name="Options_x264Granularity" xml:space="preserve">
+ <value>Constant quality fractional granularity:</value>
+ </data>
</root>
\ No newline at end of file diff --git a/win/CS/HandBrakeWPF/Views/OptionsView.xaml b/win/CS/HandBrakeWPF/Views/OptionsView.xaml index f2ed936fc..e85874316 100644 --- a/win/CS/HandBrakeWPF/Views/OptionsView.xaml +++ b/win/CS/HandBrakeWPF/Views/OptionsView.xaml @@ -86,20 +86,20 @@ <StackPanel Name="General" Orientation="Vertical" Margin="10,5,0,0"
Visibility="{Binding SelectedTab, Converter={StaticResource tabConverter}, ConverterParameter={x:Static local:OptionsTab.General}}">
- <TextBlock Text="General" FontSize="20" FontFamily="Segoe UI Light" />
+ <TextBlock Text="{x:Static Properties:ResourcesUI.Options_General}" FontSize="20" FontFamily="Segoe UI Light" />
<StackPanel Orientation="Vertical" Margin="0,10,0,20">
- <TextBlock Text="On Startup" FontSize="14" Margin="0,0,0,10"/>
+ <TextBlock Text="{x:Static Properties:ResourcesUI.Options_OnStartup}" FontSize="14" Margin="0,0,0,10"/>
<StackPanel Orientation="Vertical" Margin="20,0,0,0">
- <CheckBox Content="Check for Updates" IsChecked="{Binding CheckForUpdates}" />
+ <CheckBox Content="{x:Static Properties:ResourcesUI.Options_CheckForUpdates}" IsChecked="{Binding CheckForUpdates}" />
<ComboBox Name="checkForUpdateFrequency" ItemsSource="{Binding CheckForUpdatesFrequencies}" SelectedIndex="{Binding CheckForUpdatesFrequency}" Margin="25,0,0,5" HorizontalAlignment="Left" Width="120"></ComboBox>
</StackPanel>
</StackPanel>
<StackPanel Orientation="Vertical" Margin="0,0,0,20">
- <TextBlock Text="When Done" FontSize="14" Margin="0,0,0,10" />
+ <TextBlock Text="{x:Static Properties:ResourcesUI.Options_WhenDone}" FontSize="14" Margin="0,0,0,10" />
<StackPanel Orientation="Vertical" Margin="20,0,0,0">
<StackPanel Orientation="Horizontal">
@@ -108,7 +108,7 @@ </StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,5,0,0">
- <CheckBox Content="Reset to 'Do nothing' when the app is re-launched." VerticalAlignment="Center" IsChecked="{Binding ResetWhenDoneAction}" />
+ <CheckBox Content="{x:Static Properties:ResourcesUI.Options_ResetDoNothing}" VerticalAlignment="Center" IsChecked="{Binding ResetWhenDoneAction}" />
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,5,0,0" Visibility="Collapsed">
@@ -117,13 +117,13 @@ </StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,5,0,0">
- <CheckBox Content="Send file to:" VerticalAlignment="Center" IsChecked="{Binding SendFileAfterEncode}" />
+ <CheckBox Content="{x:Static Properties:ResourcesUI.Options_SendFileTo}" VerticalAlignment="Center" IsChecked="{Binding SendFileAfterEncode}" />
<TextBlock Margin="5,0,5,5" VerticalAlignment="Center" Text="{Binding SendFileTo}" />
<Button Content="Browse" cal:Message.Attach="[Event Click] = [Action BrowseSendFileTo]" />
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,5,0,0">
- <TextBlock VerticalAlignment="Center" Margin="25,0,5,0" Text="Arguments:" />
+ <TextBlock VerticalAlignment="Center" Margin="25,0,5,0" Text="{x:Static Properties:ResourcesUI.Options_Arguments}" />
<TextBox Name="SendToArguments" Text="{Binding Arguments}" Width="250" />
</StackPanel>
@@ -132,16 +132,16 @@ <StackPanel Orientation="Vertical" Margin="0,0,0,20">
- <TextBlock Text="Path to VLC Player" FontSize="14" Margin="0,0,0,10"/>
+ <TextBlock Text="{x:Static Properties:ResourcesUI.Options_PathToVLC}" FontSize="14" Margin="0,0,0,10"/>
<StackPanel Orientation="Vertical" Margin="20,0,0,0">
<StackPanel Orientation="Horizontal">
- <TextBlock VerticalAlignment="Center" Text="Path:" />
+ <TextBlock VerticalAlignment="Center" Text="{x:Static Properties:ResourcesUI.Options_Path}" />
<TextBox Name="vlcPath" Text="{Binding VLCPath}" Width="250" />
<Button Content="Browse" cal:Message.Attach="[Event Click] = [Action BrowseVlcPath]" Margin="5,0,0,0" />
</StackPanel>
- <TextBlock Margin="30,0,0,0" Text="This path is used for the video preview feature only." />
+ <TextBlock Margin="30,0,0,0" Text="{x:Static Properties:ResourcesUI.Options_VideoPreviewPath}" />
</StackPanel>
</StackPanel>
@@ -149,12 +149,12 @@ <StackPanel Orientation="Vertical" Margin="0,0,0,20">
- <TextBlock Text="User Interface" FontSize="14" Margin="0,0,0,10"/>
+ <TextBlock Text="{x:Static Properties:ResourcesUI.Options_UserInterface}" FontSize="14" Margin="0,0,0,10"/>
<StackPanel Orientation="Vertical" Margin="20,0,0,0">
- <CheckBox Content="Minimize to system tray (Requires Restart)" IsChecked="{Binding MinimiseToTray}" />
- <CheckBox Content="Always clear completed queue items after an encode completes" IsChecked="{Binding ClearQueueOnEncodeCompleted}" />
- <CheckBox Content="Show Advanced Encoder Options Tab" IsChecked="{Binding ShowAdvancedTab}" />
+ <CheckBox Content="{x:Static Properties:ResourcesUI.Options_MinimiseTray}" IsChecked="{Binding MinimiseToTray}" />
+ <CheckBox Content="{x:Static Properties:ResourcesUI.Options_ClearCompleted}" IsChecked="{Binding ClearQueueOnEncodeCompleted}" />
+ <CheckBox Content="{x:Static Properties:ResourcesUI.Options_AdvancedTab}" IsChecked="{Binding ShowAdvancedTab}" />
</StackPanel>
</StackPanel>
</StackPanel>
@@ -162,14 +162,14 @@ <StackPanel Name="Output" Orientation="Vertical" Margin="10,5,0,0"
Visibility="{Binding SelectedTab, Converter={StaticResource tabConverter}, ConverterParameter={x:Static local:OptionsTab.OutputFiles}}">
- <TextBlock Text="Output Files" FontSize="20" FontFamily="Segoe UI Light" />
+ <TextBlock Text="{x:Static Properties:ResourcesUI.Options_Output}" FontSize="20" FontFamily="Segoe UI Light" />
<StackPanel Orientation="Vertical" Margin="0,10,0,20">
- <TextBlock Text="Automatic File Naming" FontSize="14" Margin="0,0,0,10"/>
+ <TextBlock Text="{x:Static Properties:ResourcesUI.Options_AutomaticFileNaming}" FontSize="14" Margin="0,0,0,10"/>
<StackPanel Orientation="Vertical" Margin="20,0,0,0">
- <CheckBox Content="Automatically name output files" IsChecked="{Binding AutomaticallyNameFiles}" />
+ <CheckBox Content="{x:Static Properties:ResourcesUI.Options_AutoNameOutput}" IsChecked="{Binding AutomaticallyNameFiles}" />
<Grid Margin="0,5,0,0">
<Grid.RowDefinitions>
@@ -182,25 +182,25 @@ <ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
- <TextBlock VerticalAlignment="Center" Text="Default Path: " Grid.Column="0" Grid.Row="0" />
+ <TextBlock VerticalAlignment="Center" Text="{x:Static Properties:ResourcesUI.Options_DefaultPath}" Grid.Column="0" Grid.Row="0" />
<TextBox Name="autoNameOutputPath" Text="{Binding AutoNameDefaultPath}" Width="380" Grid.Column="1" Grid.Row="0"
ToolTip="{x:Static Properties:Resources.Options_DefaultPathAdditionalParams}" Style="{StaticResource LongToolTipHolder}" />
<Button Content="Browse" Margin="5,0,0,0" Grid.Column="2" Grid.Row="0"
cal:Message.Attach="[Event Click] = [Action BrowseAutoNamePath]" />
- <TextBlock VerticalAlignment="Center" Text="Format:" Grid.Column="0" Grid.Row="1" Margin="0,5,0,0" />
+ <TextBlock VerticalAlignment="Center" Text="{x:Static Properties:ResourcesUI.Options_Format}" Grid.Column="0" Grid.Row="1" Margin="0,5,0,0" />
<TextBox Name="autoNameFormat" Text="{Binding AutonameFormat}" Width="380" Grid.Column="1" Grid.Row="1" Margin="0,5,0,0"
ToolTip="{x:Static Properties:Resources.Options_AdditionalFormatOptions}" Style="{StaticResource LongToolTipHolder}" />
</Grid>
<StackPanel Orientation="Vertical" Margin="0,15,0,0">
- <CheckBox Content="Change case to Title Case" IsChecked="{Binding ChangeToTitleCase}" />
- <CheckBox Content="Replace underscores with a space" IsChecked="{Binding RemoveUnderscores}"/>
- <CheckBox Content="Remove common punctuation" ToolTip="Dash (-), Period (.) and Comma (,) " IsChecked="{Binding RemovePunctuation}" />
+ <CheckBox Content="{x:Static Properties:ResourcesUI.Options_TitleCase}" IsChecked="{Binding ChangeToTitleCase}" />
+ <CheckBox Content="{x:Static Properties:ResourcesUI.Options_ReplaceUnderscores}" IsChecked="{Binding RemoveUnderscores}"/>
+ <CheckBox Content="{x:Static Properties:ResourcesUI.Options_RemovePunctuation}" ToolTip="Dash (-), Period (.) and Comma (,) " IsChecked="{Binding RemovePunctuation}" />
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,15,0,0">
- <TextBlock VerticalAlignment="Center" Text="MP4 File Extension:" />
+ <TextBlock VerticalAlignment="Center" Text="{x:Static Properties:ResourcesUI.Options_MP4FileExtension}" />
<ComboBox Name="mp4FileExtension" Width="120" ItemsSource="{Binding Mp4ExtensionOptions}" SelectedIndex="{Binding SelectedMp4Extension}" HorizontalAlignment="Left" />
</StackPanel>
</StackPanel>
@@ -210,28 +210,28 @@ <StackPanel Name="Hardware" Orientation="Vertical" Margin="10,5,0,0"
Visibility="{Binding SelectedTab, Converter={StaticResource tabConverter}, ConverterParameter={x:Static local:OptionsTab.Video}}">
- <TextBlock Text="Video" FontSize="20" FontFamily="Segoe UI Light" />
+ <TextBlock Text="{x:Static Properties:ResourcesUI.Options_Video}" FontSize="20" FontFamily="Segoe UI Light" />
<StackPanel Orientation="Vertical" Margin="0,0,0,20">
- <TextBlock Text="Decoding" FontSize="14" Margin="0,10,0,10" />
+ <TextBlock Text="{x:Static Properties:ResourcesUI.Options_Decoding}" FontSize="14" Margin="0,10,0,10" />
<StackPanel Orientation="Vertical" Margin="20,0,0,0" >
- <CheckBox Content="Enable DXVA Hardware Accelerated Decoding (Experimental)" IsChecked="{Binding EnableDxvaDecoding}" />
+ <CheckBox Content="{x:Static Properties:ResourcesUI.Options_DXVA}" IsChecked="{Binding EnableDxvaDecoding}" />
<TextBlock Text="{x:Static Properties:Resources.Video_DxvaDecode}" Margin="17,2,0,0" />
</StackPanel>
<StackPanel Orientation="Vertical" Margin="20,10,0,0">
- <CheckBox Content="Disable QuickSync Decoding" IsEnabled="{Binding IsQuickSyncAvailable}" IsChecked="{Binding DisableQuickSyncDecoding}" />
+ <CheckBox Content="{x:Static Properties:ResourcesUI.Options_QsvDecode}" IsEnabled="{Binding IsQuickSyncAvailable}" IsChecked="{Binding DisableQuickSyncDecoding}" />
<TextBlock Text="{x:Static Properties:Resources.Video_QuickSyncNotAvailable}" Margin="17,2,0,0" TextWrapping="Wrap"
Visibility="{Binding IsQuickSyncAvailable, Converter={StaticResource boolToVisConverter}, ConverterParameter=true}" />
</StackPanel>
- <TextBlock Text="Scaling" FontSize="14" Margin="0,20,0,10" />
+ <TextBlock Text="{x:Static Properties:ResourcesUI.Options_Scaling}" FontSize="14" Margin="0,20,0,10" />
<StackPanel Orientation="Horizontal" Margin="20,0,0,0">
- <TextBlock Text="Choose Scaler: " Margin="0,0,5,0" VerticalAlignment="Center" />
+ <TextBlock Text="{x:Static Properties:ResourcesUI.Options_Scaler}" Margin="0,0,5,0" VerticalAlignment="Center" />
<ComboBox ItemsSource="{Binding ScalingOptions, Converter={StaticResource enumComboConverter}}"
SelectedItem="{Binding SelectedScalingMode, Converter={StaticResource enumComboConverter}}"
Width="120" VerticalAlignment="Center" />
@@ -251,25 +251,25 @@ Visibility="{Binding SelectedTab, Converter={StaticResource tabConverter}, ConverterParameter={x:Static local:OptionsTab.Advanced}}">
- <TextBlock Text="Advanced" FontSize="20" FontFamily="Segoe UI Light" />
+ <TextBlock Text="{x:Static Properties:ResourcesUI.Options_Advanced}" FontSize="20" FontFamily="Segoe UI Light" />
<StackPanel Orientation="Vertical" Margin="0,10,0,20">
- <TextBlock Text="Advanced Options" FontSize="14" Margin="0,0,0,10"/>
+ <TextBlock Text="{x:Static Properties:ResourcesUI.Options_AdvancedOptions}" FontSize="14" Margin="0,0,0,10"/>
<StackPanel Orientation="Vertical" Margin="20,0,0,0">
- <CheckBox Content="Prevent the system from sleeping while encoding" IsChecked="{Binding PreventSleep}" />
+ <CheckBox Content="{x:Static Properties:ResourcesUI.Options_PreventSleep}" IsChecked="{Binding PreventSleep}" />
<StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <TextBlock Text="Number of picture previews to scan:" VerticalAlignment="Center" Width="250" />
+ <TextBlock Text="{x:Static Properties:ResourcesUI.Options_PreviewScanCount}" VerticalAlignment="Center" Width="250" />
<ComboBox Name="numberOfPreviews" ItemsSource="{Binding PreviewPicturesToScan}" SelectedItem="{Binding SelectedPreviewCount}" Width="120" />
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,5,0,0">
- <TextBlock Text="Minimum length of title to scan (seconds):" VerticalAlignment="Center" Width="250" />
- <TextBox Name="MinTitleLength" Text="{Binding MinLength}" Width="120"/>
+ <TextBlock Text="{x:Static Properties:ResourcesUI.Options_MinTitleScanLength}" VerticalAlignment="Center" Width="250" />
+ <TextBox x:Name="MinTitleLength" Text="{Binding MinLength}" Width="120"/>
<!-- Find a control for this-->
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,5,0,0">
- <TextBlock Text="Priority Level:" Width="250" VerticalAlignment="Center" />
+ <TextBlock Text="{x:Static Properties:ResourcesUI.Options_PriorityLevel}" Width="250" VerticalAlignment="Center" />
<ComboBox Name="processPriorityLevel" ItemsSource="{Binding PriorityLevelOptions}" SelectedItem="{Binding SelectedPriority}" Width="120" />
</StackPanel>
@@ -277,46 +277,46 @@ </StackPanel>
<StackPanel Orientation="Vertical" Margin="0,10,0,20">
- <TextBlock Text="x264 Settings" Grid.Column="0" FontSize="14" Margin="0,0,0,10"/>
- <StackPanel Orientation="Horizontal" Grid.Column="1" Margin="20,0,0,0">
- <TextBlock Text="Constant quality fractional granularity:" VerticalAlignment="Center" Width="250" />
+ <TextBlock Text="{x:Static Properties:ResourcesUI.Options_x264}" FontSize="14" Margin="0,0,0,10"/>
+ <StackPanel Orientation="Horizontal" Margin="20,0,0,0">
+ <TextBlock Text="{x:Static Properties:ResourcesUI.Options_x264Granularity}" VerticalAlignment="Center" Width="250" />
<ComboBox Name="x264Granularity" ItemsSource="{Binding ConstantQualityGranularity}" SelectedItem="{Binding SelectedGranulairty}" Width="120"/>
</StackPanel>
</StackPanel>
<StackPanel Orientation="Vertical" Margin="0,10,0,20">
- <TextBlock Text="DVD Reading" Grid.Column="0" FontSize="14" Margin="0,0,0,10"/>
+ <TextBlock Text="{x:Static Properties:ResourcesUI.Options_DVD}" FontSize="14" Margin="0,0,0,10"/>
- <StackPanel Orientation="Vertical" Grid.Column="1" Margin="20,0,0,0">
- <CheckBox Content="Disable LibDVDNav. (libdvdread will be used instead)" IsChecked="{Binding DisableLibdvdNav}" />
+ <StackPanel Orientation="Vertical" Margin="20,0,0,0">
+ <CheckBox Content="{x:Static Properties:ResourcesUI.Options_DvdRead}" IsChecked="{Binding DisableLibdvdNav}" />
</StackPanel>
</StackPanel>
<StackPanel Orientation="Vertical" Margin="0,10,0,20">
- <TextBlock Text="Logging" Grid.Column="0" FontSize="14" Margin="0,0,0,10"/>
+ <TextBlock Text="{x:Static Properties:ResourcesUI.Options_Logging}" FontSize="14" Margin="0,0,0,10"/>
- <StackPanel Orientation="Vertical" Grid.Column="1" Margin="20,0,0,0">
- <StackPanel Orientation="Horizontal" Grid.Column="1">
- <TextBlock Text="Log Verbosity Level:" Width="250" VerticalAlignment="Center" />
+ <StackPanel Orientation="Vertical" Margin="20,0,0,0">
+ <StackPanel Orientation="Horizontal">
+ <TextBlock Text="{x:Static Properties:ResourcesUI.Options_LogLevel}" Width="250" VerticalAlignment="Center" />
<ComboBox Name="logVerbosityLevel" ItemsSource="{Binding LogVerbosityOptions}" SelectedItem="{Binding SelectedVerbosity}" Width="120" />
</StackPanel>
- <CheckBox Content="Put a copy of individual encode logs in the same location as the encoded video" Margin="0,5,0,0" IsChecked="{Binding CopyLogToEncodeDirectory}" />
- <CheckBox Content="Put a copy of individual encode logs in a specified location: " Margin="0,5,0,0" IsChecked="{Binding CopyLogToSepcficedLocation}" />
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0" Grid.Column="1">
- <TextBlock Text="Log Path:" VerticalAlignment="Center" />
+ <CheckBox Content="{x:Static Properties:ResourcesUI.Options_CopyLogToEncDir}" Margin="0,5,0,0" IsChecked="{Binding CopyLogToEncodeDirectory}" />
+ <CheckBox Content="{x:Static Properties:ResourcesUI.Options_CopyLogToDir}" Margin="0,5,0,0" IsChecked="{Binding CopyLogToSepcficedLocation}" />
+ <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
+ <TextBlock Text="{x:Static Properties:ResourcesUI.Options_LogPath}" VerticalAlignment="Center" />
<TextBox Width="120" Text="{Binding LogDirectory}" />
<Button Content="Browse" Margin="5,0,0,0" cal:Message.Attach="[Event Click] = [Action BrowseLogPath]" />
</StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0" Grid.Column="1">
- <Button Content="View Log Directory" cal:Message.Attach="[Event Click] = [Action ViewLogDirectory]" Margin="0,0,5,0" />
- <Button Content="Clear Log History" cal:Message.Attach="[Event Click] = [Action ClearLogHistory]" />
+ <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
+ <Button Content="{x:Static Properties:ResourcesUI.Options_ViewLogDirectory}" cal:Message.Attach="[Event Click] = [Action ViewLogDirectory]" Margin="0,0,5,0" />
+ <Button Content="{x:Static Properties:ResourcesUI.Options_ClearLogs}" cal:Message.Attach="[Event Click] = [Action ClearLogHistory]" />
</StackPanel>
- <CheckBox Content="Clear Log files older than 30 days " Margin="0,10,0,0" IsChecked="{Binding ClearOldOlgs}" />
+ <CheckBox Content="{x:Static Properties:ResourcesUI.Options_30DayLogClear}" Margin="0,10,0,0" IsChecked="{Binding ClearOldOlgs}" />
</StackPanel>
</StackPanel>
@@ -327,9 +327,9 @@ Visibility="{Binding SelectedTab, Converter={StaticResource tabConverter}, ConverterParameter={x:Static local:OptionsTab.Updates}}">
- <TextBlock Text="Updates" FontSize="20" FontFamily="Segoe UI Light" />
+ <TextBlock Text="{x:Static Properties:ResourcesUI.Options_Updates}" FontSize="20" FontFamily="Segoe UI Light" />
- <TextBlock Text="Current Version" FontSize="14" Margin="0,10,0,10"/>
+ <TextBlock Text="{x:Static Properties:ResourcesUI.Options_CurVersion}" FontSize="14" Margin="0,10,0,10"/>
<Grid Margin="20,10,0,20">
<Grid.ColumnDefinitions>
@@ -338,15 +338,15 @@ </Grid.ColumnDefinitions>
<!-- Version -->
- <TextBlock Grid.Column="0" Margin="0,0,5,0" Text="Version:" />
+ <TextBlock Grid.Column="0" Margin="0,0,5,0" Text="{x:Static Properties:ResourcesUI.Options_Version}" />
<TextBlock Grid.Column="1" Margin="0,0,0,1" VerticalAlignment="Bottom" Text="{Binding Version}" />
</Grid>
- <TextBlock Text="Updates" FontSize="14" Margin="0,10,0,10"/>
+ <TextBlock Text="{x:Static Properties:ResourcesUI.Options_Updates}" FontSize="14" Margin="0,10,0,10"/>
<StackPanel Margin="20,0,0,0" Orientation="Horizontal">
- <Button Content="Check for Updates" MaxWidth="130" Margin="0,0,5,0" cal:Message.Attach="[Event Click] = [Action PerformUpdateCheck]" />
- <Button Content="Download Update" Width="120" cal:Message.Attach="[Event Click] = [Action DownloadUpdate]" Visibility="{Binding UpdateAvailable, Converter={StaticResource boolToVisConverter}}" />
+ <Button Content="{x:Static Properties:ResourcesUI.Options_CheckForUpdates}" MaxWidth="130" Margin="0,0,5,0" cal:Message.Attach="[Event Click] = [Action PerformUpdateCheck]" />
+ <Button Content="{x:Static Properties:ResourcesUI.Options_DownloadUpdates}" Width="120" cal:Message.Attach="[Event Click] = [Action DownloadUpdate]" Visibility="{Binding UpdateAvailable, Converter={StaticResource boolToVisConverter}}" />
</StackPanel>
<StackPanel Margin="20,10,0,0" Orientation="Horizontal">
@@ -362,7 +362,7 @@ <StackPanel Name="About" Orientation="Vertical" Margin="10,5,0,0"
Visibility="{Binding SelectedTab, Converter={StaticResource tabConverter}, ConverterParameter={x:Static local:OptionsTab.About}}">
- <TextBlock Text="About HandBrake" FontSize="20" FontFamily="Segoe UI Light" />
+ <TextBlock Text="{x:Static Properties:ResourcesUI.Options_About}" FontSize="20" FontFamily="Segoe UI Light" />
<ContentControl x:Name="AboutViewModel" />
|