Skip to content

Commit

Permalink
v2023.3.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
LAB02 Research committed Mar 17, 2023
1 parent 4719fc2 commit fb9e91b
Show file tree
Hide file tree
Showing 17 changed files with 182 additions and 26 deletions.
19 changes: 17 additions & 2 deletions src/DeepLClient/Controls/DocumentsPage.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/DeepLClient/Controls/DocumentsPage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -432,8 +432,8 @@ internal async void ExecuteTranslation()
{
var billedCharacters = Convert.ToDouble(state.BilledCharacters);
LblState.Text = SubscriptionManager.UsingFreeSubscription()
? $"translation complete!\r\n\r\nthe document has been billed for {billedCharacters} characters\r\nyou're on a free subscription, so no costs"
: $"translation complete!\r\n\r\nthe document has been billed for {billedCharacters} characters, costing {SubscriptionManager.CalculateCost(billedCharacters)}.";
? $"translation complete!\r\n\r\nthe document has been billed for {billedCharacters:N0} characters\r\nyou're on a free subscription, so no costs"
: $"translation complete!\r\n\r\nthe document has been billed for {billedCharacters:N0} characters, costing {SubscriptionManager.CalculateCost(billedCharacters)}.";
}
else LblState.Text = "translation complete!";

Expand Down
3 changes: 3 additions & 0 deletions src/DeepLClient/Controls/DocumentsPage.resx
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,7 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="ToolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>49, 25</value>
</metadata>
</root>
91 changes: 76 additions & 15 deletions src/DeepLClient/Controls/TextPage.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/DeepLClient/Controls/TextPage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using Serilog;
using System.Diagnostics.CodeAnalysis;
using DeepLClient.Forms.Dialogs;
using Syncfusion.WinForms.Controls.Styles;

namespace DeepLClient.Controls
{
Expand Down
9 changes: 9 additions & 0 deletions src/DeepLClient/Controls/TextPage.resx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="ToolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>348, 27</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="resource.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
Expand All @@ -66,4 +69,10 @@
4fokFWShaAwAdGZUfyL/FuTvIUjurdQBaE0luFgHKUIAAAAASUVORK5CYII=
</value>
</data>
<metadata name="TbSourceScroller.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>192, 22</value>
</metadata>
<metadata name="TbTranslatedScroller.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>
13 changes: 13 additions & 0 deletions src/DeepLClient/Controls/UrlPage.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fb9e91b

Please # to comment.