diff --git a/ChatTwo/ChatTwo.csproj b/ChatTwo/ChatTwo.csproj index 622f5ac..d84b9fb 100755 --- a/ChatTwo/ChatTwo.csproj +++ b/ChatTwo/ChatTwo.csproj @@ -1,6 +1,6 @@ - 1.28.0 + 1.28.1 net8.0-windows enable enable diff --git a/ChatTwo/Configuration.cs b/ChatTwo/Configuration.cs index 3ba9400..c03d9f8 100755 --- a/ChatTwo/Configuration.cs +++ b/ChatTwo/Configuration.cs @@ -46,7 +46,7 @@ internal class Configuration : IPluginConfiguration public bool HideWhenInactive; public int InactivityHideTimeout = 10; public bool InactivityHideActiveDuringBattle = true; - public Dictionary InactivityHideChannels = TabsUtil.AllChannels(); + public Dictionary? InactivityHideChannels; public bool InactivityHideExtraChatAll = true; public HashSet InactivityHideExtraChatChannels = []; public bool ShowHideButton = true; @@ -111,13 +111,13 @@ internal class Configuration : IPluginConfiguration public float TooltipOffset; public float WindowAlpha = 100f; public Dictionary ChatColours = new(); - public List Tabs = new(); + public List Tabs = []; public bool OverrideStyle; public string? ChosenStyle; - public ConfigKeyBind? ChatTabForward = null; - public ConfigKeyBind? ChatTabBackward = null; + public ConfigKeyBind? ChatTabForward; + public ConfigKeyBind? ChatTabBackward; internal void UpdateFrom(Configuration other, bool backToOriginal) { @@ -252,7 +252,7 @@ internal class Tab return; Unread += 1; - if (message.Matches(Plugin.Config.InactivityHideChannels, Plugin.Config.InactivityHideExtraChatAll, Plugin.Config.InactivityHideExtraChatChannels)) + if (message.Matches(Plugin.Config.InactivityHideChannels!, Plugin.Config.InactivityHideExtraChatAll, Plugin.Config.InactivityHideExtraChatChannels)) LastActivity = Environment.TickCount64; } diff --git a/ChatTwo/Plugin.cs b/ChatTwo/Plugin.cs index e82a754..4e9a600 100755 --- a/ChatTwo/Plugin.cs +++ b/ChatTwo/Plugin.cs @@ -73,6 +73,7 @@ public sealed class Plugin : IDalamudPlugin if (Config.Tabs.Count == 0) Config.Tabs.Add(TabsUtil.VanillaGeneral); + Config.InactivityHideChannels ??= TabsUtil.AllChannels(); LanguageChanged(Interface.UiLanguage); ImGuiUtil.Initialize(this); diff --git a/ChatTwo/Resources/Language.af.resx b/ChatTwo/Resources/Language.af.resx index 41e6123..737ec0c 100644 --- a/ChatTwo/Resources/Language.af.resx +++ b/ChatTwo/Resources/Language.af.resx @@ -340,6 +340,12 @@ The font {0} will use to display Japanese text. + + Italic font + + + If enabled, uses the italic font in {0}, else it will use the ingame italic font. + Special @@ -523,6 +529,9 @@ Enable custom fonts + + Use italic font + Search Auto Translate... diff --git a/ChatTwo/Resources/Language.ar.resx b/ChatTwo/Resources/Language.ar.resx index 41e6123..737ec0c 100644 --- a/ChatTwo/Resources/Language.ar.resx +++ b/ChatTwo/Resources/Language.ar.resx @@ -340,6 +340,12 @@ The font {0} will use to display Japanese text. + + Italic font + + + If enabled, uses the italic font in {0}, else it will use the ingame italic font. + Special @@ -523,6 +529,9 @@ Enable custom fonts + + Use italic font + Search Auto Translate... diff --git a/ChatTwo/Resources/Language.ca.resx b/ChatTwo/Resources/Language.ca.resx index 63afe91..67ac10c 100644 --- a/ChatTwo/Resources/Language.ca.resx +++ b/ChatTwo/Resources/Language.ca.resx @@ -293,7 +293,7 @@ Cap - Self + Jo Membres del grup @@ -326,7 +326,7 @@ Mascota (Altres) - Font + Tipus de lletra Japanese font @@ -340,8 +340,14 @@ The font {0} will use to display Japanese text. + + Cursiva + + + If enabled, uses the italic font in {0}, else it will use the ingame italic font. + - Special + Especial Fonts @@ -377,7 +383,7 @@ Nova pestanya - About + Sobre {0} is a project to completely recreate the in-game chat and make it even better. @@ -386,16 +392,16 @@ Ajuda per traduir: - Translators + Traductors - None + Cap - Left + Esquerra - Right + Dreta Command help side (None = off) @@ -416,7 +422,7 @@ Hide the chat after a configurable period of inactivity. The current tab and any other tabs with the setting enabled are considered for activity. - Inactivity timeout + Temps d'inactivitat How long to wait (in seconds) before considering the chat log inactive. @@ -434,10 +440,10 @@ Which chat channels should be considered for activity. Other channels will not restore the chat regardless of which tab they occur in. - Select All + Seleccionar tot - Unselect All + Deseleccionar tot Hold Ctrl+Shift to click. @@ -449,7 +455,7 @@ The way in which {0} should handle keybinds. - Miscellaneous + Miscel·lània Use Dalamud's default language @@ -458,7 +464,7 @@ Flexible - Strict + Estricte Process keybinds with modifiers even if other modifiers are pressed. @@ -497,10 +503,10 @@ Do not click these buttons unless you know what you're doing. - Advanced + Configuració avançada - Pop out + Finestra emergent Hide timestamps when redundant @@ -518,11 +524,14 @@ Use different opacity than main window - Opacity + Opacitat Enable custom fonts + + Use italic font + Search Auto Translate... @@ -536,7 +545,7 @@ Override Style - Styles + Estils Cycle chat tab forwards keybind @@ -578,28 +587,28 @@ Cyrillic - Japanese + Japonès - Korean + Coreà - Thai + Tailandès - Vietnamese + Vietnamita - Integrations + Integracions Screenshot mode - Hide chat + Ocultar xat - Copy + Copiar Try On @@ -632,7 +641,7 @@ Different world - Promote + Ascendeix Kick from Party diff --git a/ChatTwo/Resources/Language.cs.resx b/ChatTwo/Resources/Language.cs.resx index 41e6123..737ec0c 100644 --- a/ChatTwo/Resources/Language.cs.resx +++ b/ChatTwo/Resources/Language.cs.resx @@ -340,6 +340,12 @@ The font {0} will use to display Japanese text. + + Italic font + + + If enabled, uses the italic font in {0}, else it will use the ingame italic font. + Special @@ -523,6 +529,9 @@ Enable custom fonts + + Use italic font + Search Auto Translate... diff --git a/ChatTwo/Resources/Language.da.resx b/ChatTwo/Resources/Language.da.resx index 41e6123..737ec0c 100644 --- a/ChatTwo/Resources/Language.da.resx +++ b/ChatTwo/Resources/Language.da.resx @@ -340,6 +340,12 @@ The font {0} will use to display Japanese text. + + Italic font + + + If enabled, uses the italic font in {0}, else it will use the ingame italic font. + Special @@ -523,6 +529,9 @@ Enable custom fonts + + Use italic font + Search Auto Translate... diff --git a/ChatTwo/Resources/Language.de.resx b/ChatTwo/Resources/Language.de.resx index 1ec3e60..2699437 100644 --- a/ChatTwo/Resources/Language.de.resx +++ b/ChatTwo/Resources/Language.de.resx @@ -341,6 +341,12 @@ Sie wurden gewarnt. Die Schriftart, die {0} nutzt, um japanischen Text anzuzeigen. + + Italic font + + + If enabled, uses the italic font in {0}, else it will use the ingame italic font. + Spezielles @@ -524,6 +530,9 @@ Sie wurden gewarnt. Eigene Schriftarten verwenden + + Use italic font + Durchsuche Auto-Übersetzung... diff --git a/ChatTwo/Resources/Language.el.resx b/ChatTwo/Resources/Language.el.resx index 443ea66..35b7c62 100644 --- a/ChatTwo/Resources/Language.el.resx +++ b/ChatTwo/Resources/Language.el.resx @@ -340,6 +340,12 @@ The font {0} will use to display Japanese text. + + Italic font + + + If enabled, uses the italic font in {0}, else it will use the ingame italic font. + Special @@ -523,6 +529,9 @@ Enable custom fonts + + Use italic font + Search Auto Translate... diff --git a/ChatTwo/Resources/Language.es.resx b/ChatTwo/Resources/Language.es.resx index 204468e..735a05f 100644 --- a/ChatTwo/Resources/Language.es.resx +++ b/ChatTwo/Resources/Language.es.resx @@ -340,6 +340,12 @@ La fuente {0} se utilizará para mostrar el texto japonés. + + Italic font + + + If enabled, uses the italic font in {0}, else it will use the ingame italic font. + Especiales @@ -410,37 +416,37 @@ Ocultar {0} cuando la UI del juego está oculta. - Hide when inactive + Ocultar cuando esté inactivo - Hide the chat after a configurable period of inactivity. The current tab and any other tabs with the setting enabled are considered for activity. + Ocultar el chat después de un período configurable de inactividad. La pestaña actual y cualquier otra pestaña con la configuración habilitada se consideran para la actividad. - Inactivity timeout + Tiempo de espera por inactividad - How long to wait (in seconds) before considering the chat log inactive. + Cuánto tiempo esperar (en segundos) antes de considerar el registro de chat inactivo. - Enable inactivity hide during battle + Activar ocultación de inactividad durante la batalla - When disabled, the chat log will stay active during battle. + Cuando esté deshabilitado, el registro de chat permanecerá activo durante la batalla. - Chat channels considered for activity + Canales de chat considerados para la actividad Which chat channels should be considered for activity. Other channels will not restore the chat regardless of which tab they occur in. - Select All + Seleccionar Todo - Unselect All + Deseleccionar todo - Hold Ctrl+Shift to click. + Mantenga Ctrl+Shift para hacer clic. Combinacion de Teclas @@ -523,6 +529,9 @@ Habilitar fuentes personalizadas + + Utilizar cursiva + Buscar en el Traductor Automático... @@ -545,10 +554,10 @@ Cycle chat tab backwards keybind - none set + ninguno establecido - ESC to clear + ESC a limpiar Ctrl @@ -557,7 +566,7 @@ Alt - Shift + Mayús Ctrl + {0} diff --git a/ChatTwo/Resources/Language.fi.resx b/ChatTwo/Resources/Language.fi.resx index 41e6123..737ec0c 100644 --- a/ChatTwo/Resources/Language.fi.resx +++ b/ChatTwo/Resources/Language.fi.resx @@ -340,6 +340,12 @@ The font {0} will use to display Japanese text. + + Italic font + + + If enabled, uses the italic font in {0}, else it will use the ingame italic font. + Special @@ -523,6 +529,9 @@ Enable custom fonts + + Use italic font + Search Auto Translate... diff --git a/ChatTwo/Resources/Language.fr.resx b/ChatTwo/Resources/Language.fr.resx index d78b558..7f43627 100644 --- a/ChatTwo/Resources/Language.fr.resx +++ b/ChatTwo/Resources/Language.fr.resx @@ -221,7 +221,7 @@ Mode non-lu - Unhide the chat window on activity + Afficher la fenêtre de chat sur l'activité <Aucun> @@ -340,6 +340,12 @@ La police que {0} utilisera pour afficher du texte Japonais. + + Italique + + + Si activé, utilise la police italique dans {0}, sinon il utilisera la police italique. + Spéciaux @@ -410,37 +416,37 @@ Masque {0} lorsque l'interface de jeu est cachée. - Hide when inactive + Masquer lorsque inactif - Hide the chat after a configurable period of inactivity. The current tab and any other tabs with the setting enabled are considered for activity. + Masquer le chat après une période d'inactivité configurable. L'onglet actuel et tous les autres onglets activés sont considérés pour l'activité. - Inactivity timeout + Délai d'inactivité - How long to wait (in seconds) before considering the chat log inactive. + Temps d'attente (en secondes) avant de considérer la connexion de chat inactive. - Enable inactivity hide during battle + Activer le masquage de l'inactivité pendant le combat - When disabled, the chat log will stay active during battle. + Lorsque désactivé, le journal de discussion restera actif pendant la bataille. - Chat channels considered for activity + Salons de discussion considérés comme actifs - Which chat channels should be considered for activity. Other channels will not restore the chat regardless of which tab they occur in. + Quels salons doivent être considérés pour l'activité. Les autres salons ne restaureront pas le chat quel que soit l'onglet dans lequel ils se trouvent. - Select All + Tout sélectionner - Unselect All + Tout déselectionner - Hold Ctrl+Shift to click. + Maintenez Ctrl+Shift enfoncé pour cliquer. Mode des raccourcis clavier @@ -523,6 +529,9 @@ Activer les fontes personnalisées + + Utiliser l'écriture italique + Recherche d'une Traduction Automatique... diff --git a/ChatTwo/Resources/Language.he.resx b/ChatTwo/Resources/Language.he.resx index 41e6123..737ec0c 100644 --- a/ChatTwo/Resources/Language.he.resx +++ b/ChatTwo/Resources/Language.he.resx @@ -340,6 +340,12 @@ The font {0} will use to display Japanese text. + + Italic font + + + If enabled, uses the italic font in {0}, else it will use the ingame italic font. + Special @@ -523,6 +529,9 @@ Enable custom fonts + + Use italic font + Search Auto Translate... diff --git a/ChatTwo/Resources/Language.hu.resx b/ChatTwo/Resources/Language.hu.resx index 41e6123..737ec0c 100644 --- a/ChatTwo/Resources/Language.hu.resx +++ b/ChatTwo/Resources/Language.hu.resx @@ -340,6 +340,12 @@ The font {0} will use to display Japanese text. + + Italic font + + + If enabled, uses the italic font in {0}, else it will use the ingame italic font. + Special @@ -523,6 +529,9 @@ Enable custom fonts + + Use italic font + Search Auto Translate... diff --git a/ChatTwo/Resources/Language.it.resx b/ChatTwo/Resources/Language.it.resx index f5f6739..90b8e1e 100644 --- a/ChatTwo/Resources/Language.it.resx +++ b/ChatTwo/Resources/Language.it.resx @@ -340,6 +340,12 @@ The font {0} will use to display Japanese text. + + Italic font + + + If enabled, uses the italic font in {0}, else it will use the ingame italic font. + Special @@ -523,6 +529,9 @@ Enable custom fonts + + Use italic font + Search Auto Translate... diff --git a/ChatTwo/Resources/Language.ja.resx b/ChatTwo/Resources/Language.ja.resx index 1a2fac2..8eb7abe 100644 --- a/ChatTwo/Resources/Language.ja.resx +++ b/ChatTwo/Resources/Language.ja.resx @@ -340,6 +340,12 @@ The font {0} will use to display Japanese text. + + Italic font + + + If enabled, uses the italic font in {0}, else it will use the ingame italic font. + Special @@ -523,6 +529,9 @@ Enable custom fonts + + Use italic font + Search Auto Translate... diff --git a/ChatTwo/Resources/Language.ko.resx b/ChatTwo/Resources/Language.ko.resx index 02354ce..207d6c7 100644 --- a/ChatTwo/Resources/Language.ko.resx +++ b/ChatTwo/Resources/Language.ko.resx @@ -340,6 +340,12 @@ {0} 폰트는 일본어 글자를 표시할 때 사용됩니다. + + Italic font + + + If enabled, uses the italic font in {0}, else it will use the ingame italic font. + 특수 @@ -523,6 +529,9 @@ 사용자 정의 글꼴 사용 + + Use italic font + 상용구 사전에서 검색... diff --git a/ChatTwo/Resources/Language.nl.resx b/ChatTwo/Resources/Language.nl.resx index 7aeb4eb..da5fc38 100644 --- a/ChatTwo/Resources/Language.nl.resx +++ b/ChatTwo/Resources/Language.nl.resx @@ -340,6 +340,12 @@ Het lettertype {0} gebruikt om Japanse tekst weer te geven. + + Italic font + + + If enabled, uses the italic font in {0}, else it will use the ingame italic font. + Speciaal @@ -523,6 +529,9 @@ Aangepaste lettertypen inschakelen + + Use italic font + Automatische vertaling zoeken... diff --git a/ChatTwo/Resources/Language.no.resx b/ChatTwo/Resources/Language.no.resx index 41e6123..737ec0c 100644 --- a/ChatTwo/Resources/Language.no.resx +++ b/ChatTwo/Resources/Language.no.resx @@ -340,6 +340,12 @@ The font {0} will use to display Japanese text. + + Italic font + + + If enabled, uses the italic font in {0}, else it will use the ingame italic font. + Special @@ -523,6 +529,9 @@ Enable custom fonts + + Use italic font + Search Auto Translate... diff --git a/ChatTwo/Resources/Language.pl.resx b/ChatTwo/Resources/Language.pl.resx index 41e6123..737ec0c 100644 --- a/ChatTwo/Resources/Language.pl.resx +++ b/ChatTwo/Resources/Language.pl.resx @@ -340,6 +340,12 @@ The font {0} will use to display Japanese text. + + Italic font + + + If enabled, uses the italic font in {0}, else it will use the ingame italic font. + Special @@ -523,6 +529,9 @@ Enable custom fonts + + Use italic font + Search Auto Translate... diff --git a/ChatTwo/Resources/Language.pt-BR.resx b/ChatTwo/Resources/Language.pt-BR.resx index c49bb1c..b7c1523 100644 --- a/ChatTwo/Resources/Language.pt-BR.resx +++ b/ChatTwo/Resources/Language.pt-BR.resx @@ -340,6 +340,12 @@ {0} Fonte que será utilizada para exibir texto que seja japonês. + + Italic font + + + If enabled, uses the italic font in {0}, else it will use the ingame italic font. + Especial @@ -523,6 +529,9 @@ Ativar fontes personalizadas + + Use italic font + Pesquisar Tradução Automática... diff --git a/ChatTwo/Resources/Language.pt.resx b/ChatTwo/Resources/Language.pt.resx index 41e6123..737ec0c 100644 --- a/ChatTwo/Resources/Language.pt.resx +++ b/ChatTwo/Resources/Language.pt.resx @@ -340,6 +340,12 @@ The font {0} will use to display Japanese text. + + Italic font + + + If enabled, uses the italic font in {0}, else it will use the ingame italic font. + Special @@ -523,6 +529,9 @@ Enable custom fonts + + Use italic font + Search Auto Translate... diff --git a/ChatTwo/Resources/Language.ro.resx b/ChatTwo/Resources/Language.ro.resx index b48e626..f3ca46c 100644 --- a/ChatTwo/Resources/Language.ro.resx +++ b/ChatTwo/Resources/Language.ro.resx @@ -340,6 +340,12 @@ Fontul care va fi folosit pentru a afișa textul japonez in {0}. + + Italic font + + + If enabled, uses the italic font in {0}, else it will use the ingame italic font. + Special @@ -523,6 +529,9 @@ Activează fonturi personalizate + + Use italic font + Caută traducere automată... diff --git a/ChatTwo/Resources/Language.ru.resx b/ChatTwo/Resources/Language.ru.resx index d102171..0baba81 100644 --- a/ChatTwo/Resources/Language.ru.resx +++ b/ChatTwo/Resources/Language.ru.resx @@ -340,6 +340,12 @@ Шрифт {0} для отображения японского текста. + + Italic font + + + If enabled, uses the italic font in {0}, else it will use the ingame italic font. + Особые @@ -523,6 +529,9 @@ Включение пользовательских шрифтов + + Use italic font + Поиск автоперевода... diff --git a/ChatTwo/Resources/Language.sr.resx b/ChatTwo/Resources/Language.sr.resx index 41e6123..737ec0c 100644 --- a/ChatTwo/Resources/Language.sr.resx +++ b/ChatTwo/Resources/Language.sr.resx @@ -340,6 +340,12 @@ The font {0} will use to display Japanese text. + + Italic font + + + If enabled, uses the italic font in {0}, else it will use the ingame italic font. + Special @@ -523,6 +529,9 @@ Enable custom fonts + + Use italic font + Search Auto Translate... diff --git a/ChatTwo/Resources/Language.sv.resx b/ChatTwo/Resources/Language.sv.resx index 311b1d0..5176bbf 100644 --- a/ChatTwo/Resources/Language.sv.resx +++ b/ChatTwo/Resources/Language.sv.resx @@ -340,6 +340,12 @@ Teckensnittet {0} kommer använda för japansk text. + + Italic font + + + If enabled, uses the italic font in {0}, else it will use the ingame italic font. + Speciella @@ -523,6 +529,9 @@ Aktivera egna typsnitt + + Use italic font + Sök automatisk översättning... diff --git a/ChatTwo/Resources/Language.tr.resx b/ChatTwo/Resources/Language.tr.resx index e6e8df3..e42e688 100644 --- a/ChatTwo/Resources/Language.tr.resx +++ b/ChatTwo/Resources/Language.tr.resx @@ -340,6 +340,12 @@ The font {0} will use to display Japanese text. + + Italic font + + + If enabled, uses the italic font in {0}, else it will use the ingame italic font. + Special @@ -523,6 +529,9 @@ Enable custom fonts + + Use italic font + Search Auto Translate... diff --git a/ChatTwo/Resources/Language.uk.resx b/ChatTwo/Resources/Language.uk.resx index 41e6123..737ec0c 100644 --- a/ChatTwo/Resources/Language.uk.resx +++ b/ChatTwo/Resources/Language.uk.resx @@ -340,6 +340,12 @@ The font {0} will use to display Japanese text. + + Italic font + + + If enabled, uses the italic font in {0}, else it will use the ingame italic font. + Special @@ -523,6 +529,9 @@ Enable custom fonts + + Use italic font + Search Auto Translate... diff --git a/ChatTwo/Resources/Language.vi.resx b/ChatTwo/Resources/Language.vi.resx index 41e6123..737ec0c 100644 --- a/ChatTwo/Resources/Language.vi.resx +++ b/ChatTwo/Resources/Language.vi.resx @@ -340,6 +340,12 @@ The font {0} will use to display Japanese text. + + Italic font + + + If enabled, uses the italic font in {0}, else it will use the ingame italic font. + Special @@ -523,6 +529,9 @@ Enable custom fonts + + Use italic font + Search Auto Translate... diff --git a/ChatTwo/Resources/Language.zh-Hans.resx b/ChatTwo/Resources/Language.zh-Hans.resx index cf536b9..bcbf180 100644 --- a/ChatTwo/Resources/Language.zh-Hans.resx +++ b/ChatTwo/Resources/Language.zh-Hans.resx @@ -164,10 +164,10 @@ 以指导者身份登录时,在设置按钮旁边显示新人频道加入按钮。 - Show hide button + 显示隐藏按钮 - Show a hide button next to the settings button. The chat window can be returned by pressing return or slash to focus it. + 在设置按钮旁边显示隐藏按钮。聊天窗口可以通过按回车键或 "/" 恢复。 字体大小 @@ -221,7 +221,7 @@ 未读模式 - Unhide the chat window on activity + 活动时取消隐藏聊天窗口 <无> @@ -340,6 +340,12 @@ 字体将用于 {0} 显示日文文本。 + + 斜体 + + + 如果启用,则使用 {0} 中的斜体字体,否则将使用游戏中的斜体字体。 + 特殊 @@ -410,37 +416,37 @@ 当游戏界面隐藏时隐藏 {0}。 - Hide when inactive + 非活动时隐藏 - Hide the chat after a configurable period of inactivity. The current tab and any other tabs with the setting enabled are considered for activity. + 在一段可配置的非活动时间后隐藏聊天窗口。当前聊天标签页和设置启用的其他标签页将被视为活动状态。 - Inactivity timeout + 非活动超时 - How long to wait (in seconds) before considering the chat log inactive. + 等待多长时间 (秒) 才认为聊天记录处于非活动状态。 - Enable inactivity hide during battle + 在战斗中启用非活动隐藏 - When disabled, the chat log will stay active during battle. + 禁用此选项,聊天记录将在战斗中保持活跃。 - Chat channels considered for activity + 视为活动状态的聊天频道 - Which chat channels should be considered for activity. Other channels will not restore the chat regardless of which tab they occur in. + 哪些聊天频道应被视为活动状态。其他频道无论出现在哪个标签页,都不会恢复聊天。 - Select All + 全选 - Unselect All + 取消全选 - Hold Ctrl+Shift to click. + 按住 Ctrl + Shift 键点击。 热键模式 @@ -523,6 +529,9 @@ 启用自定义字体 + + 将文字变为斜体 + 定型文搜索... @@ -539,16 +548,16 @@ 样式 - Cycle chat tab forwards keybind + 顺序切换聊天标签页快捷键 - Cycle chat tab backwards keybind + 倒序切换聊天标签页快捷键 - none set + 未设置 - ESC to clear + 按下 ESC 键清除 Ctrl @@ -1232,7 +1241,7 @@ 日期 - Chat Type + 对话类型 发送人 @@ -1262,6 +1271,6 @@ 来自: - An error occured while sending this tell message + 发送悄悄话时发生了错误 diff --git a/ChatTwo/Resources/Language.zh-Hant.resx b/ChatTwo/Resources/Language.zh-Hant.resx index 13ebb3a..f37352b 100644 --- a/ChatTwo/Resources/Language.zh-Hant.resx +++ b/ChatTwo/Resources/Language.zh-Hant.resx @@ -340,6 +340,12 @@ 字型將用於 {0} 顯示日文文字。 + + Italic font + + + If enabled, uses the italic font in {0}, else it will use the ingame italic font. + 特殊 @@ -524,6 +530,9 @@ 啓用自定義字型 + + Use italic font + 定型文搜尋… diff --git a/ChatTwo/Ui/SettingsTabs/Display.cs b/ChatTwo/Ui/SettingsTabs/Display.cs index 66d9844..4446578 100755 --- a/ChatTwo/Ui/SettingsTabs/Display.cs +++ b/ChatTwo/Ui/SettingsTabs/Display.cs @@ -1,3 +1,4 @@ +using ChatTwo.Code; using ChatTwo.Resources; using ChatTwo.Util; using Dalamud.Interface.Utility.Raii; @@ -78,14 +79,14 @@ internal sealed class Display : ISettingsTab if (ImGuiUtil.CtrlShiftButton(Language.Options_InactivityHideChannels_None_Label, Language.Options_InactivityHideChannels_Button_Tooltip)) { - Mutable.InactivityHideChannels = new(); + Mutable.InactivityHideChannels = new Dictionary(); Mutable.InactivityHideExtraChatAll = false; Mutable.InactivityHideExtraChatChannels = []; } ImGui.Spacing(); - ImGuiUtil.ChannelSelector(Language.Options_Tabs_Channels, Mutable.InactivityHideChannels); + ImGuiUtil.ChannelSelector(Language.Options_Tabs_Channels, Mutable.InactivityHideChannels!); ImGuiUtil.ExtraChatSelector(Language.Options_Tabs_ExtraChatChannels, ref Mutable.InactivityHideExtraChatAll, Mutable.InactivityHideExtraChatChannels); }