diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs
index 91d48b8..ad6bdd5 100644
--- a/Properties/AssemblyInfo.cs
+++ b/Properties/AssemblyInfo.cs
@@ -39,5 +39,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.19.5")]
-[assembly: AssemblyFileVersion("1.0.19.5")]
+[assembly: AssemblyVersion("1.0.19.6")]
+[assembly: AssemblyFileVersion("1.0.19.6")]
diff --git a/Resources/lang.Designer.cs b/Resources/lang.Designer.cs
index b25ee9e..5d5cb6a 100644
--- a/Resources/lang.Designer.cs
+++ b/Resources/lang.Designer.cs
@@ -511,6 +511,15 @@ namespace SystemTrayMenu.Resources {
}
}
+ ///
+ /// Looks up a localized string similar to Problem with Shortcut.
+ ///
+ internal static string Problem_with_Shortcut {
+ get {
+ return ResourceManager.GetString("Problem with Shortcut", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Restart.
///
@@ -682,6 +691,16 @@ namespace SystemTrayMenu.Resources {
}
}
+ ///
+ /// Looks up a localized string similar to The item that this shortcut refers to has been changed or moved, so this shortcut will no longer work properly..
+ ///
+ internal static string The_item_that_this_shortcut_refers_to_has_been_changed_or_moved__so_this_shortcut_will_no_longer_work_properly_ {
+ get {
+ return ResourceManager.GetString("The item that this shortcut refers to has been changed or moved, so this shortcut" +
+ " will no longer work properly.", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Time until a menu opens.
///
diff --git a/Resources/lang.cs-CZ.resx b/Resources/lang.cs-CZ.resx
index 3e87785..e9d50b1 100644
--- a/Resources/lang.cs-CZ.resx
+++ b/Resources/lang.cs-CZ.resx
@@ -339,4 +339,10 @@
načítání
+
+ Problém se zkratkou
+
+
+ Položka, na kterou tato zkratka odkazuje, byla změněna nebo přesunuta, takže tato zkratka již nebude správně fungovat.
+
\ No newline at end of file
diff --git a/Resources/lang.de-DE.resx b/Resources/lang.de-DE.resx
index e485f63..2395972 100644
--- a/Resources/lang.de-DE.resx
+++ b/Resources/lang.de-DE.resx
@@ -339,4 +339,10 @@
Wird geladen
+
+ Problem mit Shortcut
+
+
+ Das Element, auf das sich diese Verknüpfung bezieht, wurde geändert oder verschoben, sodass diese Verknüpfung nicht mehr ordnungsgemäß funktioniert.
+
\ No newline at end of file
diff --git a/Resources/lang.es-ES.resx b/Resources/lang.es-ES.resx
index 33f70cf..e86d8fe 100644
--- a/Resources/lang.es-ES.resx
+++ b/Resources/lang.es-ES.resx
@@ -339,4 +339,10 @@
cargando
+
+ Problema con atajo
+
+
+ El elemento al que se refiere este acceso directo se ha cambiado o movido, por lo que este acceso directo ya no funcionará correctamente.
+
\ No newline at end of file
diff --git a/Resources/lang.fr-FR.resx b/Resources/lang.fr-FR.resx
index 8995355..9a34539 100644
--- a/Resources/lang.fr-FR.resx
+++ b/Resources/lang.fr-FR.resx
@@ -339,4 +339,10 @@
Chargement en cours
+
+ Problème avec raccourci
+
+
+ L'élément auquel ce raccourci fait référence a été modifié ou déplacé, ce raccourci ne fonctionnera donc plus correctement.
+
\ No newline at end of file
diff --git a/Resources/lang.it-IT.resx b/Resources/lang.it-IT.resx
index 9b8c670..965f5b7 100644
--- a/Resources/lang.it-IT.resx
+++ b/Resources/lang.it-IT.resx
@@ -339,4 +339,10 @@
Caricamento in corso
+
+ Problema con scorciatoia
+
+
+ L'elemento a cui si riferisce questa scorciatoia è stato modificato o spostato, quindi questa scorciatoia non funzionerà più correttamente.
+
\ No newline at end of file
diff --git a/Resources/lang.ja-JP.resx b/Resources/lang.ja-JP.resx
index 68248fa..fe354fc 100644
--- a/Resources/lang.ja-JP.resx
+++ b/Resources/lang.ja-JP.resx
@@ -339,4 +339,10 @@
読み込み中
+
+ ショートカットの問題
+
+
+ このショートカットが参照するアイテムが変更または移動されたため、このショートカットは正しく機能しなくなります。
+
\ No newline at end of file
diff --git a/Resources/lang.ko-KR.resx b/Resources/lang.ko-KR.resx
index 866591e..94fb732 100644
--- a/Resources/lang.ko-KR.resx
+++ b/Resources/lang.ko-KR.resx
@@ -339,4 +339,10 @@
로딩
+
+ 바로 가기 문제
+
+
+ 이 바로 가기가 참조하는 항목이 변경되거나 이동되었으므로 이 바로 가기가 더 이상 제대로 작동하지 않습니다.
+
\ No newline at end of file
diff --git a/Resources/lang.nl-NL.resx b/Resources/lang.nl-NL.resx
index 42dc735..5d095fb 100644
--- a/Resources/lang.nl-NL.resx
+++ b/Resources/lang.nl-NL.resx
@@ -339,4 +339,10 @@
bezig met laden
+
+ Probleem met snelkoppeling
+
+
+ Het item waarnaar deze snelkoppeling verwijst is gewijzigd of verplaatst, waardoor deze snelkoppeling niet meer goed werkt.
+
\ No newline at end of file
diff --git a/Resources/lang.pt-BR.resx b/Resources/lang.pt-BR.resx
index 81515e3..513b949 100644
--- a/Resources/lang.pt-BR.resx
+++ b/Resources/lang.pt-BR.resx
@@ -339,4 +339,10 @@
Carregando
+
+ Problema com o atalho
+
+
+ O item ao qual este atalho se refere foi alterado ou movido, portanto, este atalho não funcionará mais corretamente.
+
\ No newline at end of file
diff --git a/Resources/lang.resx b/Resources/lang.resx
index 84a0d46..78f2308 100644
--- a/Resources/lang.resx
+++ b/Resources/lang.resx
@@ -339,4 +339,10 @@
loading
+
+ Problem with Shortcut
+
+
+ The item that this shortcut refers to has been changed or moved, so this shortcut will no longer work properly.
+
\ No newline at end of file
diff --git a/Resources/lang.ru-RU.resx b/Resources/lang.ru-RU.resx
index 20ae354..6932f4f 100644
--- a/Resources/lang.ru-RU.resx
+++ b/Resources/lang.ru-RU.resx
@@ -339,4 +339,10 @@
загрузка
+
+ Проблема с ярлыком
+
+
+ Элемент, на который ссылается этот ярлык, был изменен или перемещен, поэтому этот ярлык больше не будет работать должным образом.
+
\ No newline at end of file
diff --git a/Resources/lang.vi-VN.resx b/Resources/lang.vi-VN.resx
index 9866e66..7f65819 100644
--- a/Resources/lang.vi-VN.resx
+++ b/Resources/lang.vi-VN.resx
@@ -339,4 +339,10 @@
Đang tải
+
+ Sự cố với phím tắt
+
+
+ Mục mà lối tắt này đề cập đến đã được thay đổi hoặc di chuyển, vì vậy lối tắt này sẽ không còn hoạt động bình thường.
+
\ No newline at end of file
diff --git a/Resources/lang.zh-CN.resx b/Resources/lang.zh-CN.resx
index 824f51f..37dbac3 100644
--- a/Resources/lang.zh-CN.resx
+++ b/Resources/lang.zh-CN.resx
@@ -339,4 +339,10 @@
加载
+
+ Problem with Shortcut
+
+
+ 此快捷方式所指的项目已被更改或移动,因此此快捷方式将不再正常工作。
+
\ No newline at end of file
diff --git a/Utilities/Log.cs b/Utilities/Log.cs
index b0ad75b..4bb68ec 100644
--- a/Utilities/Log.cs
+++ b/Utilities/Log.cs
@@ -10,6 +10,7 @@ namespace SystemTrayMenu.Utilities
using System.Diagnostics;
using System.IO;
using System.Reflection;
+ using System.Threading;
using System.Windows.Forms;
using Clearcove.Logging;
@@ -106,16 +107,18 @@ namespace SystemTrayMenu.Utilities
}
catch (Exception ex)
{
- if (ex is FileNotFoundException ||
- ex is Win32Exception ||
- ex is InvalidOperationException)
+ Warn($"fileName:'{fileName}' arguments:'{arguments}'", ex);
+ if (ex.Message == "The system cannot find the file specified.")
{
- Warn($"fileName:'{fileName}' arguments:'{arguments}'", ex);
- MessageBox.Show(ex.Message);
- }
- else
- {
- throw;
+ new Thread(ShowProblemWithShortcut).Start();
+ void ShowProblemWithShortcut()
+ {
+ _ = MessageBox.Show(
+ Translator.GetText("The item that this shortcut refers to has been changed or moved, so this shortcut will no longer work properly."),
+ Translator.GetText("Problem with Shortcut"),
+ MessageBoxButtons.OK,
+ MessageBoxIcon.Warning);
+ }
}
}
}