diff --git a/NAPS2.Lib.Mac/EtoForms/Ui/MacDesktopForm.cs b/NAPS2.Lib.Mac/EtoForms/Ui/MacDesktopForm.cs index 5218e2cd6..376f4a4ea 100644 --- a/NAPS2.Lib.Mac/EtoForms/Ui/MacDesktopForm.cs +++ b/NAPS2.Lib.Mac/EtoForms/Ui/MacDesktopForm.cs @@ -3,6 +3,7 @@ using Eto.Drawing; using Eto.Forms; using Eto.Mac; using NAPS2.ImportExport.Images; +using NAPS2.Scan; using NAPS2.WinForms; namespace NAPS2.EtoForms.Ui; @@ -48,6 +49,12 @@ public class MacDesktopForm : DesktopForm ClientSize = new Size(1000, 600); } + protected override void UpdateTitle(ScanProfile? defaultProfile) + { + Title = UiStrings.Naps2; + this.ToNative().Subtitle = defaultProfile?.DisplayName ?? UiStrings.Naps2FullName; + } + protected override void CreateToolbarsAndMenus() { Commands.MoveDown.ToolBarText = ""; @@ -135,8 +142,6 @@ public class MacDesktopForm : DesktopForm var window = this.ToNative(); window.Toolbar = toolbar; window.ToolbarStyle = NSWindowToolbarStyle.Unified; - // TODO: Subtitle based on active profile? - window.Subtitle = "Not Another PDF Scanner"; // TODO: Do we want full size content? window.StyleMask |= NSWindowStyle.FullSizeContentView; window.StyleMask |= NSWindowStyle.UnifiedTitleAndToolbar; diff --git a/NAPS2.Lib/EtoForms/Ui/DesktopForm.cs b/NAPS2.Lib/EtoForms/Ui/DesktopForm.cs index 45e6c9008..35d5ec0be 100644 --- a/NAPS2.Lib/EtoForms/Ui/DesktopForm.cs +++ b/NAPS2.Lib/EtoForms/Ui/DesktopForm.cs @@ -2,6 +2,7 @@ using System.Collections.Immutable; using System.Threading; using Eto.Forms; using NAPS2.ImportExport.Images; +using NAPS2.Scan; using NAPS2.WinForms; namespace NAPS2.EtoForms.Ui; @@ -63,7 +64,6 @@ public abstract class DesktopForm : EtoFormBase // PostInitializeComponent(); // Icon = Icons.favicon.ToEtoIcon(); - Title = UiStrings.Naps2FullTitle; CreateToolbarsAndMenus(); UpdateScanButton(); InitLanguageDropdown(); @@ -395,6 +395,7 @@ public abstract class DesktopForm : EtoFormBase private void UpdateScanButton() { var defaultProfile = _profileManager.DefaultProfile; + UpdateTitle(defaultProfile); _scanMenuCommands.Value = _profileManager.Profiles.Select(profile => new ActionCommand(() => _desktopScanController.ScanWithProfile(profile)) { @@ -404,6 +405,11 @@ public abstract class DesktopForm : EtoFormBase .ToImmutableList(); } + protected virtual void UpdateTitle(ScanProfile? defaultProfile) + { + Title = string.Format(UiStrings.Naps2TitleFormat, defaultProfile?.DisplayName ?? UiStrings.Naps2FullName); + } + #endregion // diff --git a/NAPS2.Lib/Lang/Resources/UiStrings.Designer.cs b/NAPS2.Lib/Lang/Resources/UiStrings.Designer.cs index f5ae2fe11..7add12de2 100644 --- a/NAPS2.Lib/Lang/Resources/UiStrings.Designer.cs +++ b/NAPS2.Lib/Lang/Resources/UiStrings.Designer.cs @@ -11,46 +11,32 @@ namespace NAPS2.Lang.Resources { using System; - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class UiStrings { - private static global::System.Resources.ResourceManager resourceMan; + private static System.Resources.ResourceManager resourceMan; - private static global::System.Globalization.CultureInfo resourceCulture; + private static System.Globalization.CultureInfo resourceCulture; - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] internal UiStrings() { } - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + internal static System.Resources.ResourceManager ResourceManager { get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("NAPS2.Lang.Resources.UiStrings", typeof(UiStrings).Assembly); + if (object.Equals(null, resourceMan)) { + System.Resources.ResourceManager temp = new System.Resources.ResourceManager("NAPS2.Lang.Resources.UiStrings", typeof(UiStrings).Assembly); resourceMan = temp; } return resourceMan; } } - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + internal static System.Globalization.CultureInfo Culture { get { return resourceCulture; } @@ -59,814 +45,556 @@ namespace NAPS2.Lang.Resources { } } - /// - /// Looks up a localized string similar to About. - /// - internal static string About { - get { - return ResourceManager.GetString("About", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to About. - /// internal static string AboutFormTitle { get { return ResourceManager.GetString("AboutFormTitle", resourceCulture); } } - /// - /// Looks up a localized string similar to Add. - /// - internal static string Add { - get { - return ResourceManager.GetString("Add", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Advanced. - /// - internal static string Advanced { - get { - return ResourceManager.GetString("Advanced", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Alternate Deinterleave. - /// - internal static string AltDeinterleave { - get { - return ResourceManager.GetString("AltDeinterleave", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Alternate Interleave. - /// - internal static string AltInterleave { - get { - return ResourceManager.GetString("AltInterleave", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Apple Driver. - /// - internal static string AppleDriver { - get { - return ResourceManager.GetString("AppleDriver", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Auto Save Settings. - /// - internal static string AutoSaveSettings { - get { - return ResourceManager.GetString("AutoSaveSettings", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Batch Scan. - /// - internal static string BatchScan { - get { - return ResourceManager.GetString("BatchScan", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Bit depth:. - /// - internal static string BitDepthLabel { - get { - return ResourceManager.GetString("BitDepthLabel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Black and White. - /// - internal static string BlackAndWhite { - get { - return ResourceManager.GetString("BlackAndWhite", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Brightness / Contrast. - /// - internal static string BrightnessContrast { - get { - return ResourceManager.GetString("BrightnessContrast", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Brightness:. - /// - internal static string BrightnessLabel { - get { - return ResourceManager.GetString("BrightnessLabel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cancel. - /// - internal static string Cancel { - get { - return ResourceManager.GetString("Cancel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Check for updates. - /// - internal static string CheckForUpdates { - get { - return ResourceManager.GetString("CheckForUpdates", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Choose device. - /// - internal static string ChooseDevice { - get { - return ResourceManager.GetString("ChooseDevice", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Clear. - /// - internal static string Clear { - get { - return ResourceManager.GetString("Clear", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Clear All. - /// - internal static string ClearAll { - get { - return ResourceManager.GetString("ClearAll", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Contrast:. - /// - internal static string ContrastLabel { - get { - return ResourceManager.GetString("ContrastLabel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Copy. - /// - internal static string Copy { - get { - return ResourceManager.GetString("Copy", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Copyright 2009, 2012-2020 NAPS2 Contributors. - /// internal static string Copyright { get { return ResourceManager.GetString("Copyright", resourceCulture); } } - /// - /// Looks up a localized string similar to Crop. - /// - internal static string Crop { - get { - return ResourceManager.GetString("Crop", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Custom Rotation. - /// - internal static string CustomRotation { - get { - return ResourceManager.GetString("CustomRotation", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Default. - /// - internal static string Default { - get { - return ResourceManager.GetString("Default", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Deinterleave. - /// - internal static string Deinterleave { - get { - return ResourceManager.GetString("Deinterleave", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Delete. - /// - internal static string Delete { - get { - return ResourceManager.GetString("Delete", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Deskew. - /// - internal static string Deskew { - get { - return ResourceManager.GetString("Deskew", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Device:. - /// - internal static string DeviceLabel { - get { - return ResourceManager.GetString("DeviceLabel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Display name:. - /// - internal static string DisplayNameLabel { - get { - return ResourceManager.GetString("DisplayNameLabel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Donate. - /// - internal static string Donate { - get { - return ResourceManager.GetString("Donate", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Done. - /// - internal static string Done { - get { - return ResourceManager.GetString("Done", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Edit. - /// - internal static string Edit { - get { - return ResourceManager.GetString("Edit", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Profile Settings. - /// - internal static string EditProfileFormTitle { - get { - return ResourceManager.GetString("EditProfileFormTitle", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Email All as PDF. - /// - internal static string EmailAllAsPdf { - get { - return ResourceManager.GetString("EmailAllAsPdf", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Email PDF. - /// - internal static string EmailPdf { - get { - return ResourceManager.GetString("EmailPdf", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Email Selected as PDF. - /// - internal static string EmailSelectedAsPdf { - get { - return ResourceManager.GetString("EmailSelectedAsPdf", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Email Settings. - /// - internal static string EmailSettings { - get { - return ResourceManager.GetString("EmailSettings", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Enable Auto Save. - /// - internal static string EnableAutoSave { - get { - return ResourceManager.GetString("EnableAutoSave", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Flip. - /// - internal static string Flip { - get { - return ResourceManager.GetString("Flip", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Horizontal align:. - /// - internal static string HorizontalAlignLabel { - get { - return ResourceManager.GetString("HorizontalAlignLabel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Hue / Saturation. - /// - internal static string HueSaturation { - get { - return ResourceManager.GetString("HueSaturation", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Icons from:. - /// internal static string IconsFrom { get { return ResourceManager.GetString("IconsFrom", resourceCulture); } } - /// - /// Looks up a localized string similar to Image. - /// - internal static string Image { + internal static string CheckForUpdates { get { - return ResourceManager.GetString("Image", resourceCulture); + return ResourceManager.GetString("CheckForUpdates", resourceCulture); } } - /// - /// Looks up a localized string similar to Image Settings. - /// - internal static string ImageSettings { - get { - return ResourceManager.GetString("ImageSettings", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Import. - /// - internal static string Import { - get { - return ResourceManager.GetString("Import", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Interleave. - /// - internal static string Interleave { - get { - return ResourceManager.GetString("Interleave", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Language. - /// - internal static string Language { - get { - return ResourceManager.GetString("Language", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Move Down. - /// - internal static string MoveDown { - get { - return ResourceManager.GetString("MoveDown", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Move Up. - /// - internal static string MoveUp { - get { - return ResourceManager.GetString("MoveUp", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to NAPS2 - Not Another PDF Scanner. - /// - internal static string Naps2FullTitle { - get { - return ResourceManager.GetString("Naps2FullTitle", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to New Profile. - /// - internal static string NewProfile { - get { - return ResourceManager.GetString("NewProfile", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to OCR. - /// - internal static string Ocr { - get { - return ResourceManager.GetString("Ocr", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to OK. - /// internal static string OK { get { return ResourceManager.GetString("OK", resourceCulture); } } - /// - /// Looks up a localized string similar to Page size:. - /// - internal static string PageSizeLabel { + internal static string Donate { get { - return ResourceManager.GetString("PageSizeLabel", resourceCulture); + return ResourceManager.GetString("Donate", resourceCulture); } } - /// - /// Looks up a localized string similar to Paper source:. - /// - internal static string PaperSourceLabel { - get { - return ResourceManager.GetString("PaperSourceLabel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Paste. - /// - internal static string Paste { - get { - return ResourceManager.GetString("Paste", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to PDF Settings. - /// - internal static string PdfSettings { - get { - return ResourceManager.GetString("PdfSettings", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Print. - /// - internal static string Print { - get { - return ResourceManager.GetString("Print", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Profiles. - /// - internal static string Profiles { - get { - return ResourceManager.GetString("Profiles", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Profiles. - /// internal static string ProfilesFormTitle { get { return ResourceManager.GetString("ProfilesFormTitle", resourceCulture); } } - /// - /// Looks up a localized string similar to Reorder. - /// - internal static string Reorder { + internal static string Add { get { - return ResourceManager.GetString("Reorder", resourceCulture); + return ResourceManager.GetString("Add", resourceCulture); } } - /// - /// Looks up a localized string similar to Reset. - /// - internal static string Reset { + internal static string Edit { get { - return ResourceManager.GetString("Reset", resourceCulture); + return ResourceManager.GetString("Edit", resourceCulture); } } - /// - /// Looks up a localized string similar to Resolution:. - /// - internal static string ResolutionLabel { + internal static string Delete { get { - return ResourceManager.GetString("ResolutionLabel", resourceCulture); + return ResourceManager.GetString("Delete", resourceCulture); } } - /// - /// Looks up a localized string similar to Reverse. - /// - internal static string Reverse { - get { - return ResourceManager.GetString("Reverse", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Rotate. - /// - internal static string Rotate { - get { - return ResourceManager.GetString("Rotate", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Rotate Left. - /// - internal static string RotateLeft { - get { - return ResourceManager.GetString("RotateLeft", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Rotate Right. - /// - internal static string RotateRight { - get { - return ResourceManager.GetString("RotateRight", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Run in Background. - /// - internal static string RunInBackground { - get { - return ResourceManager.GetString("RunInBackground", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to SANE Driver. - /// - internal static string SaneDriver { - get { - return ResourceManager.GetString("SaneDriver", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Save. - /// - internal static string Save { - get { - return ResourceManager.GetString("Save", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Save All as Images. - /// - internal static string SaveAllAsImages { - get { - return ResourceManager.GetString("SaveAllAsImages", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Save All as PDF. - /// - internal static string SaveAllAsPdf { - get { - return ResourceManager.GetString("SaveAllAsPdf", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Save Images. - /// - internal static string SaveImages { - get { - return ResourceManager.GetString("SaveImages", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Save PDF. - /// - internal static string SavePdf { - get { - return ResourceManager.GetString("SavePdf", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Save Selected as Images. - /// - internal static string SaveSelectedAsImages { - get { - return ResourceManager.GetString("SaveSelectedAsImages", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Save Selected as PDF. - /// - internal static string SaveSelectedAsPdf { - get { - return ResourceManager.GetString("SaveSelectedAsPdf", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Scale:. - /// - internal static string ScaleLabel { - get { - return ResourceManager.GetString("ScaleLabel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Scan. - /// internal static string Scan { get { return ResourceManager.GetString("Scan", resourceCulture); } } - /// - /// Looks up a localized string similar to Select. - /// - internal static string Select { - get { - return ResourceManager.GetString("Select", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Select Source. - /// - internal static string SelectSource { - get { - return ResourceManager.GetString("SelectSource", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Set Default. - /// internal static string SetDefault { get { return ResourceManager.GetString("SetDefault", resourceCulture); } } - /// - /// Looks up a localized string similar to Sharpen. - /// - internal static string Sharpen { + internal static string Copy { get { - return ResourceManager.GetString("Sharpen", resourceCulture); + return ResourceManager.GetString("Copy", resourceCulture); } } - /// - /// Looks up a localized string similar to TWAIN Driver. - /// - internal static string TwainDriver { + internal static string Paste { get { - return ResourceManager.GetString("TwainDriver", resourceCulture); + return ResourceManager.GetString("Paste", resourceCulture); } } - /// - /// Looks up a localized string similar to Use native UI. - /// - internal static string UseNativeUi { + internal static string Done { get { - return ResourceManager.GetString("UseNativeUi", resourceCulture); + return ResourceManager.GetString("Done", resourceCulture); } } - /// - /// Looks up a localized string similar to Use predefined settings. - /// - internal static string UsePredefinedSettings { + internal static string Default { get { - return ResourceManager.GetString("UsePredefinedSettings", resourceCulture); + return ResourceManager.GetString("Default", resourceCulture); + } + } + + internal static string NewProfile { + get { + return ResourceManager.GetString("NewProfile", resourceCulture); + } + } + + internal static string BatchScan { + get { + return ResourceManager.GetString("BatchScan", resourceCulture); + } + } + + internal static string Ocr { + get { + return ResourceManager.GetString("Ocr", resourceCulture); + } + } + + internal static string Profiles { + get { + return ResourceManager.GetString("Profiles", resourceCulture); + } + } + + internal static string Import { + get { + return ResourceManager.GetString("Import", resourceCulture); + } + } + + internal static string SavePdf { + get { + return ResourceManager.GetString("SavePdf", resourceCulture); + } + } + + internal static string PdfSettings { + get { + return ResourceManager.GetString("PdfSettings", resourceCulture); + } + } + + internal static string SaveImages { + get { + return ResourceManager.GetString("SaveImages", resourceCulture); + } + } + + internal static string ImageSettings { + get { + return ResourceManager.GetString("ImageSettings", resourceCulture); + } + } + + internal static string EmailPdf { + get { + return ResourceManager.GetString("EmailPdf", resourceCulture); + } + } + + internal static string EmailSettings { + get { + return ResourceManager.GetString("EmailSettings", resourceCulture); + } + } + + internal static string Print { + get { + return ResourceManager.GetString("Print", resourceCulture); + } + } + + internal static string Image { + get { + return ResourceManager.GetString("Image", resourceCulture); } } - /// - /// Looks up a localized string similar to View. - /// internal static string View { get { return ResourceManager.GetString("View", resourceCulture); } } - /// - /// Looks up a localized string similar to WIA Driver. - /// - internal static string WiaDriver { + internal static string Crop { get { - return ResourceManager.GetString("WiaDriver", resourceCulture); + return ResourceManager.GetString("Crop", resourceCulture); + } + } + + internal static string BrightnessContrast { + get { + return ResourceManager.GetString("BrightnessContrast", resourceCulture); + } + } + + internal static string HueSaturation { + get { + return ResourceManager.GetString("HueSaturation", resourceCulture); + } + } + + internal static string BlackAndWhite { + get { + return ResourceManager.GetString("BlackAndWhite", resourceCulture); + } + } + + internal static string Sharpen { + get { + return ResourceManager.GetString("Sharpen", resourceCulture); + } + } + + internal static string Reset { + get { + return ResourceManager.GetString("Reset", resourceCulture); + } + } + + internal static string Rotate { + get { + return ResourceManager.GetString("Rotate", resourceCulture); + } + } + + internal static string RotateLeft { + get { + return ResourceManager.GetString("RotateLeft", resourceCulture); + } + } + + internal static string RotateRight { + get { + return ResourceManager.GetString("RotateRight", resourceCulture); + } + } + + internal static string Flip { + get { + return ResourceManager.GetString("Flip", resourceCulture); + } + } + + internal static string Deskew { + get { + return ResourceManager.GetString("Deskew", resourceCulture); + } + } + + internal static string CustomRotation { + get { + return ResourceManager.GetString("CustomRotation", resourceCulture); + } + } + + internal static string MoveUp { + get { + return ResourceManager.GetString("MoveUp", resourceCulture); + } + } + + internal static string MoveDown { + get { + return ResourceManager.GetString("MoveDown", resourceCulture); + } + } + + internal static string Reorder { + get { + return ResourceManager.GetString("Reorder", resourceCulture); + } + } + + internal static string Interleave { + get { + return ResourceManager.GetString("Interleave", resourceCulture); + } + } + + internal static string Deinterleave { + get { + return ResourceManager.GetString("Deinterleave", resourceCulture); + } + } + + internal static string AltInterleave { + get { + return ResourceManager.GetString("AltInterleave", resourceCulture); + } + } + + internal static string AltDeinterleave { + get { + return ResourceManager.GetString("AltDeinterleave", resourceCulture); + } + } + + internal static string Reverse { + get { + return ResourceManager.GetString("Reverse", resourceCulture); + } + } + + internal static string Clear { + get { + return ResourceManager.GetString("Clear", resourceCulture); + } + } + + internal static string ClearAll { + get { + return ResourceManager.GetString("ClearAll", resourceCulture); + } + } + + internal static string Language { + get { + return ResourceManager.GetString("Language", resourceCulture); + } + } + + internal static string About { + get { + return ResourceManager.GetString("About", resourceCulture); } } - /// - /// Looks up a localized string similar to Zoom. - /// internal static string Zoom { get { return ResourceManager.GetString("Zoom", resourceCulture); } } - /// - /// Looks up a localized string similar to Zoom In. - /// internal static string ZoomIn { get { return ResourceManager.GetString("ZoomIn", resourceCulture); } } - /// - /// Looks up a localized string similar to Zoom Out. - /// internal static string ZoomOut { get { return ResourceManager.GetString("ZoomOut", resourceCulture); } } + + internal static string Save { + get { + return ResourceManager.GetString("Save", resourceCulture); + } + } + + internal static string SaveAllAsPdf { + get { + return ResourceManager.GetString("SaveAllAsPdf", resourceCulture); + } + } + + internal static string SaveSelectedAsPdf { + get { + return ResourceManager.GetString("SaveSelectedAsPdf", resourceCulture); + } + } + + internal static string SaveAllAsImages { + get { + return ResourceManager.GetString("SaveAllAsImages", resourceCulture); + } + } + + internal static string SaveSelectedAsImages { + get { + return ResourceManager.GetString("SaveSelectedAsImages", resourceCulture); + } + } + + internal static string EmailAllAsPdf { + get { + return ResourceManager.GetString("EmailAllAsPdf", resourceCulture); + } + } + + internal static string EmailSelectedAsPdf { + get { + return ResourceManager.GetString("EmailSelectedAsPdf", resourceCulture); + } + } + + internal static string EditProfileFormTitle { + get { + return ResourceManager.GetString("EditProfileFormTitle", resourceCulture); + } + } + + internal static string DisplayNameLabel { + get { + return ResourceManager.GetString("DisplayNameLabel", resourceCulture); + } + } + + internal static string WiaDriver { + get { + return ResourceManager.GetString("WiaDriver", resourceCulture); + } + } + + internal static string TwainDriver { + get { + return ResourceManager.GetString("TwainDriver", resourceCulture); + } + } + + internal static string AppleDriver { + get { + return ResourceManager.GetString("AppleDriver", resourceCulture); + } + } + + internal static string SaneDriver { + get { + return ResourceManager.GetString("SaneDriver", resourceCulture); + } + } + + internal static string DeviceLabel { + get { + return ResourceManager.GetString("DeviceLabel", resourceCulture); + } + } + + internal static string ChooseDevice { + get { + return ResourceManager.GetString("ChooseDevice", resourceCulture); + } + } + + internal static string UsePredefinedSettings { + get { + return ResourceManager.GetString("UsePredefinedSettings", resourceCulture); + } + } + + internal static string UseNativeUi { + get { + return ResourceManager.GetString("UseNativeUi", resourceCulture); + } + } + + internal static string PaperSourceLabel { + get { + return ResourceManager.GetString("PaperSourceLabel", resourceCulture); + } + } + + internal static string PageSizeLabel { + get { + return ResourceManager.GetString("PageSizeLabel", resourceCulture); + } + } + + internal static string ResolutionLabel { + get { + return ResourceManager.GetString("ResolutionLabel", resourceCulture); + } + } + + internal static string BrightnessLabel { + get { + return ResourceManager.GetString("BrightnessLabel", resourceCulture); + } + } + + internal static string BitDepthLabel { + get { + return ResourceManager.GetString("BitDepthLabel", resourceCulture); + } + } + + internal static string HorizontalAlignLabel { + get { + return ResourceManager.GetString("HorizontalAlignLabel", resourceCulture); + } + } + + internal static string ScaleLabel { + get { + return ResourceManager.GetString("ScaleLabel", resourceCulture); + } + } + + internal static string ContrastLabel { + get { + return ResourceManager.GetString("ContrastLabel", resourceCulture); + } + } + + internal static string EnableAutoSave { + get { + return ResourceManager.GetString("EnableAutoSave", resourceCulture); + } + } + + internal static string AutoSaveSettings { + get { + return ResourceManager.GetString("AutoSaveSettings", resourceCulture); + } + } + + internal static string Advanced { + get { + return ResourceManager.GetString("Advanced", resourceCulture); + } + } + + internal static string Cancel { + get { + return ResourceManager.GetString("Cancel", resourceCulture); + } + } + + internal static string Select { + get { + return ResourceManager.GetString("Select", resourceCulture); + } + } + + internal static string SelectSource { + get { + return ResourceManager.GetString("SelectSource", resourceCulture); + } + } + + internal static string RunInBackground { + get { + return ResourceManager.GetString("RunInBackground", resourceCulture); + } + } + + internal static string Naps2 { + get { + return ResourceManager.GetString("Naps2", resourceCulture); + } + } + + internal static string Naps2TitleFormat { + get { + return ResourceManager.GetString("Naps2TitleFormat", resourceCulture); + } + } + + internal static string Naps2FullName { + get { + return ResourceManager.GetString("Naps2FullName", resourceCulture); + } + } } } diff --git a/NAPS2.Lib/Lang/Resources/UiStrings.resx b/NAPS2.Lib/Lang/Resources/UiStrings.resx index 46557dedc..c8bd35c43 100644 --- a/NAPS2.Lib/Lang/Resources/UiStrings.resx +++ b/NAPS2.Lib/Lang/Resources/UiStrings.resx @@ -384,7 +384,13 @@ Run in Background - - NAPS2 - Not Another PDF Scanner + + NAPS2 + + + NAPS2 - {0} + + + Not Another PDF Scanner \ No newline at end of file