Clarify profile string ("flip duplexed" -> "flip back sides")

This commit is contained in:
Ben Olden-Cooligan 2024-03-31 20:11:59 -07:00
parent 2c51b28078
commit 4a5efc6599
3 changed files with 20 additions and 1 deletions

View File

@ -2,6 +2,7 @@ using Eto.Drawing;
using Eto.Forms;
using NAPS2.EtoForms.Layout;
using NAPS2.EtoForms.Widgets;
using NAPS2.Lang;
using NAPS2.Scan;
namespace NAPS2.EtoForms.Ui;
@ -18,7 +19,13 @@ public class AdvancedProfileForm : EtoDialogBase
private readonly CheckBox _offsetWidth = new() { Text = UiStrings.OffsetWidth };
private readonly CheckBox _stretchToPageSize = new() { Text = UiStrings.StretchToPageSize };
private readonly CheckBox _cropToPageSize = new() { Text = UiStrings.CropToPageSize };
private readonly CheckBox _flipDuplexed = new() { Text = UiStrings.FlipDuplexedPages };
private readonly CheckBox _flipDuplexed = new()
{
Text = TranslationMigrator.PickTranslated(
UiStrings.ResourceManager,
"FlipDuplexedPages",
"FlipBackSidesOfDuplexPages")
};
private readonly DropDown _wiaVersion = C.EnumDropDown<WiaApiVersion>(value => value switch
{

View File

@ -896,6 +896,15 @@ namespace NAPS2.Lang.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Flip back sides of duplex pages.
/// </summary>
internal static string FlipBackSidesOfDuplexPages {
get {
return ResourceManager.GetString("FlipBackSidesOfDuplexPages", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Flip duplexed pages.
/// </summary>

View File

@ -798,6 +798,9 @@
<data name="FlipDuplexedPages" xml:space="preserve">
<value>Flip duplexed pages</value>
</data>
<data name="FlipBackSidesOfDuplexPages" xml:space="preserve">
<value>Flip back sides of duplex pages</value>
</data>
<data name="WiaVersionLabel" xml:space="preserve">
<value>Wia Version:</value>
</data>