summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Model
diff options
context:
space:
mode:
authorsr55 <[email protected]>2015-07-05 12:12:01 +0000
committersr55 <[email protected]>2015-07-05 12:12:01 +0000
commite32a4681e63cfb7842488842047da1b8f14c72c5 (patch)
tree54314f5debe1d73237d31b24d1e23609c436f946 /win/CS/HandBrakeWPF/Model
parent32363c86e5b1847289d9cc0dc741a5f536176225 (diff)
WinGui: Initial Implementation of the json preset export code.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7347 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Model')
-rw-r--r--win/CS/HandBrakeWPF/Model/Audio/AudioBehaviourModes.cs5
-rw-r--r--win/CS/HandBrakeWPF/Model/Subtitles/SubtitleBehaviourModes.cs5
-rw-r--r--win/CS/HandBrakeWPF/Model/Subtitles/SubtitleBurnInBehaviourModes.cs6
3 files changed, 16 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Model/Audio/AudioBehaviourModes.cs b/win/CS/HandBrakeWPF/Model/Audio/AudioBehaviourModes.cs
index 11f19f2e4..63d88cf21 100644
--- a/win/CS/HandBrakeWPF/Model/Audio/AudioBehaviourModes.cs
+++ b/win/CS/HandBrakeWPF/Model/Audio/AudioBehaviourModes.cs
@@ -11,18 +11,23 @@ namespace HandBrakeWPF.Model.Audio
{
using System.ComponentModel.DataAnnotations;
+ using HandBrake.ApplicationServices.Attributes;
+
/// <summary>
/// The audio behaviours.
/// </summary>
public enum AudioBehaviourModes
{
[Display(Name = "No Audio")]
+ [ShortName("none")]
None = 0,
[Display(Name = "First Matching Selected Language")]
+ [ShortName("first")]
FirstMatch,
[Display(Name = "All Matching Selected Languages")]
+ [ShortName("all")]
AllMatching,
}
}
diff --git a/win/CS/HandBrakeWPF/Model/Subtitles/SubtitleBehaviourModes.cs b/win/CS/HandBrakeWPF/Model/Subtitles/SubtitleBehaviourModes.cs
index 004190a5f..ed3e8ed5a 100644
--- a/win/CS/HandBrakeWPF/Model/Subtitles/SubtitleBehaviourModes.cs
+++ b/win/CS/HandBrakeWPF/Model/Subtitles/SubtitleBehaviourModes.cs
@@ -11,18 +11,23 @@ namespace HandBrakeWPF.Model.Subtitles
{
using System.ComponentModel.DataAnnotations;
+ using HandBrake.ApplicationServices.Attributes;
+
/// <summary>
/// The subtitle behaviours modes.
/// </summary>
public enum SubtitleBehaviourModes
{
[Display(Name = "None")]
+ [ShortName("none")]
None = 0,
[Display(Name = "First Matching Selected Language")]
+ [ShortName("first")]
FirstMatch,
[Display(Name = "All Matching Selected Languages")]
+ [ShortName("all")]
AllMatching,
}
}
diff --git a/win/CS/HandBrakeWPF/Model/Subtitles/SubtitleBurnInBehaviourModes.cs b/win/CS/HandBrakeWPF/Model/Subtitles/SubtitleBurnInBehaviourModes.cs
index 174b4a5e8..193fc2a45 100644
--- a/win/CS/HandBrakeWPF/Model/Subtitles/SubtitleBurnInBehaviourModes.cs
+++ b/win/CS/HandBrakeWPF/Model/Subtitles/SubtitleBurnInBehaviourModes.cs
@@ -11,21 +11,27 @@ namespace HandBrakeWPF.Model.Subtitles
{
using System.ComponentModel.DataAnnotations;
+ using HandBrake.ApplicationServices.Attributes;
+
/// <summary>
/// The subtitle behaviours modes.
/// </summary>
public enum SubtitleBurnInBehaviourModes
{
[Display(Name = "None")]
+ [ShortName("none")]
None = 0,
[Display(Name = "Foreign Audio Track")]
+ [ShortName("foreign")]
ForeignAudio,
[Display(Name = "First Track")]
+ [ShortName("first")]
FirstTrack,
[Display(Name = "Foreign Audio Preferred, else First")]
+ [ShortName("foreign_first")]
ForeignAudioPreferred,
}
}