Moved enum descriptions to resources

This commit is contained in:
Jaex 2016-07-13 19:11:47 +03:00
parent 8dd7a63392
commit 7d465b00b8
3 changed files with 252 additions and 21 deletions

View file

@ -1870,6 +1870,78 @@ internal class Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Cancel capture.
/// </summary>
internal static string RegionCaptureAction_CancelCapture {
get {
return ResourceManager.GetString("RegionCaptureAction_CancelCapture", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Capture active monitor.
/// </summary>
internal static string RegionCaptureAction_CaptureActiveMonitor {
get {
return ResourceManager.GetString("RegionCaptureAction_CaptureActiveMonitor", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Capture fullscreen.
/// </summary>
internal static string RegionCaptureAction_CaptureFullscreen {
get {
return ResourceManager.GetString("RegionCaptureAction_CaptureFullscreen", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Do nothing.
/// </summary>
internal static string RegionCaptureAction_None {
get {
return ResourceManager.GetString("RegionCaptureAction_None", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Open options menu.
/// </summary>
internal static string RegionCaptureAction_OpenOptionsMenu {
get {
return ResourceManager.GetString("RegionCaptureAction_OpenOptionsMenu", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Remove shape.
/// </summary>
internal static string RegionCaptureAction_RemoveShape {
get {
return ResourceManager.GetString("RegionCaptureAction_RemoveShape", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Remove shape or cancel capture.
/// </summary>
internal static string RegionCaptureAction_RemoveShapeCancelCapture {
get {
return ResourceManager.GetString("RegionCaptureAction_RemoveShapeCancelCapture", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Swap tool type.
/// </summary>
internal static string RegionCaptureAction_SwapToolType {
get {
return ResourceManager.GetString("RegionCaptureAction_SwapToolType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Upload with {0}.
/// </summary>
@ -2275,6 +2347,123 @@ internal class Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Drawing: Arrow.
/// </summary>
internal static string ShapeType_DrawingArrow {
get {
return ResourceManager.GetString("ShapeType_DrawingArrow", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Effect: Blur.
/// </summary>
internal static string ShapeType_DrawingBlur {
get {
return ResourceManager.GetString("ShapeType_DrawingBlur", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Drawing: Ellipse.
/// </summary>
internal static string ShapeType_DrawingEllipse {
get {
return ResourceManager.GetString("ShapeType_DrawingEllipse", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Effect: Highlight.
/// </summary>
internal static string ShapeType_DrawingHighlight {
get {
return ResourceManager.GetString("ShapeType_DrawingHighlight", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Drawing: Line.
/// </summary>
internal static string ShapeType_DrawingLine {
get {
return ResourceManager.GetString("ShapeType_DrawingLine", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Effect: Pixelate.
/// </summary>
internal static string ShapeType_DrawingPixelate {
get {
return ResourceManager.GetString("ShapeType_DrawingPixelate", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Drawing: Rectangle.
/// </summary>
internal static string ShapeType_DrawingRectangle {
get {
return ResourceManager.GetString("ShapeType_DrawingRectangle", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Drawing: Rounded rectangle.
/// </summary>
internal static string ShapeType_DrawingRoundedRectangle {
get {
return ResourceManager.GetString("ShapeType_DrawingRoundedRectangle", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Drawing: Step.
/// </summary>
internal static string ShapeType_DrawingStep {
get {
return ResourceManager.GetString("ShapeType_DrawingStep", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Drawing: Text.
/// </summary>
internal static string ShapeType_DrawingText {
get {
return ResourceManager.GetString("ShapeType_DrawingText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Region: Ellipse.
/// </summary>
internal static string ShapeType_RegionEllipse {
get {
return ResourceManager.GetString("ShapeType_RegionEllipse", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Region: Rectangle.
/// </summary>
internal static string ShapeType_RegionRectangle {
get {
return ResourceManager.GetString("ShapeType_RegionRectangle", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Region: Rounded rectangle.
/// </summary>
internal static string ShapeType_RegionRoundedRectangle {
get {
return ResourceManager.GetString("ShapeType_RegionRoundedRectangle", resourceCulture);
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>

View file

@ -908,4 +908,67 @@ Would you like to download it?</value>
<data name="HotkeyType_RectangleAnnotate_Category" xml:space="preserve">
<value>Screen capture</value>
</data>
<data name="RegionCaptureAction_CancelCapture" xml:space="preserve">
<value>Cancel capture</value>
</data>
<data name="RegionCaptureAction_CaptureActiveMonitor" xml:space="preserve">
<value>Capture active monitor</value>
</data>
<data name="RegionCaptureAction_CaptureFullscreen" xml:space="preserve">
<value>Capture fullscreen</value>
</data>
<data name="RegionCaptureAction_None" xml:space="preserve">
<value>Do nothing</value>
</data>
<data name="RegionCaptureAction_OpenOptionsMenu" xml:space="preserve">
<value>Open options menu</value>
</data>
<data name="RegionCaptureAction_RemoveShape" xml:space="preserve">
<value>Remove shape</value>
</data>
<data name="RegionCaptureAction_RemoveShapeCancelCapture" xml:space="preserve">
<value>Remove shape or cancel capture</value>
</data>
<data name="RegionCaptureAction_SwapToolType" xml:space="preserve">
<value>Swap tool type</value>
</data>
<data name="ShapeType_DrawingArrow" xml:space="preserve">
<value>Drawing: Arrow</value>
</data>
<data name="ShapeType_DrawingBlur" xml:space="preserve">
<value>Effect: Blur</value>
</data>
<data name="ShapeType_DrawingEllipse" xml:space="preserve">
<value>Drawing: Ellipse</value>
</data>
<data name="ShapeType_DrawingHighlight" xml:space="preserve">
<value>Effect: Highlight</value>
</data>
<data name="ShapeType_DrawingLine" xml:space="preserve">
<value>Drawing: Line</value>
</data>
<data name="ShapeType_DrawingPixelate" xml:space="preserve">
<value>Effect: Pixelate</value>
</data>
<data name="ShapeType_DrawingRectangle" xml:space="preserve">
<value>Drawing: Rectangle</value>
</data>
<data name="ShapeType_DrawingRoundedRectangle" xml:space="preserve">
<value>Drawing: Rounded rectangle</value>
</data>
<data name="ShapeType_DrawingStep" xml:space="preserve">
<value>Drawing: Step</value>
</data>
<data name="ShapeType_DrawingText" xml:space="preserve">
<value>Drawing: Text</value>
</data>
<data name="ShapeType_RegionEllipse" xml:space="preserve">
<value>Region: Ellipse</value>
</data>
<data name="ShapeType_RegionRectangle" xml:space="preserve">
<value>Region: Rectangle</value>
</data>
<data name="ShapeType_RegionRoundedRectangle" xml:space="preserve">
<value>Region: Rounded rectangle</value>
</data>
</root>

View file

@ -157,51 +157,30 @@ public enum RectangleRegionMode
public enum RegionCaptureAction
{
[Description("Do nothing")]
None,
[Description("Cancel capture")]
CancelCapture,
[Description("Remove shape or cancel capture")]
RemoveShapeCancelCapture,
[Description("Remove shape")]
RemoveShape,
[Description("Open options menu")]
OpenOptionsMenu,
[Description("Swap tool type")]
SwapToolType,
[Description("Capture fullscreen")]
CaptureFullscreen,
[Description("Capture active monitor")]
CaptureActiveMonitor
}
public enum ShapeType
{
[Description("Region: Rectangle")]
RegionRectangle,
[Description("Region: Rounded rectangle")]
RegionRoundedRectangle,
[Description("Region: Ellipse")]
RegionEllipse,
[Description("Drawing: Rectangle")]
DrawingRectangle,
[Description("Drawing: Rounded rectangle")]
DrawingRoundedRectangle,
[Description("Drawing: Ellipse")]
DrawingEllipse,
[Description("Drawing: Line")]
DrawingLine,
[Description("Drawing: Arrow")]
DrawingArrow,
[Description("Drawing: Text")]
DrawingText,
[Description("Drawing: Step")]
DrawingStep,
[Description("Effect: Blur")]
DrawingBlur,
[Description("Effect: Pixelate")]
DrawingPixelate,
[Description("Effect: Highlight")]
DrawingHighlight
}