chore: pull warning into resource
This commit is contained in:
parent
a0525562ff
commit
a1719dbee1
11
ChatTwo/Resources/Language.Designer.cs
generated
11
ChatTwo/Resources/Language.Designer.cs
generated
|
@ -1,4 +1,4 @@
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was generated by a tool.
|
// This code was generated by a tool.
|
||||||
// Runtime Version:4.0.30319.42000
|
// Runtime Version:4.0.30319.42000
|
||||||
|
@ -402,6 +402,15 @@ namespace ChatTwo.Resources {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to Do not click these buttons unless you know what you're doing..
|
||||||
|
/// </summary>
|
||||||
|
internal static string Options_Database_Advanced_Warning {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("Options_Database_Advanced_Warning", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Database.
|
/// Looks up a localized string similar to Database.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -458,4 +458,7 @@
|
||||||
<data name="Options_FilterIncludePreviousSessions_Description" xml:space="preserve">
|
<data name="Options_FilterIncludePreviousSessions_Description" xml:space="preserve">
|
||||||
<value>Include messages from before the game was launched when populating tabs. Tabs are populated when the settings are saved.</value>
|
<value>Include messages from before the game was launched when populating tabs. Tabs are populated when the settings are saved.</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Options_Database_Advanced_Warning" xml:space="preserve">
|
||||||
|
<value>Do not click these buttons unless you know what you're doing.</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
|
|
|
@ -43,7 +43,7 @@ internal sealed class Database : ISettingsTab {
|
||||||
|
|
||||||
if (this._showAdvanced && ImGui.TreeNodeEx("Advanced")) {
|
if (this._showAdvanced && ImGui.TreeNodeEx("Advanced")) {
|
||||||
ImGui.PushTextWrapPos();
|
ImGui.PushTextWrapPos();
|
||||||
ImGuiUtil.WarningText("Do not click these buttons unless you know what you're doing.");
|
ImGuiUtil.WarningText(Language.Options_Database_Advanced_Warning);
|
||||||
|
|
||||||
if (ImGui.Button("Checkpoint")) {
|
if (ImGui.Button("Checkpoint")) {
|
||||||
this.Store.Database.Checkpoint();
|
this.Store.Database.Checkpoint();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user