Shuffle entries

This commit is contained in:
Infi
2024-05-21 10:56:42 +02:00
parent 6daa0bb9e2
commit e19682e50d
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -2472,7 +2472,7 @@ namespace ChatTwo.Resources {
}
/// <summary>
/// Looks up a localized string similar to Show only if the text length is greater-than or equal.
/// Looks up a localized string similar to Only show if the text length is greater-than or equal.
/// </summary>
internal static string Options_PreviewMinimum_Description {
get {
@@ -2490,7 +2490,7 @@ namespace ChatTwo.Resources {
}
/// <summary>
/// Looks up a localized string similar to Show only if the text contains special parameter.
/// Looks up a localized string similar to Only show if the text contains special parameter.
/// </summary>
internal static string Options_PreviewOnlyIf_Description {
get {
+2 -2
View File
@@ -1079,13 +1079,13 @@
<value>Must contain parameter</value>
</data>
<data name="Options_PreviewOnlyIf_Description" xml:space="preserve">
<value>Show only if the text contains special parameter</value>
<value>Only show if the text contains special parameter</value>
</data>
<data name="Options_PreviewMinimum_Name" xml:space="preserve">
<value>Minimum input length</value>
</data>
<data name="Options_PreviewMinimum_Description" xml:space="preserve">
<value>Show only if the text length is greater-than or equal</value>
<value>Only show if the text length is greater-than or equal</value>
</data>
<data name="Options_Preview_Tab" xml:space="preserve">
<value>Preview</value>
+2 -2
View File
@@ -33,10 +33,10 @@ internal sealed class Preview : ISettingsTab
ImGuiUtil.HelpText(Language.Options_Preview_Description);
ImGui.Spacing();
ImGuiUtil.OptionCheckbox(ref Mutable.OnlyPreviewIf, Language.Options_PreviewOnlyIf_Name, Language.Options_PreviewOnlyIf_Description);
ImGui.Spacing();
if (ImGuiUtil.InputIntVertical(Language.Options_PreviewMinimum_Name, Language.Options_PreviewMinimum_Description, ref Mutable.PreviewMinimum))
Mutable.PreviewMinimum = Math.Clamp(Mutable.PreviewMinimum, 1, 250);
ImGui.Spacing();
ImGuiUtil.OptionCheckbox(ref Mutable.OnlyPreviewIf, Language.Options_PreviewOnlyIf_Name, Language.Options_PreviewOnlyIf_Description);
ImGui.Spacing();
}