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.
|
// class via a tool like ResGen or Visual Studio.
|
||||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||||
// with the /str option, or rebuild your VS project.
|
// 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.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
public class Resources {
|
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>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Canceled..
|
/// Looks up a localized string similar to Canceled..
|
||||||
/// </summary>
|
/// </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>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Audio CD track extraction failed..
|
/// Looks up a localized string similar to Audio CD track extraction failed..
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -571,4 +571,10 @@ use maj for uppercase version</value>
|
|||||||
<data name="FFMPEGCustomArgumentsTooltip" xml:space="preserve">
|
<data name="FFMPEGCustomArgumentsTooltip" xml:space="preserve">
|
||||||
<value>Custom FFMPEG command line arguments</value>
|
<value>Custom FFMPEG command line arguments</value>
|
||||||
</data>
|
</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>
|
</root>
|
@ -580,4 +580,10 @@ utilisez maj pour une version en majuscules</value>
|
|||||||
<data name="FFMPEGCustomArgumentsTooltip" xml:space="preserve">
|
<data name="FFMPEGCustomArgumentsTooltip" xml:space="preserve">
|
||||||
<value>Arguments de ligne de commande FFMPEG personalisés</value>
|
<value>Arguments de ligne de commande FFMPEG personalisés</value>
|
||||||
</data>
|
</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>
|
</root>
|
@ -586,4 +586,10 @@ use maj for uppercase version</value>
|
|||||||
<data name="CancelJobTooltip" xml:space="preserve">
|
<data name="CancelJobTooltip" xml:space="preserve">
|
||||||
<value>Cancel</value>
|
<value>Cancel</value>
|
||||||
</data>
|
</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>
|
</root>
|
@ -194,9 +194,8 @@ namespace FileConverter.Services
|
|||||||
catch (Exception)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
MessageBoxResult messageBoxResult =
|
MessageBoxResult messageBoxResult =
|
||||||
MessageBox.Show(
|
MessageBox.Show(Resources.ErrorCantLoadSettings,
|
||||||
"Can't load file converter user settings. Do you want to fall back to default settings ?",
|
Resources.Error,
|
||||||
"Error",
|
|
||||||
MessageBoxButton.YesNo,
|
MessageBoxButton.YesNo,
|
||||||
MessageBoxImage.Exclamation);
|
MessageBoxImage.Exclamation);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user