mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 17:56:51 +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>
|
/// <summary>
|
||||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -792,4 +792,7 @@ X: {4} Y: {5}</value>
|
||||||
<data name="AutoCopyImageToClipboard" xml:space="preserve">
|
<data name="AutoCopyImageToClipboard" xml:space="preserve">
|
||||||
<value>Auto copy image to clipboard</value>
|
<value>Auto copy image to clipboard</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="FPSLimit" xml:space="preserve">
|
||||||
|
<value>FPS limit:</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
|
@ -989,8 +989,7 @@ internal void CreateToolbar()
|
||||||
};
|
};
|
||||||
tsddbOptions.DropDownItems.Add(tsmiShowFPS);
|
tsddbOptions.DropDownItems.Add(tsmiShowFPS);
|
||||||
|
|
||||||
// TODO: Translate
|
ToolStripLabeledNumericUpDown tslnudFPSLimit = new ToolStripLabeledNumericUpDown(Resources.FPSLimit);
|
||||||
ToolStripLabeledNumericUpDown tslnudFPSLimit = new ToolStripLabeledNumericUpDown("FPS limit:");
|
|
||||||
tslnudFPSLimit.Content.Minimum = 0;
|
tslnudFPSLimit.Content.Minimum = 0;
|
||||||
tslnudFPSLimit.Content.Maximum = 300;
|
tslnudFPSLimit.Content.Maximum = 300;
|
||||||
tslnudFPSLimit.Content.Value = Options.FPSLimit;
|
tslnudFPSLimit.Content.Value = Options.FPSLimit;
|
||||||
|
|
Loading…
Reference in a new issue