chore: pull glyph range text into localisation files
This commit is contained in:
parent
82169d7334
commit
f464e4e63d
12
ChatTwo/Resources/Language.Designer.cs
generated
12
ChatTwo/Resources/Language.Designer.cs
generated
|
@ -830,5 +830,17 @@ namespace ChatTwo.Resources {
|
||||||
return ResourceManager.GetString("Options_EnableChineseRange_Description", resourceCulture);
|
return ResourceManager.GetString("Options_EnableChineseRange_Description", resourceCulture);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
internal static string Options_ExtraGlyphs_Name {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("Options_ExtraGlyphs_Name", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
internal static string Options_ExtraGlyphs_Description {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("Options_ExtraGlyphs_Description", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -515,4 +515,10 @@
|
||||||
<data name="Options_EnableChineseRange_Description" xml:space="preserve">
|
<data name="Options_EnableChineseRange_Description" xml:space="preserve">
|
||||||
<value>Adds support for Chinese characters in the global font. This will most likely require Dalamud's font atlas size to be increased.</value>
|
<value>Adds support for Chinese characters in the global font. This will most likely require Dalamud's font atlas size to be increased.</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Options_ExtraGlyphs_Name" xml:space="preserve">
|
||||||
|
<value>Extra font glyphs</value>
|
||||||
|
</data>
|
||||||
|
<data name="Options_ExtraGlyphs_Description" xml:space="preserve">
|
||||||
|
<value>Extra glyphs can be added to {0}'s font global font by enabling the checkboxes below. This will likely require increasing Dalamud's font atlas size.</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
|
|
|
@ -91,8 +91,8 @@ public class Fonts : ISettingsTab {
|
||||||
ImGuiUtil.HelpText(string.Format(Language.Options_JapaneseFont_Description, Plugin.PluginName));
|
ImGuiUtil.HelpText(string.Format(Language.Options_JapaneseFont_Description, Plugin.PluginName));
|
||||||
ImGui.Spacing();
|
ImGui.Spacing();
|
||||||
|
|
||||||
if (ImGui.CollapsingHeader("Extra font glyphs")) {
|
if (ImGui.CollapsingHeader(Language.Options_ExtraGlyphs_Name)) {
|
||||||
ImGuiUtil.HelpText("Extra glyphs can be added to {0}'s font global font by enabling the checkboxes below. This will likely require increasing Dalamud's font atlas size.");
|
ImGuiUtil.HelpText(string.Format(Language.Options_ExtraGlyphs_Description, Plugin.PluginName));
|
||||||
|
|
||||||
var range = (int) this.Mutable.ExtraGlyphRanges;
|
var range = (int) this.Mutable.ExtraGlyphRanges;
|
||||||
foreach (var extra in Enum.GetValues<ExtraGlyphRanges>()) {
|
foreach (var extra in Enum.GetValues<ExtraGlyphRanges>()) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user