mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
Added more enum descriptions to resources
This commit is contained in:
parent
7d465b00b8
commit
6a605705f6
4 changed files with 102 additions and 17 deletions
72
ShareX.HelpersLib/Properties/Resources.Designer.cs
generated
72
ShareX.HelpersLib/Properties/Resources.Designer.cs
generated
|
@ -2347,6 +2347,78 @@ internal static string ScreenRecordGIFEncoding_OctreeQuantizer {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Automatically try all methods until one works.
|
||||
/// </summary>
|
||||
internal static string ScrollingCaptureScrollMethod_Automatic {
|
||||
get {
|
||||
return ResourceManager.GetString("ScrollingCaptureScrollMethod_Automatic", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Simulate pressing "Page down" key.
|
||||
/// </summary>
|
||||
internal static string ScrollingCaptureScrollMethod_KeyPressPageDown {
|
||||
get {
|
||||
return ResourceManager.GetString("ScrollingCaptureScrollMethod_KeyPressPageDown", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Simulate mouse wheel scrolling.
|
||||
/// </summary>
|
||||
internal static string ScrollingCaptureScrollMethod_MouseWheel {
|
||||
get {
|
||||
return ResourceManager.GetString("ScrollingCaptureScrollMethod_MouseWheel", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Send scroll message to window or control.
|
||||
/// </summary>
|
||||
internal static string ScrollingCaptureScrollMethod_SendMessageScroll {
|
||||
get {
|
||||
return ResourceManager.GetString("ScrollingCaptureScrollMethod_SendMessageScroll", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to First simulate pressing "Home" key then send scroll top message.
|
||||
/// </summary>
|
||||
internal static string ScrollingCaptureScrollTopMethod_All {
|
||||
get {
|
||||
return ResourceManager.GetString("ScrollingCaptureScrollTopMethod_All", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Simulate pressing "Home" key.
|
||||
/// </summary>
|
||||
internal static string ScrollingCaptureScrollTopMethod_KeyPressHome {
|
||||
get {
|
||||
return ResourceManager.GetString("ScrollingCaptureScrollTopMethod_KeyPressHome", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Disable scrolling to top.
|
||||
/// </summary>
|
||||
internal static string ScrollingCaptureScrollTopMethod_None {
|
||||
get {
|
||||
return ResourceManager.GetString("ScrollingCaptureScrollTopMethod_None", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Send scroll top message.
|
||||
/// </summary>
|
||||
internal static string ScrollingCaptureScrollTopMethod_SendMessageTop {
|
||||
get {
|
||||
return ResourceManager.GetString("ScrollingCaptureScrollTopMethod_SendMessageTop", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Drawing: Arrow.
|
||||
/// </summary>
|
||||
|
|
|
@ -971,4 +971,28 @@ Would you like to download it?</value>
|
|||
<data name="ShapeType_RegionRoundedRectangle" xml:space="preserve">
|
||||
<value>Region: Rounded rectangle</value>
|
||||
</data>
|
||||
<data name="ScrollingCaptureScrollMethod_Automatic" xml:space="preserve">
|
||||
<value>Automatically try all methods until one works</value>
|
||||
</data>
|
||||
<data name="ScrollingCaptureScrollMethod_KeyPressPageDown" xml:space="preserve">
|
||||
<value>Simulate pressing "Page down" key</value>
|
||||
</data>
|
||||
<data name="ScrollingCaptureScrollMethod_MouseWheel" xml:space="preserve">
|
||||
<value>Simulate mouse wheel scrolling</value>
|
||||
</data>
|
||||
<data name="ScrollingCaptureScrollMethod_SendMessageScroll" xml:space="preserve">
|
||||
<value>Send scroll message to window or control</value>
|
||||
</data>
|
||||
<data name="ScrollingCaptureScrollTopMethod_All" xml:space="preserve">
|
||||
<value>First simulate pressing "Home" key then send scroll top message</value>
|
||||
</data>
|
||||
<data name="ScrollingCaptureScrollTopMethod_KeyPressHome" xml:space="preserve">
|
||||
<value>Simulate pressing "Home" key</value>
|
||||
</data>
|
||||
<data name="ScrollingCaptureScrollTopMethod_None" xml:space="preserve">
|
||||
<value>Disable scrolling to top</value>
|
||||
</data>
|
||||
<data name="ScrollingCaptureScrollTopMethod_SendMessageTop" xml:space="preserve">
|
||||
<value>Send scroll top message</value>
|
||||
</data>
|
||||
</root>
|
|
@ -37,11 +37,8 @@ public enum ScreenRecordOutput
|
|||
|
||||
public enum ScreenRecordGIFEncoding // Localized
|
||||
{
|
||||
[Description("FFmpeg")]
|
||||
FFmpeg,
|
||||
[Description(".NET")]
|
||||
NET,
|
||||
[Description("Octree quantizer")]
|
||||
OctreeQuantizer
|
||||
}
|
||||
|
||||
|
@ -155,7 +152,7 @@ public enum RectangleRegionMode
|
|||
OneClick
|
||||
}
|
||||
|
||||
public enum RegionCaptureAction
|
||||
public enum RegionCaptureAction // Localized
|
||||
{
|
||||
None,
|
||||
CancelCapture,
|
||||
|
@ -167,7 +164,7 @@ public enum RegionCaptureAction
|
|||
CaptureActiveMonitor
|
||||
}
|
||||
|
||||
public enum ShapeType
|
||||
public enum ShapeType // Localized
|
||||
{
|
||||
RegionRectangle,
|
||||
RegionRoundedRectangle,
|
||||
|
@ -191,27 +188,19 @@ public enum RegionAnnotateMode
|
|||
Pen
|
||||
}
|
||||
|
||||
public enum ScrollingCaptureScrollMethod
|
||||
public enum ScrollingCaptureScrollMethod // Localized
|
||||
{
|
||||
[Description("Automatically try all methods until one works")]
|
||||
Automatic,
|
||||
[Description("Send scroll message to window or control")]
|
||||
SendMessageScroll,
|
||||
[Description("Simulate pressing \"Page down\" key")]
|
||||
KeyPressPageDown,
|
||||
[Description("Simulate mouse wheel scrolling")]
|
||||
MouseWheel
|
||||
}
|
||||
|
||||
public enum ScrollingCaptureScrollTopMethod
|
||||
public enum ScrollingCaptureScrollTopMethod // Localized
|
||||
{
|
||||
[Description("First simulate pressing \"Home\" key then send scroll top message")]
|
||||
All,
|
||||
[Description("Send scroll top message")]
|
||||
SendMessageTop,
|
||||
[Description("Simulate pressing \"Home\" key")]
|
||||
KeyPressHome,
|
||||
[Description("Disable scrolling to top")]
|
||||
None
|
||||
}
|
||||
}
|
|
@ -56,9 +56,9 @@ public ScrollingCaptureForm(ScrollingCaptureOptions options, bool forceSelection
|
|||
InitializeComponent();
|
||||
Icon = ShareXResources.Icon;
|
||||
|
||||
cbScrollMethod.Items.AddRange(Helpers.GetEnumDescriptions<ScrollingCaptureScrollMethod>());
|
||||
cbScrollMethod.Items.AddRange(Helpers.GetLocalizedEnumDescriptions<ScrollingCaptureScrollMethod>());
|
||||
cbScrollMethod.SelectedIndex = (int)Options.ScrollMethod;
|
||||
cbScrollTopMethodBeforeCapture.Items.AddRange(Helpers.GetEnumDescriptions<ScrollingCaptureScrollTopMethod>());
|
||||
cbScrollTopMethodBeforeCapture.Items.AddRange(Helpers.GetLocalizedEnumDescriptions<ScrollingCaptureScrollTopMethod>());
|
||||
cbScrollTopMethodBeforeCapture.SelectedIndex = (int)Options.ScrollTopMethodBeforeCapture;
|
||||
nudStartDelay.SetValue(Options.StartDelay);
|
||||
nudScrollDelay.SetValue(Options.ScrollDelay);
|
||||
|
|
Loading…
Reference in a new issue