mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
Add "FPS Limit" line to resx
This commit is contained in:
parent
081a65edc9
commit
8f5799c4cf
3 changed files with 13 additions and 2 deletions
|
@ -629,6 +629,15 @@ internal static System.Drawing.Bitmap folder_open_image {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to FPS limit:.
|
||||
/// </summary>
|
||||
internal static string FPSLimit {
|
||||
get {
|
||||
return ResourceManager.GetString("FPSLimit", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
|
|
@ -792,4 +792,7 @@ X: {4} Y: {5}</value>
|
|||
<data name="AutoCopyImageToClipboard" xml:space="preserve">
|
||||
<value>Auto copy image to clipboard</value>
|
||||
</data>
|
||||
<data name="FPSLimit" xml:space="preserve">
|
||||
<value>FPS limit:</value>
|
||||
</data>
|
||||
</root>
|
|
@ -989,8 +989,7 @@ internal void CreateToolbar()
|
|||
};
|
||||
tsddbOptions.DropDownItems.Add(tsmiShowFPS);
|
||||
|
||||
// TODO: Translate
|
||||
ToolStripLabeledNumericUpDown tslnudFPSLimit = new ToolStripLabeledNumericUpDown("FPS limit:");
|
||||
ToolStripLabeledNumericUpDown tslnudFPSLimit = new ToolStripLabeledNumericUpDown(Resources.FPSLimit);
|
||||
tslnudFPSLimit.Content.Minimum = 0;
|
||||
tslnudFPSLimit.Content.Maximum = 300;
|
||||
tslnudFPSLimit.Content.Value = Options.FPSLimit;
|
||||
|
|
Loading…
Reference in a new issue