chore: pull Chinese options into localisation files

This commit is contained in:
Anna
2022-06-01 16:46:30 -04:00
parent 7bd5c6ee38
commit bae9ce458a
3 changed files with 20 additions and 2 deletions
+12
View File
@@ -818,5 +818,17 @@ namespace ChatTwo.Resources {
return ResourceManager.GetString("AutoTranslate_Completion_Key", resourceCulture);
}
}
internal static string Options_EnableChineseRange_Name {
get {
return ResourceManager.GetString("Options_EnableChineseRange_Name", resourceCulture);
}
}
internal static string Options_EnableChineseRange_Description {
get {
return ResourceManager.GetString("Options_EnableChineseRange_Description", resourceCulture);
}
}
}
}
+6
View File
@@ -509,4 +509,10 @@
<data name="AutoTranslate_Completion_Key" xml:space="preserve">
<value>Ctrl + {0}</value>
</data>
<data name="Options_EnableChineseRange_Name" xml:space="preserve">
<value>Enable Chinese glyphs</value>
</data>
<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>
</data>
</root>
+2 -2
View File
@@ -91,8 +91,8 @@ public class Fonts : ISettingsTab {
ImGuiUtil.HelpText(string.Format(Language.Options_JapaneseFont_Description, Plugin.PluginName));
ImGui.Spacing();
ImGui.Checkbox("Enable Chinese glyphs", ref this.Mutable.EnableChineseRange);
ImGuiUtil.HelpText("Adds support for Chinese characters in the global font.");
ImGui.Checkbox(Language.Options_EnableChineseRange_Name, ref this.Mutable.EnableChineseRange);
ImGuiUtil.HelpText(Language.Options_EnableChineseRange_Description);
ImGui.Spacing();
}