Skip to content

armgit / Handy

Public Imported from GitHub
0

A free, open source, and extensible speech-to-text application that works completely offline.

add translations + fix bindings

CJ Pais2cf5effef3a4
diff --git a/src/bindings.ts b/src/bindings.ts
index 04bc976d..9a7e30fd 100644
--- a/src/bindings.ts
+++ b/src/bindings.ts
@@ -714,7 +714,7 @@ async updateRecordingRetentionPeriod(period: string) : Promise<Result<null, stri
},
/**
* Checks if the Mac is a laptop by detecting battery presence
- *
+ *
* This uses pmset to check for battery information.
* Returns true if a battery is detected (laptop), false otherwise (desktop)
*/
@@ -749,7 +749,7 @@ export type HistoryEntry = { id: number; file_name: string; timestamp: number; s
/**
* Result of changing keyboard implementation
*/
-export type ImplementationChangeResult = { success: boolean;
+export type ImplementationChangeResult = { success: boolean;
/**
* List of binding IDs that were reset to defaults due to incompatibility
*/
diff --git a/src/i18n/locales/ar/translation.json b/src/i18n/locales/ar/translation.json
index 4fce5601..5c197fca 100644
--- a/src/i18n/locales/ar/translation.json
+++ b/src/i18n/locales/ar/translation.json
@@ -239,8 +239,10 @@
"clipboardCtrlShiftV": "الحافظة (Ctrl+Shift+V)",
"clipboardShiftInsert": "الحافظة (Shift+Insert)",
"direct": "مباشر",
- "none": "بلا"
- }
+ "none": "بلا",
+ "externalScript": "نص برمجي خارجي"
+ },
+ "externalScriptPlaceholder": "/path/to/your/script.sh"
},
"typingTool": {
"title": "أداة الكتابة",
diff --git a/src/i18n/locales/cs/translation.json b/src/i18n/locales/cs/translation.json
index 8cf45f67..afc25a4a 100644
--- a/src/i18n/locales/cs/translation.json
+++ b/src/i18n/locales/cs/translation.json
@@ -261,8 +261,10 @@
"clipboardCtrlShiftV": "Schránka (Ctrl+Shift+V)",
"clipboardShiftInsert": "Schránka (Shift+Insert)",
"direct": "Přímé",
- "none": "Žádné"
- }
+ "none": "Žádné",
+ "externalScript": "Externí skript"
+ },
+ "externalScriptPlaceholder": "/cesta/k/vasemu/skriptu.sh"
},
"typingTool": {
"title": "Nástroj pro psaní",
diff --git a/src/i18n/locales/es/translation.json b/src/i18n/locales/es/translation.json
index e4c6050c..af397c68 100644
--- a/src/i18n/locales/es/translation.json
+++ b/src/i18n/locales/es/translation.json
@@ -261,8 +261,10 @@
"clipboardCtrlShiftV": "Portapapeles (Ctrl+Shift+V)",
"clipboardShiftInsert": "Portapapeles (Shift+Insert)",
"direct": "Directo",
- "none": "Ninguno"
- }
+ "none": "Ninguno",
+ "externalScript": "Script externo"
+ },
+ "externalScriptPlaceholder": "/ruta/a/su/script.sh"
},
"typingTool": {
"title": "Herramienta de Escritura",
diff --git a/src/i18n/locales/ja/translation.json b/src/i18n/locales/ja/translation.json
index 25ecea0c..738ff02a 100644
--- a/src/i18n/locales/ja/translation.json
+++ b/src/i18n/locales/ja/translation.json
@@ -261,8 +261,10 @@
"clipboardCtrlShiftV": "クリップボード (Ctrl+Shift+V)",
"clipboardShiftInsert": "クリップボード (Shift+Insert)",
"direct": "直接",
- "none": "なし"
- }
+ "none": "なし",
+ "externalScript": "外部スクリプト"
+ },
+ "externalScriptPlaceholder": "/path/to/your/script.sh"
},
"typingTool": {
"title": "タイピングツール",
diff --git a/src/i18n/locales/ko/translation.json b/src/i18n/locales/ko/translation.json
index cd3f0ef4..8e91f318 100644
--- a/src/i18n/locales/ko/translation.json
+++ b/src/i18n/locales/ko/translation.json
@@ -261,8 +261,10 @@
"clipboardCtrlShiftV": "클립보드 (Ctrl+Shift+V)",
"clipboardShiftInsert": "클립보드 (Shift+Insert)",
"direct": "직접",
- "none": "없음"
- }
+ "none": "없음",
+ "externalScript": "외부 스크립트"
+ },
+ "externalScriptPlaceholder": "/path/to/your/script.sh"
},
"typingTool": {
"title": "타이핑 도구",
diff --git a/src/i18n/locales/pl/translation.json b/src/i18n/locales/pl/translation.json
index d68e8bff..015b3be8 100644
--- a/src/i18n/locales/pl/translation.json
+++ b/src/i18n/locales/pl/translation.json
@@ -261,8 +261,10 @@
"clipboardCtrlShiftV": "Schowek (Ctrl+Shift+V)",
"clipboardShiftInsert": "Schowek (Shift+Insert)",
"direct": "Bezpośrednio",
- "none": "Brak"
- }
+ "none": "Brak",
+ "externalScript": "Skrypt zewnętrzny"
+ },
+ "externalScriptPlaceholder": "/sciezka/do/twojego/skryptu.sh"
},
"typingTool": {
"title": "Narzędzie do wpisywania",
diff --git a/src/i18n/locales/pt/translation.json b/src/i18n/locales/pt/translation.json
index bbb2a05d..80917ed7 100644
--- a/src/i18n/locales/pt/translation.json
+++ b/src/i18n/locales/pt/translation.json
@@ -261,8 +261,10 @@
"clipboardCtrlShiftV": "Área de Transferência (Ctrl+Shift+V)",
"clipboardShiftInsert": "Área de Transferência (Shift+Insert)",
"direct": "Direto",
- "none": "Nenhum"
- }
+ "none": "Nenhum",
+ "externalScript": "Script externo"
+ },
+ "externalScriptPlaceholder": "/caminho/para/seu/script.sh"
},
"typingTool": {
"title": "Ferramenta de digitação",
diff --git a/src/i18n/locales/ru/translation.json b/src/i18n/locales/ru/translation.json
index 770d8846..adcca9a1 100644
--- a/src/i18n/locales/ru/translation.json
+++ b/src/i18n/locales/ru/translation.json
@@ -261,8 +261,10 @@
"clipboardCtrlShiftV": "Буфер обмена (Ctrl+Shift+V)",
"clipboardShiftInsert": "Буфер обмена (Shift+Insert)",
"direct": "Прямой",
- "none": "Нет"
- }
+ "none": "Нет",
+ "externalScript": "Внешний скрипт"
+ },
+ "externalScriptPlaceholder": "/path/to/your/script.sh"
},
"typingTool": {
"title": "Инструмент ввода",
diff --git a/src/i18n/locales/tr/translation.json b/src/i18n/locales/tr/translation.json
index 099fff39..dd1d424a 100644
--- a/src/i18n/locales/tr/translation.json
+++ b/src/i18n/locales/tr/translation.json
@@ -261,8 +261,10 @@
"clipboardCtrlShiftV": "Pano (Ctrl+Shift+V)",
"clipboardShiftInsert": "Pano (Shift+Insert)",
"direct": "Doğrudan",
- "none": "Yok"
- }
+ "none": "Yok",
+ "externalScript": "Harici Betik"
+ },
+ "externalScriptPlaceholder": "/dosya/yolu/betik.sh"
},
"typingTool": {
"title": "Yazma Aracı",
diff --git a/src/i18n/locales/uk/translation.json b/src/i18n/locales/uk/translation.json
index 9db58912..e9d3f3c4 100644
--- a/src/i18n/locales/uk/translation.json
+++ b/src/i18n/locales/uk/translation.json
@@ -261,8 +261,10 @@
"clipboardCtrlShiftV": "Буфер обміну (Ctrl+Shift+V)",
"clipboardShiftInsert": "Буфер обміну (Shift+Insert)",
"direct": "Прямий",
- "none": "Немає"
- }
+ "none": "Немає",
+ "externalScript": "Зовнішній скрипт"
+ },
+ "externalScriptPlaceholder": "/path/to/your/script.sh"
},
"typingTool": {
"title": "Інструмент введення",
diff --git a/src/i18n/locales/vi/translation.json b/src/i18n/locales/vi/translation.json
index 677ae910..ec486ac0 100644
--- a/src/i18n/locales/vi/translation.json
+++ b/src/i18n/locales/vi/translation.json
@@ -261,8 +261,10 @@
"clipboardCtrlShiftV": "Clipboard (Ctrl+Shift+V)",
"clipboardShiftInsert": "Clipboard (Shift+Insert)",
"direct": "Trực tiếp",
- "none": "Không có"
- }
+ "none": "Không có",
+ "externalScript": "Script bên ngoài"
+ },
+ "externalScriptPlaceholder": "/duong-dan/toi/script.sh"
},
"typingTool": {
"title": "Công cụ gõ",
diff --git a/src/i18n/locales/zh-TW/translation.json b/src/i18n/locales/zh-TW/translation.json
index 473fa491..7c0611de 100644
--- a/src/i18n/locales/zh-TW/translation.json
+++ b/src/i18n/locales/zh-TW/translation.json
@@ -261,8 +261,10 @@
"clipboardCtrlShiftV": "剪貼簿 (Ctrl+Shift+V)",
"clipboardShiftInsert": "剪貼簿 (Shift+Insert)",
"direct": "直接",
- "none": "無"
- }
+ "none": "無",
+ "externalScript": "外部腳本"
+ },
+ "externalScriptPlaceholder": "/path/to/your/script.sh"
},
"typingTool": {
"title": "輸入工具",
diff --git a/src/i18n/locales/zh/translation.json b/src/i18n/locales/zh/translation.json
index 67138332..5744ad99 100644
--- a/src/i18n/locales/zh/translation.json
+++ b/src/i18n/locales/zh/translation.json
@@ -261,8 +261,10 @@
"clipboardCtrlShiftV": "剪贴板 (Ctrl+Shift+V)",
"clipboardShiftInsert": "剪贴板 (Shift+Insert)",
"direct": "直接",
- "none": "无"
- }
+ "none": "无",
+ "externalScript": "外部脚本"
+ },
+ "externalScriptPlaceholder": "/path/to/your/script.sh"
},
"typingTool": {
"title": "输入工具",