feat: Add settings for customText OSD

This commit is contained in:
loner
2025-12-15 09:21:05 +08:00
parent 909c028056
commit 519fabb0c0
13 changed files with 50 additions and 6 deletions
+4
View File
@@ -1884,6 +1884,10 @@
"description": "OSD anzeigen, wenn Feststelltaste, Num-Taste oder Rollen-Taste umgeschaltet werden.",
"label": "Feststelltasten"
},
"custom-text": {
"description": "OSD für benutzerdefinierte Textnachrichten aus IPC anzeigen.",
"label": "Benutzerdefinierter Text"
},
"section": {
"description": "Wählen Sie die Ereignisse aus, die das OSD auslösen.",
"label": "OSD-Auslöseereignisse"
+4
View File
@@ -1884,6 +1884,10 @@
"description": "Show OSD when Caps Lock, Num Lock, or Scroll Lock are toggled.",
"label": "Lock keys"
},
"custom-text": {
"description": "Show OSD for custom text messages from IPC.",
"label": "Custom Text"
},
"section": {
"description": "Select the events that trigger the OSD.",
"label": "OSD trigger events"
+4
View File
@@ -1884,6 +1884,10 @@
"description": "Mostrar el OSD cuando se activen o desactiven Bloq Mayús, Bloq Num o Bloq Despl.",
"label": "Teclas de bloqueo"
},
"custom-text": {
"description": "Mostrar el OSD para mensajes de texto personalizados desde IPC.",
"label": "Texto personalizado"
},
"section": {
"description": "Seleccione los eventos que activan el OSD.",
"label": "Eventos de activación OSD"
+4
View File
@@ -1884,6 +1884,10 @@
"description": "Afficher l'OSD lorsque Verr Maj, Verr Num ou Arrêt défil est activée ou désactivée.",
"label": "Touches de verrouillage"
},
"custom-text": {
"description": "Afficher lOSD pour les messages texte personnalisés provenant de lIPC.",
"label": "Texte personnalisé"
},
"section": {
"description": "Sélectionnez les événements qui déclenchent l'OSD.",
"label": "Événements de déclenchement OSD"
+4
View File
@@ -1884,6 +1884,10 @@
"description": "Caps Lock、Num Lock、Scroll Lock の切り替え時にOSDを表示します。",
"label": "ロックキー"
},
"custom-text": {
"description": "IPC からのカスタムテキストメッセージの OSD を表示します。",
"label": "カスタムテキスト"
},
"section": {
"description": "OSD を表示するトリガー(イベント)を選択します。",
"label": "OSD のトリガーイベント"
+4
View File
@@ -1884,6 +1884,10 @@
"description": "Toon het OSD wanneer Caps Lock, Num Lock of Scroll Lock wordt omgeschakeld.",
"label": "Vergrendeltoetsen"
},
"custom-text": {
"description": "OSD weergeven voor aangepaste tekstberichten via IPC.",
"label": "Aangepaste tekst"
},
"section": {
"description": "Selecteer de gebeurtenissen die de OSD activeren.",
"label": "OSD triggergebeurtenissen"
+4
View File
@@ -1884,6 +1884,10 @@
"description": "Mostrar o OSD quando Caps Lock, Num Lock ou Scroll Lock forem alternadas.",
"label": "Teclas de bloqueio"
},
"custom-text": {
"description": "Mostrar OSD para mensagens de texto personalizadas via IPC.",
"label": "Texto personalizado"
},
"section": {
"description": "Selecione os eventos que acionam o OSD.",
"label": "Eventos de disparo OSD"
+4
View File
@@ -1884,6 +1884,10 @@
"description": "Показывать OSD при переключении клавиш Caps Lock, Num Lock или Scroll Lock.",
"label": "Клавиши блокировки"
},
"custom-text": {
"description": "Показывать OSD для пользовательских текстовых сообщений через IPC.",
"label": "Пользовательский текст"
},
"section": {
"description": "Выберите события, которые должны запускать экранное меню (OSD).",
"label": "События, запускающие экранное меню"
+4
View File
@@ -1884,6 +1884,10 @@
"description": "Büyük Harf Kilidi, Sayı Kilidi veya Kaydırma Kilidi değiştirildiğinde OSD'yi göster.",
"label": "Kilit tuşları"
},
"custom-text": {
"description": "IPC üzerinden özel metin iletileri için OSD göster.",
"label": "Özel Metin"
},
"section": {
"description": "OSD'yi tetikleyecek olayları seçin.",
"label": "OSD tetikleme olayları"
+4
View File
@@ -1884,6 +1884,10 @@
"description": "Показувати OSD, коли перемикаються Caps Lock, Num Lock або Scroll Lock.",
"label": "Клавіші блокування"
},
"custom-text": {
"description": "Показувати OSD для користувацьких текстових повідомлень через IPC.",
"label": "Користувацький текст"
},
"section": {
"description": "Виберіть події, які запускають екранне меню.",
"label": "Події, що запускають OSD"
+4
View File
@@ -1884,6 +1884,10 @@
"description": "当切换大写锁定、数字锁定或滚动锁定时显示 OSD。",
"label": "锁定键"
},
"custom-text": {
"description": "显示来自 IPC 的自定义文本消息的 OSD。",
"label": "自定义文本"
},
"section": {
"description": "选择触发OSD的事件。",
"label": "OSD触发事件"
+2 -6
View File
@@ -331,11 +331,7 @@
"autoHideMs": 2000,
"overlayLayer": true,
"backgroundOpacity": 1,
"enabledTypes": [
0,
1,
2
],
"enabledTypes": [0, 1, 2, 4],
"monitors": []
},
"audio": {
@@ -400,4 +396,4 @@
"wallpaperChange": "",
"darkModeChange": ""
}
}
}
+4
View File
@@ -175,6 +175,10 @@ ColumnLayout {
{
type: OSD.Type.LockKey,
key: "lockkey"
},
{
type: OSD.Type.CustomText,
key: "custom-text"
}
]
delegate: NCheckbox {