Improving translation support

PNGBitDepth enum is now translatable
This commit is contained in:
L1Q 2017-07-04 19:10:58 +03:00
parent 1f0668e73a
commit f6f4f920a2
3 changed files with 49 additions and 5 deletions

View file

@ -36,15 +36,11 @@ public enum EDataType
URL
}
public enum PNGBitDepth // TODO: Translate
public enum PNGBitDepth // Localized
{
[Description("Default")]
Default,
[Description("Automatically detect")]
Automatic,
[Description("32 bit")]
Bit32,
[Description("24 bit")]
Bit24
}

View file

@ -1825,6 +1825,42 @@ internal class Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Automatically detect.
/// </summary>
internal static string PNGBitDepth_Automatic {
get {
return ResourceManager.GetString("PNGBitDepth_Automatic", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to 24 bit.
/// </summary>
internal static string PNGBitDepth_Bit24 {
get {
return ResourceManager.GetString("PNGBitDepth_Bit24", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to 32 bit.
/// </summary>
internal static string PNGBitDepth_Bit32 {
get {
return ResourceManager.GetString("PNGBitDepth_Bit32", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Default.
/// </summary>
internal static string PNGBitDepth_Default {
get {
return ResourceManager.GetString("PNGBitDepth_Default", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Show tray balloon tip.
/// </summary>

View file

@ -1016,4 +1016,16 @@ Would you like to download it?</value>
<data name="CustomUploaderDestinationType_ImageUploader" xml:space="preserve">
<value>Image uploader</value>
</data>
<data name="PNGBitDepth_Default" xml:space="preserve">
<value>Default</value>
</data>
<data name="PNGBitDepth_Automatic" xml:space="preserve">
<value>Automatically detect</value>
</data>
<data name="PNGBitDepth_Bit32" xml:space="preserve">
<value>32 bit</value>
</data>
<data name="PNGBitDepth_Bit24" xml:space="preserve">
<value>24 bit</value>
</data>
</root>