141 lines
5.3 KiB
C#
141 lines
5.3 KiB
C#
// <auto-generated />
|
|
namespace Microsoft.VisualStudio.SecretManager
|
|
{
|
|
using System.Globalization;
|
|
using System.Reflection;
|
|
using System.Resources;
|
|
|
|
internal static class Resources
|
|
{
|
|
private static readonly ResourceManager _resourceManager
|
|
= new ResourceManager("Microsoft.VisualStudio.SecretManager.Resources", typeof(Resources).GetTypeInfo().Assembly);
|
|
|
|
/// <summary>
|
|
/// A secret with this name already exists.
|
|
/// </summary>
|
|
internal static string Error_SecretAlreadyExists
|
|
{
|
|
get => GetString("Error_SecretAlreadyExists");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Value cannot be null or an empty string.
|
|
/// </summary>
|
|
internal static string Common_StringNullOrEmpty
|
|
{
|
|
get => GetString("Common_StringNullOrEmpty");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Value cannot be null or an empty string.
|
|
/// </summary>
|
|
internal static string FormatCommon_StringNullOrEmpty()
|
|
=> GetString("Common_StringNullOrEmpty");
|
|
|
|
/// <summary>
|
|
/// Invalid character '{0}' found in the user secrets ID at index '{1}'.
|
|
/// </summary>
|
|
internal static string Error_Invalid_Character_In_UserSecrets_Id
|
|
{
|
|
get => GetString("Error_Invalid_Character_In_UserSecrets_Id");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Invalid character '{0}' found in the user secrets ID at index '{1}'.
|
|
/// </summary>
|
|
internal static string FormatError_Invalid_Character_In_UserSecrets_Id(object p0, object p1)
|
|
=> string.Format(CultureInfo.CurrentCulture, GetString("Error_Invalid_Character_In_UserSecrets_Id"), p0, p1);
|
|
|
|
/// <summary>
|
|
/// Could not find 'UserSecretsIdAttribute' on assembly '{0}'.
|
|
/// Check that the project for '{0}' has set the 'UserSecretsId' build property.
|
|
/// If the 'UserSecretsId' property is already set then add a reference to the Microsoft.Extensions.Configuration.UserSecrets package.
|
|
/// </summary>
|
|
internal static string Error_Missing_UserSecretsIdAttribute
|
|
{
|
|
get => GetString("Error_Missing_UserSecretsIdAttribute");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Could not find 'UserSecretsIdAttribute' on assembly '{0}'.
|
|
/// Check that the project for '{0}' has set the 'UserSecretsId' build property.
|
|
/// If the 'UserSecretsId' property is already set then add a reference to the Microsoft.Extensions.Configuration.UserSecrets package.
|
|
/// </summary>
|
|
internal static string FormatError_Missing_UserSecretsIdAttribute(object p0)
|
|
=> string.Format(CultureInfo.CurrentCulture, GetString("Error_Missing_UserSecretsIdAttribute"), p0);
|
|
|
|
/// <summary>
|
|
/// File path must be a non-empty string.
|
|
/// </summary>
|
|
internal static string Error_InvalidFilePath
|
|
{
|
|
get => GetString("Error_InvalidFilePath");
|
|
}
|
|
|
|
/// <summary>
|
|
/// File path must be a non-empty string.
|
|
/// </summary>
|
|
internal static string FormatError_InvalidFilePath()
|
|
=> GetString("Error_InvalidFilePath");
|
|
|
|
/// <summary>
|
|
/// Could not parse the JSON file. Error on line number '{0}': '{1}'.
|
|
/// </summary>
|
|
internal static string Error_JSONParseError
|
|
{
|
|
get => GetString("Error_JSONParseError");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Could not parse the JSON file. Error on line number '{0}': '{1}'.
|
|
/// </summary>
|
|
internal static string FormatError_JSONParseError(object p0, object p1)
|
|
=> string.Format(CultureInfo.CurrentCulture, GetString("Error_JSONParseError"), p0, p1);
|
|
|
|
/// <summary>
|
|
/// A duplicate key '{0}' was found.
|
|
/// </summary>
|
|
internal static string Error_KeyIsDuplicated
|
|
{
|
|
get => GetString("Error_KeyIsDuplicated");
|
|
}
|
|
|
|
/// <summary>
|
|
/// A duplicate key '{0}' was found.
|
|
/// </summary>
|
|
internal static string FormatError_KeyIsDuplicated(object p0)
|
|
=> string.Format(CultureInfo.CurrentCulture, GetString("Error_KeyIsDuplicated"), p0);
|
|
|
|
/// <summary>
|
|
/// Unsupported JSON token '{0}' was found. Path '{1}', line {2} position {3}.
|
|
/// </summary>
|
|
internal static string Error_UnsupportedJSONToken
|
|
{
|
|
get => GetString("Error_UnsupportedJSONToken");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Unsupported JSON token '{0}' was found. Path '{1}', line {2} position {3}.
|
|
/// </summary>
|
|
internal static string FormatError_UnsupportedJSONToken(object p0, object p1, object p2, object p3)
|
|
=> string.Format(CultureInfo.CurrentCulture, GetString("Error_UnsupportedJSONToken"), p0, p1, p2, p3);
|
|
|
|
private static string GetString(string name, params string[] formatterNames)
|
|
{
|
|
var value = _resourceManager.GetString(name);
|
|
|
|
System.Diagnostics.Debug.Assert(value != null);
|
|
|
|
if (formatterNames != null)
|
|
{
|
|
for (var i = 0; i < formatterNames.Length; i++)
|
|
{
|
|
value = value.Replace("{" + formatterNames[i] + "}", "{" + i + "}");
|
|
}
|
|
}
|
|
|
|
return value;
|
|
}
|
|
}
|
|
}
|