Localize error message
This commit is contained in:
parent
a686608054
commit
b78a36b022
@ -19,7 +19,7 @@ namespace FileConverter.Properties {
|
||||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class Resources {
|
||||
@ -447,6 +447,15 @@ namespace FileConverter.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Error.
|
||||
/// </summary>
|
||||
public static string Error {
|
||||
get {
|
||||
return ResourceManager.GetString("Error", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Canceled..
|
||||
/// </summary>
|
||||
@ -474,6 +483,15 @@ namespace FileConverter.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Can't load file converter user settings. Do you want to fall back to default settings ?.
|
||||
/// </summary>
|
||||
public static string ErrorCantLoadSettings {
|
||||
get {
|
||||
return ResourceManager.GetString("ErrorCantLoadSettings", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Audio CD track extraction failed..
|
||||
/// </summary>
|
||||
|
@ -571,4 +571,10 @@ use maj for uppercase version</value>
|
||||
<data name="FFMPEGCustomArgumentsTooltip" xml:space="preserve">
|
||||
<value>Custom FFMPEG command line arguments</value>
|
||||
</data>
|
||||
<data name="Error" xml:space="preserve">
|
||||
<value>Error</value>
|
||||
</data>
|
||||
<data name="ErrorCantLoadSettings" xml:space="preserve">
|
||||
<value>Can't load file converter user settings. Do you want to fall back to default settings ?</value>
|
||||
</data>
|
||||
</root>
|
@ -580,4 +580,10 @@ utilisez maj pour une version en majuscules</value>
|
||||
<data name="FFMPEGCustomArgumentsTooltip" xml:space="preserve">
|
||||
<value>Arguments de ligne de commande FFMPEG personalisés</value>
|
||||
</data>
|
||||
<data name="Error" xml:space="preserve">
|
||||
<value>Erreur</value>
|
||||
</data>
|
||||
<data name="ErrorCantLoadSettings" xml:space="preserve">
|
||||
<value>Impossible de charger la configuration de File Converter. Voulez vous appliquer la configuration par défaut ?</value>
|
||||
</data>
|
||||
</root>
|
@ -586,4 +586,10 @@ use maj for uppercase version</value>
|
||||
<data name="CancelJobTooltip" xml:space="preserve">
|
||||
<value>Cancel</value>
|
||||
</data>
|
||||
<data name="Error" xml:space="preserve">
|
||||
<value>Error</value>
|
||||
</data>
|
||||
<data name="ErrorCantLoadSettings" xml:space="preserve">
|
||||
<value>Can't load file converter user settings. Do you want to fall back to default settings ?</value>
|
||||
</data>
|
||||
</root>
|
@ -194,9 +194,8 @@ namespace FileConverter.Services
|
||||
catch (Exception)
|
||||
{
|
||||
MessageBoxResult messageBoxResult =
|
||||
MessageBox.Show(
|
||||
"Can't load file converter user settings. Do you want to fall back to default settings ?",
|
||||
"Error",
|
||||
MessageBox.Show(Resources.ErrorCantLoadSettings,
|
||||
Resources.Error,
|
||||
MessageBoxButton.YesNo,
|
||||
MessageBoxImage.Exclamation);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user