changed a few localized strings used by the initial connection file not found dialog

This commit is contained in:
David Sparer
2018-02-04 19:44:39 -06:00
parent e4eaf0037e
commit 5be346c89d
3 changed files with 22 additions and 15 deletions

View File

@@ -147,7 +147,14 @@ namespace mRemoteNG.App
{
try
{
CTaskDialog.ShowTaskDialogBox(GeneralAppInfo.ProductName, Language.ConfigurationFileNotFound, "", "", "", "", "", string.Join(" | ", commandButtons), ETaskDialogButtons.None, ESysIcons.Question, ESysIcons.Question);
CTaskDialog.ShowTaskDialogBox(
GeneralAppInfo.ProductName,
Language.ConnectionFileNotFound,
"", "", "", "", "",
string.Join(" | ", commandButtons),
ETaskDialogButtons.None,
ESysIcons.Question,
ESysIcons.Question);
switch (CTaskDialog.CommandButtonResult)
{

View File

@@ -19,7 +19,7 @@ namespace mRemoteNG {
// 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", "4.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()]
internal class Language {
@@ -61,7 +61,7 @@ namespace mRemoteNG {
}
/// <summary>
/// Looks up a localized string similar to Create a New Configuration File.
/// Looks up a localized string similar to Create a New Connection File.
/// </summary>
internal static string ConfigurationCreateNew {
get {
@@ -78,15 +78,6 @@ namespace mRemoteNG {
}
}
/// <summary>
/// Looks up a localized string similar to The Configuration File is Missing..
/// </summary>
internal static string ConfigurationFileNotFound {
get {
return ResourceManager.GetString("ConfigurationFileNotFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Import an Existing File.
/// </summary>
@@ -96,6 +87,15 @@ namespace mRemoteNG {
}
}
/// <summary>
/// Looks up a localized string similar to The connection file could not be found..
/// </summary>
internal static string ConnectionFileNotFound {
get {
return ResourceManager.GetString("ConnectionFileNotFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Connection successful.
/// </summary>

View File

@@ -2590,10 +2590,10 @@ This page will walk you through the process of upgrading your connections file o
<value>Could not find external tool with name "{0}"</value>
</data>
<data name="ConfigurationCreateNew" xml:space="preserve">
<value>Create a New Configuration File</value>
<value>Create a New Connection File</value>
</data>
<data name="ConfigurationFileNotFound" xml:space="preserve">
<value>The Configuration File is Missing.</value>
<data name="ConnectionFileNotFound" xml:space="preserve">
<value>The connection file could not be found.</value>
</data>
<data name="ConfigurationImportFile" xml:space="preserve">
<value>Import an Existing File</value>