From 74a16fd317473fae03d74969b1b5e93fe0b9fc0e Mon Sep 17 00:00:00 2001 From: Niels Martin Hansen Date: Wed, 17 Aug 2022 21:48:07 +0200 Subject: [PATCH] Make cut out effect type names localized --- ShareX.HelpersLib/Enums.cs | 2 +- .../Properties/Resources.Designer.cs | 45 +++++++++++++++++++ ShareX.HelpersLib/Properties/Resources.resx | 16 ++++++- 3 files changed, 61 insertions(+), 2 deletions(-) diff --git a/ShareX.HelpersLib/Enums.cs b/ShareX.HelpersLib/Enums.cs index 4b7076fec..e32becc81 100644 --- a/ShareX.HelpersLib/Enums.cs +++ b/ShareX.HelpersLib/Enums.cs @@ -213,7 +213,7 @@ public enum StepType // Localized RomanNumeralsLowercase } - public enum CutOutEffectType // TODO: localize + public enum CutOutEffectType // Localized { None, ZigZag, diff --git a/ShareX.HelpersLib/Properties/Resources.Designer.cs b/ShareX.HelpersLib/Properties/Resources.Designer.cs index c8edd5934..d51dcc064 100644 --- a/ShareX.HelpersLib/Properties/Resources.Designer.cs +++ b/ShareX.HelpersLib/Properties/Resources.Designer.cs @@ -685,6 +685,42 @@ internal class Resources { } } + /// + /// Looks up a localized string similar to No effect. + /// + internal static string CutOutEffectType_None { + get { + return ResourceManager.GetString("CutOutEffectType_None", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Torn edges. + /// + internal static string CutOutEffectType_TornEdge { + get { + return ResourceManager.GetString("CutOutEffectType_TornEdge", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Wave. + /// + internal static string CutOutEffectType_Wave { + get { + return ResourceManager.GetString("CutOutEffectType_Wave", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Sawtooth. + /// + internal static string CutOutEffectType_ZigZag { + get { + return ResourceManager.GetString("CutOutEffectType_ZigZag", resourceCulture); + } + } + /// /// Looks up a localized string similar to Browse for a folder.... /// @@ -3652,6 +3688,15 @@ internal class Resources { } } + /// + /// Looks up a localized string similar to Cut out. + /// + internal static string ShapeType_ToolCutOut { + get { + return ResourceManager.GetString("ShapeType_ToolCutOut", resourceCulture); + } + } + /// /// Looks up a localized string similar to Select and move (M). /// diff --git a/ShareX.HelpersLib/Properties/Resources.resx b/ShareX.HelpersLib/Properties/Resources.resx index 3d5e7a523..0d1bb0f1e 100644 --- a/ShareX.HelpersLib/Properties/Resources.resx +++ b/ShareX.HelpersLib/Properties/Resources.resx @@ -1429,7 +1429,6 @@ Would you like to download and install it? OCR - Tools @@ -1455,4 +1454,19 @@ Would you like to download and install it? Tools + + No effect + + + Torn edges + + + Wave + + + Sawtooth + + + Cut out + \ No newline at end of file