mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-03 17:56:44 +02:00
[ColorPicker]Fix localization of color names (#22837)
* [ColorPicker] Restructure to have color names localized * [ColorPicker] Restrucure code to have localised color names * Fix analyzer errors * [ColorPicker] add comments
This commit is contained in:
@@ -287,9 +287,13 @@ namespace ManagedCommon
|
||||
{ "Zv", 'i' }, // Z value int
|
||||
{ "Dr", 'i' }, // Decimal value (RGB) int
|
||||
{ "Dv", 'i' }, // Decimal value (BGR) int
|
||||
{ "Na", 's' }, // Color name string
|
||||
|
||||
// Removed Parameter Na, as the color name gets replaced separately, in localised way
|
||||
// { "Na", 's' }, // Color name string
|
||||
};
|
||||
|
||||
public static string GetColorNameParameter() => "%Na";
|
||||
|
||||
private static readonly Dictionary<char, string> FormatTypeToStringFormatters = new Dictionary<char, string>()
|
||||
{
|
||||
{ 'b', "b" }, // 0..255 byte
|
||||
@@ -452,8 +456,10 @@ namespace ManagedCommon
|
||||
return ((color.R * 65536) + (color.G * 256) + color.B).ToString(CultureInfo.InvariantCulture);
|
||||
case "Dv":
|
||||
return (color.R + (color.G * 256) + (color.B * 65536)).ToString(CultureInfo.InvariantCulture);
|
||||
case "Na":
|
||||
return ColorNameHelper.GetColorName(color);
|
||||
|
||||
// Removed Parameter Na, as the color name gets replaced separately, in localised way
|
||||
// case "Na":
|
||||
// return ColorNameHelper.GetColorName(color);
|
||||
default: return string.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -85,86 +85,86 @@ namespace ManagedCommon
|
||||
// of that color, which are defined as follows:
|
||||
private static string[] colorNamesLight =
|
||||
{
|
||||
CommonResources.TEXT_COLOR_CORAL,
|
||||
CommonResources.TEXT_COLOR_ROSE,
|
||||
CommonResources.TEXT_COLOR_LIGHTORANGE,
|
||||
CommonResources.TEXT_COLOR_TAN,
|
||||
CommonResources.TEXT_COLOR_TAN,
|
||||
CommonResources.TEXT_COLOR_LIGHTYELLOW,
|
||||
CommonResources.TEXT_COLOR_LIGHTYELLOW,
|
||||
CommonResources.TEXT_COLOR_TAN,
|
||||
CommonResources.TEXT_COLOR_LIGHTGREEN,
|
||||
CommonResources.TEXT_COLOR_LIME,
|
||||
CommonResources.TEXT_COLOR_LIGHTGREEN,
|
||||
CommonResources.TEXT_COLOR_LIGHTGREEN,
|
||||
CommonResources.TEXT_COLOR_AQUA,
|
||||
CommonResources.TEXT_COLOR_SKYBLUE,
|
||||
CommonResources.TEXT_COLOR_LIGHTTURQUOISE,
|
||||
CommonResources.TEXT_COLOR_PALEBLUE,
|
||||
CommonResources.TEXT_COLOR_LIGHTBLUE,
|
||||
CommonResources.TEXT_COLOR_ICEBLUE,
|
||||
CommonResources.TEXT_COLOR_PERIWINKLE,
|
||||
CommonResources.TEXT_COLOR_LAVENDER,
|
||||
CommonResources.TEXT_COLOR_PINK,
|
||||
CommonResources.TEXT_COLOR_TAN,
|
||||
CommonResources.TEXT_COLOR_ROSE,
|
||||
"TEXT_COLOR_CORAL",
|
||||
"TEXT_COLOR_ROSE",
|
||||
"TEXT_COLOR_LIGHTORANGE",
|
||||
"TEXT_COLOR_TAN",
|
||||
"TEXT_COLOR_TAN",
|
||||
"TEXT_COLOR_LIGHTYELLOW",
|
||||
"TEXT_COLOR_LIGHTYELLOW",
|
||||
"TEXT_COLOR_TAN",
|
||||
"TEXT_COLOR_LIGHTGREEN",
|
||||
"TEXT_COLOR_LIME",
|
||||
"TEXT_COLOR_LIGHTGREEN",
|
||||
"TEXT_COLOR_LIGHTGREEN",
|
||||
"TEXT_COLOR_AQUA",
|
||||
"TEXT_COLOR_SKYBLUE",
|
||||
"TEXT_COLOR_LIGHTTURQUOISE",
|
||||
"TEXT_COLOR_PALEBLUE",
|
||||
"TEXT_COLOR_LIGHTBLUE",
|
||||
"TEXT_COLOR_ICEBLUE",
|
||||
"TEXT_COLOR_PERIWINKLE",
|
||||
"TEXT_COLOR_LAVENDER",
|
||||
"TEXT_COLOR_PINK",
|
||||
"TEXT_COLOR_TAN",
|
||||
"TEXT_COLOR_ROSE",
|
||||
};
|
||||
|
||||
private static string[] colorNamesMid =
|
||||
{
|
||||
CommonResources.TEXT_COLOR_CORAL,
|
||||
CommonResources.TEXT_COLOR_RED,
|
||||
CommonResources.TEXT_COLOR_ORANGE,
|
||||
CommonResources.TEXT_COLOR_BROWN,
|
||||
CommonResources.TEXT_COLOR_TAN,
|
||||
CommonResources.TEXT_COLOR_GOLD,
|
||||
CommonResources.TEXT_COLOR_YELLOW,
|
||||
CommonResources.TEXT_COLOR_OLIVEGREEN,
|
||||
CommonResources.TEXT_COLOR_OLIVEGREEN,
|
||||
CommonResources.TEXT_COLOR_GREEN,
|
||||
CommonResources.TEXT_COLOR_GREEN,
|
||||
CommonResources.TEXT_COLOR_BRIGHTGREEN,
|
||||
CommonResources.TEXT_COLOR_TEAL,
|
||||
CommonResources.TEXT_COLOR_AQUA,
|
||||
CommonResources.TEXT_COLOR_TURQUOISE,
|
||||
CommonResources.TEXT_COLOR_PALEBLUE,
|
||||
CommonResources.TEXT_COLOR_BLUE,
|
||||
CommonResources.TEXT_COLOR_BLUEGRAY,
|
||||
CommonResources.TEXT_COLOR_INDIGO,
|
||||
CommonResources.TEXT_COLOR_PURPLE,
|
||||
CommonResources.TEXT_COLOR_PINK,
|
||||
CommonResources.TEXT_COLOR_BROWN,
|
||||
CommonResources.TEXT_COLOR_RED,
|
||||
"TEXT_COLOR_CORAL",
|
||||
"TEXT_COLOR_RED",
|
||||
"TEXT_COLOR_ORANGE",
|
||||
"TEXT_COLOR_BROWN",
|
||||
"TEXT_COLOR_TAN",
|
||||
"TEXT_COLOR_GOLD",
|
||||
"TEXT_COLOR_YELLOW",
|
||||
"TEXT_COLOR_OLIVEGREEN",
|
||||
"TEXT_COLOR_OLIVEGREEN",
|
||||
"TEXT_COLOR_GREEN",
|
||||
"TEXT_COLOR_GREEN",
|
||||
"TEXT_COLOR_BRIGHTGREEN",
|
||||
"TEXT_COLOR_TEAL",
|
||||
"TEXT_COLOR_AQUA",
|
||||
"TEXT_COLOR_TURQUOISE",
|
||||
"TEXT_COLOR_PALEBLUE",
|
||||
"TEXT_COLOR_BLUE",
|
||||
"TEXT_COLOR_BLUEGRAY",
|
||||
"TEXT_COLOR_INDIGO",
|
||||
"TEXT_COLOR_PURPLE",
|
||||
"TEXT_COLOR_PINK",
|
||||
"TEXT_COLOR_BROWN",
|
||||
"TEXT_COLOR_RED",
|
||||
};
|
||||
|
||||
private static string[] colorNamesDark =
|
||||
{
|
||||
CommonResources.TEXT_COLOR_BROWN,
|
||||
CommonResources.TEXT_COLOR_DARKRED,
|
||||
CommonResources.TEXT_COLOR_BROWN,
|
||||
CommonResources.TEXT_COLOR_BROWN,
|
||||
CommonResources.TEXT_COLOR_BROWN,
|
||||
CommonResources.TEXT_COLOR_DARKYELLOW,
|
||||
CommonResources.TEXT_COLOR_DARKYELLOW,
|
||||
CommonResources.TEXT_COLOR_BROWN,
|
||||
CommonResources.TEXT_COLOR_DARKGREEN,
|
||||
CommonResources.TEXT_COLOR_DARKGREEN,
|
||||
CommonResources.TEXT_COLOR_DARKGREEN,
|
||||
CommonResources.TEXT_COLOR_DARKGREEN,
|
||||
CommonResources.TEXT_COLOR_DARKTEAL,
|
||||
CommonResources.TEXT_COLOR_DARKTEAL,
|
||||
CommonResources.TEXT_COLOR_DARKTEAL,
|
||||
CommonResources.TEXT_COLOR_DARKBLUE,
|
||||
CommonResources.TEXT_COLOR_DARKBLUE,
|
||||
CommonResources.TEXT_COLOR_BLUEGRAY,
|
||||
CommonResources.TEXT_COLOR_INDIGO,
|
||||
CommonResources.TEXT_COLOR_DARKPURPLE,
|
||||
CommonResources.TEXT_COLOR_PLUM,
|
||||
CommonResources.TEXT_COLOR_BROWN,
|
||||
CommonResources.TEXT_COLOR_DARKRED,
|
||||
"TEXT_COLOR_BROWN",
|
||||
"TEXT_COLOR_DARKRED",
|
||||
"TEXT_COLOR_BROWN",
|
||||
"TEXT_COLOR_BROWN",
|
||||
"TEXT_COLOR_BROWN",
|
||||
"TEXT_COLOR_DARKYELLOW",
|
||||
"TEXT_COLOR_DARKYELLOW",
|
||||
"TEXT_COLOR_BROWN",
|
||||
"TEXT_COLOR_DARKGREEN",
|
||||
"TEXT_COLOR_DARKGREEN",
|
||||
"TEXT_COLOR_DARKGREEN",
|
||||
"TEXT_COLOR_DARKGREEN",
|
||||
"TEXT_COLOR_DARKTEAL",
|
||||
"TEXT_COLOR_DARKTEAL",
|
||||
"TEXT_COLOR_DARKTEAL",
|
||||
"TEXT_COLOR_DARKBLUE",
|
||||
"TEXT_COLOR_DARKBLUE",
|
||||
"TEXT_COLOR_BLUEGRAY",
|
||||
"TEXT_COLOR_INDIGO",
|
||||
"TEXT_COLOR_DARKPURPLE",
|
||||
"TEXT_COLOR_PLUM",
|
||||
"TEXT_COLOR_BROWN",
|
||||
"TEXT_COLOR_DARKRED",
|
||||
};
|
||||
|
||||
public static string GetColorName(Color color)
|
||||
public static string GetColorNameIdentifier(Color color)
|
||||
{
|
||||
var (hue, sat, lum) = ColorFormatHelper.ConvertToHSLColor(color);
|
||||
|
||||
@@ -175,26 +175,26 @@ namespace ManagedCommon
|
||||
// First, if we're in the achromatic state, return the appropriate achromatic color name.
|
||||
if (lum > 240)
|
||||
{
|
||||
return CommonResources.TEXT_COLOR_WHITE;
|
||||
return "TEXT_COLOR_WHITE";
|
||||
}
|
||||
else if (lum < 20)
|
||||
{
|
||||
return CommonResources.TEXT_COLOR_BLACK;
|
||||
return "TEXT_COLOR_BLACK";
|
||||
}
|
||||
|
||||
if (sat <= 20)
|
||||
{
|
||||
if (lum > 170)
|
||||
{
|
||||
return CommonResources.TEXT_COLOR_LIGHTGRAY;
|
||||
return "TEXT_COLOR_LIGHTGRAY";
|
||||
}
|
||||
else if (lum > 100)
|
||||
{
|
||||
return CommonResources.TEXT_COLOR_GRAY;
|
||||
return "TEXT_COLOR_GRAY";
|
||||
}
|
||||
else
|
||||
{
|
||||
return CommonResources.TEXT_COLOR_DARKGRAY;
|
||||
return "TEXT_COLOR_DARKGRAY";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
378
src/common/ManagedCommon/CommonResources.Designer.cs
generated
378
src/common/ManagedCommon/CommonResources.Designer.cs
generated
@@ -59,383 +59,5 @@ namespace ManagedCommon {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Aqua.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_AQUA {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_AQUA", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Black.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_BLACK {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_BLACK", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Blue.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_BLUE {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_BLUE", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Blue gray.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_BLUEGRAY {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_BLUEGRAY", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Bright green.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_BRIGHTGREEN {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_BRIGHTGREEN", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Brown.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_BROWN {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_BROWN", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Coral.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_CORAL {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_CORAL", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Dark blue.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_DARKBLUE {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_DARKBLUE", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Dark gray.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_DARKGRAY {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_DARKGRAY", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Dark green.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_DARKGREEN {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_DARKGREEN", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Dark purple.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_DARKPURPLE {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_DARKPURPLE", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Dark red.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_DARKRED {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_DARKRED", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Dark teal.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_DARKTEAL {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_DARKTEAL", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Dark yellow.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_DARKYELLOW {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_DARKYELLOW", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Gold.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_GOLD {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_GOLD", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Gray.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_GRAY {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_GRAY", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Green.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_GREEN {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_GREEN", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Ice blue.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_ICEBLUE {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_ICEBLUE", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Indigo.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_INDIGO {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_INDIGO", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Lavender.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_LAVENDER {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_LAVENDER", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Light blue.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_LIGHTBLUE {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_LIGHTBLUE", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Light gray.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_LIGHTGRAY {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_LIGHTGRAY", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Light green.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_LIGHTGREEN {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_LIGHTGREEN", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Light orange.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_LIGHTORANGE {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_LIGHTORANGE", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Light turquoise.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_LIGHTTURQUOISE {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_LIGHTTURQUOISE", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Light yellow.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_LIGHTYELLOW {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_LIGHTYELLOW", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Lime.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_LIME {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_LIME", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Olive green.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_OLIVEGREEN {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_OLIVEGREEN", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Orange.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_ORANGE {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_ORANGE", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Pale blue.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_PALEBLUE {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_PALEBLUE", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Periwinkle.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_PERIWINKLE {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_PERIWINKLE", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Pink.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_PINK {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_PINK", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Plum.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_PLUM {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_PLUM", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Purple.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_PURPLE {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_PURPLE", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Red.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_RED {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_RED", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Rose.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_ROSE {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_ROSE", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Sky blue.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_SKYBLUE {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_SKYBLUE", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Tan.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_TAN {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_TAN", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Teal.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_TEAL {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_TEAL", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Turquoise.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_TURQUOISE {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_TURQUOISE", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to White.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_WHITE {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_WHITE", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Yellow.
|
||||
/// </summary>
|
||||
public static string TEXT_COLOR_YELLOW {
|
||||
get {
|
||||
return ResourceManager.GetString("TEXT_COLOR_YELLOW", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -117,172 +117,4 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="TEXT_COLOR_WHITE" xml:space="preserve">
|
||||
<value>White</value>
|
||||
<comment>White color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_BLACK" xml:space="preserve">
|
||||
<value>Black</value>
|
||||
<comment>Black color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_LIGHTGRAY" xml:space="preserve">
|
||||
<value>Light gray</value>
|
||||
<comment>Light gray color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_GRAY" xml:space="preserve">
|
||||
<value>Gray</value>
|
||||
<comment>Gray color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_DARKGRAY" xml:space="preserve">
|
||||
<value>Dark gray</value>
|
||||
<comment>Dark gray color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_CORAL" xml:space="preserve">
|
||||
<value>Coral</value>
|
||||
<comment>Coral color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_ROSE" xml:space="preserve">
|
||||
<value>Rose</value>
|
||||
<comment>Rose color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_LIGHTORANGE" xml:space="preserve">
|
||||
<value>Light orange</value>
|
||||
<comment>Light orange color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_TAN" xml:space="preserve">
|
||||
<value>Tan</value>
|
||||
<comment>Tan color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_LIGHTYELLOW" xml:space="preserve">
|
||||
<value>Light yellow</value>
|
||||
<comment>Light yellow color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_LIGHTGREEN" xml:space="preserve">
|
||||
<value>Light green</value>
|
||||
<comment>Light green color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_LIME" xml:space="preserve">
|
||||
<value>Lime</value>
|
||||
<comment>Lime color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_AQUA" xml:space="preserve">
|
||||
<value>Aqua</value>
|
||||
<comment>Aqua color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_SKYBLUE" xml:space="preserve">
|
||||
<value>Sky blue</value>
|
||||
<comment>Sky blue color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_LIGHTTURQUOISE" xml:space="preserve">
|
||||
<value>Light turquoise</value>
|
||||
<comment>Light turquoise color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_PALEBLUE" xml:space="preserve">
|
||||
<value>Pale blue</value>
|
||||
<comment>Pale blue color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_LIGHTBLUE" xml:space="preserve">
|
||||
<value>Light blue</value>
|
||||
<comment>Light blue color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_ICEBLUE" xml:space="preserve">
|
||||
<value>Ice blue</value>
|
||||
<comment>Ice blue color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_PERIWINKLE" xml:space="preserve">
|
||||
<value>Periwinkle</value>
|
||||
<comment>Periwinkle color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_LAVENDER" xml:space="preserve">
|
||||
<value>Lavender</value>
|
||||
<comment>Lavender color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_PINK" xml:space="preserve">
|
||||
<value>Pink</value>
|
||||
<comment>Pink color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_RED" xml:space="preserve">
|
||||
<value>Red</value>
|
||||
<comment>Red color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_ORANGE" xml:space="preserve">
|
||||
<value>Orange</value>
|
||||
<comment>Orange color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_BROWN" xml:space="preserve">
|
||||
<value>Brown</value>
|
||||
<comment>Brown color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_GOLD" xml:space="preserve">
|
||||
<value>Gold</value>
|
||||
<comment>Gold color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_YELLOW" xml:space="preserve">
|
||||
<value>Yellow</value>
|
||||
<comment>Yellow color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_OLIVEGREEN" xml:space="preserve">
|
||||
<value>Olive green</value>
|
||||
<comment>Olive green color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_GREEN" xml:space="preserve">
|
||||
<value>Green</value>
|
||||
<comment>Green color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_BRIGHTGREEN" xml:space="preserve">
|
||||
<value>Bright green</value>
|
||||
<comment>Rose color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_TEAL" xml:space="preserve">
|
||||
<value>Teal</value>
|
||||
<comment>Teal color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_TURQUOISE" xml:space="preserve">
|
||||
<value>Turquoise</value>
|
||||
<comment>Turquoise color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_BLUE" xml:space="preserve">
|
||||
<value>Blue</value>
|
||||
<comment>Blue color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_BLUEGRAY" xml:space="preserve">
|
||||
<value>Blue gray</value>
|
||||
<comment>Blue gray color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_INDIGO" xml:space="preserve">
|
||||
<value>Indigo</value>
|
||||
<comment>Indigo color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_PURPLE" xml:space="preserve">
|
||||
<value>Purple</value>
|
||||
<comment>Purple color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_DARKRED" xml:space="preserve">
|
||||
<value>Dark red</value>
|
||||
<comment>Dark red color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_DARKYELLOW" xml:space="preserve">
|
||||
<value>Dark yellow</value>
|
||||
<comment>Dark yellow color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_DARKGREEN" xml:space="preserve">
|
||||
<value>Dark green</value>
|
||||
<comment>Dark green color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_DARKTEAL" xml:space="preserve">
|
||||
<value>Dark teal</value>
|
||||
<comment>Dark teal color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_DARKBLUE" xml:space="preserve">
|
||||
<value>Dark blue</value>
|
||||
<comment>Dark blue color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_DARKPURPLE" xml:space="preserve">
|
||||
<value>Dark purple</value>
|
||||
<comment>Dark purple color</comment>
|
||||
</data>
|
||||
<data name="TEXT_COLOR_PLUM" xml:space="preserve">
|
||||
<value>Plum</value>
|
||||
<comment>Plum color</comment>
|
||||
</data>
|
||||
</root>
|
||||
Reference in New Issue
Block a user