mirror of
https://github.com/knah/VRCMelonAssistant.git
synced 2024-06-29 11:30:22 +12:00
localise updater class
This commit is contained in:
parent
434a59278f
commit
7908f64b24
|
@ -51,7 +51,7 @@ namespace ModAssistant
|
|||
}
|
||||
catch
|
||||
{
|
||||
Utils.SendNotify("Couldn't check for updates.");
|
||||
Utils.SendNotify((string)Application.Current.FindResource("Updater:CheckFailed"));
|
||||
}
|
||||
|
||||
if (NeedsUpdate) StartUpdate();
|
||||
|
@ -74,7 +74,7 @@ namespace ModAssistant
|
|||
|
||||
if (String.IsNullOrEmpty(DownloadLink))
|
||||
{
|
||||
Utils.SendNotify("Couldn't download update.");
|
||||
Utils.SendNotify((string)Application.Current.FindResource("Updater:DownloadFailed"));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -16,6 +16,10 @@
|
|||
<sys:String x:Key="OneClick:ProtocolHandler:Registered">{0} DEBUG</sys:String>
|
||||
<sys:String x:Key="OneClick:ProtocolHandler:Unregistered">{0} DEBUG</sys:String>
|
||||
|
||||
<!-- Updater Class -->
|
||||
<sys:String x:Key="Updater:CheckFailed">Couldn't check for updates.</sys:String>
|
||||
<sys:String x:Key="Updater:DownloadFailed">Couldn't download update.</sys:String>
|
||||
|
||||
<!-- Utils Class -->
|
||||
<sys:String x:Key="Utils:NotificationTitle">DEBUG</sys:String>
|
||||
<sys:String x:Key="Utils:NoInstallFolder">DEBUG</sys:String>
|
||||
|
|
|
@ -16,6 +16,10 @@
|
|||
<sys:String x:Key="OneClick:ProtocolHandler:Registered">{0} OneClick™ Install handlers registered!</sys:String>
|
||||
<sys:String x:Key="OneClick:ProtocolHandler:Unregistered">{0} OneClick™ Install handlers unregistered!</sys:String>
|
||||
|
||||
<!-- Updater Class -->
|
||||
<sys:String x:Key="Updater:CheckFailed">Couldn't check for updates.</sys:String>
|
||||
<sys:String x:Key="Updater:DownloadFailed">Couldn't download update.</sys:String>
|
||||
|
||||
<!-- Utils Class -->
|
||||
<sys:String x:Key="Utils:NotificationTitle">Mod Assistant</sys:String>
|
||||
<sys:String x:Key="Utils:NoInstallFolder">Could not detect your Beat Saber install folder. Please select it manually.</sys:String>
|
||||
|
|
Loading…
Reference in a new issue