From ef43babcbe774a83939baea9ae91695ce4f4478a Mon Sep 17 00:00:00 2001 From: Steven Date: Sun, 17 Mar 2024 18:49:10 -0400 Subject: [PATCH] 1226 hashtag options (#1327) * touch * #1226 Added hashtag rescan options --- .../Settings/HashtagSheet .Designer.cs | 319 ++++++++++-------- OneMore/Commands/Settings/HashtagSheet .cs | 49 ++- OneMore/Commands/Tagging/HashtagScanner.cs | 2 +- OneMore/Commands/Tagging/HashtagScheduler.cs | 14 +- OneMore/Commands/Tagging/HashtagService.cs | 4 +- .../Tagging/ScheduleScanDialog.Designer.cs | 4 +- OneMore/Properties/Resources.Designer.cs | 35 +- OneMore/Properties/Resources.ar-SA.resx | 18 +- OneMore/Properties/Resources.de-DE.resx | 18 +- OneMore/Properties/Resources.es-ES.resx | 18 +- OneMore/Properties/Resources.fr-FR.resx | 18 +- OneMore/Properties/Resources.he-IL.resx | 18 +- OneMore/Properties/Resources.nl-NL.resx | 18 +- OneMore/Properties/Resources.pl-PL.resx | 18 +- OneMore/Properties/Resources.pt-BR.resx | 18 +- OneMore/Properties/Resources.resx | 18 +- OneMore/Properties/Resources.zh-CN.resx | 18 +- OneMoreTray/Properties/Resources.Designer.cs | 2 +- OneMoreTray/Properties/Resources.ar-SA.resx | 4 +- OneMoreTray/Properties/Resources.de-DE.resx | 4 +- OneMoreTray/Properties/Resources.es-ES.resx | 4 +- OneMoreTray/Properties/Resources.fr-FR.resx | 4 +- OneMoreTray/Properties/Resources.he-IL.resx | 4 +- OneMoreTray/Properties/Resources.nl-NL.resx | 4 +- OneMoreTray/Properties/Resources.pl-PL.resx | 4 +- OneMoreTray/Properties/Resources.pt-BR.resx | 4 +- OneMoreTray/Properties/Resources.resx | 4 +- OneMoreTray/Properties/Resources.zh-CN.resx | 4 +- build.ps1 | 4 + 29 files changed, 422 insertions(+), 231 deletions(-) diff --git a/OneMore/Commands/Settings/HashtagSheet .Designer.cs b/OneMore/Commands/Settings/HashtagSheet .Designer.cs index 792c5c1479..354efb0d69 100644 --- a/OneMore/Commands/Settings/HashtagSheet .Designer.cs +++ b/OneMore/Commands/Settings/HashtagSheet .Designer.cs @@ -30,23 +30,24 @@ protected override void Dispose(bool disposing) private void InitializeComponent() { this.introBox = new River.OneMoreAddIn.UI.MoreMultilineLabel(); - this.layoutPanel = new System.Windows.Forms.Panel(); - this.msLabel = new System.Windows.Forms.Label(); - this.delayBox = new System.Windows.Forms.NumericUpDown(); - this.delayLabel = new System.Windows.Forms.Label(); - this.filterBox = new River.OneMoreAddIn.UI.MoreCheckBox(); - this.styleBox = new System.Windows.Forms.ComboBox(); - this.styleLabel = new System.Windows.Forms.Label(); + this.intervalLabel = new System.Windows.Forms.Label(); + this.intervalBox = new System.Windows.Forms.NumericUpDown(); + this.minLabel = new System.Windows.Forms.Label(); this.advancedGroup = new River.OneMoreAddIn.UI.MoreGroupBox(); - this.rebuildBox = new River.OneMoreAddIn.UI.MoreCheckBox(); + this.warningLabel = new River.OneMoreAddIn.UI.MoreMultilineLabel(); + this.scheduleLink = new River.OneMoreAddIn.UI.MoreLinkLabel(); this.disabledBox = new River.OneMoreAddIn.UI.MoreCheckBox(); - this.minLabel = new System.Windows.Forms.Label(); - this.intervalBox = new System.Windows.Forms.NumericUpDown(); - this.intervalLabel = new System.Windows.Forms.Label(); - this.layoutPanel.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.delayBox)).BeginInit(); - this.advancedGroup.SuspendLayout(); + this.styleLabel = new System.Windows.Forms.Label(); + this.styleBox = new System.Windows.Forms.ComboBox(); + this.filterBox = new River.OneMoreAddIn.UI.MoreCheckBox(); + this.delayLabel = new System.Windows.Forms.Label(); + this.delayBox = new System.Windows.Forms.NumericUpDown(); + this.msLabel = new System.Windows.Forms.Label(); + this.layoutPanel = new System.Windows.Forms.Panel(); ((System.ComponentModel.ISupportInitialize)(this.intervalBox)).BeginInit(); + this.advancedGroup.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.delayBox)).BeginInit(); + this.layoutPanel.SuspendLayout(); this.SuspendLayout(); // // introBox @@ -57,173 +58,199 @@ private void InitializeComponent() this.introBox.Location = new System.Drawing.Point(13, 8); this.introBox.Name = "introBox"; this.introBox.Padding = new System.Windows.Forms.Padding(0, 0, 0, 36); - this.introBox.ThemedBack = "ControlLightLight"; - this.introBox.ThemedFore = "ControlText"; this.introBox.Size = new System.Drawing.Size(772, 66); this.introBox.TabIndex = 3; this.introBox.Text = "Customize advanced options for the Hashtag Scanner Service"; + this.introBox.ThemedBack = "ControlLightLight"; + this.introBox.ThemedFore = "ControlText"; // - // layoutPanel - // - this.layoutPanel.Controls.Add(this.msLabel); - this.layoutPanel.Controls.Add(this.delayBox); - this.layoutPanel.Controls.Add(this.delayLabel); - this.layoutPanel.Controls.Add(this.filterBox); - this.layoutPanel.Controls.Add(this.styleBox); - this.layoutPanel.Controls.Add(this.styleLabel); - this.layoutPanel.Controls.Add(this.advancedGroup); - this.layoutPanel.Controls.Add(this.minLabel); - this.layoutPanel.Controls.Add(this.intervalBox); - this.layoutPanel.Controls.Add(this.intervalLabel); - this.layoutPanel.Dock = System.Windows.Forms.DockStyle.Fill; - this.layoutPanel.Location = new System.Drawing.Point(13, 74); - this.layoutPanel.Margin = new System.Windows.Forms.Padding(0); - this.layoutPanel.Name = "layoutPanel"; - this.layoutPanel.Size = new System.Drawing.Size(772, 412); - this.layoutPanel.TabIndex = 4; - // - // msLabel + // intervalLabel // - this.msLabel.AutoSize = true; - this.msLabel.Location = new System.Drawing.Point(430, 40); - this.msLabel.Name = "msLabel"; - this.msLabel.Size = new System.Drawing.Size(30, 20); - this.msLabel.TabIndex = 14; - this.msLabel.Text = "ms"; + this.intervalLabel.AutoSize = true; + this.intervalLabel.Location = new System.Drawing.Point(7, 8); + this.intervalLabel.Name = "intervalLabel"; + this.intervalLabel.Size = new System.Drawing.Size(180, 20); + this.intervalLabel.TabIndex = 3; + this.intervalLabel.Text = "Scan for hashtags every"; // - // delayBox + // intervalBox // - this.delayBox.Location = new System.Drawing.Point(304, 38); - this.delayBox.Maximum = new decimal(new int[] { - 1000, + this.intervalBox.Location = new System.Drawing.Point(304, 6); + this.intervalBox.Maximum = new decimal(new int[] { + 600, + 0, + 0, + 65536}); + this.intervalBox.Minimum = new decimal(new int[] { + 1, 0, 0, 0}); - this.delayBox.Name = "delayBox"; - this.delayBox.Size = new System.Drawing.Size(120, 26); - this.delayBox.TabIndex = 13; - // - // delayLabel - // - this.delayLabel.AutoSize = true; - this.delayLabel.Location = new System.Drawing.Point(7, 40); - this.delayLabel.Name = "delayLabel"; - this.delayLabel.Size = new System.Drawing.Size(162, 20); - this.delayLabel.TabIndex = 12; - this.delayLabel.Text = "Delay between pages"; - // - // filterBox - // - this.filterBox.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231))))); - this.filterBox.Cursor = System.Windows.Forms.Cursors.Hand; - this.filterBox.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); - this.filterBox.Location = new System.Drawing.Point(11, 87); - this.filterBox.Name = "filterBox"; - this.filterBox.Size = new System.Drawing.Size(497, 25); - this.filterBox.TabIndex = 11; - this.filterBox.Text = "Treat HTML Hex colors and C# and C++ directives as hashtags"; - this.filterBox.UseVisualStyleBackColor = true; - // - // styleBox - // - this.styleBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.styleBox.FormattingEnabled = true; - this.styleBox.Items.AddRange(new object[] { - "None", - "Red Foreground", - "Yellow Background"}); - this.styleBox.Location = new System.Drawing.Point(304, 161); - this.styleBox.Name = "styleBox"; - this.styleBox.Size = new System.Drawing.Size(280, 28); - this.styleBox.TabIndex = 8; + this.intervalBox.Name = "intervalBox"; + this.intervalBox.Size = new System.Drawing.Size(120, 26); + this.intervalBox.TabIndex = 4; + this.intervalBox.Value = new decimal(new int[] { + 20, + 0, + 0, + 65536}); // - // styleLabel + // minLabel // - this.styleLabel.AutoSize = true; - this.styleLabel.Location = new System.Drawing.Point(7, 164); - this.styleLabel.Name = "styleLabel"; - this.styleLabel.Size = new System.Drawing.Size(140, 20); - this.styleLabel.TabIndex = 7; - this.styleLabel.Text = "Apply custom style"; + this.minLabel.AutoSize = true; + this.minLabel.Location = new System.Drawing.Point(430, 8); + this.minLabel.Name = "minLabel"; + this.minLabel.Size = new System.Drawing.Size(65, 20); + this.minLabel.TabIndex = 5; + this.minLabel.Text = "Minutes"; // // advancedGroup // this.advancedGroup.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.advancedGroup.Controls.Add(this.rebuildBox); + this.advancedGroup.Controls.Add(this.warningLabel); + this.advancedGroup.Controls.Add(this.scheduleLink); this.advancedGroup.Controls.Add(this.disabledBox); - this.advancedGroup.Location = new System.Drawing.Point(10, 274); + this.advancedGroup.Location = new System.Drawing.Point(10, 220); this.advancedGroup.Name = "advancedGroup"; this.advancedGroup.Padding = new System.Windows.Forms.Padding(15, 3, 3, 3); - this.advancedGroup.Size = new System.Drawing.Size(759, 135); + this.advancedGroup.Size = new System.Drawing.Size(759, 189); this.advancedGroup.TabIndex = 6; this.advancedGroup.TabStop = false; this.advancedGroup.Text = "Advanced Options"; // - // rebuildBox + // warningLabel + // + this.warningLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.warningLabel.Location = new System.Drawing.Point(18, 58); + this.warningLabel.Name = "warningLabel"; + this.warningLabel.Size = new System.Drawing.Size(735, 49); + this.warningLabel.TabIndex = 2; + this.warningLabel.Text = "This should be used after adding or removing one or more notebooks. It is recomme" + + "nded to schedule rebuilds after-hours, such as midnight."; + this.warningLabel.ThemedBack = null; + this.warningLabel.ThemedFore = null; + // + // scheduleLink // - this.rebuildBox.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231))))); - this.rebuildBox.Cursor = System.Windows.Forms.Cursors.Hand; - this.rebuildBox.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); - this.rebuildBox.Location = new System.Drawing.Point(18, 41); - this.rebuildBox.Name = "rebuildBox"; - this.rebuildBox.Size = new System.Drawing.Size(346, 25); - this.rebuildBox.TabIndex = 10; - this.rebuildBox.Text = "Rebuild the hashtag database upon restart"; - this.rebuildBox.UseVisualStyleBackColor = true; - this.rebuildBox.CheckedChanged += new System.EventHandler(this.ConfirmRebuild); + this.scheduleLink.ActiveLinkColor = System.Drawing.Color.MediumOrchid; + this.scheduleLink.AutoSize = true; + this.scheduleLink.Cursor = System.Windows.Forms.Cursors.Hand; + this.scheduleLink.HoverColor = System.Drawing.Color.Orchid; + this.scheduleLink.LinkColor = System.Drawing.Color.MediumOrchid; + this.scheduleLink.Location = new System.Drawing.Point(18, 35); + this.scheduleLink.Name = "scheduleLink"; + this.scheduleLink.Size = new System.Drawing.Size(310, 20); + this.scheduleLink.StrictColors = false; + this.scheduleLink.TabIndex = 1; + this.scheduleLink.TabStop = true; + this.scheduleLink.Text = "Schedule a rebuild of your hashtag catalog"; + this.scheduleLink.ThemedBack = null; + this.scheduleLink.ThemedFore = null; + this.scheduleLink.VisitedLinkColor = System.Drawing.Color.MediumOrchid; + this.scheduleLink.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.ScheduleRebuild); // // disabledBox // this.disabledBox.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231))))); this.disabledBox.Cursor = System.Windows.Forms.Cursors.Hand; this.disabledBox.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); - this.disabledBox.Location = new System.Drawing.Point(18, 71); + this.disabledBox.Location = new System.Drawing.Point(18, 127); this.disabledBox.Name = "disabledBox"; this.disabledBox.Size = new System.Drawing.Size(540, 25); + this.disabledBox.StylizeImage = false; this.disabledBox.TabIndex = 0; this.disabledBox.Text = "Disable the hashtag service. This will also disable hashtag searching."; + this.disabledBox.ThemedBack = null; + this.disabledBox.ThemedFore = null; this.disabledBox.UseVisualStyleBackColor = true; // - // minLabel + // styleLabel // - this.minLabel.AutoSize = true; - this.minLabel.Location = new System.Drawing.Point(430, 8); - this.minLabel.Name = "minLabel"; - this.minLabel.Size = new System.Drawing.Size(65, 20); - this.minLabel.TabIndex = 5; - this.minLabel.Text = "Minutes"; + this.styleLabel.AutoSize = true; + this.styleLabel.Location = new System.Drawing.Point(7, 150); + this.styleLabel.Name = "styleLabel"; + this.styleLabel.Size = new System.Drawing.Size(140, 20); + this.styleLabel.TabIndex = 7; + this.styleLabel.Text = "Apply custom style"; // - // intervalBox + // styleBox // - this.intervalBox.Location = new System.Drawing.Point(304, 6); - this.intervalBox.Maximum = new decimal(new int[] { - 600, - 0, - 0, - 65536}); - this.intervalBox.Minimum = new decimal(new int[] { - 1, + this.styleBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.styleBox.FormattingEnabled = true; + this.styleBox.Items.AddRange(new object[] { + "None", + "Red Foreground", + "Yellow Background"}); + this.styleBox.Location = new System.Drawing.Point(304, 147); + this.styleBox.Name = "styleBox"; + this.styleBox.Size = new System.Drawing.Size(280, 28); + this.styleBox.TabIndex = 8; + // + // filterBox + // + this.filterBox.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231))))); + this.filterBox.Cursor = System.Windows.Forms.Cursors.Hand; + this.filterBox.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.filterBox.Location = new System.Drawing.Point(11, 87); + this.filterBox.Name = "filterBox"; + this.filterBox.Size = new System.Drawing.Size(497, 25); + this.filterBox.StylizeImage = false; + this.filterBox.TabIndex = 11; + this.filterBox.Text = "Treat HTML Hex colors and C# and C++ directives as hashtags"; + this.filterBox.ThemedBack = null; + this.filterBox.ThemedFore = null; + this.filterBox.UseVisualStyleBackColor = true; + // + // delayLabel + // + this.delayLabel.AutoSize = true; + this.delayLabel.Location = new System.Drawing.Point(7, 40); + this.delayLabel.Name = "delayLabel"; + this.delayLabel.Size = new System.Drawing.Size(162, 20); + this.delayLabel.TabIndex = 12; + this.delayLabel.Text = "Delay between pages"; + // + // delayBox + // + this.delayBox.Location = new System.Drawing.Point(304, 38); + this.delayBox.Maximum = new decimal(new int[] { + 1000, 0, 0, 0}); - this.intervalBox.Name = "intervalBox"; - this.intervalBox.Size = new System.Drawing.Size(120, 26); - this.intervalBox.TabIndex = 4; - this.intervalBox.Value = new decimal(new int[] { - 20, - 0, - 0, - 65536}); + this.delayBox.Name = "delayBox"; + this.delayBox.Size = new System.Drawing.Size(120, 26); + this.delayBox.TabIndex = 13; // - // intervalLabel + // msLabel // - this.intervalLabel.AutoSize = true; - this.intervalLabel.Location = new System.Drawing.Point(7, 8); - this.intervalLabel.Name = "intervalLabel"; - this.intervalLabel.Size = new System.Drawing.Size(180, 20); - this.intervalLabel.TabIndex = 3; - this.intervalLabel.Text = "Scan for hashtags every"; + this.msLabel.AutoSize = true; + this.msLabel.Location = new System.Drawing.Point(430, 40); + this.msLabel.Name = "msLabel"; + this.msLabel.Size = new System.Drawing.Size(30, 20); + this.msLabel.TabIndex = 14; + this.msLabel.Text = "ms"; + // + // layoutPanel + // + this.layoutPanel.Controls.Add(this.msLabel); + this.layoutPanel.Controls.Add(this.delayBox); + this.layoutPanel.Controls.Add(this.delayLabel); + this.layoutPanel.Controls.Add(this.filterBox); + this.layoutPanel.Controls.Add(this.styleBox); + this.layoutPanel.Controls.Add(this.styleLabel); + this.layoutPanel.Controls.Add(this.advancedGroup); + this.layoutPanel.Controls.Add(this.minLabel); + this.layoutPanel.Controls.Add(this.intervalBox); + this.layoutPanel.Controls.Add(this.intervalLabel); + this.layoutPanel.Dock = System.Windows.Forms.DockStyle.Fill; + this.layoutPanel.Location = new System.Drawing.Point(13, 74); + this.layoutPanel.Margin = new System.Windows.Forms.Padding(0); + this.layoutPanel.Name = "layoutPanel"; + this.layoutPanel.Size = new System.Drawing.Size(772, 412); + this.layoutPanel.TabIndex = 4; // // HashtagSheet // @@ -236,11 +263,12 @@ private void InitializeComponent() this.Name = "HashtagSheet"; this.Padding = new System.Windows.Forms.Padding(13, 8, 15, 10); this.Size = new System.Drawing.Size(800, 496); + ((System.ComponentModel.ISupportInitialize)(this.intervalBox)).EndInit(); + this.advancedGroup.ResumeLayout(false); + this.advancedGroup.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.delayBox)).EndInit(); this.layoutPanel.ResumeLayout(false); this.layoutPanel.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.delayBox)).EndInit(); - this.advancedGroup.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.intervalBox)).EndInit(); this.ResumeLayout(false); } @@ -248,18 +276,19 @@ private void InitializeComponent() #endregion private UI.MoreMultilineLabel introBox; - private System.Windows.Forms.Panel layoutPanel; - private System.Windows.Forms.NumericUpDown intervalBox; private System.Windows.Forms.Label intervalLabel; + private System.Windows.Forms.NumericUpDown intervalBox; private System.Windows.Forms.Label minLabel; private UI.MoreGroupBox advancedGroup; private UI.MoreCheckBox disabledBox; - private UI.MoreCheckBox rebuildBox; - private System.Windows.Forms.ComboBox styleBox; private System.Windows.Forms.Label styleLabel; + private System.Windows.Forms.ComboBox styleBox; private UI.MoreCheckBox filterBox; - private System.Windows.Forms.Label msLabel; - private System.Windows.Forms.NumericUpDown delayBox; private System.Windows.Forms.Label delayLabel; + private System.Windows.Forms.NumericUpDown delayBox; + private System.Windows.Forms.Label msLabel; + private System.Windows.Forms.Panel layoutPanel; + private UI.MoreMultilineLabel warningLabel; + private UI.MoreLinkLabel scheduleLink; } } diff --git a/OneMore/Commands/Settings/HashtagSheet .cs b/OneMore/Commands/Settings/HashtagSheet .cs index 3551b696f9..7c71ca8f43 100644 --- a/OneMore/Commands/Settings/HashtagSheet .cs +++ b/OneMore/Commands/Settings/HashtagSheet .cs @@ -13,6 +13,8 @@ namespace River.OneMoreAddIn.Settings internal partial class HashtagSheet : SheetBase { + private readonly HashtagScheduler scheduler; + public HashtagSheet(SettingsProvider provider) : base(provider) { @@ -32,7 +34,8 @@ public HashtagSheet(SettingsProvider provider) : base(provider) "styleLabel", "styleBox", "filterBox", - "rebuildBox", + "scheduleLink", + "warningBox", "disabledBox" }); } @@ -83,22 +86,42 @@ public HashtagSheet(SettingsProvider provider) : base(provider) delayBox.Visible = false; msLabel.Visible = false; } + + scheduler = new HashtagScheduler(); } - private void ConfirmRebuild(object sender, System.EventArgs e) + private async void ScheduleRebuild(object sender, LinkLabelLinkClickedEventArgs e) { - if (rebuildBox.Checked) + using var dialog = + scheduler.State == ScanningState.None || + scheduler.State == ScanningState.Ready + ? new ScheduleScanDialog() + : new ScheduleScanDialog(scheduler.StartTime); + + if (scheduler.State != ScanningState.None && + scheduler.State != ScanningState.Ready) + { + dialog.SetIntroText(string.Format( + Resx.HashtagSheet_prescheduled, + scheduler.StartTime.ToString("ddd, MMMM d, yyyy h:mm tt")) + ); + } + else { - var result = UI.MoreMessageBox.ShowQuestion(this, - "This will delete your hashtag database and create a new one.\n" + - "That requires OneNote to restart and then can take quite some time.\n\n" + - "Are you sure you want to rebuild the database?"); + dialog.SetIntroText(Resx.HashtagSheet_scanNotebooks); + } - if (result != DialogResult.Yes) - { - rebuildBox.Checked = false; - } + // + // FULL? + // + + var result = dialog.ShowDialog(this); + if (result == DialogResult.OK) + { + scheduler.StartTime = dialog.StartTime; + scheduler.State = ScanningState.PendingScan; + await scheduler.Activate(); } } @@ -118,10 +141,6 @@ public override bool CollectSettings() ? settings.Add("unfiltered", true) || updated : settings.Remove("unfiltered") || updated; - updated = rebuildBox.Checked - ? settings.Add("rebuild", true) || updated - : settings.Remove("rebuild") || updated; - updated = disabledBox.Checked ? settings.Add("disabled", true) || updated : settings.Remove("disabled") || updated; diff --git a/OneMore/Commands/Tagging/HashtagScanner.cs b/OneMore/Commands/Tagging/HashtagScanner.cs index 382fb71ac5..46409e57b8 100644 --- a/OneMore/Commands/Tagging/HashtagScanner.cs +++ b/OneMore/Commands/Tagging/HashtagScanner.cs @@ -337,7 +337,7 @@ private async Task ScanPage( provider.WritePageInfo( scanner.MoreID, pageID, titleID, notebookID, sectionID, path, title); - logger.WriteLine($"updating tags on page {path}/{title}"); + logger.WriteLine($"updated tags found on page {path}/{title}"); return true; } diff --git a/OneMore/Commands/Tagging/HashtagScheduler.cs b/OneMore/Commands/Tagging/HashtagScheduler.cs index 4a48a1bcdb..5bb072a966 100644 --- a/OneMore/Commands/Tagging/HashtagScheduler.cs +++ b/OneMore/Commands/Tagging/HashtagScheduler.cs @@ -132,6 +132,12 @@ public async Task Activate() } var exe = Path.Combine(dir, $"{TrayName}.exe"); + if (!File.Exists(exe)) + { + logger.WriteLine($"could not find {exe}"); + return; + } + logger.WriteLine($"starting {exe} @{schedule.StartTime.ToZuluString()}"); var proc = Process.Start(new ProcessStartInfo @@ -165,7 +171,13 @@ public void ClearSchedule() public void Refresh() { var update = ReadSchedule(false); - if (update is not null) + if (update is null) + { + schedule.State = HashtagProvider.DatabaseExists() + ? ScanningState.Ready + : ScanningState.None; + } + else { schedule.State = update.State; schedule.StartTime = update.StartTime; diff --git a/OneMore/Commands/Tagging/HashtagService.cs b/OneMore/Commands/Tagging/HashtagService.cs index 0a32cf3d1a..1881fb325b 100644 --- a/OneMore/Commands/Tagging/HashtagService.cs +++ b/OneMore/Commands/Tagging/HashtagService.cs @@ -145,8 +145,8 @@ private async Task StartupLoop() private async Task WaitForReady() { - if ((scheduler.State != ScanningState.None || - scheduler.State != ScanningState.Ready) && + if (scheduler.State != ScanningState.None && + scheduler.State != ScanningState.Ready && !scheduler.Active) { await scheduler.Activate(); diff --git a/OneMore/Commands/Tagging/ScheduleScanDialog.Designer.cs b/OneMore/Commands/Tagging/ScheduleScanDialog.Designer.cs index f1c65b9c84..2a8059c355 100644 --- a/OneMore/Commands/Tagging/ScheduleScanDialog.Designer.cs +++ b/OneMore/Commands/Tagging/ScheduleScanDialog.Designer.cs @@ -70,8 +70,8 @@ private void InitializeComponent() this.warningLabel.Name = "warningLabel"; this.warningLabel.Size = new System.Drawing.Size(605, 46); this.warningLabel.TabIndex = 6; - this.warningLabel.Text = "OneNote may appear sluggish while scanning. If OneNote is closed, it cannot be op" + - "ened until the scan completes."; + this.warningLabel.Text = "OneNote may appear sluggish while scanning. If OneNote is closed during the scan," + + " it cannot be opened until the scan completes."; this.warningLabel.ThemedBack = null; this.warningLabel.ThemedFore = null; // diff --git a/OneMore/Properties/Resources.Designer.cs b/OneMore/Properties/Resources.Designer.cs index 72119f9f21..12cd5f0c0a 100644 --- a/OneMore/Properties/Resources.Designer.cs +++ b/OneMore/Properties/Resources.Designer.cs @@ -3547,11 +3547,29 @@ internal static string HashtagSheet_introBox_Text { } /// - /// Looks up a localized string similar to Rebuild the hashtag database upon restart. + /// Looks up a localized string similar to A scan is scheduled for {0}. Use the options below to change this or press Cancel to keep the current schedule.. /// - internal static string HashtagSheet_rebuildBox_Text { + internal static string HashtagSheet_prescheduled { get { - return ResourceManager.GetString("HashtagSheet_rebuildBox.Text", resourceCulture); + return ResourceManager.GetString("HashtagSheet_prescheduled", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Schedule an incremental scan of your newly added notebooks. + /// + internal static string HashtagSheet_scanNotebooks { + get { + return ResourceManager.GetString("HashtagSheet_scanNotebooks", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Schedule a rebuild of your hashtag catalog. + /// + internal static string HashtagSheet_scheduleLink_Text { + get { + return ResourceManager.GetString("HashtagSheet_scheduleLink.Text", resourceCulture); } } @@ -3584,6 +3602,15 @@ internal static string HashtagSheet_Title { } } + /// + /// Looks up a localized string similar to This should be used after adding or removing one or more notebooks. It is recommended to schedule rebuilds after-hours, such as midnight.. + /// + internal static string HashtagSheet_warningLabel_Text { + get { + return ResourceManager.GetString("HashtagSheet_warningLabel.Text", resourceCulture); + } + } + /// /// Looks up a localized string similar to No formulas found on this page. /// @@ -10146,7 +10173,7 @@ internal static string ScheduleScanDialog_Title { } /// - /// Looks up a localized string similar to OneNote may appear sluggish while scanning. If OneNote is closed, it cannot be opened until the scan completes.. + /// Looks up a localized string similar to OneNote may appear sluggish while scanning. If OneNote is closed during the scan, it cannot be opened until the scan completes.. /// internal static string ScheduleScanDialog_warningLabel_Text { get { diff --git a/OneMore/Properties/Resources.ar-SA.resx b/OneMore/Properties/Resources.ar-SA.resx index 2d611f4e28..4c50663d3a 100644 --- a/OneMore/Properties/Resources.ar-SA.resx +++ b/OneMore/Properties/Resources.ar-SA.resx @@ -1332,9 +1332,15 @@ تخصيص الخيارات المتقدمة لخدمة Hashtag Scanner label - - إعادة بناء قاعدة بيانات الهاشتاج عند إعادة التشغيل - checkbox + + تمت جدولة عملية الفحص لـ {0}. استخدم الخيارات أدناه لتغيير هذا أو اضغط على إلغاء للاحتفاظ بالجدول الحالي. + + + قم بجدولة فحص متزايد لدفاتر الملاحظات المضافة حديثًا + + + جدولة إعادة بناء كتالوج الهاشتاج الخاص بك + link label لا أحد @@ -1350,6 +1356,10 @@ علامات التصنيف sheet title + + يجب استخدام هذا بعد إضافة أو إزالة دفتر واحد أو أكثر من دفاتر الملاحظات. يوصى بجدولة إعادة البناء بعد ساعات ، مثل منتصف الليل. + multiline label + لا توجد صيغ في هذه الصفحة highlight command message @@ -4049,7 +4059,7 @@ ISO-code then comma then language name dialog title - قد تظهر Onenote بطيئة أثناء المسح. إذا تم إغلاق OneNote ، فلا يمكن فتحه حتى يكتمل المسح. + قد يبدو OneNote بطيئًا أثناء المسح الضوئي. إذا تم إغلاق OneNote أثناء الفحص، فلا يمكن فتحه حتى يكتمل الفحص. multiline label diff --git a/OneMore/Properties/Resources.de-DE.resx b/OneMore/Properties/Resources.de-DE.resx index 33fa5da064..eb46125079 100644 --- a/OneMore/Properties/Resources.de-DE.resx +++ b/OneMore/Properties/Resources.de-DE.resx @@ -1330,9 +1330,15 @@ Diese Abteilung Passen Sie erweiterte Optionen für den Hashtag-Scanner-Dienst an label - - Erstellen Sie die Hashtag-Datenbank beim Neustart neu - checkbox + + Für {0} ist ein Scan geplant. Verwenden Sie die folgenden Optionen, um dies zu ändern, oder klicken Sie auf „Abbrechen“, um den aktuellen Zeitplan beizubehalten. + + + Planen Sie einen inkrementellen Scan Ihrer neu hinzugefügten Notizbücher + + + Planen Sie einen Wiederaufbau Ihres Hashtag -Katalogs + link label Keiner @@ -1348,6 +1354,10 @@ Gelber Hintergrund Hashtags sheet title + + Dies sollte verwendet werden, nachdem ein oder mehrere Notizbücher hinzugefügt oder entfernt werden. Es wird empfohlen, den Wiederaufbau von Nachbästen wie Mitternacht zu planen. + multiline label + Auf dieser Seite wurden keine Formeln gefunden highlight command message @@ -4042,7 +4052,7 @@ Nach der letzten Gruppe dialog title - OneNote kann beim Scannen träge erscheinen. Wenn OneNote geschlossen ist, kann sie erst geöffnet werden, wenn der Scan abgeschlossen ist. + OneNote erscheint beim Scannen möglicherweise träge. Wenn OneNote während des Scans geschlossen ist, kann es erst geöffnet werden, wenn der Scan abgeschlossen ist. multiline label diff --git a/OneMore/Properties/Resources.es-ES.resx b/OneMore/Properties/Resources.es-ES.resx index dd170a8316..39a399c115 100644 --- a/OneMore/Properties/Resources.es-ES.resx +++ b/OneMore/Properties/Resources.es-ES.resx @@ -1332,9 +1332,15 @@ Esta sección Personalice las opciones avanzadas para el servicio Hashtag Scanner label - - Reconstruya la base de datos de hashtag al reiniciar - checkbox + + Hay un análisis programado para {0}. Utilice las opciones siguientes para cambiar esto o presione Cancelar para mantener el horario actual. + + + Programe un análisis incremental de sus cuadernos recién agregados + + + Programe una reconstrucción de su catálogo de hashtag + link label Ninguno @@ -1350,6 +1356,10 @@ Fondo amarillo Etiquetas sheet title + + Esto debe usarse después de agregar o eliminar uno o más cuadernos. Se recomienda programar las reconstrucciones fuera del horario de atención, como la medianoche. + multiline label + No se encontraron fórmulas en esta página highlight command message @@ -4049,7 +4059,7 @@ Después del último grupo dialog title - OneNote puede parecer lento mientras escanea. Si OneNote está cerrado, no se puede abrir hasta que se complete el escaneo. + OneNote puede parecer lento mientras escanea. Si OneNote se cierra durante el análisis, no se podrá abrir hasta que se complete el análisis. multiline label diff --git a/OneMore/Properties/Resources.fr-FR.resx b/OneMore/Properties/Resources.fr-FR.resx index ece3c286d6..e2a6546060 100644 --- a/OneMore/Properties/Resources.fr-FR.resx +++ b/OneMore/Properties/Resources.fr-FR.resx @@ -1332,9 +1332,15 @@ Cette section Personnaliser les options avancées du service Hashtag Scanner label - - Reconstruire la base de données de hashtag au redémarrage - checkbox + + Une analyse est prévue pour {0}. Utilisez les options ci-dessous pour modifier cela ou appuyez sur Annuler pour conserver le programme actuel. + + + Planifiez une analyse incrémentielle de vos blocs-notes nouvellement ajoutés + + + Planifiez une reconstruction de votre catalogue de hashtag + link label Aucun @@ -1350,6 +1356,10 @@ Fond jaune Hashtags sheet title + + Ceci doit être utilisé après avoir ajouté ou supprimé un ou plusieurs cahiers. Il est recommandé de planifier des reconstructions après les heures d'ouverture, comme minuit. + multiline label + Aucune formule trouvée sur cette page highlight command message @@ -4047,7 +4057,7 @@ Après le dernier groupe dialog title - OneNote peut sembler lent pendant la numérisation. Si OneNote est fermé, il ne peut pas être ouvert avant la fin du scan. + OneNote peut sembler lent lors de la numérisation. Si OneNote est fermé pendant l’analyse, il ne peut pas être ouvert tant que l’analyse n’est pas terminée. multiline label diff --git a/OneMore/Properties/Resources.he-IL.resx b/OneMore/Properties/Resources.he-IL.resx index f651587057..a28c0cb964 100644 --- a/OneMore/Properties/Resources.he-IL.resx +++ b/OneMore/Properties/Resources.he-IL.resx @@ -1341,9 +1341,15 @@ Total Row Font התאם אישית אפשרויות מתקדמות עבור שירות הסורק של Hashtag label - - בנה מחדש את מסד הנתונים של ההאשטאג עם הפעלה מחדש - checkbox + + סריקה מתוכננת ל-{0}. השתמש באפשרויות למטה כדי לשנות זאת או לחץ על ביטול כדי לשמור על לוח הזמנים הנוכחי. + + + תזמן סריקה מצטברת של המחברות החדשות שנוספו + + + קבעו את הבנייה מחדש של קטלוג ה- hashtag שלכם + link label אף אחד @@ -1359,6 +1365,10 @@ Total Row Font Hashtags sheet title + + יש להשתמש בזה לאחר הוספת או הסרת מחברת אחת או יותר. מומלץ לתאם מחדש את הבנייה מחדש לאחר שעות העבודה, כמו חצות. + multiline label + לא נמצאו נוסחאות בדף זה highlight command message @@ -4060,7 +4070,7 @@ ISO-code then comma then language name dialog title - OneNote עשוי להיראות איטי בזמן הסריקה. אם OneNote סגור, לא ניתן לפתוח אותו עד לסיום הסריקה. + OneNote עשוי להיראות איטי במהלך הסריקה. אם OneNote סגור במהלך הסריקה, לא ניתן לפתוח אותו עד לסיום הסריקה. multiline label diff --git a/OneMore/Properties/Resources.nl-NL.resx b/OneMore/Properties/Resources.nl-NL.resx index 9ac4264a9d..9b04283fc2 100644 --- a/OneMore/Properties/Resources.nl-NL.resx +++ b/OneMore/Properties/Resources.nl-NL.resx @@ -1333,9 +1333,15 @@ Deze sectie Pas geavanceerde opties aan voor de Hashtag Scanner Service label - - Herbouw de hashtag-database bij het opnieuw opstarten - checkbox + + Er is een scan gepland voor {0}. Gebruik de onderstaande opties om dit te wijzigen of druk op Annuleren om het huidige schema te behouden. + + + Plan een incrementele scan van uw nieuw toegevoegde notitieboekjes + + + Plan een herbouw van uw hashtag -catalogus + link label Geen @@ -1351,6 +1357,10 @@ Gele achtergrond Hashtags sheet title + + Dit moet worden gebruikt na het toevoegen of verwijderen van een of meer notebooks. Het wordt aanbevolen om wederopbouw na uur te plannen, zoals middernacht. + multiline label + Geen formules gevonden op deze pagina highlight command message @@ -4049,7 +4059,7 @@ Na de laatste groep dialog title - OneNote lijkt misschien traag tijdens het scannen. Als OneNote is gesloten, kan deze niet worden geopend totdat de scan is voltooid. + OneNote kan traag lijken tijdens het scannen. Als OneNote tijdens de scan wordt gesloten, kan deze pas worden geopend als de scan is voltooid. multiline label diff --git a/OneMore/Properties/Resources.pl-PL.resx b/OneMore/Properties/Resources.pl-PL.resx index 9b09a6bd12..fdf8d03bab 100644 --- a/OneMore/Properties/Resources.pl-PL.resx +++ b/OneMore/Properties/Resources.pl-PL.resx @@ -1341,9 +1341,15 @@ Ta sekcja Dostosuj zaawansowane opcje usługi skanera hashtagów label - - Odbuduj bazę danych hashtagów po ponownym uruchomieniu - checkbox + + Skanowanie zaplanowano na {0}. Skorzystaj z poniższych opcji, aby to zmienić, lub naciśnij przycisk Anuluj, aby zachować bieżący harmonogram. + + + Zaplanuj przyrostowe skanowanie nowo dodanych notatników + + + Zaplanuj odbudowę katalogu hashtagu + link label Nic @@ -1359,6 +1365,10 @@ Czerwony pierwszy plan Hashtagi sheet title + + Należy to użyć po dodaniu lub usunięciu jednego lub więcej notebooków. Zaleca się zaplanowanie przebudowy po godzinach, takich jak północ. + multiline label + Na tej stronie nie znaleziono formuł highlight command message @@ -4062,7 +4072,7 @@ Po ostatniej grupie dialog title - OneNote może wydawać się ospały podczas skanowania. Jeśli OneNote jest zamknięty, nie można go otworzyć, dopóki skanowanie nie zakończy się. + Podczas skanowania program OneNote może działać wolno. Jeśli program OneNote zostanie zamknięty podczas skanowania, nie będzie można go otworzyć do czasu zakończenia skanowania. multiline label diff --git a/OneMore/Properties/Resources.pt-BR.resx b/OneMore/Properties/Resources.pt-BR.resx index 07b5a05342..5b32a8a872 100644 --- a/OneMore/Properties/Resources.pt-BR.resx +++ b/OneMore/Properties/Resources.pt-BR.resx @@ -1333,9 +1333,15 @@ Esta seção Personalize opções avançadas para o serviço Hashtag Scanner label - - Reconstrua o banco de dados de hashtag ao reiniciar - checkbox + + Uma verificação está agendada para {0}. Use as opções abaixo para alterar isso ou pressione Cancelar para manter a programação atual. + + + Agende uma verificação incremental dos seus notebooks recém-adicionados + + + Programe uma reconstrução do seu catálogo de hashtag + link label Nenhum @@ -1351,6 +1357,10 @@ Fundo Amarelo Hashtags sheet title + + Isso deve ser usado após adicionar ou remover um ou mais notebooks. Recomenda-se agendar reconstrução após o horário comercial, como a meia-noite. + multiline label + Nenhuma fórmula encontrada nesta página highlight command message @@ -4049,7 +4059,7 @@ Depois do último grupo dialog title - Onenote pode parecer lento durante a digitalização. Se o OneNote estiver fechado, ele não poderá ser aberto até que a varredura seja concluída. + O OneNote pode parecer lento durante a digitalização. Se o OneNote for fechado durante a verificação, ele não poderá ser aberto até que a verificação seja concluída. multiline label diff --git a/OneMore/Properties/Resources.resx b/OneMore/Properties/Resources.resx index 0b53cee972..ebfe4762da 100644 --- a/OneMore/Properties/Resources.resx +++ b/OneMore/Properties/Resources.resx @@ -1345,9 +1345,15 @@ This section Customize advanced options for the Hashtag Scanner Service label - - Rebuild the hashtag database upon restart - checkbox + + A scan is scheduled for {0}. Use the options below to change this or press Cancel to keep the current schedule. + + + Schedule an incremental scan of your newly added notebooks + + + Schedule a rebuild of your hashtag catalog + link label None @@ -1363,6 +1369,10 @@ Yellow Background Hashtags sheet title + + This should be used after adding or removing one or more notebooks. It is recommended to schedule rebuilds after-hours, such as midnight. + multiline label + No formulas found on this page highlight command message @@ -4087,7 +4097,7 @@ After last group dialog title - OneNote may appear sluggish while scanning. If OneNote is closed, it cannot be opened until the scan completes. + OneNote may appear sluggish while scanning. If OneNote is closed during the scan, it cannot be opened until the scan completes. multiline label diff --git a/OneMore/Properties/Resources.zh-CN.resx b/OneMore/Properties/Resources.zh-CN.resx index ed84f94bf6..05e6fd73b5 100644 --- a/OneMore/Properties/Resources.zh-CN.resx +++ b/OneMore/Properties/Resources.zh-CN.resx @@ -1331,9 +1331,15 @@ OneNote 文件 (*.one) 自定义标签扫描仪服务的高级选项 label - - 重新启动时重建主题标签数据库 - checkbox + + 计划于 {0} 进行扫描。使用以下选项更改此设置或按“取消”保留当前计划。 + + + 安排对新添加的笔记本进行增量扫描 + + + 安排您的主题标签目录的重建 + link label 没有任何 @@ -1349,6 +1355,10 @@ OneNote 文件 (*.one) 标签 sheet title + + 在添加或删除一个或多个笔记本电脑后应使用此功能。 建议在下班后(例如午夜)安排重建。 + multiline label + 在此页面上找不到公式 highlight command message @@ -4042,7 +4052,7 @@ ISO-code then comma then language name dialog title - 扫描时OneNote可能看起来很迟钝。 如果关闭OneNote,则不能在扫描完成之前打开它。 + 扫描时 OneNote 可能会显得缓慢。如果在扫描过程中 OneNote 关闭,则在扫描完成之前无法打开它。 multiline label diff --git a/OneMoreTray/Properties/Resources.Designer.cs b/OneMoreTray/Properties/Resources.Designer.cs index b86c56732b..40d0f81159 100644 --- a/OneMoreTray/Properties/Resources.Designer.cs +++ b/OneMoreTray/Properties/Resources.Designer.cs @@ -179,7 +179,7 @@ internal static string ScannerTitle { } /// - /// Looks up a localized string similar to Scanning can take quite some time and affect OneNote performance. If OneNote is closed, it cannot be reopened until the scan is completed. + /// Looks up a localized string similar to Scanning can take quite some time and affect OneNote performance. If OneNote is closed during the scan, it cannot be reopened until the scan is completed. /// ///Cancel the scheduled time and run the scan now?. /// diff --git a/OneMoreTray/Properties/Resources.ar-SA.resx b/OneMoreTray/Properties/Resources.ar-SA.resx index 657fe19c03..001a0009a5 100644 --- a/OneMoreTray/Properties/Resources.ar-SA.resx +++ b/OneMoreTray/Properties/Resources.ar-SA.resx @@ -158,10 +158,10 @@ الماسح الضوئي الهاشتاج - يمكن أن يستغرق المسح بعض الوقت ويؤثر على أداء OneNote. إذا تم إغلاق OneNote، فلا يمكن إعادة فتحه حتى اكتمال الفحص. + يمكن أن يستغرق المسح بعض الوقت ويؤثر على أداء OneNote. إذا تم إغلاق OneNote أثناء الفحص، فلا يمكن إعادة فتحه حتى يكتمل الفحص. هل تريد إلغاء الوقت المحدد وتشغيل الفحص الآن؟ - message box + message box يتم إجراء الفحص حاليًا diff --git a/OneMoreTray/Properties/Resources.de-DE.resx b/OneMoreTray/Properties/Resources.de-DE.resx index d7694b9e75..3de0275754 100644 --- a/OneMoreTray/Properties/Resources.de-DE.resx +++ b/OneMoreTray/Properties/Resources.de-DE.resx @@ -158,10 +158,10 @@ Hashtag-Scanner - Das Scannen kann einige Zeit in Anspruch nehmen und die Leistung von OneNote beeinträchtigen. Wenn OneNote geschlossen ist, kann es erst wieder geöffnet werden, wenn der Scan abgeschlossen ist. + Das Scannen kann einige Zeit in Anspruch nehmen und die Leistung von OneNote beeinträchtigen. Wenn OneNote während des Scans geschlossen wird, kann es erst wieder geöffnet werden, wenn der Scan abgeschlossen ist. Den geplanten Zeitpunkt stornieren und den Scan jetzt ausführen? - message box + message box Derzeit läuft ein Scan diff --git a/OneMoreTray/Properties/Resources.es-ES.resx b/OneMoreTray/Properties/Resources.es-ES.resx index a1546bd15a..69e30ecbdb 100644 --- a/OneMoreTray/Properties/Resources.es-ES.resx +++ b/OneMoreTray/Properties/Resources.es-ES.resx @@ -158,10 +158,10 @@ Escáner de hashtags - El escaneo puede llevar bastante tiempo y afectar el rendimiento de OneNote. Si OneNote está cerrado, no se puede volver a abrir hasta que se complete el escaneo. + El escaneo puede llevar bastante tiempo y afectar el rendimiento de OneNote. Si OneNote se cierra durante el análisis, no se puede volver a abrir hasta que se complete el análisis. ¿Cancelar la hora programada y ejecutar el escaneo ahora? - message box + message box Actualmente se está ejecutando un análisis diff --git a/OneMoreTray/Properties/Resources.fr-FR.resx b/OneMoreTray/Properties/Resources.fr-FR.resx index 921ba9643a..dc89a25fb9 100644 --- a/OneMoreTray/Properties/Resources.fr-FR.resx +++ b/OneMoreTray/Properties/Resources.fr-FR.resx @@ -158,10 +158,10 @@ Scanner de hashtags - L'analyse peut prendre un certain temps et affecter les performances de OneNote. Si OneNote est fermé, il ne peut pas être rouvert tant que l'analyse n'est pas terminée. + L'analyse peut prendre un certain temps et affecter les performances de OneNote. Si OneNote est fermé pendant l’analyse, il ne peut pas être rouvert tant que l’analyse n’est pas terminée. Annuler l'heure programmée et exécuter l'analyse maintenant ? - message box + message box Une analyse est en cours diff --git a/OneMoreTray/Properties/Resources.he-IL.resx b/OneMoreTray/Properties/Resources.he-IL.resx index aa70aae00a..42e4b7ec4b 100644 --- a/OneMoreTray/Properties/Resources.he-IL.resx +++ b/OneMoreTray/Properties/Resources.he-IL.resx @@ -158,10 +158,10 @@ סורק האשטאג - הסריקה עשויה לקחת לא מעט זמן ולהשפיע על ביצועי OneNote. אם OneNote סגור, לא ניתן לפתוח אותו מחדש עד השלמת הסריקה. + הסריקה עשויה לקחת לא מעט זמן ולהשפיע על ביצועי OneNote. אם OneNote סגור במהלך הסריקה, לא ניתן לפתוח אותו מחדש עד השלמת הסריקה. לבטל את הזמן המתוכנן ולהפעיל את הסריקה עכשיו? - message box + message box כרגע פועלת סריקה diff --git a/OneMoreTray/Properties/Resources.nl-NL.resx b/OneMoreTray/Properties/Resources.nl-NL.resx index b14799d10b..3d3b1d5b65 100644 --- a/OneMoreTray/Properties/Resources.nl-NL.resx +++ b/OneMoreTray/Properties/Resources.nl-NL.resx @@ -158,10 +158,10 @@ Hashtag-scanner - Scannen kan enige tijd duren en de prestaties van OneNote beïnvloeden. Als OneNote is gesloten, kan het pas opnieuw worden geopend als de scan is voltooid. + Scannen kan enige tijd duren en de prestaties van OneNote beïnvloeden. Als OneNote tijdens de scan wordt gesloten, kan deze pas opnieuw worden geopend nadat de scan is voltooid. De geplande tijd annuleren en de scan nu uitvoeren? - message box + message box Er wordt momenteel een scan uitgevoerd diff --git a/OneMoreTray/Properties/Resources.pl-PL.resx b/OneMoreTray/Properties/Resources.pl-PL.resx index 0f9f4402fd..77275d04ef 100644 --- a/OneMoreTray/Properties/Resources.pl-PL.resx +++ b/OneMoreTray/Properties/Resources.pl-PL.resx @@ -158,10 +158,10 @@ Skaner hashtagów - Skanowanie może zająć trochę czasu i wpłynąć na wydajność programu OneNote. Jeśli program OneNote jest zamknięty, nie można go ponownie otworzyć do czasu zakończenia skanowania. + Skanowanie może zająć trochę czasu i wpłynąć na wydajność programu OneNote. Jeśli program OneNote zostanie zamknięty podczas skanowania, nie można go ponownie otworzyć do czasu zakończenia skanowania. Anulować zaplanowany czas i uruchomić skanowanie teraz? - message box + message box Aktualnie trwa skanowanie diff --git a/OneMoreTray/Properties/Resources.pt-BR.resx b/OneMoreTray/Properties/Resources.pt-BR.resx index 1be3799c24..bc0f64d5e1 100644 --- a/OneMoreTray/Properties/Resources.pt-BR.resx +++ b/OneMoreTray/Properties/Resources.pt-BR.resx @@ -158,10 +158,10 @@ Scanner de hashtag - A verificação pode levar algum tempo e afetar o desempenho do OneNote. Se o OneNote estiver fechado, ele não poderá ser reaberto até que a verificação seja concluída. + A verificação pode levar algum tempo e afetar o desempenho do OneNote. Se o OneNote for fechado durante a verificação, ele não poderá ser reaberto até que a verificação seja concluída. Cancelar o horário agendado e executar a verificação agora? - message box + message box Uma verificação está em execução no momento diff --git a/OneMoreTray/Properties/Resources.resx b/OneMoreTray/Properties/Resources.resx index 58c4f9ea9e..7758374046 100644 --- a/OneMoreTray/Properties/Resources.resx +++ b/OneMoreTray/Properties/Resources.resx @@ -158,10 +158,10 @@ Hashtag Scanner - Scanning can take quite some time and affect OneNote performance. If OneNote is closed, it cannot be reopened until the scan is completed. + Scanning can take quite some time and affect OneNote performance. If OneNote is closed during the scan, it cannot be reopened until the scan is completed. Cancel the scheduled time and run the scan now? - message box + message box A scan is currently running diff --git a/OneMoreTray/Properties/Resources.zh-CN.resx b/OneMoreTray/Properties/Resources.zh-CN.resx index 7606f4e1ed..9f1c750c07 100644 --- a/OneMoreTray/Properties/Resources.zh-CN.resx +++ b/OneMoreTray/Properties/Resources.zh-CN.resx @@ -158,10 +158,10 @@ 标签扫描仪 - 扫描可能需要相当长的时间并影响 OneNote 性能。如果 OneNote 已关闭,则在扫描完成之前无法重新打开它。 + 扫描可能需要相当长的时间并影响 OneNote 性能。如果在扫描过程中 OneNote 关闭,则在扫描完成之前无法重新打开它。 取消预定时间并立即运行扫描吗? - message box + message box 当前正在运行扫描 diff --git a/build.ps1 b/build.ps1 index 7a42bb527f..1c6f6ce7bc 100644 --- a/build.ps1 +++ b/build.ps1 @@ -186,6 +186,10 @@ Begin BuildComponent 'OneMore' $true Pop-Location + Push-Location OneMoreTray + BuildComponent 'OneMoreTray' $true + Pop-Location + Push-Location OneMoreCalendar BuildComponent 'OneMoreCalendar' $true Pop-Location