summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels
diff options
context:
space:
mode:
authorsr55 <[email protected]>2015-06-04 20:54:14 +0000
committersr55 <[email protected]>2015-06-04 20:54:14 +0000
commitffb84dc9de2d85776c172f48afebd1c773b322e6 (patch)
treeb1f8389b5b94e58a1478b7288b132a7af41711f5 /win/CS/HandBrakeWPF/ViewModels
parent08c089fcd1513a66c7208731d7b1f6dd4898e8cc (diff)
WinGui: Starting to move UI text string to resources. This will allow us to start looking at localisations on the windows gui.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7276 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
index 327468411..f995b4d2e 100644
--- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
@@ -21,7 +21,6 @@ namespace HandBrakeWPF.ViewModels
using Caliburn.Micro;
- using HandBrake.ApplicationServices.Model;
using HandBrake.ApplicationServices.Services.Encode.EventArgs;
using HandBrake.ApplicationServices.Services.Encode.Interfaces;
using HandBrake.ApplicationServices.Services.Encode.Model;
@@ -1765,7 +1764,7 @@ namespace HandBrakeWPF.ViewModels
if (this.selectedPreset.IsDefault)
{
this.errorService.ShowMessageBox(
- "You can not delete the default preset. Please set another preset as default first.",
+ Resources.MainViewModel_CanNotDeleteDefaultPreset,
Resources.Warning,
MessageBoxButton.OK,
MessageBoxImage.Information);
@@ -1775,7 +1774,7 @@ namespace HandBrakeWPF.ViewModels
MessageBoxResult result =
this.errorService.ShowMessageBox(
- "Are you sure you want to delete the preset: " + this.selectedPreset.Name + " ?",
+ Resources.MainViewModel_PresetRemove_AreYouSure + this.selectedPreset.Name + " ?",
Resources.Question,
MessageBoxButton.YesNo,
MessageBoxImage.Question);
@@ -2252,7 +2251,7 @@ namespace HandBrakeWPF.ViewModels
if (this.queueProcessor.EncodeService.IsEncoding)
{
this.ProgramStatusLabel =
- string.Format("{0:00.00}% FPS: {1:000.0} Avg FPS: {2:000.0} Time Remaining: {3} Elapsed: {4:hh\\:mm\\:ss}" + Resources.Main_JobsPending_addon,
+ string.Format(Resources.MainViewModel_EncodeStatusChanged_StatusLabel + Resources.Main_JobsPending_addon,
e.PercentComplete,
e.CurrentFrameRate,
e.AverageFrameRate,