}\r
}\r
\r
+ /// <summary>\r
+ /// Looks up a localized string similar to Encoding: Pass {0} of {1}, {2:00.00}%\r
+ ///FPS: {3:000.0}, Avg FPS: {4:000.0}\r
+ ///Time Remaining: {5}, Elapsed: {6:d\:hh\:mm\:ss}.\r
+ /// </summary>\r
+ public static string MiniViewModel_EncodeStatusChanged_StatusLabel {\r
+ get {\r
+ return ResourceManager.GetString("MiniViewModel_EncodeStatusChanged_StatusLabel", resourceCulture);\r
+ }\r
+ }\r
+ \r
/// <summary>\r
/// Looks up a localized string similar to No Additional Information.\r
/// </summary>\r
<data name="Queue_AlreadyEncodingSolution" xml:space="preserve">\r
<value>Please stop the current encode. If the problem persists, please restart HandBrake.</value>\r
</data>\r
+ <data name="MiniViewModel_EncodeStatusChanged_StatusLabel" xml:space="preserve">\r
+ <value>Encoding: Pass {0} of {1}, {2:00.00}%\r
+FPS: {3:000.0}, Avg FPS: {4:000.0}\r
+Time Remaining: {5}, Elapsed: {6:d\:hh\:mm\:ss}</value>\r
+ </data>\r
</root>
\ No newline at end of file
/// </param>\r
private void EncodeService_EncodeStatusChanged(object sender, EncodeProgressEventArgs e)\r
{\r
- this.Task = queueProcessor.LastProcessedJob.ScannedSourcePath;\r
-\r
- // {0:00.00}% FPS: {1:000.0} Avg FPS: {2:000.0} Time Remaining: {3} Elapsed: {4:hh\:mm\:ss}\r
- this.Progress = string.Format(\r
- Resources.MainViewModel_EncodeStatusChanged_StatusLabel, \r
- e.PercentComplete, \r
- e.CurrentFrameRate, \r
- e.AverageFrameRate, \r
- e.EstimatedTimeLeft, \r
- e.ElapsedTime);\r
+ this.Task = this.queueProcessor.LastProcessedJob.ScannedSourcePath;\r
+\r
+ this.Progress =\r
+ string.Format(Resources.MiniViewModel_EncodeStatusChanged_StatusLabel,\r
+ e.Task,\r
+ e.TaskCount,\r
+ e.PercentComplete,\r
+ e.CurrentFrameRate,\r
+ e.AverageFrameRate,\r
+ e.EstimatedTimeLeft,\r
+ e.ElapsedTime);\r
}\r
}\r
}\r
SnapsToDevicePixels="True"\r
UseLayoutRounding="True"\r
Width="300"\r
- Height="175"\r
+ Height="200"\r
MinWidth="300"\r
- MinHeight="175"\r
+ MinHeight="200"\r
TextOptions.TextFormattingMode="Display" ShowActivated="True" ShowInTaskbar="True"\r
WindowStyle="ToolWindow"\r
x:Name="miniView"\r
<RowDefinition Height="Auto" />\r
<RowDefinition Height="Auto" />\r
<RowDefinition Height="Auto" />\r
+ <RowDefinition Height="*" />\r
<RowDefinition Height="Auto" />\r
</Grid.RowDefinitions>\r
<TextBlock Text="Status" FontSize="26" FontFamily="Segoe UI Light" FontWeight="Bold" Margin="5,0,10,5" Grid.Row="0" />\r
<TextBlock Text="{Binding Progress}" Grid.Row="2" Margin="10,0,0,5" TextWrapping="WrapWithOverflow" />\r
<TextBlock Text="{Binding QueueStatus}" Grid.Row="3" Margin="10,0,0,0" TextWrapping="WrapWithOverflow" />\r
\r
- <Button Content="Close" cal:Message.Attach="[Event Click] = [Action Close]" Grid.Row="3" HorizontalAlignment="Right" Margin="0,5,5,0" Padding="8,2" />\r
+ <Button Content="Close" cal:Message.Attach="[Event Click] = [Action Close]" Grid.Row="5" HorizontalAlignment="Right" Margin="0,5,5,5" Padding="8,2" />\r
</Grid>\r
</Window>\r