]> granicus.if.org Git - handbrake/commitdiff
WinGui: Moving more of the view strings into resources.
authorsr55 <sr55.hb@outlook.com>
Sun, 7 Jun 2015 19:52:52 +0000 (19:52 +0000)
committersr55 <sr55.hb@outlook.com>
Sun, 7 Jun 2015 19:52:52 +0000 (19:52 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7277 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 files changed:
win/CS/HandBrakeWPF/HandBrakeWPF.csproj
win/CS/HandBrakeWPF/Properties/ResourcesTooltips.resx [new file with mode: 0644]
win/CS/HandBrakeWPF/Properties/ResourcesUI.resx
win/CS/HandBrakeWPF/Views/AboutView.xaml
win/CS/HandBrakeWPF/Views/AudioDefaultsView.xaml [deleted file]
win/CS/HandBrakeWPF/Views/AudioView.xaml
win/CS/HandBrakeWPF/Views/CountdownAlertView.xaml
win/CS/HandBrakeWPF/Views/ErrorView.xaml
win/CS/HandBrakeWPF/Views/FiltersView.xaml
win/CS/HandBrakeWPF/Views/PictureSettingsView.xaml
win/CS/HandBrakeWPF/Views/QueueSelectionView.xaml
win/CS/HandBrakeWPF/Views/QueueView.xaml
win/CS/HandBrakeWPF/Views/StaticPreviewView.xaml
win/CS/HandBrakeWPF/Views/SubtitlesView.xaml
win/CS/HandBrakeWPF/Views/VideoView.xaml

index 10bddbeb62fcda656d2294162e77760ffc162779..6304e107d100dbc248b9fe2d9dd514dd4c7ebfbb 100644 (file)
     <Compile Include="Model\Subtitles\SubtitleBurnInBehaviourModes.cs" />\r
     <Compile Include="Model\Subtitles\SubtitleBehaviourModes.cs" />\r
     <Compile Include="Model\Subtitles\SubtitleBehaviours.cs" />\r
+    <Compile Include="Properties\ResourcesTooltips.Designer.cs">\r
+      <DependentUpon>ResourcesTooltips.resx</DependentUpon>\r
+      <AutoGen>True</AutoGen>\r
+      <DesignTime>True</DesignTime>\r
+    </Compile>\r
     <Compile Include="Properties\ResourcesUI.Designer.cs">\r
       <DependentUpon>ResourcesUI.resx</DependentUpon>\r
       <AutoGen>True</AutoGen>\r
       <DesignTime>True</DesignTime>\r
       <DependentUpon>Resources.resx</DependentUpon>\r
     </Compile>\r
+    <EmbeddedResource Include="Properties\ResourcesTooltips.resx">\r
+      <Generator>PublicResXFileCodeGenerator</Generator>\r
+      <LastGenOutput>ResourcesTooltips.Designer.cs</LastGenOutput>\r
+      <SubType>Designer</SubType>\r
+    </EmbeddedResource>\r
     <EmbeddedResource Include="Properties\ResourcesUI.resx">\r
       <Generator>PublicResXFileCodeGenerator</Generator>\r
       <LastGenOutput>ResourcesUI.Designer.cs</LastGenOutput>\r
diff --git a/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.resx b/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.resx
new file mode 100644 (file)
index 0000000..a97cb69
--- /dev/null
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<root>\r
+  <!-- \r
+    Microsoft ResX Schema \r
+    \r
+    Version 2.0\r
+    \r
+    The primary goals of this format is to allow a simple XML format \r
+    that is mostly human readable. The generation and parsing of the \r
+    various data types are done through the TypeConverter classes \r
+    associated with the data types.\r
+    \r
+    Example:\r
+    \r
+    ... ado.net/XML headers & schema ...\r
+    <resheader name="resmimetype">text/microsoft-resx</resheader>\r
+    <resheader name="version">2.0</resheader>\r
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>\r
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>\r
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>\r
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>\r
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">\r
+        <value>[base64 mime encoded serialized .NET Framework object]</value>\r
+    </data>\r
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">\r
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>\r
+        <comment>This is a comment</comment>\r
+    </data>\r
+                \r
+    There are any number of "resheader" rows that contain simple \r
+    name/value pairs.\r
+    \r
+    Each data row contains a name, and value. The row also contains a \r
+    type or mimetype. Type corresponds to a .NET class that support \r
+    text/value conversion through the TypeConverter architecture. \r
+    Classes that don't support this are serialized and stored with the \r
+    mimetype set.\r
+    \r
+    The mimetype is used for serialized objects, and tells the \r
+    ResXResourceReader how to depersist the object. This is currently not \r
+    extensible. For a given mimetype the value must be set accordingly:\r
+    \r
+    Note - application/x-microsoft.net.object.binary.base64 is the format \r
+    that the ResXResourceWriter will generate, however the reader can \r
+    read any of the formats listed below.\r
+    \r
+    mimetype: application/x-microsoft.net.object.binary.base64\r
+    value   : The object must be serialized with \r
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter\r
+            : and then encoded with base64 encoding.\r
+    \r
+    mimetype: application/x-microsoft.net.object.soap.base64\r
+    value   : The object must be serialized with \r
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter\r
+            : and then encoded with base64 encoding.\r
+\r
+    mimetype: application/x-microsoft.net.object.bytearray.base64\r
+    value   : The object must be serialized into a byte array \r
+            : using a System.ComponentModel.TypeConverter\r
+            : and then encoded with base64 encoding.\r
+    -->\r
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">\r
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />\r
+    <xsd:element name="root" msdata:IsDataSet="true">\r
+      <xsd:complexType>\r
+        <xsd:choice maxOccurs="unbounded">\r
+          <xsd:element name="metadata">\r
+            <xsd:complexType>\r
+              <xsd:sequence>\r
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />\r
+              </xsd:sequence>\r
+              <xsd:attribute name="name" use="required" type="xsd:string" />\r
+              <xsd:attribute name="type" type="xsd:string" />\r
+              <xsd:attribute name="mimetype" type="xsd:string" />\r
+              <xsd:attribute ref="xml:space" />\r
+            </xsd:complexType>\r
+          </xsd:element>\r
+          <xsd:element name="assembly">\r
+            <xsd:complexType>\r
+              <xsd:attribute name="alias" type="xsd:string" />\r
+              <xsd:attribute name="name" type="xsd:string" />\r
+            </xsd:complexType>\r
+          </xsd:element>\r
+          <xsd:element name="data">\r
+            <xsd:complexType>\r
+              <xsd:sequence>\r
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />\r
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />\r
+              </xsd:sequence>\r
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />\r
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />\r
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />\r
+              <xsd:attribute ref="xml:space" />\r
+            </xsd:complexType>\r
+          </xsd:element>\r
+          <xsd:element name="resheader">\r
+            <xsd:complexType>\r
+              <xsd:sequence>\r
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />\r
+              </xsd:sequence>\r
+              <xsd:attribute name="name" type="xsd:string" use="required" />\r
+            </xsd:complexType>\r
+          </xsd:element>\r
+        </xsd:choice>\r
+      </xsd:complexType>\r
+    </xsd:element>\r
+  </xsd:schema>\r
+  <resheader name="resmimetype">\r
+    <value>text/microsoft-resx</value>\r
+  </resheader>\r
+  <resheader name="version">\r
+    <value>2.0</value>\r
+  </resheader>\r
+  <resheader name="reader">\r
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>\r
+  </resheader>\r
+  <resheader name="writer">\r
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>\r
+  </resheader>\r
+  <data name="QueueView_DeleteJob" xml:space="preserve">\r
+    <value>Delete the job from the queue.</value>\r
+  </data>\r
+  <data name="QueueView_ResetJobStatus" xml:space="preserve">\r
+    <value>Reset job status to Waiting.</value>\r
+  </data>\r
+  <data name="QueueView_SendJobBack" xml:space="preserve">\r
+    <value>Send the job back to the main window for editing.</value>\r
+  </data>\r
+</root>
\ No newline at end of file
index b780ecbb5e54eedd285a79940e611eed6257865e..11b8d5ea5d2f4153be6798b9dcc4298694cfcf17 100644 (file)
   <data name="MainView_UpdateSelectedPreset" xml:space="preserve">\r
     <value>Update Selected Preset</value>\r
   </data>\r
+  <data name="Shared_AddAllForSelected" xml:space="preserve">\r
+    <value>Add All Remaining Selected Languages</value>\r
+  </data>\r
+  <data name="Shared_AddAllRemaining" xml:space="preserve">\r
+    <value>Add All Remaining Tracks</value>\r
+  </data>\r
+  <data name="Shared_AddNewTrack" xml:space="preserve">\r
+    <value>Add New Track</value>\r
+  </data>\r
+  <data name="Shared_AddTrack" xml:space="preserve">\r
+    <value>Add Track</value>\r
+  </data>\r
+  <data name="AudioView_AllowPassThruOf" xml:space="preserve">\r
+    <value>Allow passthru of:</value>\r
+  </data>\r
+  <data name="AudioView_AutoPassthruBehaviour" xml:space="preserve">\r
+    <value>'Auto Passthru' Behaviour:</value>\r
+  </data>\r
+  <data name="Shared_AvailableLanguages" xml:space="preserve">\r
+    <value>Available Languages:</value>\r
+  </data>\r
+  <data name="AudioView_Bitrate" xml:space="preserve">\r
+    <value>Bitrate</value>\r
+  </data>\r
+  <data name="Shared_ChooseLanguages" xml:space="preserve">\r
+    <value>Choose Languages:</value>\r
+  </data>\r
+  <data name="Shared_ChosenLangages" xml:space="preserve">\r
+    <value>Chosen Languages:</value>\r
+  </data>\r
+  <data name="AudioView_Codec" xml:space="preserve">\r
+    <value>Codec</value>\r
+  </data>\r
+  <data name="Shared_ConfigureDefaultBehaviours" xml:space="preserve">\r
+    <value>Configure Default Behaviours</value>\r
+  </data>\r
+  <data name="AudioView_DRC" xml:space="preserve">\r
+    <value>DRC</value>\r
+  </data>\r
+  <data name="AudioView_Gain" xml:space="preserve">\r
+    <value>Gain</value>\r
+  </data>\r
+  <data name="AudioView_Hide" xml:space="preserve">\r
+    <value>Hide</value>\r
+  </data>\r
+  <data name="AudioView_Mixdown" xml:space="preserve">\r
+    <value>Mixdown</value>\r
+  </data>\r
+  <data name="Generic_MoveLeft" xml:space="preserve">\r
+    <value>Move Left</value>\r
+  </data>\r
+  <data name="Generic_MoveRight" xml:space="preserve">\r
+    <value>Move Right</value>\r
+  </data>\r
+  <data name="AudioView_OtherwiseFallbackEncoder" xml:space="preserve">\r
+    <value>Otherwise use fallback encoder:</value>\r
+  </data>\r
+  <data name="AudioView_ReloadDefaults" xml:space="preserve">\r
+    <value>Reload Defaults</value>\r
+  </data>\r
+  <data name="AudioView_Samplerate" xml:space="preserve">\r
+    <value>Samplerate</value>\r
+  </data>\r
+  <data name="AudioView_Show" xml:space="preserve">\r
+    <value>Show</value>\r
+  </data>\r
+  <data name="AudioView_TrackName" xml:space="preserve">\r
+    <value>Track Name:</value>\r
+  </data>\r
+  <data name="AudioView_TrackSelectionBehaviour" xml:space="preserve">\r
+    <value>Track Selection Behaviour:</value>\r
+  </data>\r
+  <data name="AudioView_TrackSettingDefaultBehaviour" xml:space="preserve">\r
+    <value>Track Setting Default Behaviour:</value>\r
+  </data>\r
+  <data name="AudioView_WhenAutoPassthru" xml:space="preserve">\r
+    <value>When 'Auto Passthru' is selected as the audio codec.</value>\r
+  </data>\r
+  <data name="CountdownAlterView_CancelAction" xml:space="preserve">\r
+    <value>Cancel Action</value>\r
+  </data>\r
+  <data name="CountdownAlterView_Proceed" xml:space="preserve">\r
+    <value>Proceed</value>\r
+  </data>\r
+  <data name="CountdownAlterView_WhenDoneAction" xml:space="preserve">\r
+    <value>When Done Action</value>\r
+  </data>\r
+  <data name="ErrorView_ErrorDetails" xml:space="preserve">\r
+    <value>Error Details:</value>\r
+  </data>\r
+  <data name="FiltersView_Custom" xml:space="preserve">\r
+    <value>Custom:</value>\r
+  </data>\r
+  <data name="FiltersView_Deblock" xml:space="preserve">\r
+    <value>Deblock</value>\r
+  </data>\r
+  <data name="FiltersView_Decomb" xml:space="preserve">\r
+    <value>Decomb</value>\r
+  </data>\r
+  <data name="FiltersView_Deinterlace" xml:space="preserve">\r
+    <value>Deinterlace</value>\r
+  </data>\r
+  <data name="FiltersView_Denoise" xml:space="preserve">\r
+    <value>Denoise:</value>\r
+  </data>\r
+  <data name="FiltersView_Detelecine" xml:space="preserve">\r
+    <value>Detelecine:</value>\r
+  </data>\r
+  <data name="FiltersView_Filters" xml:space="preserve">\r
+    <value>Filters</value>\r
+  </data>\r
+  <data name="FiltersView_Grayscale" xml:space="preserve">\r
+    <value>Grayscale</value>\r
+  </data>\r
+  <data name="FiltersView_Preset" xml:space="preserve">\r
+    <value>Preset:</value>\r
+  </data>\r
+  <data name="FiltersView_Tune" xml:space="preserve">\r
+    <value>Tune:</value>\r
+  </data>\r
+  <data name="Generic_Clear" xml:space="preserve">\r
+    <value>Clear</value>\r
+  </data>\r
+  <data name="Generic_Close" xml:space="preserve">\r
+    <value>Close</value>\r
+  </data>\r
+  <data name="Generic_CopyToClipboard" xml:space="preserve">\r
+    <value>Copy to Clipboard</value>\r
+  </data>\r
+  <data name="PictureSettingsView_Anamorphic" xml:space="preserve">\r
+    <value>Anamorphic:</value>\r
+  </data>\r
+  <data name="PictureSettingsView_Automatic" xml:space="preserve">\r
+    <value>Automatic</value>\r
+  </data>\r
+  <data name="PictureSettingsView_Bottom" xml:space="preserve">\r
+    <value>Bottom</value>\r
+  </data>\r
+  <data name="PictureSettingsView_Cropping" xml:space="preserve">\r
+    <value>Cropping</value>\r
+  </data>\r
+  <data name="PictureSettingsView_Custom" xml:space="preserve">\r
+    <value>Custom</value>\r
+  </data>\r
+  <data name="PictureSettingsView_DisplayWitdh" xml:space="preserve">\r
+    <value>Display Width:</value>\r
+  </data>\r
+  <data name="PictureSettingsView_Height" xml:space="preserve">\r
+    <value>Height:</value>\r
+  </data>\r
+  <data name="PictureSettingsView_KeepAR" xml:space="preserve">\r
+    <value>Keep Aspect Ratio</value>\r
+  </data>\r
+  <data name="PictureSettingsView_Left" xml:space="preserve">\r
+    <value>Left</value>\r
+  </data>\r
+  <data name="PictureSettingsView_Modulus" xml:space="preserve">\r
+    <value>Modulus:</value>\r
+  </data>\r
+  <data name="PictureSettingsView_Output" xml:space="preserve">\r
+    <value>Output</value>\r
+  </data>\r
+  <data name="PictureSettingsView_ParH" xml:space="preserve">\r
+    <value>PAR Height:</value>\r
+  </data>\r
+  <data name="PictureSettingsView_ParW" xml:space="preserve">\r
+    <value>PAR Width:</value>\r
+  </data>\r
+  <data name="PictureSettingsView_Right" xml:space="preserve">\r
+    <value>Right</value>\r
+  </data>\r
+  <data name="PictureSettingsView_Size" xml:space="preserve">\r
+    <value>Size</value>\r
+  </data>\r
+  <data name="PictureSettingsView_Source" xml:space="preserve">\r
+    <value>Source:</value>\r
+  </data>\r
+  <data name="PictureSettingsView_Top" xml:space="preserve">\r
+    <value>Top</value>\r
+  </data>\r
+  <data name="PictureSettingsView_Width" xml:space="preserve">\r
+    <value>Width:</value>\r
+  </data>\r
+  <data name="QueueSelectionView_ChooseTitles" xml:space="preserve">\r
+    <value>Choose titles:</value>\r
+  </data>\r
+  <data name="QueueSelectionView_Title" xml:space="preserve">\r
+    <value>Add to Queue</value>\r
+  </data>\r
+  <data name="QueueView_Advanced" xml:space="preserve">\r
+    <value>Advanced:</value>\r
+  </data>\r
+  <data name="QueueView_Audio" xml:space="preserve">\r
+    <value>Audio:</value>\r
+  </data>\r
+  <data name="QueueView_ClearAll" xml:space="preserve">\r
+    <value>Clear All</value>\r
+  </data>\r
+  <data name="QueueView_ClearCompleted" xml:space="preserve">\r
+    <value>Clear Completed</value>\r
+  </data>\r
+  <data name="QueueView_ClearQueue" xml:space="preserve">\r
+    <value>Clear Queue</value>\r
+  </data>\r
+  <data name="QueueView_ClearSelected" xml:space="preserve">\r
+    <value>Clear Selected</value>\r
+  </data>\r
+  <data name="QueueView_Destination" xml:space="preserve">\r
+    <value>Destination: </value>\r
+  </data>\r
+  <data name="QueueView_DoNothing" xml:space="preserve">\r
+    <value>Do nothing</value>\r
+  </data>\r
+  <data name="QueueView_Export" xml:space="preserve">\r
+    <value>Export Queue</value>\r
+  </data>\r
+  <data name="QueueView_Hibernate" xml:space="preserve">\r
+    <value>Hibernate</value>\r
+  </data>\r
+  <data name="QueueView_Import" xml:space="preserve">\r
+    <value>Import Queue</value>\r
+  </data>\r
+  <data name="QueueView_LockSystem" xml:space="preserve">\r
+    <value>Lock System</value>\r
+  </data>\r
+  <data name="QueueView_Logoff" xml:space="preserve">\r
+    <value>Log off</value>\r
+  </data>\r
+  <data name="QueueView_Options" xml:space="preserve">\r
+    <value>Options</value>\r
+  </data>\r
+  <data name="QueueView_Pause" xml:space="preserve">\r
+    <value>Pause</value>\r
+  </data>\r
+  <data name="QueueView_PictureSettings" xml:space="preserve">\r
+    <value>Picture Settings:</value>\r
+  </data>\r
+  <data name="QueueView_QuitHandBrake" xml:space="preserve">\r
+    <value>Quit HandBrake</value>\r
+  </data>\r
+  <data name="QueueView_Shutdown" xml:space="preserve">\r
+    <value>Shutdown</value>\r
+  </data>\r
+  <data name="QueueView_Source" xml:space="preserve">\r
+    <value>Source: </value>\r
+  </data>\r
+  <data name="QueueView_Start" xml:space="preserve">\r
+    <value>Start</value>\r
+  </data>\r
+  <data name="QueueView_Subtitles" xml:space="preserve">\r
+    <value>Subtitles:</value>\r
+  </data>\r
+  <data name="QueueView_Suspend" xml:space="preserve">\r
+    <value>Suspend</value>\r
+  </data>\r
+  <data name="QueueView_Video" xml:space="preserve">\r
+    <value>Video:</value>\r
+  </data>\r
+  <data name="QueueView_WhenDone" xml:space="preserve">\r
+    <value>When Done::</value>\r
+  </data>\r
+  <data name="StaticPreviewView_Duration" xml:space="preserve">\r
+    <value>Duration:</value>\r
+  </data>\r
+  <data name="StaticPreviewView_LivePreview" xml:space="preserve">\r
+    <value>Live Preview</value>\r
+  </data>\r
+  <data name="StaticPreviewView_UseSystemDefault" xml:space="preserve">\r
+    <value>Use system default player</value>\r
+  </data>\r
+  <data name="SubtitlesView_AddCC" xml:space="preserve">\r
+    <value>Add Closed Captions when available</value>\r
+  </data>\r
+  <data name="SubtitlesView_AddForeignAudioSearch" xml:space="preserve">\r
+    <value>Add 'Foreign Audio Scan'</value>\r
+  </data>\r
+  <data name="SubtitlesView_BurnInBehaviour" xml:space="preserve">\r
+    <value>Burn-In Behaviour:</value>\r
+  </data>\r
+  <data name="SubtitlesView_TrackSelectionBehaviour" xml:space="preserve">\r
+    <value>Track Selection Behaviour:</value>\r
+  </data>\r
+  <data name="Shared_ReloadDefaults" xml:space="preserve">\r
+    <value>Reload Defaults</value>\r
+  </data>\r
+  <data name="SubtitlesView_ImportSRT" xml:space="preserve">\r
+    <value>Import SRT</value>\r
+  </data>\r
+  <data name="SubtitleView_AddAllCC" xml:space="preserve">\r
+    <value>Add All Remaining Closed Captions</value>\r
+  </data>\r
+  <data name="VideoView_2Pass" xml:space="preserve">\r
+    <value>2-Pass Encoding</value>\r
+  </data>\r
+  <data name="VideoView_AverageBitrate" xml:space="preserve">\r
+    <value>Avg Bitrate (kbps):</value>\r
+  </data>\r
+  <data name="VideoView_Codec" xml:space="preserve">\r
+    <value>Video Codec:</value>\r
+  </data>\r
+  <data name="VideoView_ConstantFramerate" xml:space="preserve">\r
+    <value>Constant Framerate</value>\r
+  </data>\r
+  <data name="VideoView_ConstantQuality" xml:space="preserve">\r
+    <value>Constant Quality:</value>\r
+  </data>\r
+  <data name="VideoView_EncoderLevel" xml:space="preserve">\r
+    <value>Encoder Level</value>\r
+  </data>\r
+  <data name="VideoView_EncoderPreset" xml:space="preserve">\r
+    <value>Encoder Preset:</value>\r
+  </data>\r
+  <data name="VideoView_EncoderProfile" xml:space="preserve">\r
+    <value>Encoder Profile:</value>\r
+  </data>\r
+  <data name="VideoView_EncodeTune" xml:space="preserve">\r
+    <value>Encoder Tune:</value>\r
+  </data>\r
+  <data name="VideoView_ExtraOptions" xml:space="preserve">\r
+    <value>Extra Options:</value>\r
+  </data>\r
+  <data name="VideoView_FastDecode" xml:space="preserve">\r
+    <value>Fast Decode</value>\r
+  </data>\r
+  <data name="VideoView_Framerate" xml:space="preserve">\r
+    <value>Framerate (FPS):</value>\r
+  </data>\r
+  <data name="VideoView_OptimiseVideo" xml:space="preserve">\r
+    <value>Optimise Video:</value>\r
+  </data>\r
+  <data name="VideoView_PeakFramerate" xml:space="preserve">\r
+    <value>Peak Framerate</value>\r
+  </data>\r
+  <data name="VideoView_Quality" xml:space="preserve">\r
+    <value>Quality</value>\r
+  </data>\r
+  <data name="VideoView_SameAsSource" xml:space="preserve">\r
+    <value>Same as source</value>\r
+  </data>\r
+  <data name="VideoView_TurboFirstPass" xml:space="preserve">\r
+    <value>Turbo first pass</value>\r
+  </data>\r
+  <data name="VideoView_UseAdvancedTab" xml:space="preserve">\r
+    <value>Use Advanced Tab instead</value>\r
+  </data>\r
+  <data name="VideoView_VariableFramerate" xml:space="preserve">\r
+    <value>Variable Framerate</value>\r
+  </data>\r
+  <data name="VideoView_Video" xml:space="preserve">\r
+    <value>Video</value>\r
+  </data>\r
 </root>
\ No newline at end of file
index 01fc3f2d0255350438f2d26b748f6f1d48521352..0b03582514be311477b86e343c6b9f8e9f4876c8 100644 (file)
@@ -34,7 +34,7 @@
                 <StackPanel Grid.Row="0"\r
                             Margin="5,10,0,0"\r
                             Orientation="Horizontal">\r
-                    <TextBlock Margin="0,0,5,0" FontSize="16" FontFamily="Segoe UI Light" Text="{x:Static Properties:ResourcesUI.MainView_AudioTab}" />\r
+                    <TextBlock Margin="0,0,5,0" FontSize="16" FontFamily="Segoe UI Light" Text="{x:Static Properties:ResourcesUI.AboutView_Version}" />\r
                     <TextBlock Margin="0,0,0,1" FontSize="16" FontFamily="Segoe UI Light" VerticalAlignment="Bottom" Text="{Binding Version}" />\r
                 </StackPanel>\r
 \r
diff --git a/win/CS/HandBrakeWPF/Views/AudioDefaultsView.xaml b/win/CS/HandBrakeWPF/Views/AudioDefaultsView.xaml
deleted file mode 100644 (file)
index 876485d..0000000
+++ /dev/null
@@ -1,163 +0,0 @@
-<UserControl x:Class="HandBrakeWPF.Views.AudioDefaultsView"\r
-             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"\r
-             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"\r
-             xmlns:Audio="clr-namespace:HandBrakeWPF.Converters.Audio"\r
-             xmlns:cal="http://www.caliburnproject.org"\r
-             xmlns:Conveters="clr-namespace:HandBrakeWPF.Converters"\r
-             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"\r
-             xmlns:dd="clr-namespace:GongSolutions.Wpf.DragDrop;assembly=GongSolutions.Wpf.DragDrop"\r
-             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"\r
-             xmlns:helpers="clr-namespace:HandBrakeWPF.Helpers"\r
-             d:DesignHeight="400"\r
-             d:DesignWidth="720"\r
-             Width="600"\r
-             Height="360"\r
-             mc:Ignorable="d"\r
-             Background="{Binding Path=Background, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}}"\r
-             BorderThickness="1" BorderBrush="DarkGray"\r
-             x:Name="audioTab">\r
-\r
-    <UserControl.Resources>\r
-        <Conveters:BooleanToVisibilityConverter x:Key="boolToVisConverter" />\r
-        <Audio:AudioEncoderConverter x:Key="audioEncoderConverter" />\r
-        <Audio:AudioBehaviourConverter x:Key="audioBehaviourConverter" />\r
-    </UserControl.Resources>\r
-\r
-    <Grid >\r
-        <Grid.RowDefinitions>\r
-            <RowDefinition Height="Auto" />\r
-            <RowDefinition Height="Auto" />\r
-            <RowDefinition Height="*" />\r
-            <RowDefinition Height="Auto" />\r
-        </Grid.RowDefinitions>\r
-\r
-        <Grid.ColumnDefinitions>\r
-            <ColumnDefinition Width="*" />\r
-            <ColumnDefinition Width="Auto" />\r
-        </Grid.ColumnDefinitions>\r
-\r
-\r
-        <!-- Row 0 -->\r
-        <TextBlock Grid.Row="0"\r
-                   Margin="10,5,0,0"\r
-                   FontWeight="Bold"\r
-                   VerticalAlignment="Top"\r
-                   Text="AudioDefaults" />\r
-\r
-        <!-- Row 2 -->\r
-        <StackPanel Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" Margin="10,0,10,0"\r
-              Visibility="{Binding ShowAudioDefaultsPanel, Converter={StaticResource boolToVisConverter}, ConverterParameter=false}">\r
-\r
-            <Grid Margin="5,0,0,0" >\r
-                <Grid.RowDefinitions>\r
-                    <RowDefinition Height="Auto" />\r
-                    <RowDefinition Height="Auto" />\r
-                    <RowDefinition Height="Auto" />\r
-                </Grid.RowDefinitions>\r
-\r
-                <Grid.ColumnDefinitions>\r
-                    <ColumnDefinition Width="Auto" />\r
-                    <ColumnDefinition Width="Auto" />\r
-                    <ColumnDefinition Width="Auto" />\r
-                    <ColumnDefinition Width="Auto" />\r
-                    <ColumnDefinition Width="*" />\r
-                </Grid.ColumnDefinitions>\r
-\r
-                <!-- Audio -->\r
-                <TextBlock Text="Track Selection Behaviour:" Grid.Column="0" Grid.Row="0" Margin="0,0,5,0" HorizontalAlignment="Left"  VerticalAlignment="Center" />\r
-                <ComboBox Name="autoAudioMode" Grid.Column="1" Grid.Row="0" HorizontalAlignment="Left"\r
-                          ItemsSource="{Binding AudioBehaviourModeList, Converter={StaticResource audioBehaviourConverter}}" \r
-                          SelectedItem="{Binding AudioBehaviours.SelectedBehaviour, Converter={StaticResource audioBehaviourConverter}}" Width="210" Margin="0,0,5,0" />\r
-            </Grid>\r
-\r
-            <TextBlock Text="Choose Languages:" Margin="5,10,0,0" />\r
-\r
-            <Grid Margin="20,5,0,0">\r
-                <Grid.ColumnDefinitions>\r
-                    <ColumnDefinition Width="*" />\r
-                </Grid.ColumnDefinitions>\r
-\r
-                <StackPanel Orientation="Horizontal">\r
-                    <Grid>\r
-                        <Grid.ColumnDefinitions>\r
-                            <ColumnDefinition Width="*" />\r
-                            <ColumnDefinition Width="*" />\r
-                            <ColumnDefinition Width="*" />\r
-                        </Grid.ColumnDefinitions>\r
-\r
-                        <StackPanel Orientation="Vertical" Grid.Column="0">\r
-                            <TextBlock Text="Available Languages:" Margin="0,0,0,5"/>\r
-                            <ListBox Name="availableLanguages" ItemsSource="{Binding AvailableLanguages}" \r
-                                     helpers:ListBoxHelper.SelectedItems="{Binding SelectedAvailableToMove}" \r
-                                             SelectionMode="Extended" Width="140" Height="120" />\r
-                        </StackPanel>\r
-\r
-                        <DockPanel Grid.Column="1" Margin="10,0,10,0">\r
-                            <StackPanel Orientation="Vertical" VerticalAlignment="Center">\r
-                                <Button Content="Move Right"  VerticalAlignment="Center" Margin="0,0,0,5" cal:Message.Attach="[Event Click] = [Action LanguageMoveRight]" MaxWidth="90" />\r
-                                <Button Content="Move Left"  VerticalAlignment="Center" Margin="0,0,0,5" cal:Message.Attach="[Event Click] = [Action LanguageMoveLeft]" MaxWidth="90" />\r
-                                <Button Content="Clear" VerticalAlignment="Center" Margin="0,0,0,5" cal:Message.Attach="[Event Click] = [Action LanguageClearAll]" Width="80"/>\r
-                            </StackPanel>\r
-                        </DockPanel>\r
-\r
-                        <StackPanel Orientation="Vertical" Grid.Column="2">\r
-                            <TextBlock Text="Chosen Languages:"  Margin="0,0,0,5"/>\r
-                            <ListBox Name="selectedLangauges" ItemsSource="{Binding AudioBehaviours.SelectedLangauges}" \r
-                                     helpers:ListBoxHelper.SelectedItems="{Binding SelectedLangaugesToMove}" \r
-                                             SelectionMode="Extended" Width="140" Height="120"\r
-                                             dd:DragDrop.DropHandler="{Binding}"\r
-                                             dd:DragDrop.IsDragSource="True"\r
-                                             dd:DragDrop.IsDropTarget="True"/>\r
-                        </StackPanel>\r
-                    </Grid>\r
-                </StackPanel>\r
-            </Grid>\r
-\r
-            <TextBlock Text="'Auto Passthru' Behaviour:" FontWeight="Bold" Margin="0,10,0,5" />\r
-            <StackPanel Margin="10,5,0,0"\r
-                        Orientation="Vertical">\r
-                <TextBlock Margin="5,0,5,0" Text="When 'Auto Passthru' is selected as the audio codec." VerticalAlignment="Center" />\r
-                <TextBlock Margin="5,0,5,0" Text="Allow passthru of:" VerticalAlignment="Center" />\r
-            </StackPanel>\r
-            <StackPanel Margin="15,5,0,0"\r
-                        Orientation="Horizontal">\r
-                <CheckBox Margin="0,0,5,0"\r
-                          Content="MP3" VerticalAlignment="Center"    \r
-                          IsChecked="{Binding Task.AllowedPassthruOptions.AudioAllowMP3Pass}" />\r
-                <CheckBox Margin="0,0,5,0"\r
-                          Content="AAC" VerticalAlignment="Center"\r
-                          IsChecked="{Binding Task.AllowedPassthruOptions.AudioAllowAACPass}" />\r
-                <CheckBox Margin="0,0,5,0"\r
-                          Content="AC3" VerticalAlignment="Center"\r
-                          IsChecked="{Binding Task.AllowedPassthruOptions.AudioAllowAC3Pass}" />\r
-                <CheckBox Margin="0,0,5,0"\r
-                          Content="DTS" VerticalAlignment="Center"\r
-                          IsChecked="{Binding Task.AllowedPassthruOptions.AudioAllowDTSPass}" />\r
-                <CheckBox Margin="0,0,5,0"\r
-                          Content="DTSHD" VerticalAlignment="Center"\r
-                          IsChecked="{Binding Task.AllowedPassthruOptions.AudioAllowDTSHDPass}" />\r
-                \r
-                <TextBlock Margin="15,0,5,0" Text="Otherwise use fallback encoder:" />\r
-\r
-                <ComboBox VerticalAlignment="Center" Width="120" Height="22" Margin="10,0,5,0">\r
-                    <ComboBox.SelectedItem>\r
-                        <MultiBinding Converter="{StaticResource audioEncoderConverter}">\r
-                            <Binding Path="Task.AllowedPassthruOptions.AudioEncoderFallback" />\r
-                        </MultiBinding>\r
-                    </ComboBox.SelectedItem>\r
-                    <ComboBox.ItemsSource>\r
-                        <MultiBinding Converter="{StaticResource audioEncoderConverter}" ConverterParameter="True">\r
-                            <Binding Path="DataContext.AudioEncoders" RelativeSource="{RelativeSource FindAncestor, AncestorType={x:Type UserControl}}" />\r
-                            <Binding Path="DataContext.Task" RelativeSource="{RelativeSource FindAncestor, AncestorType={x:Type UserControl}}" />\r
-                        </MultiBinding>\r
-                    </ComboBox.ItemsSource>\r
-                </ComboBox>\r
-\r
-            </StackPanel>\r
-\r
-        </StackPanel>\r
-\r
-        <Button Content="Done" cal:Message.Attach="[Event Click] = [Action Close]" Grid.Row="3" HorizontalAlignment="Center" \r
-                Margin="0,5,0,5" Padding="8,2" />\r
-    </Grid>\r
-</UserControl>\r
index 1901069a886d90fb5472f6089bd6fb21ee03de65..af270a557afac223e6366f407967a8341084e4e3 100644 (file)
@@ -11,6 +11,7 @@
              xmlns:splitButton="clr-namespace:HandBrakeWPF.Controls.SplitButton"\r
              xmlns:controls="clr-namespace:HandBrakeWPF.Controls"\r
              xmlns:helpers="clr-namespace:HandBrakeWPF.Helpers"\r
+             xmlns:Properties="clr-namespace:HandBrakeWPF.Properties"\r
              d:DesignHeight="800"\r
              d:DesignWidth="750"\r
              mc:Ignorable="d"\r
                     <ColumnDefinition Width="Auto" />\r
                     <ColumnDefinition Width="Auto" />\r
                 </Grid.ColumnDefinitions>\r
-                \r
-                <splitButton:SplitMenuButton Content="Add Track" cal:Message.Attach="[Event Click] = [Action Add]"  FontWeight="Bold" Margin="0,0,10,0" Grid.Column="0">\r
+\r
+                <splitButton:SplitMenuButton Content="{x:Static Properties:ResourcesUI.Shared_AddTrack}" cal:Message.Attach="[Event Click] = [Action Add]"  FontWeight="Bold" Margin="0,0,10,0" Grid.Column="0">\r
                     <splitButton:SplitMenuButton.ItemSource>\r
-                        <MenuItem Header="Add New Track" cal:Message.Attach="[Event Click] = [Action Add]" />\r
-                        <MenuItem Header="Add All Remaining Tracks" cal:Message.Attach="[Event Click] = [Action AddAllRemaining]" />\r
-                        <MenuItem Header="Add All Remaining Selected Languages" cal:Message.Attach="[Event Click] = [Action AddAllRemainingForSelectedLanguages]" />\r
+                        <MenuItem Header="{x:Static Properties:ResourcesUI.Shared_AddNewTrack}" cal:Message.Attach="[Event Click] = [Action Add]" />\r
+                        <MenuItem Header="{x:Static Properties:ResourcesUI.Shared_AddAllRemaining}" cal:Message.Attach="[Event Click] = [Action AddAllRemaining]" />\r
+                        <MenuItem Header="{x:Static Properties:ResourcesUI.Shared_AddAllForSelected}" cal:Message.Attach="[Event Click] = [Action AddAllRemainingForSelectedLanguages]" />\r
                     </splitButton:SplitMenuButton.ItemSource>\r
                 </splitButton:SplitMenuButton>\r
 \r
                 <Button MinWidth="65" Grid.Column="1"\r
                     Margin="0,0,10,0"\r
                     cal:Message.Attach="[Event Click] = [Action Clear]"\r
-                    Content="Clear" />\r
+                    Content="{x:Static Properties:ResourcesUI.Generic_Clear}" />\r
 \r
                 <Button MinWidth="65" Grid.Column="3"\r
                     Margin="0,0,10,0"\r
@@ -91,7 +92,7 @@
 \r
                 <Button MinWidth="65" Grid.Column="4"\r
                     cal:Message.Attach="[Event Click] = [Action ReloadDefaults]"\r
-                    Content="Reload Defaults" />\r
+                    Content="{x:Static Properties:ResourcesUI.AudioView_ReloadDefaults}" />\r
 \r
 \r
             </Grid>\r
 \r
         <!-- Row 2 -->\r
 \r
-        <ListBox Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2" VerticalAlignment="Stretch" Grid.RowSpan="1"\r
+        <ListBox Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2" VerticalAlignment="Stretch" \r
                  Visibility="{Binding ShowAudioDefaultsPanel, Converter={StaticResource boolToVisConverter}, ConverterParameter=true}"\r
                  Margin="10,10,10,10"\r
                  dd:DragDrop.DropHandler="{Binding}"\r
 \r
             <ListBox.ContextMenu>\r
                 <ContextMenu>\r
-                    <MenuItem Header="Add New Track" cal:Message.Attach="[Event Click] = [Action Add]" />\r
-                    <MenuItem Header="Add All Remaining Tracks" cal:Message.Attach="[Event Click] = [Action AddAllRemaining]" />\r
-                    <MenuItem Header="Add All Remaining Selected Languages" cal:Message.Attach="[Event Click] = [Action AddAllRemainingForSelectedLanguages]" />\r
+                    <MenuItem Header="{x:Static Properties:ResourcesUI.Shared_AddNewTrack}" cal:Message.Attach="[Event Click] = [Action Add]" />\r
+                    <MenuItem Header="{x:Static Properties:ResourcesUI.Shared_AddAllRemaining}" cal:Message.Attach="[Event Click] = [Action AddAllRemaining]" />\r
+                    <MenuItem Header="{x:Static Properties:ResourcesUI.Shared_AddAllForSelected}" cal:Message.Attach="[Event Click] = [Action AddAllRemainingForSelectedLanguages]" />\r
                     <Separator />\r
-                    <MenuItem Header="Clear All" cal:Message.Attach="[Event Click] = [Action Clear]" />\r
+                    <MenuItem Header="{x:Static Properties:ResourcesUI.Generic_Clear}" cal:Message.Attach="[Event Click] = [Action Clear]" />\r
                     <Separator />\r
-                    <MenuItem Header="Configure Default Behaviours" cal:Message.Attach="[Event Click] = [Action SetDefaultBehaviour]" />\r
+                    <MenuItem Header="{x:Static Properties:ResourcesUI.Shared_ConfigureDefaultBehaviours}" cal:Message.Attach="[Event Click] = [Action SetDefaultBehaviour]" />\r
                 </ContextMenu>\r
             </ListBox.ContextMenu>\r
 \r
                                       ItemsSource="{Binding DataContext.SourceTracks, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}"\r
                                       SelectedItem="{Binding ScannedTrack}" />\r
 \r
-                            <TextBlock Grid.Column="2" VerticalAlignment="Center" FontWeight="Bold" Text="Codec" />\r
+                            <TextBlock Grid.Column="2" VerticalAlignment="Center" FontWeight="Bold" Text="{x:Static Properties:ResourcesUI.AudioView_Codec}" />\r
                             <ComboBox Grid.Column="3" Width="100" Height="22" Margin="5,0,5,0">\r
                                 <ComboBox.SelectedItem>\r
                                     <MultiBinding Converter="{StaticResource audioEncoderConverter}">\r
                                 </ComboBox.ItemsSource>\r
                             </ComboBox>\r
 \r
-                            <TextBlock Grid.Column="4" VerticalAlignment="Center" FontWeight="Bold" Text="Bitrate"\r
+                            <TextBlock Grid.Column="4" VerticalAlignment="Center" FontWeight="Bold" Text="{x:Static Properties:ResourcesUI.AudioView_Bitrate}"\r
                                        Visibility="{Binding CannotSetBitrate, Converter={StaticResource boolToVisConverter}, ConverterParameter=true}" />\r
                             <ComboBox Grid.Column="5" Width="55" Height="22" Margin="5,0,5,0" ItemsSource="{Binding TrackReference, Converter={StaticResource audioBitrateConverter}}"\r
                                       SelectedItem="{Binding Bitrate}"\r
 \r
 \r
                             <!--  Row 2  -->\r
-                            <TextBlock Grid.Row="0" Grid.Column="6" VerticalAlignment="Center" FontWeight="Bold" Text="Mixdown"\r
+                            <TextBlock Grid.Row="0" Grid.Column="6" VerticalAlignment="Center" FontWeight="Bold" Text="{x:Static Properties:ResourcesUI.AudioView_Mixdown}"\r
                                        Visibility="{Binding IsPassthru, Converter={StaticResource boolToVisConverter}, ConverterParameter=true}" />\r
                             <ComboBox Grid.Row="0" Grid.Column="7" Height="22" Width="120" Margin="5,0,5,0" HorizontalAlignment="Stretch"\r
                                       ItemsSource="{Binding DataContext.AudioMixdowns, Converter={StaticResource enumComboConverter}, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}"\r
                         <Grid Grid.Column="1" Grid.Row="1" HorizontalAlignment="Stretch" Visibility="{Binding IsChecked, ElementName=advancedOptionsToggle, Converter={StaticResource boolToVisConverter}}">\r
                             <StackPanel Orientation="Horizontal" Margin="0,5,0,5" >\r
 \r
-                                <TextBlock VerticalAlignment="Center" FontWeight="Bold" Text="Samplerate"\r
+                                <TextBlock VerticalAlignment="Center" FontWeight="Bold" Text="{x:Static Properties:ResourcesUI.AudioView_Samplerate}"\r
                                        Visibility="{Binding IsPassthru, Converter={StaticResource boolToVisConverter}, ConverterParameter=true}" />\r
                                 <ComboBox Width="70" Height="22" Margin="5,0,5,0"\r
                                       ItemsSource="{Binding DataContext.SampleRates, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}"\r
                                       SelectedItem="{Binding SampleRateDisplayValue}"\r
                                       Visibility="{Binding IsPassthru, Converter={StaticResource boolToVisConverter}, ConverterParameter=true}" />\r
 \r
-                                <TextBlock VerticalAlignment="Center" FontWeight="Bold" Text="DRC"\r
+                                <TextBlock VerticalAlignment="Center" FontWeight="Bold" Text="{x:Static Properties:ResourcesUI.AudioView_DRC}"\r
                                        Visibility="{Binding IsPassthru, Converter={StaticResource boolToVisConverter}, ConverterParameter=true}" />\r
 \r
                                 <controls:NumberBox Name="drcNumericCtl" Width="45" Margin="5,0,5,0" HorizontalAlignment="Left"\r
                                                     Minimum="0" Modulus="0.1" Maximum="4" Number="{Binding DRC, Mode=TwoWay}" UpdateBindingOnTextChange="True" ShowIncrementButtons="True" AllowEmpty="False"\r
                                                     Visibility="{Binding IsPassthru, Converter={StaticResource boolToHiddenVisConverter}, ConverterParameter=true}"/>\r
 \r
-                                <TextBlock  VerticalAlignment="Center" FontWeight="Bold" Text="Gain"\r
+                                <TextBlock  VerticalAlignment="Center" FontWeight="Bold" Text="{x:Static Properties:ResourcesUI.AudioView_Gain}"\r
                                        Visibility="{Binding IsPassthru, Converter={StaticResource boolToVisConverter}, ConverterParameter=true}" />\r
 \r
                                 <controls:NumberBox Name="gainNumericCtl" Width="45" Margin="5,0,5,0" HorizontalAlignment="Left"\r
                                                     Minimum="-20" Modulus="1" Maximum="20" Number="{Binding Gain, Mode=TwoWay}" UpdateBindingOnTextChange="True" ShowIncrementButtons="True" AllowEmpty="False"\r
                                                     Visibility="{Binding IsPassthru, Converter={StaticResource boolToHiddenVisConverter}, ConverterParameter=true}"/>\r
 \r
-                                <TextBlock Text="Track Name:" VerticalAlignment="Center" FontWeight="Bold" Margin="5,0,5,0" />\r
+                                <TextBlock Text="{x:Static Properties:ResourcesUI.AudioView_TrackName}" VerticalAlignment="Center" FontWeight="Bold" Margin="5,0,5,0" />\r
                                 <TextBox Text="{Binding TrackName, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Width="138" Height="22" />\r
 \r
                             </StackPanel>\r
                 </Grid.ColumnDefinitions>\r
 \r
                 <!-- Audio -->\r
-                <TextBlock Text="Track Selection Behaviour:" Grid.Column="0" Grid.Row="0" Margin="0,0,5,0" HorizontalAlignment="Left"  VerticalAlignment="Center" />\r
+                <TextBlock Text="{x:Static Properties:ResourcesUI.AudioView_TrackSelectionBehaviour}" Grid.Column="0" Grid.Row="0" Margin="0,0,5,0" HorizontalAlignment="Left"  VerticalAlignment="Center" />\r
                 <ComboBox Name="autoAudioMode" Grid.Column="1" Grid.Row="0" HorizontalAlignment="Left"\r
                           ItemsSource="{Binding AudioBehaviourModeList, Converter={StaticResource audioBehaviourConverter}}" \r
                           SelectedItem="{Binding AudioBehaviours.SelectedBehaviour, Converter={StaticResource audioBehaviourConverter}}" Width="210" Margin="0,0,5,0" />\r
-                \r
-                \r
-                <TextBlock Text="Track Setting Default Behaviour:" Grid.Column="0" Grid.Row="1" Margin="0,5,5,0" HorizontalAlignment="Left"  VerticalAlignment="Center" />\r
+\r
+\r
+                <TextBlock Text="{x:Static Properties:ResourcesUI.AudioView_TrackSettingDefaultBehaviour}" Grid.Column="0" Grid.Row="1" Margin="0,5,5,0" HorizontalAlignment="Left"  VerticalAlignment="Center" />\r
                 <ComboBox Name="audioTrackBeahaviorMode" Grid.Column="1" Grid.Row="1" HorizontalAlignment="Left"\r
                           ItemsSource="{Binding AudioTrackDefaultBehaviourModeList, Converter={StaticResource audioTrackDefaultBehaviourConverter}}" \r
                           SelectedItem="{Binding AudioBehaviours.SelectedTrackDefaultBehaviour, Converter={StaticResource audioTrackDefaultBehaviourConverter}}" Width="210" Margin="0,5,5,0" />\r
             </Grid>\r
 \r
-            <TextBlock Text="Choose Languages:" Margin="5,10,0,0" />\r
+            <TextBlock Text="{x:Static Properties:ResourcesUI.Shared_ChooseLanguages}" Margin="5,10,0,0" />\r
 \r
             <Grid Margin="20,5,0,0">\r
                 <Grid.ColumnDefinitions>\r
                         </Grid.ColumnDefinitions>\r
 \r
                         <StackPanel Orientation="Vertical" Grid.Column="0">\r
-                            <TextBlock Text="Available Languages:" Margin="0,0,0,5"/>\r
+                            <TextBlock Text="{x:Static Properties:ResourcesUI.Shared_AvailableLanguages}" Margin="0,0,0,5"/>\r
                             <ListBox Name="availableLanguages" ItemsSource="{Binding AvailableLanguages}" \r
                                      helpers:ListBoxHelper.SelectedItems="{Binding SelectedAvailableToMove}" \r
                                              SelectionMode="Extended" Width="140" Height="120" />\r
 \r
                         <DockPanel Grid.Column="1" Margin="10,0,10,0">\r
                             <StackPanel Orientation="Vertical" VerticalAlignment="Center">\r
-                                <Button Content="Move Right"  VerticalAlignment="Center" Margin="0,0,0,5" cal:Message.Attach="[Event Click] = [Action LanguageMoveRight]" MaxWidth="90" />\r
-                                <Button Content="Move Left"  VerticalAlignment="Center" Margin="0,0,0,5" cal:Message.Attach="[Event Click] = [Action LanguageMoveLeft]" MaxWidth="90" />\r
-                                <Button Content="Clear" VerticalAlignment="Center" Margin="0,0,0,5" cal:Message.Attach="[Event Click] = [Action LanguageClearAll]" Width="80"/>\r
+                                <Button Content="{x:Static Properties:ResourcesUI.Generic_MoveRight}"  VerticalAlignment="Center" Margin="0,0,0,5" cal:Message.Attach="[Event Click] = [Action LanguageMoveRight]" MaxWidth="90" />\r
+                                <Button Content="{x:Static Properties:ResourcesUI.Generic_MoveLeft}"  VerticalAlignment="Center" Margin="0,0,0,5" cal:Message.Attach="[Event Click] = [Action LanguageMoveLeft]" MaxWidth="90" />\r
+                                <Button Content="{x:Static Properties:ResourcesUI.Generic_Clear}" VerticalAlignment="Center" Margin="0,0,0,5" cal:Message.Attach="[Event Click] = [Action LanguageClearAll]" Width="80"/>\r
                             </StackPanel>\r
                         </DockPanel>\r
 \r
                         <StackPanel Orientation="Vertical" Grid.Column="2">\r
-                            <TextBlock Text="Chosen Languages:"  Margin="0,0,0,5"/>\r
+                            <TextBlock Text="{x:Static Properties:ResourcesUI.Shared_ChosenLangages}"  Margin="0,0,0,5"/>\r
                             <ListBox Name="selectedLangauges" ItemsSource="{Binding AudioBehaviours.SelectedLangauges}" \r
                                      helpers:ListBoxHelper.SelectedItems="{Binding SelectedLangaugesToMove}" \r
                                              SelectionMode="Extended" Width="140" Height="120"\r
                 </StackPanel>\r
             </Grid>\r
 \r
-            <TextBlock Text="'Auto Passthru' Behaviour:" FontWeight="Bold" Margin="0,10,0,5" />\r
+            <TextBlock Text="{x:Static Properties:ResourcesUI.AudioView_AutoPassthruBehaviour}" FontWeight="Bold" Margin="0,10,0,5" />\r
             <StackPanel Margin="10,5,0,0"\r
                         Orientation="Vertical">\r
-                <TextBlock Margin="5,0,5,0" Text="When 'Auto Passthru' is selected as the audio codec." VerticalAlignment="Center" />\r
-                <TextBlock Margin="5,0,5,0" Text="Allow passthru of:" VerticalAlignment="Center" />\r
+                <TextBlock Margin="5,0,5,0" Text="{x:Static Properties:ResourcesUI.AudioView_WhenAutoPassthru}" VerticalAlignment="Center" />\r
+                <TextBlock Margin="5,0,5,0" Text="{x:Static Properties:ResourcesUI.AudioView_AllowPassThruOf}" VerticalAlignment="Center" />\r
             </StackPanel>\r
             <StackPanel Margin="15,5,0,0"\r
                         Orientation="Horizontal">\r
                 <CheckBox Margin="0,0,5,0"\r
                           Content="FLAC" VerticalAlignment="Center"\r
                           IsChecked="{Binding Task.AllowedPassthruOptions.AudioAllowFlacPass}" />\r
-  \r
-                <TextBlock Margin="15,0,5,0" Text="Otherwise use fallback encoder:" />\r
+\r
+                <TextBlock Margin="15,0,5,0" Text="{x:Static Properties:ResourcesUI.AudioView_OtherwiseFallbackEncoder}" />\r
 \r
                 <ComboBox VerticalAlignment="Center" Width="105" Height="22" Margin="10,0,5,0">\r
                     <ComboBox.SelectedItem>\r
index b063f85ba8bc39ddd4f2e1392b427ec1d413b83a..069af0bc2c77a9ae2ffb25c9568463c61ae7303b 100644 (file)
@@ -2,6 +2,7 @@
         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"\r
         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"\r
         xmlns:cal="http://www.caliburnproject.org"\r
+        xmlns:Properties="clr-namespace:HandBrakeWPF.Properties"\r
         Title="When Done Action" MinHeight="130" MinWidth="400" WindowStartupLocation="CenterScreen" WindowStyle="None"\r
         ShowActivated="True" ShowInTaskbar="True" SizeToContent="WidthAndHeight">\r
     <Grid>\r
             <RowDefinition Height="Auto" />\r
         </Grid.RowDefinitions>\r
 \r
-        <TextBlock Text="When Done Action" FontSize="26" FontFamily="Segoe UI Light" FontWeight="Bold" Margin="10,10,10,10" Grid.Row="0" />\r
+        <TextBlock Text="{x:Static Properties:ResourcesUI.CountdownAlterView_WhenDoneAction}" FontSize="26" FontFamily="Segoe UI Light" FontWeight="Bold" Margin="10,10,10,10" Grid.Row="0" />\r
         \r
         <TextBlock Text="{Binding NoticeMessage}" Grid.Row="1" Margin="40,0,10,0"/>\r
 \r
         <StackPanel Orientation="Horizontal" Grid.Row="2" Margin="0,10,10,5" HorizontalAlignment="Right">\r
-            <Button Content="Proceed"  HorizontalAlignment="Right"\r
+            <Button Content="{x:Static Properties:ResourcesUI.CountdownAlterView_Proceed}"  HorizontalAlignment="Right"\r
                 cal:Message.Attach="[Event Click] = [Action Proceed]" Padding="8,2" Margin="0,10,10,5"/>\r
 \r
-            <Button Content="Cancel Action"  HorizontalAlignment="Right" Margin="0,10,10,5"\r
+            <Button Content="{x:Static Properties:ResourcesUI.CountdownAlterView_CancelAction}"  HorizontalAlignment="Right" Margin="0,10,10,5"\r
                 cal:Message.Attach="[Event Click] = [Action Cancel]" Padding="8,2" IsDefault="True" />\r
         </StackPanel>\r
 \r
index 8053205feb499b0a507595770dad1c0d4bcee0f8..ba103dedb91643b7c713e07e9c4ff11b3218794f 100644 (file)
@@ -2,6 +2,7 @@
         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"\r
         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"\r
         xmlns:cal="http://www.caliburnproject.org"\r
+        xmlns:Properties="clr-namespace:HandBrakeWPF.Properties"\r
         Title="{Binding Title}"\r
         Width="680"\r
         Height="380"\r
@@ -44,7 +45,7 @@
                            Margin="0,0,0,2"\r
                            VerticalAlignment="Bottom"\r
                            FontWeight="Bold"\r
-                           Text="Error Details:" />\r
+                           Text="{x:Static Properties:ResourcesUI.ErrorView_ErrorDetails}" />\r
             </Grid>\r
         </StackPanel>\r
 \r
                            Height="16"\r
                            Margin="0,0,5,0"\r
                            Source="Images/copy.png" />\r
-                    <TextBlock Grid.Column="1" Text="Copy to Clipboard" />\r
+                    <TextBlock Grid.Column="1" Text="{x:Static Properties:ResourcesUI.Generic_CopyToClipboard}" />\r
                 </Grid>\r
             </Button>\r
 \r
             <Button Grid.Column="2"\r
                     Margin="0,5,10,5"\r
                     cal:Message.Attach="[Event Click] = [Action Close]"\r
-                    Content="Close"\r
+                    Content="{x:Static Properties:ResourcesUI.Generic_Close}"\r
                     Padding="8,2" />\r
         </Grid>\r
     </Grid>\r
index b3aeecd95f9b89624c55a06813b9915cd6bfa54b..d8304c1c6ad946b3b22ea66bb5167ca6495ef3e2 100644 (file)
@@ -5,6 +5,7 @@
              xmlns:d="http://schemas.microsoft.com/expression/blend/2008"\r
              xmlns:Converters="clr-namespace:HandBrakeWPF.Converters"\r
              xmlns:filters="clr-namespace:HandBrakeWPF.Converters.Filters"\r
+             xmlns:Properties="clr-namespace:HandBrakeWPF.Properties"\r
              mc:Ignorable="d" >\r
     <UserControl.Resources>\r
         <Converters:BooleanToVisibilityConverter x:Key="boolToVisConverter" />\r
@@ -25,7 +26,7 @@
             <ColumnDefinition Width="Auto" />\r
         </Grid.ColumnDefinitions>\r
 \r
-        <TextBlock Text="Filters" FontWeight="Bold" Margin="10,5,0,0" Grid.Row="0" ></TextBlock>\r
+        <TextBlock Text="{x:Static Properties:ResourcesUI.FiltersView_Filters}" FontWeight="Bold" Margin="10,5,0,0" Grid.Row="0" ></TextBlock>\r
 \r
         <StackPanel Orientation="Vertical" Grid.Row="1" Grid.Column="0" Margin="10,10,0,0">\r
             <Grid>\r
@@ -44,7 +45,7 @@
                     <ColumnDefinition Width="Auto" />\r
                 </Grid.ColumnDefinitions>\r
 \r
-                <TextBlock Text="Detelecine:" Grid.Row="0" Grid.Column="0" Margin="0,0,0,10" />\r
+                <TextBlock Text="{x:Static Properties:ResourcesUI.FiltersView_Detelecine}" Grid.Row="0" Grid.Column="0" Margin="0,0,0,10" />\r
                 <ComboBox Width="120" Grid.Row="0" ItemsSource="{Binding DetelecineOptions, Converter={StaticResource boolComboConverter}}" \r
                           SelectedItem="{Binding SelectedDetelecine, Converter={StaticResource boolComboConverter}}" Grid.Column="1" Margin="0,0,0,10"\r
                           HorizontalAlignment="Left"/>\r
@@ -54,8 +55,8 @@
                 <TextBlock Text="{Binding DeinterlaceControlText}" Grid.Row="1" Grid.Column="0" Margin="0,0,0,10" VerticalAlignment="Top"/>\r
                 <StackPanel Grid.Row="1" Grid.Column="1" >\r
                     <StackPanel Orientation="Horizontal">\r
-                        <RadioButton GroupName="Interlace" Content="Deinterlace" IsChecked="{Binding IsDeinterlaceMode}" />\r
-                        <RadioButton GroupName="Interlace" Content="Decomb" Margin="10,0,0,0" IsChecked="{Binding IsDeinterlaceMode, Converter={StaticResource inverseBooleanConverter}}" />\r
+                        <RadioButton GroupName="Interlace" Content="{x:Static Properties:ResourcesUI.FiltersView_Deinterlace}" IsChecked="{Binding IsDeinterlaceMode}" />\r
+                        <RadioButton GroupName="Interlace" Content="{x:Static Properties:ResourcesUI.FiltersView_Decomb}" Margin="10,0,0,0" IsChecked="{Binding IsDeinterlaceMode, Converter={StaticResource inverseBooleanConverter}}" />\r
                     </StackPanel>\r
 \r
                     <ComboBox Width="120" ItemsSource="{Binding DecombOptions, Converter={StaticResource boolComboConverter}}" HorizontalAlignment="Left"\r
                 <TextBox Width="120" Grid.Row="1" Grid.Column="2" Text="{Binding CustomDeinterlace, UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="Top" HorizontalAlignment="Left"\r
                          Visibility="{Binding ShowDeinterlaceCustom, Converter={StaticResource boolToVisConverter}}" />\r
 \r
-                <TextBlock Text="Denoise:" Grid.Row="3" Grid.Column="0" Margin="0,0,0,10"/>\r
+                <TextBlock Text="{x:Static Properties:ResourcesUI.FiltersView_Denoise}" Grid.Row="3" Grid.Column="0" Margin="0,0,0,10"/>\r
                 <ComboBox Width="120" Grid.Row="3" ItemsSource="{Binding DenoiseOptions, Converter={StaticResource boolComboConverter}}" \r
                           SelectedItem="{Binding SelectedDenoise, Converter={StaticResource boolComboConverter}}" Grid.Column="1"\r
                           HorizontalAlignment="Left" VerticalAlignment="Center" Margin="0,0,0,10" />\r
 \r
                 <StackPanel Orientation="Horizontal" VerticalAlignment="Center" Grid.Row="3" Grid.Column="2" Margin="0,0,0,10" \r
                             Visibility="{Binding ShowDenoiseOptions, Converter={StaticResource boolToVisConverter}}">\r
-                    <TextBlock Text="Preset: " Margin="5,0,5,0" />\r
+                    <TextBlock Text="{x:Static Properties:ResourcesUI.FiltersView_Preset}" Margin="5,0,5,0" />\r
                     <ComboBox SelectedItem="{Binding SelectedDenoisePreset}" \r
                               MinWidth="100"  HorizontalAlignment="Center" VerticalAlignment="Center">\r
                         <ComboBox.ItemsSource>\r
                     </ComboBox>\r
 \r
                     <StackPanel Orientation="Horizontal" Visibility="{Binding ShowDenoiseTune, Converter={StaticResource boolToVisConverter}}">\r
-                        <TextBlock Text="Tune: " Margin="5,0,5,0" />\r
+                        <TextBlock Text="{x:Static Properties:ResourcesUI.FiltersView_Tune}" Margin="5,0,5,0" />\r
                         <ComboBox ItemsSource="{Binding DenoiseTunes}" SelectedItem="{Binding SelectedDenoiseTune}" MinWidth="100"\r
                           Visibility="{Binding ShowDenoiseTune, Converter={StaticResource boolToVisConverter}}" VerticalAlignment="Center" />\r
                     </StackPanel>\r
 \r
                     <StackPanel Orientation="Horizontal" Visibility="{Binding ShowDenoiseCustom, Converter={StaticResource boolToVisConverter}}">\r
-                        <TextBlock Text="Custom: " Margin="5,0,5,0" />\r
+                        <TextBlock Text="{x:Static Properties:ResourcesUI.FiltersView_Custom}" Margin="5,0,5,0" />\r
                         <TextBox Width="120" Margin="0" Text="{Binding CustomDenoise, UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="Center" />\r
                     </StackPanel>\r
 \r
                 </StackPanel>\r
 \r
-                <TextBlock Text="Deblock:" Grid.Row="4" Grid.Column="0" Margin="0,0,0,10"/>\r
+                <TextBlock Text="{x:Static Properties:ResourcesUI.FiltersView_Deblock}" Grid.Row="4" Grid.Column="0" Margin="0,0,0,10"/>\r
                 <Slider Width="120" Value="{Binding DeblockValue}" TickPlacement="BottomRight" Minimum="4" Maximum="15" Grid.Row="4" Grid.Column="1" Margin="0,0,0,10"\r
                         HorizontalAlignment="Left" />\r
                 <TextBlock Text="{Binding DeblockText}" Grid.Row="4" Grid.Column="2" Margin="0,0,0,10"/>\r
 \r
-                <CheckBox Content="Grayscale" IsChecked="{Binding Grayscale}" Grid.Row="5" Grid.Column="1" Margin="0,0,0,10"/>\r
+                <CheckBox Content="{x:Static Properties:ResourcesUI.FiltersView_Grayscale}" IsChecked="{Binding Grayscale}" Grid.Row="5" Grid.Column="1" Margin="0,0,0,10"/>\r
             </Grid>\r
 \r
         </StackPanel>\r
index 9285cba82d1aaad60aa348df78eb0bd78039ee09..62eeabb10a97ec125d1352255a5139e0437a34f4 100644 (file)
@@ -3,7 +3,8 @@
              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"\r
              xmlns:Converters="clr-namespace:HandBrakeWPF.Converters"\r
              xmlns:controls="clr-namespace:HandBrakeWPF.Controls"\r
-             xmlns:cal="http://www.caliburnproject.org">\r
+             xmlns:cal="http://www.caliburnproject.org"\r
+             xmlns:Properties="clr-namespace:HandBrakeWPF.Properties">\r
 \r
     <UserControl.Resources>\r
         <Converters:BooleanConverter x:Key="boolConverter" />\r
     </UserControl.Resources>\r
 \r
     <Border Background="Transparent">\r
-        <Border.ContextMenu>\r
-            <ContextMenu>\r
-                <MenuItem Header="Show Still Preview (Experimental)" cal:Message.Attach="[Event Click] = [Action PreviewImage]" Visibility="Visible" />\r
-            </ContextMenu>\r
-        </Border.ContextMenu  >\r
-\r
         <Grid VerticalAlignment="Stretch" HorizontalAlignment="Stretch">\r
 \r
             <Grid.ColumnDefinitions>\r
 \r
             <!-- Size Panel-->\r
             <StackPanel Name="SizePanel" Orientation="Vertical" VerticalAlignment="Top" Grid.Column="0" Grid.Row="0" Grid.RowSpan="1" >\r
-                <Label Content="Size" FontWeight="Bold" />\r
+                <Label Content="{x:Static Properties:ResourcesUI.PictureSettingsView_Size}" FontWeight="Bold" />\r
 \r
                 <!-- Row 1-->\r
                 <StackPanel Orientation="Horizontal" Margin="5,0,5,0">\r
-                    <Label Content="Source:" />\r
+                    <Label Content="{x:Static Properties:ResourcesUI.PictureSettingsView_Source}" />\r
                     <Label Content="{Binding SourceInfo}" Name="sourceResolution"/>\r
                 </StackPanel>\r
 \r
                 <!-- Row 2-->\r
                 <StackPanel Orientation="Horizontal" Margin="5,0,5,0">\r
-                    <Label Content="Width:" />\r
+                    <Label Content="{x:Static Properties:ResourcesUI.PictureSettingsView_Width}" />\r
                     <controls:NumberBox Number="{Binding Width, Mode=TwoWay}" UpdateBindingOnTextChange="True" IsEnabled="{Binding WidthControlEnabled}" \r
                                         Modulus="{Binding SelectedModulus, Mode=OneWay}"\r
                                              Minimum="0" Width="60"  />\r
-                    <Label Content="Height:" />\r
+                    <Label Content="{x:Static Properties:ResourcesUI.PictureSettingsView_Height}" />\r
                     <controls:NumberBox Number="{Binding Height, Mode=TwoWay}" IsEnabled="{Binding HeightControlEnabled}" UpdateBindingOnTextChange="True" \r
                                         Modulus="{Binding SelectedModulus, Mode=OneWay}" \r
                                              Minimum="0" Width="60"  />\r
-                    <CheckBox Content="Keep Aspect Ratio" IsChecked="{Binding MaintainAspectRatio}"\r
+                    <CheckBox Content="{x:Static Properties:ResourcesUI.PictureSettingsView_KeepAR}" IsChecked="{Binding MaintainAspectRatio}"\r
                           Visibility="{Binding ShowKeepAR, Converter={StaticResource boolToVisHiddenConverter}}" \r
                           VerticalAlignment="Center" Margin="5,0,0,0" />\r
                 </StackPanel>\r
@@ -71,8 +66,8 @@
                         <ColumnDefinition Width="Auto" />\r
                     </Grid.ColumnDefinitions>\r
 \r
-                    <Label Content="Anamorphic:" Grid.Row="0" Grid.Column="0" />\r
-                    <Label Content="Modulus:" Grid.Row="1" Grid.Column="0" \r
+                    <Label Content="{x:Static Properties:ResourcesUI.PictureSettingsView_Anamorphic}" Grid.Row="0" Grid.Column="0" />\r
+                    <Label Content="{x:Static Properties:ResourcesUI.PictureSettingsView_Modulus}" Grid.Row="1" Grid.Column="0" \r
                        Visibility="{Binding ShowModulus, Converter={StaticResource boolToVisConverter}}" />\r
 \r
                     <ComboBox Width="110" Grid.Row="0" ItemsSource="{Binding AnamorphicModes}" SelectedItem="{Binding SelectedAnamorphicMode}" Grid.Column="1" HorizontalAlignment="Left" Margin="0,0,0,5" />\r
@@ -94,9 +89,9 @@
                         <ColumnDefinition Width="Auto" />\r
                     </Grid.ColumnDefinitions>\r
 \r
-                    <Label Content="Display Width:" Grid.Row="0" Grid.Column="0" />\r
-                    <Label Content="PAR Width:" Grid.Row="1" Grid.Column="0" />\r
-                    <Label Content="PAR Height:" Grid.Row="2" Grid.Column="0" />\r
+                    <Label Content="{x:Static Properties:ResourcesUI.PictureSettingsView_DisplayWitdh}" Grid.Row="0" Grid.Column="0" />\r
+                    <Label Content="{x:Static Properties:ResourcesUI.PictureSettingsView_ParW}" Grid.Row="1" Grid.Column="0" />\r
+                    <Label Content="{x:Static Properties:ResourcesUI.PictureSettingsView_ParH}" Grid.Row="2" Grid.Column="0" />\r
 \r
                     <controls:NumberBox Width="60" Number="{Binding DisplayWidth, Mode=TwoWay}" Grid.Row="0" Grid.Column="1" HorizontalAlignment="Left" Margin="0,0,0,5" \r
                                     AllowEmpty="False" />\r
 \r
             <!-- Crop Panel -->\r
             <StackPanel Name="CropPanel" Margin="15,0,0,0" VerticalAlignment="Top" HorizontalAlignment="Stretch" Grid.Row="0" Grid.RowSpan="2" Grid.Column="1">\r
-                <Label Content="Cropping" FontWeight="Bold" />\r
-                <RadioButton Content="Automatic" IsChecked="{Binding IsCustomCrop, Converter={StaticResource boolConverter}, ConverterParameter=true}" Margin="10,0,0,0"/>\r
-                <RadioButton Content="Custom" IsChecked="{Binding IsCustomCrop}" Margin="10,5,0,0" />\r
+                <Label Content="{x:Static Properties:ResourcesUI.PictureSettingsView_Cropping}" FontWeight="Bold" />\r
+                <RadioButton Content="{x:Static Properties:ResourcesUI.PictureSettingsView_Automatic}" IsChecked="{Binding IsCustomCrop, Converter={StaticResource boolConverter}, ConverterParameter=true}" Margin="10,0,0,0"/>\r
+                <RadioButton Content="{x:Static Properties:ResourcesUI.PictureSettingsView_Custom}" IsChecked="{Binding IsCustomCrop}" Margin="10,5,0,0" />\r
 \r
                 <Grid Margin="0,10,0,0">\r
                     <Grid.RowDefinitions>\r
                         <ColumnDefinition Width="Auto" />\r
                     </Grid.ColumnDefinitions>\r
 \r
-                    <Label Content="Top" Grid.Row="0" Grid.Column="2" VerticalAlignment="Center" />\r
-                    <Label Content="Bottom" Grid.Row="4" Grid.Column="2" VerticalAlignment="Center" />\r
-                    <Label Content="Left" Grid.Row="2" Grid.Column="0" HorizontalAlignment="Center" />\r
-                    <Label Content="Right" Grid.Row="2" Grid.Column="4" HorizontalAlignment="Center" />\r
+                    <Label Content="{x:Static Properties:ResourcesUI.PictureSettingsView_Top}" Grid.Row="0" Grid.Column="2" VerticalAlignment="Center" />\r
+                    <Label Content="{x:Static Properties:ResourcesUI.PictureSettingsView_Bottom}" Grid.Row="4" Grid.Column="2" VerticalAlignment="Center" />\r
+                    <Label Content="{x:Static Properties:ResourcesUI.PictureSettingsView_Left}" Grid.Row="2" Grid.Column="0" HorizontalAlignment="Center" />\r
+                    <Label Content="{x:Static Properties:ResourcesUI.PictureSettingsView_Right}" Grid.Row="2" Grid.Column="4" HorizontalAlignment="Center" />\r
 \r
                     <controls:NumberBox Width="60" HorizontalAlignment="Left" Margin="0,0,0,5" IsEnabled="{Binding IsCustomCrop}" Grid.Row="1" Grid.Column="2"\r
                                     Minimum="0" Modulus="2" Number="{Binding CropTop, Mode=TwoWay}" UpdateBindingOnTextChange="True" ShowIncrementButtons="True" AllowEmpty="False" />\r
 \r
             <!-- Preview Panel -->\r
             <StackPanel Name="PreviewPanel" Margin="0,5,0,0" VerticalAlignment="Top" HorizontalAlignment="Stretch" Grid.Row="1"  Grid.Column="0">\r
-                <Label Content="Output" FontWeight="Bold" />\r
+                <Label Content="{x:Static Properties:ResourcesUI.PictureSettingsView_Output}" FontWeight="Bold" />\r
 \r
                 <Grid Margin="5,0,0,0">\r
                     <Grid.RowDefinitions>\r
index 2712d02640abfe8c0230d949a3eb765acf261df3..6e2fd834b78ea4fa332ab6b312c563d944446491 100644 (file)
         </Grid.RowDefinitions>\r
 \r
         <!--  Header  -->\r
-        <TextBlock Text="Add to Queue" FontSize="26" FontFamily="Segoe UI Light" FontWeight="Bold" Margin="10,10,10,10" Grid.Row="0" />\r
+        <TextBlock Text="{x:Static Properties:ResourcesUI.QueueSelectionView_Title}" FontSize="26" FontFamily="Segoe UI Light" FontWeight="Bold" Margin="10,10,10,10" Grid.Row="0" />\r
 \r
         <!-- Text -->\r
         <StackPanel Orientation="Vertical" Grid.Row="1" Margin="10,0,10,0">\r
-            <TextBlock Text="Choose titles: " />\r
+            <TextBlock Text="{x:Static Properties:ResourcesUI.QueueSelectionView_ChooseTitles}" />\r
         </StackPanel>\r
 \r
         <!-- Selection -->\r
             <Button Grid.Column="1"\r
                     Margin="0,5,10,10"\r
                     cal:Message.Attach="[Event Click] = [Action Cancel]"\r
-                    Content="Cancel"\r
+                    Content="{x:Static Properties:ResourcesUI.Generic_Cancel}"\r
                     IsCancel="True"\r
                     Padding="8,2" />\r
             <Button Grid.Column="2"\r
                     Margin="0,5,10,10"\r
                     cal:Message.Attach="[Event Click] = [Action Add]"\r
-                    Content="Add"\r
+                    Content="{x:Static Properties:ResourcesUI.Generic_Add}"\r
                     IsDefault="True"\r
                     Padding="8,2" />\r
         </Grid>\r
index b5efe838cf6374a7538f5e440cb8e29e8c21b685..9a7460015eb99e437a25a10457957a2872847318 100644 (file)
@@ -13,6 +13,7 @@
         xmlns:video="clr-namespace:HandBrakeWPF.Converters.Video"\r
         xmlns:commands="clr-namespace:HandBrakeWPF.Commands"\r
         xmlns:helpers="clr-namespace:HandBrakeWPF.Helpers"\r
+        xmlns:Properties="clr-namespace:HandBrakeWPF.Properties"\r
         Title="{Binding Title}"\r
         Width="700"\r
         Height="500"\r
@@ -76,7 +77,7 @@
                                Source="Images/Play.png" />\r
                         <Label Margin="8,0,0,0"\r
                                VerticalAlignment="Center"\r
-                               Content="Start" />\r
+                               Content="{x:Static Properties:ResourcesUI.QueueView_Start}" />\r
                     </StackPanel>\r
                 </Button>\r
 \r
@@ -91,7 +92,7 @@
                                Source="Images/Pause.png" />\r
                         <Label Margin="8,0,0,0"\r
                                VerticalAlignment="Center"\r
-                               Content="Pause" />\r
+                               Content="{x:Static Properties:ResourcesUI.QueueView_Pause}" />\r
                     </StackPanel>\r
                 </Button>\r
 \r
                                 <StackPanel Height="32" Orientation="Horizontal">\r
                                     <TextBlock VerticalAlignment="Center"\r
                                            FontWeight="Bold"\r
-                                           Text="When Done: " />\r
+                                           Text="{x:Static Properties:ResourcesUI.QueueView_WhenDone}" />\r
                                     <Label Margin="8,0,0,0"\r
                                        VerticalAlignment="Center"\r
                                        Content="{Binding WhenDoneAction}" />\r
 \r
                             <MenuItem x:Name="doNothing"\r
                                   cal:Message.Attach="[Event Click] = [Action WhenDone(doNothing.Header)]"\r
-                                  Header="Do nothing"\r
+                                  Header="{x:Static Properties:ResourcesUI.QueueView_DoNothing}"\r
                                   IsCheckable="True"\r
                                   AttachedProperties:MenuItemExtensions.GroupName="whenDone" />\r
                             <MenuItem x:Name="shutdown"\r
                                   cal:Message.Attach="[Event Click] = [Action WhenDone(shutdown.Header)]"\r
-                                  Header="Shutdown"\r
+                                  Header="{x:Static Properties:ResourcesUI.QueueView_Shutdown}"\r
                                   IsCheckable="True"\r
                                   AttachedProperties:MenuItemExtensions.GroupName="whenDone" />\r
                             <MenuItem x:Name="suspend"\r
                                   cal:Message.Attach="[Event Click] = [Action WhenDone(suspend.Header)]"\r
-                                  Header="Suspend"\r
+                                  Header="{x:Static Properties:ResourcesUI.QueueView_Suspend}"\r
                                   IsCheckable="True"\r
                                   AttachedProperties:MenuItemExtensions.GroupName="whenDone" />\r
                             <MenuItem x:Name="hibernate"\r
                                   cal:Message.Attach="[Event Click] = [Action WhenDone(hibernate.Header)]"\r
-                                  Header="Hibernate"\r
+                                  Header="{x:Static Properties:ResourcesUI.QueueView_Hibernate}"\r
                                   IsCheckable="True"\r
                                   AttachedProperties:MenuItemExtensions.GroupName="whenDone" />\r
                             <MenuItem x:Name="lock"\r
                                   cal:Message.Attach="[Event Click] = [Action WhenDone(lock.Header)]"\r
-                                  Header="Lock System"\r
+                                  Header="{x:Static Properties:ResourcesUI.QueueView_LockSystem}"\r
                                   IsCheckable="True"\r
                                   AttachedProperties:MenuItemExtensions.GroupName="whenDone" />\r
                             <MenuItem x:Name="logoff"\r
                                   cal:Message.Attach="[Event Click] = [Action WhenDone(logoff.Header)]"\r
-                                  Header="Log off"\r
+                                  Header="{x:Static Properties:ResourcesUI.QueueView_Logoff}"\r
                                   IsCheckable="True"\r
                                   AttachedProperties:MenuItemExtensions.GroupName="whenDone" />\r
                             <MenuItem x:Name="quit"\r
                                   cal:Message.Attach="[Event Click] = [Action WhenDone(quit.Header)]"\r
-                                  Header="Quit HandBrake"\r
+                                  Header="{x:Static Properties:ResourcesUI.QueueView_QuitHandBrake}"\r
                                   IsCheckable="True"\r
                                   AttachedProperties:MenuItemExtensions.GroupName="whenDone" />\r
                         </MenuItem>\r
                                 <StackPanel Height="32" Orientation="Horizontal">\r
                                     <Image Source="Images\Advanced.png" Width="20" Height="20" VerticalAlignment="Center" />\r
                                     <TextBlock VerticalAlignment="Center"\r
-                                           Text="Options " Margin="5,0,0,0" />\r
+                                           Text="{x:Static Properties:ResourcesUI.QueueView_Options}" Margin="5,0,0,0" />\r
                                     <Path Height="5"\r
                                       Margin="2,2,2,0"\r
                                       Data="M 0 0 L 4 4 L 8 0 Z"\r
                                 </StackPanel>\r
                             </MenuItem.Header>\r
 \r
-                            <MenuItem cal:Message.Attach="[Event Click] = [Action ClearCompleted]" Header="Clear Completed" />\r
-                            <MenuItem cal:Message.Attach="[Event Click] = [Action Clear]" Header="Clear Queue" />\r
+                            <MenuItem cal:Message.Attach="[Event Click] = [Action ClearCompleted]" Header="{x:Static Properties:ResourcesUI.QueueView_ClearCompleted}" />\r
+                            <MenuItem cal:Message.Attach="[Event Click] = [Action Clear]" Header="{x:Static Properties:ResourcesUI.QueueView_ClearQueue}" />\r
                             <Separator />\r
-                            <MenuItem cal:Message.Attach="[Event Click] = [Action Import]" Header="Import Queue" />\r
-                            <MenuItem cal:Message.Attach="[Event Click] = [Action Export]" Header="Export Queue" />\r
+                            <MenuItem cal:Message.Attach="[Event Click] = [Action Import]" Header="{x:Static Properties:ResourcesUI.QueueView_Import}" />\r
+                            <MenuItem cal:Message.Attach="[Event Click] = [Action Export]" Header="{x:Static Properties:ResourcesUI.QueueView_Export}" />\r
 \r
                         </MenuItem>\r
                     </Menu>\r
 \r
             <ListBox.ContextMenu>\r
                 <ContextMenu>\r
-                    <MenuItem cal:Message.Attach="[Event Click] = [Action ClearCompleted]" Header="Clear Completed" />\r
-                    <MenuItem cal:Message.Attach="[Event Click] = [Action Clear]" Header="Clear All" />\r
-                    <MenuItem cal:Message.Attach="[Event Click] = [Action RemoveSelectedJobs]" Header="Clear Selected" />                 \r
+                    <MenuItem cal:Message.Attach="[Event Click] = [Action ClearCompleted]" Header="{x:Static Properties:ResourcesUI.QueueView_ClearCompleted}" />\r
+                    <MenuItem cal:Message.Attach="[Event Click] = [Action Clear]" Header="{x:Static Properties:ResourcesUI.QueueView_ClearAll}" />\r
+                    <MenuItem cal:Message.Attach="[Event Click] = [Action RemoveSelectedJobs]" Header="{x:Static Properties:ResourcesUI.QueueView_ClearSelected}" />                 \r
                     <Separator />\r
-                    <MenuItem cal:Message.Attach="[Event Click] = [Action Import]" Header="Import Queue" />\r
-                    <MenuItem cal:Message.Attach="[Event Click] = [Action Export]" Header="Export Queue" />\r
+                    <MenuItem cal:Message.Attach="[Event Click] = [Action Import]" Header="{x:Static Properties:ResourcesUI.QueueView_Import}" />\r
+                    <MenuItem cal:Message.Attach="[Event Click] = [Action Export]" Header="{x:Static Properties:ResourcesUI.QueueView_Export}" />\r
                 </ContextMenu>\r
             </ListBox.ContextMenu>\r
 \r
                                     <ColumnDefinition Width="*" />\r
                                 </Grid.ColumnDefinitions>\r
 \r
-                                <TextBlock FontWeight="Bold" Text="Source:" VerticalAlignment="Top" Grid.Row="0" Grid.Column="0" />\r
+                                <TextBlock FontWeight="Bold" Text="{x:Static Properties:ResourcesUI.QueueView_Source}" VerticalAlignment="Top" Grid.Row="0" Grid.Column="0" />\r
                                 <TextBlock Text="{Binding Task.Source}" TextWrapping="Wrap" Grid.Row="0" Grid.Column="1" />\r
 \r
-                                <TextBlock FontWeight="Bold" Text="Destination:" VerticalAlignment="Top" Grid.Row="1" Grid.Column="0" />\r
+                                <TextBlock FontWeight="Bold" Text="{x:Static Properties:ResourcesUI.QueueView_Destination}" VerticalAlignment="Top" Grid.Row="1" Grid.Column="0" />\r
                                 <TextBlock Text="{Binding Task.Destination}" TextWrapping="Wrap" Grid.Row="1" Grid.Column="1" />\r
 \r
-                                <TextBlock FontWeight="Bold" Text="Picture Settings:" VerticalAlignment="Top" Grid.Row="2" Grid.Column="0" />\r
+                                <TextBlock FontWeight="Bold" Text="{x:Static Properties:ResourcesUI.QueueView_PictureSettings}" VerticalAlignment="Top" Grid.Row="2" Grid.Column="0" />\r
                                 <TextBlock Text="{Binding Task.PictureSettingsDesc}" TextWrapping="Wrap" Grid.Row="2" Grid.Column="1"  />\r
-                                \r
-                                <TextBlock FontWeight="Bold" Text="Video:" Grid.Row="3" Grid.Column="0" />\r
+\r
+                                <TextBlock FontWeight="Bold" Text="{x:Static Properties:ResourcesUI.QueueView_Video}" Grid.Row="3" Grid.Column="0" />\r
                                 <TextBlock Text="{Binding Task, Converter={StaticResource videoOptionsTooltipConverter}}" Grid.Row="3" Grid.Column="1" TextWrapping="Wrap"  />\r
 \r
-                                <TextBlock FontWeight="Bold" Text="Audio: "  Grid.Row="4" Grid.Column="0"/>\r
+                                <TextBlock FontWeight="Bold" Text="{x:Static Properties:ResourcesUI.QueueView_Audio}"  Grid.Row="4" Grid.Column="0"/>\r
                                 <TextBlock Text="{Binding Task.AudioTracks, Converter={StaticResource audioTrackDisplayConverter}}"\r
                                            Grid.Row="4" Grid.Column="1"/>\r
 \r
-                                <TextBlock FontWeight="Bold" VerticalAlignment="Top" Text="Subtitles: " Grid.Row="5" Grid.Column="0"  />\r
+                                <TextBlock FontWeight="Bold" VerticalAlignment="Top" Text="{x:Static Properties:ResourcesUI.QueueView_Subtitles}" Grid.Row="5" Grid.Column="0"  />\r
                                 <TextBlock Text="{Binding Task.SubtitleTracks, Converter={StaticResource subtitleTrackDisplayConverter}}"\r
                                            Grid.Row="5" Grid.Column="1" />\r
 \r
-                                <TextBlock FontWeight="Bold" VerticalAlignment="Top" Grid.Row="6" Grid.Column="0"  Text="Advanced: " />\r
+                                <TextBlock FontWeight="Bold" VerticalAlignment="Top" Grid.Row="6" Grid.Column="0"  Text="{x:Static Properties:ResourcesUI.QueueView_Advanced}" />\r
                                 <TextBlock Text="{Binding Task, Converter={StaticResource encoderOptionsTooltipConverter}}" Grid.Row="6" Grid.Column="1" TextWrapping="Wrap"  />\r
                             </Grid>\r
 \r
 \r
                             <!--  TODO Support Drive Label Name  -->\r
                             <StackPanel Orientation="Horizontal">\r
-                                <TextBlock FontWeight="Bold" Text="Source: " />\r
+                                <TextBlock FontWeight="Bold" Text="{x:Static Properties:ResourcesUI.QueueView_Source}" />\r
                                 <TextBlock Text="{Binding Task.Source, Converter={StaticResource filePathToFilenameConverter}}" />\r
                             </StackPanel>\r
 \r
                             <StackPanel Orientation="Horizontal">\r
-                                <TextBlock FontWeight="Bold" Text="Destination: " />\r
+                                <TextBlock FontWeight="Bold" Text="{x:Static Properties:ResourcesUI.QueueView_Destination}" />\r
                                 <TextBlock Text="{Binding Task.Destination, Converter={StaticResource filePathToFilenameConverter}}" />\r
                             </StackPanel>\r
                         </StackPanel>\r
                                         <Image Width="20"  \r
                                                Height="20" VerticalAlignment="Center"\r
                                                Source="Images/Refresh.ico"\r
-                                               ToolTip="Reset job status to Waiting.">\r
+                                               ToolTip="{x:Static Properties:ResourcesTooltips.QueueView_ResetJobStatus}">\r
                                         </Image>\r
                                     </ControlTemplate>\r
                                 </Button.Template>\r
                                         <Image Width="20" \r
                                                Height="20" VerticalAlignment="Center"\r
                                                Source="Images/Options24.png"\r
-                                               ToolTip="Send the job back to the main window for editing.">\r
+                                               ToolTip="{x:Static Properties:ResourcesTooltips.QueueView_SendJobBack}">\r
                                         </Image>\r
                                     </ControlTemplate>\r
                                 </Button.Template>\r
                                         <Image Width="20" \r
                                                Height="20" VerticalAlignment="Center" \r
                                                Source="Images/delete.png"\r
-                                               ToolTip="Delete the job from the queue.">\r
+                                               ToolTip="{x:Static Properties:ResourcesTooltips.QueueView_DeleteJob}">\r
                                         </Image>\r
                                     </ControlTemplate>\r
                                 </Button.Template>\r
index 64783a0877c4c65b2a8da79448c95b3a56b4c934..517ae13f962f0137354a87668795a01abaf37ce4 100644 (file)
@@ -5,6 +5,7 @@
              xmlns:d="http://schemas.microsoft.com/expression/blend/2008"\r
              xmlns:cal="http://www.caliburnproject.org"\r
              xmlns:converters="clr-namespace:HandBrakeWPF.Converters"\r
+             xmlns:Properties="clr-namespace:HandBrakeWPF.Properties"\r
              mc:Ignorable="d" SizeToContent="WidthAndHeight"\r
              TextOptions.TextFormattingMode="Display"\r
              WindowStartupLocation="CenterScreen"\r
@@ -31,7 +32,6 @@
                     <RowDefinition Height="Auto" />\r
                     <RowDefinition Height="Auto" />\r
                 </Grid.RowDefinitions>\r
-                <Grid.ColumnDefinitions></Grid.ColumnDefinitions>\r
                 <Slider Maximum="{Binding TotalPreviews}" Minimum="0" \r
                 Value="{Binding SelectedPreviewImage}"\r
                 VerticalAlignment="Center"\r
                 />\r
 \r
                 <StackPanel Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Left">\r
-                    <Button Content="Live Preview" Padding="8,2" cal:Message.Attach="[Event Click] = [Action Play]" />\r
-                    <TextBlock Margin="10,0,5,0" VerticalAlignment="Center" Foreground="White" Text="Duration:" />\r
+                    <Button Content="{x:Static Properties:ResourcesUI.StaticPreviewView_LivePreview}" Padding="8,2" cal:Message.Attach="[Event Click] = [Action Play]" />\r
+                    <TextBlock Margin="10,0,5,0" VerticalAlignment="Center" Foreground="White" Text="{x:Static Properties:ResourcesUI.StaticPreviewView_Duration}" />\r
                     <ComboBox Width="60"\r
                       ItemsSource="{Binding AvailableDurations}"\r
                       SelectedItem="{Binding Duration}" />\r
 \r
-                    <CheckBox VerticalAlignment="Center" Content="Use system default player" Foreground="White" Margin="10,0,0,0" IsChecked="{Binding UseSystemDefaultPlayer}" />\r
+                    <CheckBox VerticalAlignment="Center" Content="{x:Static Properties:ResourcesUI.StaticPreviewView_UseSystemDefault}" Foreground="White" Margin="10,0,0,0" IsChecked="{Binding UseSystemDefaultPlayer}" />\r
                 </StackPanel>\r
 \r
                 <StackPanel Orientation="Horizontal" Grid.Row="2" Margin="0,5,0,0">\r
index 1ef7f70c630398a997bcd694a9e25542d44269c0..cc574227baa0a222db3b5b1c7fad59b14d29b76d 100644 (file)
                 <ColumnDefinition Width="Auto" />\r
                 <ColumnDefinition Width="Auto" />\r
             </Grid.ColumnDefinitions>\r
-            \r
-            <splitButton:SplitMenuButton Content="Add Track" cal:Message.Attach="[Event Click] = [Action Add]"  FontWeight="Bold" Margin="0,0,10,0" Grid.Column="0">\r
+\r
+            <splitButton:SplitMenuButton Content="{x:Static Properties:ResourcesUI.Shared_AddTrack}" cal:Message.Attach="[Event Click] = [Action Add]"  FontWeight="Bold" Margin="0,0,10,0" Grid.Column="0">\r
                 <splitButton:SplitMenuButton.ItemSource>\r
-                    <MenuItem Header="Add New Track" cal:Message.Attach="[Event Click] = [Action Add]" />\r
+                    <MenuItem Header="{x:Static Properties:ResourcesUI.Shared_AddNewTrack}" cal:Message.Attach="[Event Click] = [Action Add]" />\r
                     <MenuItem Header="Add All Remaining Tracks" cal:Message.Attach="[Event Click] = [Action AddAllRemaining]" />\r
                     <MenuItem Header="Add All Remaining Closed Captions" cal:Message.Attach="[Event Click] = [Action AddAllClosedCaptions]" />\r
                     <MenuItem Header="Add All Remaining Selected Languages" cal:Message.Attach="[Event Click] = [Action AddAllRemainingForSelectedLanguages]" />\r
 \r
             <Button MinWidth="75" Grid.Column="1"\r
                     cal:Message.Attach="[Event Click] = [Action Import]"\r
-                    Content="Import SRT"\r
+                    Content="{x:Static Properties:ResourcesUI.SubtitlesView_ImportSRT}"\r
                     Margin="0,0,10,0"/>\r
             <Button MinWidth="65" Grid.Column="2"\r
                     Margin="0,0,10,0"\r
                     cal:Message.Attach="[Event Click] = [Action Clear]"\r
-                    Content="Clear" />\r
+                    Content="{x:Static Properties:ResourcesUI.Generic_Clear}" />\r
 \r
             <Button MinWidth="65" Grid.Column="4"\r
                     Margin="0,0,10,0"\r
@@ -94,7 +94,7 @@
 \r
             <Button MinWidth="65" Grid.Column="5"\r
                     cal:Message.Attach="[Event Click] = [Action ReloadDefaults]"\r
-                    Content="Reload Defaults" />\r
+                    Content="{x:Static Properties:ResourcesUI.Shared_ReloadDefaults}" />\r
         </Grid>\r
 \r
 \r
 \r
             <ListBox.ContextMenu>\r
                 <ContextMenu>\r
-                    <MenuItem Header="Add New Track" cal:Message.Attach="[Event Click] = [Action Add]" />\r
-                    <MenuItem Header="Add All Remaining Tracks" cal:Message.Attach="[Event Click] = [Action AddAllRemaining]" />\r
-                    <MenuItem Header="Add All Remaining Closed Captions" cal:Message.Attach="[Event Click] = [Action AddAllClosedCaptions]" />\r
-                    <MenuItem Header="Add All Remaining Selected Languages" cal:Message.Attach="[Event Click] = [Action AddAllRemainingForSelectedLanguages]" />    \r
+                    <MenuItem Header="{x:Static Properties:ResourcesUI.Shared_AddNewTrack}" cal:Message.Attach="[Event Click] = [Action Add]" />\r
+                    <MenuItem Header="{x:Static Properties:ResourcesUI.Shared_AddAllRemaining}" cal:Message.Attach="[Event Click] = [Action AddAllRemaining]" />\r
+                    <MenuItem Header="{x:Static Properties:ResourcesUI.SubtitleView_AddAllCC}" cal:Message.Attach="[Event Click] = [Action AddAllClosedCaptions]" />\r
+                    <MenuItem Header="{x:Static Properties:ResourcesUI.Shared_AddAllForSelected}" cal:Message.Attach="[Event Click] = [Action AddAllRemainingForSelectedLanguages]" />    \r
                     <Separator />\r
-                    <MenuItem Header="Clear All" cal:Message.Attach="[Event Click] = [Action Clear]" />\r
+                    <MenuItem Header="{x:Static Properties:ResourcesUI.Generic_Clear}" cal:Message.Attach="[Event Click] = [Action Clear]" />\r
                     <Separator />\r
-                    <MenuItem Header="Configure Default Behaviours" cal:Message.Attach="[Event Click] = [Action SetDefaultBehaviour]" />\r
+                    <MenuItem Header="{x:Static Properties:ResourcesUI.Shared_ConfigureDefaultBehaviours}" cal:Message.Attach="[Event Click] = [Action SetDefaultBehaviour]" />\r
                 </ContextMenu>\r
             </ListBox.ContextMenu>\r
 \r
                 </Grid.ColumnDefinitions>\r
 \r
                 <!-- Subtitles -->\r
-                <TextBlock Text="Track Selection Behaviour:"  Grid.Column="2" Grid.Row="0" Margin="0,0,5,0" HorizontalAlignment="Left" VerticalAlignment="Center" />\r
+                <TextBlock Text="{x:Static Properties:ResourcesUI.SubtitlesView_TrackSelectionBehaviour}"  Grid.Column="2" Grid.Row="0" Margin="0,0,5,0" HorizontalAlignment="Left" VerticalAlignment="Center" />\r
                 <ComboBox Name="autoSubtitleMode"  Grid.Column="3" Grid.Row="0" HorizontalAlignment="Left"\r
                           ItemsSource="{Binding SubtitleBehaviourModeList, Converter={StaticResource subtitleBehaviourConverter}}" \r
                           SelectedItem="{Binding SubtitleBehaviours.SelectedBehaviour, Converter={StaticResource subtitleBehaviourConverter}}" Width="210" Margin="0,0,5,0" />\r
-                <TextBlock Text="Burn-In Behaviour:"  Grid.Column="2" Grid.Row="1" Margin="0,5,5,0" HorizontalAlignment="Left" VerticalAlignment="Center" />\r
+                <TextBlock Text="{x:Static Properties:ResourcesUI.SubtitlesView_BurnInBehaviour}"  Grid.Column="2" Grid.Row="1" Margin="0,5,5,0" HorizontalAlignment="Left" VerticalAlignment="Center" />\r
                 <ComboBox Name="burninBehaviour"  Grid.Column="3" Grid.Row="1" HorizontalAlignment="Left"\r
                           ItemsSource="{Binding SubtitleBurnInBehaviourModeList, Converter={StaticResource subtitleBurnInBehaviourConverter}}" \r
                           SelectedItem="{Binding SubtitleBehaviours.SelectedBurnInBehaviour, Converter={StaticResource subtitleBurnInBehaviourConverter}}" Width="210" Margin="0,5,5,0">\r
                     <ComboBox.ToolTip>\r
                         <TextBlock Style="{StaticResource LongToolTip}" Text="{x:Static Properties:Resources.Subtitles_BurnInBehaviourModes}" />\r
                     </ComboBox.ToolTip>\r
-                </ComboBox> \r
-                <CheckBox Content="Add Closed Captions when available"  Grid.Column="3" Grid.Row="2" Margin="0,5,0,0" \r
+                </ComboBox>\r
+                <CheckBox Content="{x:Static Properties:ResourcesUI.SubtitlesView_AddCC}"  Grid.Column="3" Grid.Row="2" Margin="0,5,0,0" \r
                                   HorizontalAlignment="Left" IsChecked="{Binding SubtitleBehaviours.AddClosedCaptions}"/>\r
-                <CheckBox Content="Add 'Foreign Audio Scan'"  Grid.Column="3" Grid.Row="3" Margin="0,5,0,0" \r
+                <CheckBox Content="{x:Static Properties:ResourcesUI.SubtitlesView_AddForeignAudioSearch}"  Grid.Column="3" Grid.Row="3" Margin="0,5,0,0" \r
                                   HorizontalAlignment="Left" IsChecked="{Binding SubtitleBehaviours.AddForeignAudioScanTrack}"/>\r
             </Grid>\r
 \r
-            <TextBlock Text="Choose Languages:" Margin="5,15,0,0"/>\r
+            <TextBlock Text="{x:Static Properties:ResourcesUI.Shared_ChooseLanguages}" Margin="5,15,0,0"/>\r
 \r
             <Grid Margin="20,5,0,0">\r
                 <Grid.ColumnDefinitions>\r
                         </Grid.ColumnDefinitions>\r
 \r
                         <StackPanel Orientation="Vertical" Grid.Column="0">\r
-                            <TextBlock Text="Available Languages:" Margin="0,0,0,5"/>\r
+                            <TextBlock Text="{x:Static Properties:ResourcesUI.Shared_AvailableLanguages}" Margin="0,0,0,5"/>\r
                             <ListBox Name="availableLanguages" ItemsSource="{Binding AvailableLanguages}" \r
                                      helpers:ListBoxHelper.SelectedItems="{Binding SelectedAvailableToMove}" \r
                                              SelectionMode="Extended" Width="140" Height="120" />\r
 \r
                         <DockPanel Grid.Column="1" Margin="10,0,10,0">\r
                             <StackPanel Orientation="Vertical" VerticalAlignment="Center">\r
-                                <Button Content="Move Right"  VerticalAlignment="Center" Margin="0,0,0,5" cal:Message.Attach="[Event Click] = [Action LanguageMoveRight]" MaxWidth="90" />\r
-                                <Button Content="Move Left"  VerticalAlignment="Center" Margin="0,0,0,5" cal:Message.Attach="[Event Click] = [Action LanguageMoveLeft]" MaxWidth="90" />\r
-                                <Button Content="Clear" VerticalAlignment="Center" Margin="0,0,0,5" cal:Message.Attach="[Event Click] = [Action LanguageClearAll]" Width="80"/>\r
+                                <Button Content="{x:Static Properties:ResourcesUI.Generic_MoveRight}"  VerticalAlignment="Center" Margin="0,0,0,5" cal:Message.Attach="[Event Click] = [Action LanguageMoveRight]" MaxWidth="90" />\r
+                                <Button Content="{x:Static Properties:ResourcesUI.Generic_MoveLeft}"  VerticalAlignment="Center" Margin="0,0,0,5" cal:Message.Attach="[Event Click] = [Action LanguageMoveLeft]" MaxWidth="90" />\r
+                                <Button Content="{x:Static Properties:ResourcesUI.Generic_Clear}" VerticalAlignment="Center" Margin="0,0,0,5" cal:Message.Attach="[Event Click] = [Action LanguageClearAll]" Width="80"/>\r
                             </StackPanel>\r
                         </DockPanel>\r
 \r
                         <StackPanel Orientation="Vertical" Grid.Column="2">\r
-                            <TextBlock Text="Chosen Languages:"  Margin="0,0,0,5"/>\r
+                            <TextBlock Text="{x:Static Properties:ResourcesUI.Shared_ChosenLangages}"  Margin="0,0,0,5"/>\r
                             <ListBox Name="selectedLangauges" ItemsSource="{Binding SubtitleBehaviours.SelectedLangauges}" \r
                                      helpers:ListBoxHelper.SelectedItems="{Binding SelectedLangaugesToMove}" \r
                                              SelectionMode="Extended" Width="140" Height="120"\r
index db7f0e6193592d9285e117d5d139aa3cdf85df28..878d8a17e541f1ee9b4a4b6ce0f5ba9db96eed91 100644 (file)
 \r
             <StackPanel Orientation="Vertical" Grid.Column="0" >\r
 \r
-                <TextBlock Text="Video" FontWeight="Bold" Margin="0,0,0,10"/>\r
+                <TextBlock Text="{x:Static Properties:ResourcesUI.VideoView_Video}" FontWeight="Bold" Margin="0,0,0,10"/>\r
 \r
                 <StackPanel Orientation="Horizontal" Margin="0,0,0,10" >\r
-                    <TextBlock Text="Video Codec:" Width="100" />\r
+                    <TextBlock Text="{x:Static Properties:ResourcesUI.VideoView_Codec}" Width="100" />\r
 \r
                     <ComboBox Width="120">\r
                         <ComboBox.SelectedItem>\r
                 </StackPanel>\r
 \r
                 <StackPanel Orientation="Horizontal">\r
-                    <TextBlock Text="Framerate (FPS):" VerticalAlignment="Top" Margin="0,5,0,0" Width="100"/>\r
+                    <TextBlock Text="{x:Static Properties:ResourcesUI.VideoView_Framerate}" VerticalAlignment="Top" Margin="0,5,0,0" Width="100"/>\r
                     <StackPanel Orientation="Vertical">\r
                         <ComboBox Width="120" ItemsSource="{Binding Framerates}" SelectedItem="{Binding SelectedFramerate}"  \r
                                   Visibility="{Binding DisplayNonQSVControls, Converter={StaticResource boolToVisConverter}, ConverterParameter=false}" />\r
-                        <TextBlock Text="Same as source"  VerticalAlignment="Center" Margin="0,5,0,0"\r
+                        <TextBlock Text="{x:Static Properties:ResourcesUI.VideoView_SameAsSource}"  VerticalAlignment="Center" Margin="0,5,0,0"\r
                                    Visibility="{Binding DisplayNonQSVControls, Converter={StaticResource boolToVisConverter}, ConverterParameter=true}"/>\r
 \r
                         <StackPanel Orientation="Vertical" Visibility="{Binding DisplayNonQSVControls, Converter={StaticResource boolToVisConverter}}">\r
-                            <RadioButton Content="Constant Framerate" IsChecked="{Binding IsConstantFramerate}" Margin="0,5,0,0" />\r
-                            <RadioButton Content="Variable Framerate" IsChecked="{Binding IsVariableFramerate}" Margin="0,5,0,0" \r
+                            <RadioButton Content="{x:Static Properties:ResourcesUI.VideoView_ConstantFramerate}" IsChecked="{Binding IsConstantFramerate}" Margin="0,5,0,0" />\r
+                            <RadioButton Content="{x:Static Properties:ResourcesUI.VideoView_VariableFramerate}" IsChecked="{Binding IsVariableFramerate}" Margin="0,5,0,0" \r
                                      Visibility="{Binding ShowPeakFramerate, Converter={StaticResource boolToVisConverter}, ConverterParameter=true}" />\r
-                            <RadioButton Content="Peak Framerate" IsChecked="{Binding IsPeakFramerate}" Margin="0,5,0,0"\r
+                            <RadioButton Content="{x:Static Properties:ResourcesUI.VideoView_PeakFramerate}" IsChecked="{Binding IsPeakFramerate}" Margin="0,5,0,0"\r
                                      Visibility="{Binding ShowPeakFramerate, Converter={StaticResource boolToVisConverter}, ConverterParameter=false}" />\r
                         </StackPanel>\r
                     </StackPanel>\r
@@ -82,7 +82,7 @@
                 <TextBlock Text="Quality" FontWeight="Bold" Margin="0,0,0,10"/>\r
 \r
                 <StackPanel Orientation="Horizontal" Margin="0,0,0,10" >\r
-                    <RadioButton Content="Constant Quality:" IsChecked="{Binding IsConstantQuantity}"  Margin="0,0,10,0" />\r
+                    <RadioButton Content="{x:Static Properties:ResourcesUI.VideoView_ConstantQuality}" IsChecked="{Binding IsConstantQuantity}"  Margin="0,0,10,0" />\r
                     <TextBlock Text="{Binding DisplayRF}" MinWidth="30" />\r
                     <TextBlock Text="{Binding Rfqp}" FontWeight="Bold" Margin="5,0,0,0" />\r
 \r
                 </Grid>\r
 \r
                 <StackPanel Orientation="Horizontal" Margin="0,0,0,6">\r
-                    <RadioButton Content="Avg Bitrate (kbps):" IsChecked="{Binding IsConstantQuantity, Converter={StaticResource boolConverter}, ConverterParameter=true}" Margin="0,0,10,0"/>\r
+                    <RadioButton Content="{x:Static Properties:ResourcesUI.VideoView_AverageBitrate}" IsChecked="{Binding IsConstantQuantity, Converter={StaticResource boolConverter}, ConverterParameter=true}" Margin="0,0,10,0"/>\r
                     <TextBox Width="75" Text="{Binding Task.VideoBitrate, UpdateSourceTrigger=PropertyChanged}" IsEnabled="{Binding IsConstantQuantity, Converter={StaticResource boolConverter}, ConverterParameter=true}" />\r
                 </StackPanel>\r
 \r
                 <StackPanel Orientation="Horizontal" Margin="30,0,0,0" Visibility="{Binding DisplayNonQSVControls, Converter={StaticResource boolToVisConverter}}">\r
-                    <CheckBox Content="2-Pass Encoding" IsEnabled="{Binding IsConstantQuantity, Converter={StaticResource boolConverter}, ConverterParameter=true}"\r
+                    <CheckBox Content="{x:Static Properties:ResourcesUI.VideoView_2Pass}" IsEnabled="{Binding IsConstantQuantity, Converter={StaticResource boolConverter}, ConverterParameter=true}"\r
                               IsChecked="{Binding TwoPass}" Margin="0,0,10,0" />\r
-                    <CheckBox Content="Turbo first pass" IsEnabled="{Binding IsConstantQuantity, Converter={StaticResource boolConverter}, ConverterParameter=true}"\r
+                    <CheckBox Content="{x:Static Properties:ResourcesUI.VideoView_TurboFirstPass}" IsEnabled="{Binding IsConstantQuantity, Converter={StaticResource boolConverter}, ConverterParameter=true}"\r
                               IsChecked="{Binding TurboFirstPass}" Visibility="{Binding DisplayTurboFirstPass, Converter={StaticResource boolToVisConverter}}" />\r
                 </StackPanel>\r
 \r
                     <RowDefinition Height="*" />\r
                 </Grid.RowDefinitions>\r
 \r
-                <TextBlock Text="Optimise Video:" Margin="0,0,0,0" Grid.Row="0"  Grid.ColumnSpan="2" FontWeight="Bold" VerticalAlignment="Center" />\r
+                <TextBlock Text="{x:Static Properties:ResourcesUI.VideoView_OptimiseVideo}" Margin="0,0,0,0" Grid.Row="0"  Grid.ColumnSpan="2" FontWeight="Bold" VerticalAlignment="Center" />\r
 \r
-                <CheckBox Content="Use Advanced Tab instead" Grid.Row="1" IsChecked="{Binding UseAdvancedTab}" Margin="0,5,0,0"\r
+                <CheckBox Content="{x:Static Properties:ResourcesUI.VideoView_UseAdvancedTab}" Grid.Row="1" IsChecked="{Binding UseAdvancedTab}" Margin="0,5,0,0"\r
                           Visibility="{Binding ShowAdvancedTab, Converter={StaticResource boolToVisConverter}, ConverterParameter=false}" />\r
 \r
                 <Grid Grid.Row="2" Margin="0,8,0,0" IsEnabled="{Binding UseAdvancedTab, Converter={StaticResource inverseConverter}}">\r
 \r
 \r
                     <!-- Row 1 -->\r
-                    <TextBlock Text="Encoder Preset:" Grid.Row="1" Grid.Column="0" VerticalAlignment="Center" Visibility="{Binding DisplayOptimiseOptions, Converter={StaticResource boolToVisConverter}}" />\r
+                    <TextBlock Text="{x:Static Properties:ResourcesUI.VideoView_EncoderPreset}" Grid.Row="1" Grid.Column="0" VerticalAlignment="Center" Visibility="{Binding DisplayOptimiseOptions, Converter={StaticResource boolToVisConverter}}" />\r
                     <StackPanel Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="3" Orientation="Horizontal" Visibility="{Binding DisplayOptimiseOptions, Converter={StaticResource boolToVisConverter}}">\r
                         <Slider Minimum="0" Maximum="{Binding VideoPresetMaxValue}" Width="150" Value="{Binding VideoPresetValue, Mode=Default, UpdateSourceTrigger=PropertyChanged}" \r
                             IsSnapToTickEnabled="True" TickFrequency="1" TickPlacement="BottomRight" ToolTip="{x:Static Properties:Resources.Video_EncoderPreset}" \r
                         <TextBlock Text="{Binding VideoPreset.DisplayName}" Margin="5,0,0,0" />\r
                     </StackPanel>\r
 \r
-                    <TextBlock Text="Encoder Tune:" Grid.Row="2" Grid.Column="0" VerticalAlignment="Center" Margin="0,10,0,0"\r
+                    <TextBlock Text="{x:Static Properties:ResourcesUI.VideoView_EncodeTune}" Grid.Row="2" Grid.Column="0" VerticalAlignment="Center" Margin="0,10,0,0"\r
                                Visibility="{Binding DisplayTuneControls, Converter={StaticResource boolToVisConverter}}"/>\r
                     <ComboBox Width="100" Grid.Row="2" Grid.Column="1" Margin="5,10,5,0" Height="22"\r
                               ItemsSource="{Binding VideoTunes}" DisplayMemberPath="DisplayName" SelectedItem="{Binding VideoTune}"\r
                               ToolTip="{x:Static Properties:Resources.Video_EncoderTune}" Visibility="{Binding DisplayTuneControls, Converter={StaticResource boolToVisConverter}}"\r
                               Style="{StaticResource LongToolTipHolder}" />\r
-                    <CheckBox IsChecked="{Binding FastDecode}" Content="Fast Decode" Grid.Row="2" Grid.Column="2" Margin="10,10,10,0" VerticalAlignment="Center"\r
+                    <CheckBox IsChecked="{Binding FastDecode}" Content="{x:Static Properties:ResourcesUI.VideoView_FastDecode}" Grid.Row="2" Grid.Column="2" Margin="10,10,10,0" VerticalAlignment="Center"\r
                               ToolTip="{x:Static Properties:Resources.Video_x264FastDecode}" Visibility="{Binding DisplayTuneControls, Converter={StaticResource boolToVisConverter}}"/>\r
 \r
           \r
                     <!-- Row 2-->\r
-                    <TextBlock Text="Encoder Profile:" Grid.Row="3" Grid.Column="0" Margin="0,10,0,0" VerticalAlignment="Center" Visibility="{Binding DisplayOptimiseOptions, Converter={StaticResource boolToVisConverter}}"/>\r
+                    <TextBlock Text="{x:Static Properties:ResourcesUI.VideoView_EncoderProfile}" Grid.Row="3" Grid.Column="0" Margin="0,10,0,0" VerticalAlignment="Center" Visibility="{Binding DisplayOptimiseOptions, Converter={StaticResource boolToVisConverter}}"/>\r
                     <ComboBox Width="100" Grid.Row="3" Grid.Column="1" Margin="5,10,5,0" Height="22" VerticalAlignment="Center" Visibility="{Binding DisplayOptimiseOptions, Converter={StaticResource boolToVisConverter}}"\r
                           ItemsSource="{Binding VideoProfiles}" DisplayMemberPath="DisplayName" SelectedItem="{Binding VideoProfile}"\r
                           Style="{StaticResource LongToolTipHolder}" ToolTip="{x:Static Properties:Resources.Video_EncoderProfile}" />\r
 \r
-                    <TextBlock Text="Encoder Level:" Grid.Row="3" Grid.Column="2" Margin="10,10,0,0" VerticalAlignment="Center" Visibility="{Binding DisplayLevelControl, Converter={StaticResource boolToVisConverter}}" />\r
+                    <TextBlock Text="{x:Static Properties:ResourcesUI.VideoView_EncoderLevel}" Grid.Row="3" Grid.Column="2" Margin="10,10,0,0" VerticalAlignment="Center" Visibility="{Binding DisplayLevelControl, Converter={StaticResource boolToVisConverter}}" />\r
                     <ComboBox Width="100" Grid.Row="3" Grid.Column="3" Margin="5,10,5,0" Height="22" VerticalAlignment="Center" Visibility="{Binding DisplayLevelControl, Converter={StaticResource boolToVisConverter}}"\r
                           ItemsSource="{Binding VideoLevels}"  DisplayMemberPath="DisplayName" SelectedItem="{Binding VideoLevel}"\r
                           Style="{StaticResource LongToolTipHolder}" ToolTip="{x:Static Properties:Resources.Video_EncoderLevel}"/>\r
 \r
                     <!-- Row 3 -->\r
-                    <TextBlock Text="Extra Options:" Grid.Row="4" Grid.Column="0" Margin="0,5,0,0" VerticalAlignment="Center" HorizontalAlignment="Left" />\r
+                    <TextBlock Text="{x:Static Properties:ResourcesUI.VideoView_ExtraOptions}" Grid.Row="4" Grid.Column="0" Margin="0,5,0,0" VerticalAlignment="Center" HorizontalAlignment="Left" />\r
                     <TextBox Text="{Binding ExtraArguments, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" MinWidth="200"\r
                              Height="30" MaxLines="2" Grid.Row="4" Grid.Column="1" Grid.ColumnSpan="3" Margin="5,10,0,0" VerticalAlignment="Center"\r
                              ToolTip="{Binding FullOptionsTooltip}" Style="{StaticResource LongToolTipHolder}" >\r