mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 10:46:33 +02:00
[PT Run] Mitigate JSON Deserialization exception (#6295)
* Add error reporting window on deserialisation error * Add message box to show launcher errors * Change report window to messagebox * nit fix in error window * Localized string for error window * update messagebox interface * Correct ShowMessageBox argument order
This commit is contained in:
committed by
GitHub
parent
5065239266
commit
52a06b5cdc
@@ -267,6 +267,24 @@ namespace PowerLauncher.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Settings will be reset to default and program will continue to function..
|
||||
/// </summary>
|
||||
public static string deseralization_error_message {
|
||||
get {
|
||||
return ResourceManager.GetString("deseralization_error_message", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Powertoys Run deserialization error.
|
||||
/// </summary>
|
||||
public static string deseralization_error_title {
|
||||
get {
|
||||
return ResourceManager.GetString("deseralization_error_title", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Disable.
|
||||
/// </summary>
|
||||
|
||||
@@ -462,4 +462,10 @@
|
||||
<data name="Title" xml:space="preserve">
|
||||
<value>Title</value>
|
||||
</data>
|
||||
<data name="deseralization_error_title" xml:space="preserve">
|
||||
<value>Powertoys Run deserialization error</value>
|
||||
</data>
|
||||
<data name="deseralization_error_message" xml:space="preserve">
|
||||
<value>Settings will be reset to default and program will continue to function.</value>
|
||||
</data>
|
||||
</root>
|
||||
Reference in New Issue
Block a user