[FancyZones] Localize strings in FancyZones editor (#6943)

* Localize strings in FancyZones editor

* Move localized strings into resx file
This commit is contained in:
vldmr11080
2020-10-05 12:06:35 +02:00
committed by GitHub
parent 4feb0f209f
commit 71765238b1
4 changed files with 81 additions and 19 deletions

View File

@@ -61,11 +61,11 @@ namespace FancyZonesEditor.Models
private const string PriorityGridJsonTag = "priority-grid";
private const string CustomJsonTag = "custom";
private const string PowerToysIssuesLink = "https://aka.ms/powerToysReportBug";
private const string PowerToysIssuesURL = "https://aka.ms/powerToysReportBug";
public static void ShowExceptionMessageBox(string message, Exception exception = null)
{
string fullMessage = ErrorMessageBoxMessage + PowerToysIssuesLink + " \n" + message;
string fullMessage = ErrorMessageBoxMessage + PowerToysIssuesURL + " \n" + message;
if (exception != null)
{
fullMessage += ": " + exception.Message;