diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/Model')
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,
}
}
|