diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/Services')
-rw-r--r-- | win/CS/HandBrakeWPF/Services/Encode/Model/Models/PointToPointMode.cs | 10 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Services/Scan/Model/Subtitle.cs | 3 |
2 files changed, 8 insertions, 5 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Encode/Model/Models/PointToPointMode.cs b/win/CS/HandBrakeWPF/Services/Encode/Model/Models/PointToPointMode.cs index c68f49474..b928abfe5 100644 --- a/win/CS/HandBrakeWPF/Services/Encode/Model/Models/PointToPointMode.cs +++ b/win/CS/HandBrakeWPF/Services/Encode/Model/Models/PointToPointMode.cs @@ -11,24 +11,26 @@ namespace HandBrakeWPF.Services.Encode.Model.Models { using HandBrake.Interop.Attributes; + using HandBrakeWPF.Properties; + /// <summary> /// Point to Point Mode /// </summary> public enum PointToPointMode { - [DisplayName("Chapters")] + [DisplayName(typeof(Resources), "PointToPointMode_Chapters")] [ShortName("chapter")] Chapters = 0, - [DisplayName("Seconds")] + [DisplayName(typeof(Resources), "PointToPointMode_Seconds")] [ShortName("time")] Seconds, - [DisplayName("Frames")] + [DisplayName(typeof(Resources), "PointToPointMode_Frames")] [ShortName("frame")] Frames, - [DisplayName("Preview")] + [DisplayName(typeof(Resources), "PointToPointMode_Preview")] [ShortName("preview")] Preview, } diff --git a/win/CS/HandBrakeWPF/Services/Scan/Model/Subtitle.cs b/win/CS/HandBrakeWPF/Services/Scan/Model/Subtitle.cs index 1fade0311..ff3b946a9 100644 --- a/win/CS/HandBrakeWPF/Services/Scan/Model/Subtitle.cs +++ b/win/CS/HandBrakeWPF/Services/Scan/Model/Subtitle.cs @@ -14,6 +14,7 @@ namespace HandBrakeWPF.Services.Scan.Model using HandBrake.Interop.Utilities; + using HandBrakeWPF.Properties; using HandBrakeWPF.Services.Encode.Model.Models; using HandBrakeWPF.Utilities; @@ -122,7 +123,7 @@ namespace HandBrakeWPF.Services.Scan.Model /// <returns>A string formatted as: {track #} {language}</returns> public override string ToString() { - return this.SubtitleType == SubtitleType.ForeignAudioSearch ? "Foreign Audio Scan" : string.Format("{0} {1}", this.TrackNumber, this.Language); + return this.SubtitleType == SubtitleType.ForeignAudioSearch ? Resources.Subtitle_ForeignAudioScan : string.Format("{0} {1}", this.TrackNumber, this.Language); } /// <summary> |