chore: pull warning into resource
This commit is contained in:
parent
a0525562ff
commit
a1719dbee1
|
@ -1,4 +1,4 @@
|
|||
//------------------------------------------------------------------------------
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// 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>
|
||||
/// Looks up a localized string similar to Database.
|
||||
/// </summary>
|
||||
|
|
|
@ -458,4 +458,7 @@
|
|||
<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>
|
||||
</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>
|
||||
|
|
|
@ -43,7 +43,7 @@ internal sealed class Database : ISettingsTab {
|
|||
|
||||
if (this._showAdvanced && ImGui.TreeNodeEx("Advanced")) {
|
||||
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")) {
|
||||
this.Store.Database.Checkpoint();
|
||||
|
|
Loading…
Reference in New Issue