update translations

This commit is contained in:
Jakob 2021-05-08 13:28:20 +02:00
parent d48b683fe8
commit 71cdd9ab92
4 changed files with 16 additions and 1 deletions

View file

@ -175,7 +175,7 @@ namespace EnvyUpdate
} }
if ((GlobalVars.exepath == GlobalVars.appdata) && File.Exists(GlobalVars.appdata + "EnvyUpdate.exe")) if ((GlobalVars.exepath == GlobalVars.appdata) && File.Exists(GlobalVars.appdata + "EnvyUpdate.exe"))
{ {
MessageBox.Show("EnvyUpdate must be uninstalled because of an application bug. Please download the most recent version again."); MessageBox.Show(Properties.Resources.uninstall_legacy_message);
Util.SelfDelete(); Util.SelfDelete();
} }
else if (Directory.Exists(GlobalVars.appdata)) else if (Directory.Exists(GlobalVars.appdata))

View file

@ -204,6 +204,15 @@ namespace EnvyUpdate.Properties {
} }
} }
/// <summary>
/// Looks up a localized string similar to EnvyUpdate must be uninstalled because of an application bug. Please download the most recent version again..
/// </summary>
public static string uninstall_legacy_message {
get {
return ResourceManager.GetString("uninstall_legacy_message", resourceCulture);
}
}
/// <summary> /// <summary>
/// Looks up a localized string similar to A new driver update is available for your graphics card. Click for more info.. /// Looks up a localized string similar to A new driver update is available for your graphics card. Click for more info..
/// </summary> /// </summary>

View file

@ -165,6 +165,9 @@
<data name="uninstall_heading" xml:space="preserve"> <data name="uninstall_heading" xml:space="preserve">
<value>Deinstallieren?</value> <value>Deinstallieren?</value>
</data> </data>
<data name="uninstall_legacy_message" xml:space="preserve">
<value>Aufgrund eines Programmfehlers musste EnvyUpdate deinstalliert werden. Bitte laden Sie die neuste Version erneut manuell herunter.</value>
</data>
<data name="update_popup_message" xml:space="preserve"> <data name="update_popup_message" xml:space="preserve">
<value>Eine neue Treiberversion ist verfügbar. Hier klicken für mehr Info.</value> <value>Eine neue Treiberversion ist verfügbar. Hier klicken für mehr Info.</value>
</data> </data>

View file

@ -165,6 +165,9 @@
<data name="uninstall_heading" xml:space="preserve"> <data name="uninstall_heading" xml:space="preserve">
<value>Uninstall?</value> <value>Uninstall?</value>
</data> </data>
<data name="uninstall_legacy_message" xml:space="preserve">
<value>EnvyUpdate must be uninstalled because of an application bug. Please download the most recent version again.</value>
</data>
<data name="update_popup_message" xml:space="preserve"> <data name="update_popup_message" xml:space="preserve">
<value>A new driver update is available for your graphics card. Click for more info.</value> <value>A new driver update is available for your graphics card. Click for more info.</value>
</data> </data>