Added Translation support for prior changes
This commit is contained in:
Generated
+18
@@ -1958,6 +1958,24 @@ namespace ChatTwo.Resources {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to Override Style.
|
||||||
|
/// </summary>
|
||||||
|
internal static string Options_OverrideStyle_Name {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("Options_OverrideStyle_Name", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to Styles.
|
||||||
|
/// </summary>
|
||||||
|
internal static string Options_OverrideStyleDropdown_Name {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("Options_OverrideStyleDropdown_Name", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Display messages in a more modern style..
|
/// Looks up a localized string similar to Display messages in a more modern style..
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -502,6 +502,12 @@
|
|||||||
<data name="Options_SortAutoTranslate_Description">
|
<data name="Options_SortAutoTranslate_Description">
|
||||||
<value>If this is enabled, the Auto Translate list will be sorted alphabetically.</value>
|
<value>If this is enabled, the Auto Translate list will be sorted alphabetically.</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Options_OverrideStyle_Name">
|
||||||
|
<value>Override Style</value>
|
||||||
|
</data>
|
||||||
|
<data name="Options_OverrideStyleDropdown_Name">
|
||||||
|
<value>Styles</value>
|
||||||
|
</data>
|
||||||
<data name="AutoTranslate_Completion_Key">
|
<data name="AutoTranslate_Completion_Key">
|
||||||
<value>Ctrl + {0}</value>
|
<value>Ctrl + {0}</value>
|
||||||
</data>
|
</data>
|
||||||
|
|||||||
@@ -90,13 +90,13 @@ internal sealed class Display : ISettingsTab {
|
|||||||
ImGuiUtil.OptionCheckbox(ref Mutable.ShowPopOutTitleBar, Language.Options_ShowPopOutTitleBar_Name);
|
ImGuiUtil.OptionCheckbox(ref Mutable.ShowPopOutTitleBar, Language.Options_ShowPopOutTitleBar_Name);
|
||||||
ImGui.Spacing();
|
ImGui.Spacing();
|
||||||
|
|
||||||
ImGui.Checkbox("Override Style", ref Mutable.OverrideStyle);
|
ImGui.Checkbox(Language.Options_OverrideStyle_Name, ref Mutable.OverrideStyle);
|
||||||
ImGui.Spacing();
|
ImGui.Spacing();
|
||||||
|
|
||||||
if (Mutable.OverrideStyle)
|
if (Mutable.OverrideStyle)
|
||||||
{
|
{
|
||||||
var currentStyle = Mutable.ChosenStyle.Equals("") ? StyleModel.GetConfiguredStyle().Name : Mutable.ChosenStyle;
|
var currentStyle = Mutable.ChosenStyle.Equals("") ? StyleModel.GetConfiguredStyle().Name : Mutable.ChosenStyle;
|
||||||
if (ImGui.BeginCombo("REMOVEME Styles", currentStyle)) {
|
if (ImGui.BeginCombo(Language.Options_OverrideStyleDropdown_Name, currentStyle)) {
|
||||||
foreach (var style in StyleModel.GetConfiguredStyles()) {
|
foreach (var style in StyleModel.GetConfiguredStyles()) {
|
||||||
if (ImGui.Selectable(style.Name, this.Mutable.ChosenStyle == style.Name)) {
|
if (ImGui.Selectable(style.Name, this.Mutable.ChosenStyle == style.Name)) {
|
||||||
Mutable.ChosenStyle = style.Name;
|
Mutable.ChosenStyle = style.Name;
|
||||||
|
|||||||
Reference in New Issue
Block a user