Loc the string

This commit is contained in:
Infi
2024-08-29 19:06:49 +02:00
parent cdf4f92ffa
commit db3d513f9e
3 changed files with 13 additions and 1 deletions
+9
View File
@@ -3784,5 +3784,14 @@ namespace ChatTwo.Resources {
return ResourceManager.GetString("Webinterface_Stop_Success", resourceCulture); return ResourceManager.GetString("Webinterface_Stop_Success", resourceCulture);
} }
} }
/// <summary>
/// Looks up a localized string similar to Usage Notice.
/// </summary>
internal static string Webinterface_UsageNotice {
get {
return ResourceManager.GetString("Webinterface_UsageNotice", resourceCulture);
}
}
} }
} }
+3
View File
@@ -1363,4 +1363,7 @@
<data name="Options_Webinterface_Note" xml:space="preserve"> <data name="Options_Webinterface_Note" xml:space="preserve">
<value>Note: This will require at least a semi-modern browser in order to function correctly.</value> <value>Note: This will require at least a semi-modern browser in order to function correctly.</value>
</data> </data>
<data name="Webinterface_UsageNotice" xml:space="preserve">
<value>Usage Notice</value>
</data>
</root> </root>
+1 -1
View File
@@ -16,7 +16,7 @@ internal sealed class Webinterface(Plugin plugin, Configuration mutable) : ISett
public void Draw(bool changed) public void Draw(bool changed)
{ {
if (ImGui.CollapsingHeader("Usage Notice", ImGuiTreeNodeFlags.DefaultOpen)) if (ImGui.CollapsingHeader(Language.Webinterface_UsageNotice, ImGuiTreeNodeFlags.DefaultOpen))
{ {
ImGuiUtil.WrappedTextWithColor(ImGuiColors.DalamudWhite, Language.Options_Webinterface_Warning_Header); ImGuiUtil.WrappedTextWithColor(ImGuiColors.DalamudWhite, Language.Options_Webinterface_Warning_Header);
ImGui.Spacing(); ImGui.Spacing();