this.preferredLanguages.Add(item);\r
\r
// In the available languages should be no "Any" and no selected language.\r
- if ((item != "Any") && (!this.userSettingService.GetUserSetting<StringCollection>(UserSettingConstants.SelectedLanguages).Contains(item)))\r
+ if ((item != "(Any)") && (!this.userSettingService.GetUserSetting<StringCollection>(UserSettingConstants.SelectedLanguages).Contains(item)))\r
{\r
this.availableLanguages.Add(item);\r
}\r
using System.IO;\r
using System.Linq;\r
\r
- using Caliburn.Micro;\r
-\r
using HandBrake.ApplicationServices.Model;\r
using HandBrake.ApplicationServices.Model.Encoding;\r
using HandBrake.ApplicationServices.Parsing;\r
- using HandBrake.ApplicationServices.Services.Interfaces;\r
using HandBrake.ApplicationServices.Utilities;\r
\r
using HandBrakeWPF.Commands;\r
/// <summary>\r
/// Initializes a new instance of the <see cref="HandBrakeWPF.ViewModels.SubtitlesViewModel"/> class.\r
/// </summary>\r
- /// <param name="windowManager">\r
- /// The window manager.\r
- /// </param>\r
- /// <param name="userSettingService">\r
- /// The user Setting Service.\r
- /// </param>\r
- public SubtitlesViewModel(IWindowManager windowManager, IUserSettingService userSettingService)\r
+ public SubtitlesViewModel()\r
{\r
this.Task = new EncodeTask();\r
\r