Skip to content

Commit ecf01c2

Browse files
committed
Addded translation for Job ETA tooltip.
1 parent 31104d7 commit ecf01c2

3 files changed

Lines changed: 15 additions & 2 deletions

File tree

VidCoder/Resources/MainRes.Designer.cs

Lines changed: 10 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

VidCoder/Resources/MainRes.resx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,4 +757,8 @@ This warning will only display twice.</value>
757757
<data name="AddToTopOfQueueLabel" xml:space="preserve">
758758
<value>Add to top of Queue</value>
759759
</data>
760+
<data name="JobProgressToolTip" xml:space="preserve">
761+
<value>Job ETA: {0}</value>
762+
<comment>{0} is the estimated remaining time for that job to complete.</comment>
763+
</data>
760764
</root>

VidCoder/ViewModel/DataModels/EncodeJobViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public EncodeJobViewModel(
7474
return null;
7575
}
7676

77-
return "Job ETA: " + eta.FormatFriendly();
77+
return string.Format(MainRes.JobProgressToolTip, eta.FormatFriendly());
7878
}).ToProperty(this, x => x.ProgressToolTip, out this.progressToolTip);
7979

8080
// ShowQueueEditButtons

0 commit comments

Comments
 (0)