diff --git a/SuperGrate/Classes/USMT.cs b/SuperGrate/Classes/USMT.cs index 6b4ff5f..aaa0f7c 100644 --- a/SuperGrate/Classes/USMT.cs +++ b/SuperGrate/Classes/USMT.cs @@ -280,7 +280,7 @@ private static Task UploadToStore(string SID, out string GUID) string lGUID = Guid.NewGuid().ToString(); GUID = lGUID; return Task.Run(async () => { - Logger.Information(Language.Get("Class/USMT/Log/TransferringUserStateTo", Language.Get("Store"))); + Logger.Information(Language.Get("Class/USMT/Log/TransferringUserStateTo", Language.Get("Shared/Store"))); string Destination = Path.Combine(Config.Settings["MigrationStorePath"], lGUID); try { @@ -303,7 +303,7 @@ private static Task UploadToStore(string SID, out string GUID) { Directory.Delete(Destination, true); } - Logger.Exception(e, Language.Get("Class/USMT/Log/Failed/TransferUserStateTo", Language.Get("Store"))); + Logger.Exception(e, Language.Get("Class/USMT/Log/Failed/TransferUserStateTo", Language.Get("Shared/Store"))); return false; } }); diff --git a/SuperGrate/Localization/en.xml b/SuperGrate/Localization/en.xml index 9fe4fb3..39182ac 100644 --- a/SuperGrate/Localization/en.xml +++ b/SuperGrate/Localization/en.xml @@ -5,6 +5,7 @@ Cancel Start Delete + Store Source computer Destination computer Source user name diff --git a/SuperGrateTests/Classes/LanguageTests.cs b/SuperGrateTests/Classes/LanguageTests.cs index 2df1d27..f2fa4ce 100644 --- a/SuperGrateTests/Classes/LanguageTests.cs +++ b/SuperGrateTests/Classes/LanguageTests.cs @@ -15,7 +15,7 @@ public void GetTest() foreach (string file in files) { StreamReader reader = File.OpenText(file); - MatchCollection matches = Regex.Matches(reader.ReadToEnd(), "Language\\.Get\\(\"([a-z,A-Z,/]*)\".*\\)"); + MatchCollection matches = Regex.Matches(reader.ReadToEnd(), "Language\\.Get\\(\"([a-z,A-Z,\\/]*)\"(?=.*\\))"); reader.Close(); foreach (Match match in matches) {