From f2b0998a8f4ef77d3ef791b64ad032c1bb8348ea Mon Sep 17 00:00:00 2001 From: sr55 Date: Thu, 11 Jun 2015 19:39:03 +0000 Subject: WinGui: Move user control strings to resources. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7293 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrakeWPF/Controls/SourceSelection.xaml | 24 +++--- .../Properties/ResourcesUI.Designer.cs | 99 ++++++++++++++++++++++ win/CS/HandBrakeWPF/Properties/ResourcesUI.resx | 33 ++++++++ 3 files changed, 144 insertions(+), 12 deletions(-) (limited to 'win') diff --git a/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml b/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml index 17fc82164..c887a1c1e 100644 --- a/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml +++ b/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml @@ -3,7 +3,7 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:cal="http://www.caliburnproject.org" xmlns:controls="clr-namespace:HandBrakeWPF.Controls" - > + xmlns:Properties="clr-namespace:HandBrakeWPF.Properties"> @@ -28,19 +28,19 @@ - + - + - + @@ -53,26 +53,26 @@ - - @@ -83,12 +83,12 @@ diff --git a/win/CS/HandBrakeWPF/Properties/ResourcesUI.Designer.cs b/win/CS/HandBrakeWPF/Properties/ResourcesUI.Designer.cs index efd1cf59f..b5f058344 100644 --- a/win/CS/HandBrakeWPF/Properties/ResourcesUI.Designer.cs +++ b/win/CS/HandBrakeWPF/Properties/ResourcesUI.Designer.cs @@ -1392,6 +1392,105 @@ namespace HandBrakeWPF.Properties { } } + /// + /// Looks up a localized string similar to Choose Disc to Scan. + /// + public static string SourceSelection_ChooseDisc { + get { + return ResourceManager.GetString("SourceSelection_ChooseDisc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Choose File to Scan. + /// + public static string SourceSelection_ChooseFile { + get { + return ResourceManager.GetString("SourceSelection_ChooseFile", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Choose Folder to Scan. + /// + public static string SourceSelection_ChooseFolder { + get { + return ResourceManager.GetString("SourceSelection_ChooseFolder", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Optionally choose a specific title: . + /// + public static string SourceSelection_ChooseSpecificTitle { + get { + return ResourceManager.GetString("SourceSelection_ChooseSpecificTitle", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Then choose the video(s) you'd like to encode: . + /// + public static string SourceSelection_ChooseVideo { + get { + return ResourceManager.GetString("SourceSelection_ChooseVideo", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to File. + /// + public static string SourceSelection_File { + get { + return ResourceManager.GetString("SourceSelection_File", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Folder (Batch Scan). + /// + public static string SourceSelection_FolderBatchScan { + get { + return ResourceManager.GetString("SourceSelection_FolderBatchScan", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Open this DVD or Bluray Drive. + /// + public static string SourceSelection_OpenDVDBluray { + get { + return ResourceManager.GetString("SourceSelection_OpenDVDBluray", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Open a folder with one or more files.. + /// + public static string SourceSelection_OpenFolderWIth { + get { + return ResourceManager.GetString("SourceSelection_OpenFolderWIth", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Open a single video file.. + /// + public static string SourceSelection_SingleVideoFile { + get { + return ResourceManager.GetString("SourceSelection_SingleVideoFile", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Source Selection. + /// + public static string SourceSelection_SourceSelection { + get { + return ResourceManager.GetString("SourceSelection_SourceSelection", resourceCulture); + } + } + /// /// Looks up a localized string similar to Duration:. /// diff --git a/win/CS/HandBrakeWPF/Properties/ResourcesUI.resx b/win/CS/HandBrakeWPF/Properties/ResourcesUI.resx index 11b8d5ea5..f750284bd 100644 --- a/win/CS/HandBrakeWPF/Properties/ResourcesUI.resx +++ b/win/CS/HandBrakeWPF/Properties/ResourcesUI.resx @@ -648,4 +648,37 @@ Video + + Source Selection + + + Optionally choose a specific title: + + + Then choose the video(s) you'd like to encode: + + + Choose Folder to Scan + + + Choose File to Scan + + + Open this DVD or Bluray Drive + + + Open a single video file. + + + File + + + Choose Disc to Scan + + + Folder (Batch Scan) + + + Open a folder with one or more files. + \ No newline at end of file -- cgit v1.2.3