diff options
author | sr55 <[email protected]> | 2015-06-11 19:33:30 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2015-06-11 19:33:30 +0000 |
commit | a74ccc5f0241e5039ba66613496cd904f0b7756e (patch) | |
tree | 60779d9ef138ce2e877e792cf5c5777d86b66bd0 /win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs | |
parent | c06630cad4d274c4e1110df02f2909d40704e2bd (diff) |
WinGui: Moving the bulk of the view model strings to resources.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7292 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs index 3424b4c09..75adf94be 100644 --- a/win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs @@ -23,6 +23,7 @@ namespace HandBrakeWPF.ViewModels using HandBrake.ApplicationServices.Utilities;
using HandBrakeWPF.Model.Audio;
+ using HandBrakeWPF.Properties;
using HandBrakeWPF.Services.Interfaces;
using HandBrakeWPF.Services.Presets.Model;
using HandBrakeWPF.ViewModels.Interfaces;
@@ -199,7 +200,7 @@ namespace HandBrakeWPF.ViewModels {
get
{
- return this.ShowAudioDefaultsPanel ? "Audio Defaults" : "Audio Tracks";
+ return this.ShowAudioDefaultsPanel ? Resources.AudioViewModel_AudioDefaults : Resources.AudioViewModel_AudioTracks;
}
}
@@ -210,7 +211,7 @@ namespace HandBrakeWPF.ViewModels {
get
{
- return this.ShowAudioDefaultsPanel ? "Switch Back To Tracks" : "Configure Defaults";
+ return this.ShowAudioDefaultsPanel ? Resources.AudioViewModel_SwitchBackToTracks : Resources.AudioViewModel_ConfigureDefaults;
}
}
|