-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLocalization.cs
More file actions
454 lines (448 loc) · 25.5 KB
/
Copy pathLocalization.cs
File metadata and controls
454 lines (448 loc) · 25.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
using System.Globalization;
namespace WhisperTranscriber;
public static class L
{
public static string Current { get; private set; } = "en";
public static readonly (string Code, string Name)[] AvailableLanguages =
{
("it", "Italiano"),
("en", "English"),
("es", "Español"),
("fr", "Français"),
("de", "Deutsch"),
("pt", "Português"),
("ru", "Русский"),
("zh", "中文"),
("ja", "日本語"),
("ar", "العربية"),
};
public static void SetCulture(string code)
{
if (string.IsNullOrEmpty(code)) code = CultureInfo.CurrentUICulture.TwoLetterISOLanguageName;
if (!_data.ContainsKey(code)) code = "en";
Current = code;
}
public static string T(string key)
{
if (_data.TryGetValue(Current, out var dict) && dict.TryGetValue(key, out var v)) return v;
if (_data["en"].TryGetValue(key, out var fallback)) return fallback;
return key;
}
private static readonly Dictionary<string, Dictionary<string, string>> _data = new()
{
["en"] = new()
{
["window_title"] = "Whisper Transcriber",
["group_file"] = "Audio file",
["btn_browse"] = "Browse...",
["group_settings"] = "Settings",
["group_transcription"] = "Transcription",
["group_output"] = "Output",
["group_system"] = "System",
["lbl_model"] = "Model:",
["lbl_language"] = "Audio language:",
["lbl_ui_language"] = "UI:",
["lbl_gpu"] = "GPU:",
["lbl_initial_prompt"] = "Initial prompt (optional):",
["prompt_placeholder"] = "keywords to improve accuracy (e.g. proper nouns, jargon)...",
["chk_diarize"] = "Identify speakers (diarization)",
["chk_timestamps"] = "Include timestamps",
["btn_transcribe"] = "Transcribe",
["btn_cancel"] = "Cancel",
["btn_save"] = "Save...",
["btn_open_folder"] = "Open folder",
["btn_clear"] = "Clear",
["status_ready"] = "Ready",
["status_canceled"] = "Canceled",
["status_error"] = "Error",
["status_completed"] = "Completed: {0} segments",
["status_saved"] = "Saved: {0}",
["status_starting"] = "Starting transcription...",
["status_detecting"] = "GPU detection...",
["filter_audio"] = "Audio files",
["filter_all"] = "All files",
["dlg_title_open_audio"] = "Select audio file",
["dlg_save_title"] = "Save transcription",
["filter_txt"] = "Text",
["filter_srt"] = "SubRip",
["err_invalid_file"] = "Please select a valid audio file first.",
["help_title"] = "Whisper Transcriber - Help",
["lang_auto"] = "auto-detect",
["gated_repo_title"] = "Additional model acceptance required",
["gated_repo_text"] = "Speaker diarization needs access to this pyannote model, which you have not accepted yet:\n\n{0}\n\nClick the link, accept the user conditions, then retry transcription.",
["hf_token_title"] = "HuggingFace token required",
["hf_token_text"] = "Speaker diarization needs a free HuggingFace token.\n\n1) Sign up at https://huggingface.co\n2) Accept terms at BOTH models:\n - https://huggingface.co/pyannote/speaker-diarization-3.1\n - https://huggingface.co/pyannote/segmentation-3.0\n3) Create a token at https://huggingface.co/settings/tokens\n\nPaste your token here:",
},
["it"] = new()
{
["window_title"] = "Whisper Transcriber",
["group_file"] = "File audio",
["btn_browse"] = "Sfoglia...",
["group_settings"] = "Impostazioni",
["group_transcription"] = "Trascrizione",
["group_output"] = "Output",
["group_system"] = "Sistema",
["lbl_model"] = "Modello:",
["lbl_language"] = "Lingua audio:",
["lbl_ui_language"] = "UI:",
["lbl_gpu"] = "GPU:",
["lbl_initial_prompt"] = "Prompt iniziale (opzionale):",
["prompt_placeholder"] = "parole chiave per migliorare l'accuratezza (es. nomi propri, gergo)...",
["chk_diarize"] = "Identifica speaker (diarizzazione)",
["chk_timestamps"] = "Includi timestamp",
["btn_transcribe"] = "Trascrivi",
["btn_cancel"] = "Annulla",
["btn_save"] = "Salva...",
["btn_open_folder"] = "Apri cartella",
["btn_clear"] = "Pulisci",
["status_ready"] = "Pronto",
["status_canceled"] = "Annullato",
["status_error"] = "Errore",
["status_completed"] = "Completata: {0} segmenti",
["status_saved"] = "Salvato: {0}",
["status_starting"] = "Avvio trascrizione...",
["status_detecting"] = "Rilevamento GPU...",
["filter_audio"] = "File audio",
["filter_all"] = "Tutti i file",
["dlg_title_open_audio"] = "Seleziona file audio",
["dlg_save_title"] = "Salva trascrizione",
["filter_txt"] = "Testo",
["filter_srt"] = "SubRip",
["err_invalid_file"] = "Seleziona prima un file audio valido.",
["help_title"] = "Whisper Transcriber - Aiuto",
["lang_auto"] = "auto",
["gated_repo_title"] = "Accettazione di un modello aggiuntivo richiesta",
["gated_repo_text"] = "La diarizzazione richiede l'accesso a questo modello pyannote che non hai ancora accettato:\n\n{0}\n\nClicca il link, accetta le condizioni d'uso, poi riprova la trascrizione.",
["hf_token_title"] = "Token HuggingFace richiesto",
["hf_token_text"] = "La diarizzazione richiede un token HuggingFace gratuito.\n\n1) Registrati su https://huggingface.co\n2) Accetta le condizioni di ENTRAMBI i modelli:\n - https://huggingface.co/pyannote/speaker-diarization-3.1\n - https://huggingface.co/pyannote/segmentation-3.0\n3) Crea un token su https://huggingface.co/settings/tokens\n\nIncolla qui il tuo token:",
},
["es"] = new()
{
["window_title"] = "Whisper Transcriber",
["group_file"] = "Archivo de audio",
["btn_browse"] = "Examinar...",
["group_settings"] = "Ajustes",
["group_transcription"] = "Transcripción",
["group_output"] = "Salida",
["group_system"] = "Sistema",
["lbl_model"] = "Modelo:",
["lbl_language"] = "Idioma del audio:",
["lbl_ui_language"] = "Interfaz:",
["lbl_gpu"] = "GPU:",
["lbl_initial_prompt"] = "Prompt inicial (opcional):",
["prompt_placeholder"] = "palabras clave para mejorar la precisión (nombres propios, jerga)...",
["chk_diarize"] = "Identificar hablantes (diarización)",
["chk_timestamps"] = "Incluir marcas de tiempo",
["btn_transcribe"] = "Transcribir",
["btn_cancel"] = "Cancelar",
["btn_save"] = "Guardar...",
["btn_open_folder"] = "Abrir carpeta",
["btn_clear"] = "Limpiar",
["status_ready"] = "Listo",
["status_canceled"] = "Cancelado",
["status_error"] = "Error",
["status_completed"] = "Completada: {0} segmentos",
["status_saved"] = "Guardado: {0}",
["status_starting"] = "Iniciando transcripción...",
["status_detecting"] = "Detectando GPU...",
["filter_audio"] = "Archivos de audio",
["filter_all"] = "Todos los archivos",
["dlg_title_open_audio"] = "Seleccionar archivo de audio",
["dlg_save_title"] = "Guardar transcripción",
["filter_txt"] = "Texto",
["filter_srt"] = "SubRip",
["err_invalid_file"] = "Selecciona primero un archivo de audio válido.",
["help_title"] = "Whisper Transcriber - Ayuda",
["lang_auto"] = "auto",
["hf_token_title"] = "Token HuggingFace necesario",
["hf_token_text"] = "La diarización necesita un token gratuito de HuggingFace.\n\n1) Regístrate en https://huggingface.co\n2) Acepta los términos de AMBOS modelos:\n - https://huggingface.co/pyannote/speaker-diarization-3.1\n - https://huggingface.co/pyannote/segmentation-3.0\n3) Crea un token en https://huggingface.co/settings/tokens\n\nPega tu token aquí:",
},
["fr"] = new()
{
["window_title"] = "Whisper Transcriber",
["group_file"] = "Fichier audio",
["btn_browse"] = "Parcourir...",
["group_settings"] = "Paramètres",
["group_transcription"] = "Transcription",
["group_output"] = "Sortie",
["group_system"] = "Système",
["lbl_model"] = "Modèle :",
["lbl_language"] = "Langue de l'audio :",
["lbl_ui_language"] = "Interface :",
["lbl_gpu"] = "GPU :",
["lbl_initial_prompt"] = "Prompt initial (facultatif) :",
["prompt_placeholder"] = "mots-clés pour améliorer la précision (noms propres, jargon)...",
["chk_diarize"] = "Identifier les locuteurs (diarisation)",
["chk_timestamps"] = "Inclure les horodatages",
["btn_transcribe"] = "Transcrire",
["btn_cancel"] = "Annuler",
["btn_save"] = "Enregistrer...",
["btn_open_folder"] = "Ouvrir le dossier",
["btn_clear"] = "Effacer",
["status_ready"] = "Prêt",
["status_canceled"] = "Annulé",
["status_error"] = "Erreur",
["status_completed"] = "Terminée : {0} segments",
["status_saved"] = "Enregistré : {0}",
["status_starting"] = "Démarrage de la transcription...",
["status_detecting"] = "Détection du GPU...",
["filter_audio"] = "Fichiers audio",
["filter_all"] = "Tous les fichiers",
["dlg_title_open_audio"] = "Sélectionner un fichier audio",
["dlg_save_title"] = "Enregistrer la transcription",
["filter_txt"] = "Texte",
["filter_srt"] = "SubRip",
["err_invalid_file"] = "Sélectionnez d'abord un fichier audio valide.",
["help_title"] = "Whisper Transcriber - Aide",
["lang_auto"] = "auto",
["hf_token_title"] = "Jeton HuggingFace requis",
["hf_token_text"] = "La diarisation nécessite un jeton HuggingFace gratuit.\n\n1) Inscrivez-vous sur https://huggingface.co\n2) Acceptez les conditions des DEUX modèles :\n - https://huggingface.co/pyannote/speaker-diarization-3.1\n - https://huggingface.co/pyannote/segmentation-3.0\n3) Créez un jeton sur https://huggingface.co/settings/tokens\n\nCollez votre jeton ici :",
},
["de"] = new()
{
["window_title"] = "Whisper Transcriber",
["group_file"] = "Audiodatei",
["btn_browse"] = "Durchsuchen...",
["group_settings"] = "Einstellungen",
["group_transcription"] = "Transkription",
["group_output"] = "Ausgabe",
["group_system"] = "System",
["lbl_model"] = "Modell:",
["lbl_language"] = "Audio-Sprache:",
["lbl_ui_language"] = "UI:",
["lbl_gpu"] = "GPU:",
["lbl_initial_prompt"] = "Anfangs-Prompt (optional):",
["prompt_placeholder"] = "Schlüsselwörter zur Verbesserung der Genauigkeit (Eigennamen, Fachjargon)...",
["chk_diarize"] = "Sprecher identifizieren (Diarisierung)",
["chk_timestamps"] = "Zeitstempel einfügen",
["btn_transcribe"] = "Transkribieren",
["btn_cancel"] = "Abbrechen",
["btn_save"] = "Speichern...",
["btn_open_folder"] = "Ordner öffnen",
["btn_clear"] = "Leeren",
["status_ready"] = "Bereit",
["status_canceled"] = "Abgebrochen",
["status_error"] = "Fehler",
["status_completed"] = "Abgeschlossen: {0} Segmente",
["status_saved"] = "Gespeichert: {0}",
["status_starting"] = "Transkription wird gestartet...",
["status_detecting"] = "GPU-Erkennung...",
["filter_audio"] = "Audiodateien",
["filter_all"] = "Alle Dateien",
["dlg_title_open_audio"] = "Audiodatei auswählen",
["dlg_save_title"] = "Transkription speichern",
["filter_txt"] = "Text",
["filter_srt"] = "SubRip",
["err_invalid_file"] = "Bitte wählen Sie zuerst eine gültige Audiodatei.",
["help_title"] = "Whisper Transcriber - Hilfe",
["lang_auto"] = "auto",
["hf_token_title"] = "HuggingFace-Token erforderlich",
["hf_token_text"] = "Die Diarisierung benötigt ein kostenloses HuggingFace-Token.\n\n1) Registrieren bei https://huggingface.co\n2) Bedingungen von BEIDEN Modellen akzeptieren:\n - https://huggingface.co/pyannote/speaker-diarization-3.1\n - https://huggingface.co/pyannote/segmentation-3.0\n3) Token erstellen auf https://huggingface.co/settings/tokens\n\nFügen Sie Ihr Token hier ein:",
},
["pt"] = new()
{
["window_title"] = "Whisper Transcriber",
["group_file"] = "Arquivo de áudio",
["btn_browse"] = "Procurar...",
["group_settings"] = "Configurações",
["group_transcription"] = "Transcrição",
["group_output"] = "Saída",
["group_system"] = "Sistema",
["lbl_model"] = "Modelo:",
["lbl_language"] = "Idioma do áudio:",
["lbl_ui_language"] = "Interface:",
["lbl_gpu"] = "GPU:",
["lbl_initial_prompt"] = "Prompt inicial (opcional):",
["prompt_placeholder"] = "palavras-chave para melhorar a precisão (nomes próprios, jargão)...",
["chk_diarize"] = "Identificar falantes (diarização)",
["chk_timestamps"] = "Incluir marcações de tempo",
["btn_transcribe"] = "Transcrever",
["btn_cancel"] = "Cancelar",
["btn_save"] = "Salvar...",
["btn_open_folder"] = "Abrir pasta",
["btn_clear"] = "Limpar",
["status_ready"] = "Pronto",
["status_canceled"] = "Cancelado",
["status_error"] = "Erro",
["status_completed"] = "Concluída: {0} segmentos",
["status_saved"] = "Salvo: {0}",
["status_starting"] = "Iniciando transcrição...",
["status_detecting"] = "Detectando GPU...",
["filter_audio"] = "Arquivos de áudio",
["filter_all"] = "Todos os arquivos",
["dlg_title_open_audio"] = "Selecionar arquivo de áudio",
["dlg_save_title"] = "Salvar transcrição",
["filter_txt"] = "Texto",
["filter_srt"] = "SubRip",
["err_invalid_file"] = "Selecione primeiro um arquivo de áudio válido.",
["help_title"] = "Whisper Transcriber - Ajuda",
["lang_auto"] = "auto",
["hf_token_title"] = "Token HuggingFace necessário",
["hf_token_text"] = "A diarização precisa de um token gratuito do HuggingFace.\n\n1) Cadastre-se em https://huggingface.co\n2) Aceite os termos de AMBOS os modelos:\n - https://huggingface.co/pyannote/speaker-diarization-3.1\n - https://huggingface.co/pyannote/segmentation-3.0\n3) Crie um token em https://huggingface.co/settings/tokens\n\nCole seu token aqui:",
},
["ru"] = new()
{
["window_title"] = "Whisper Transcriber",
["group_file"] = "Аудиофайл",
["btn_browse"] = "Обзор...",
["group_settings"] = "Настройки",
["group_transcription"] = "Транскрипция",
["group_output"] = "Вывод",
["group_system"] = "Система",
["lbl_model"] = "Модель:",
["lbl_language"] = "Язык аудио:",
["lbl_ui_language"] = "Интерфейс:",
["lbl_gpu"] = "GPU:",
["lbl_initial_prompt"] = "Начальная подсказка (необязательно):",
["prompt_placeholder"] = "ключевые слова для повышения точности (имена, термины)...",
["chk_diarize"] = "Определять говорящих (диаризация)",
["chk_timestamps"] = "Включать временные метки",
["btn_transcribe"] = "Транскрибировать",
["btn_cancel"] = "Отмена",
["btn_save"] = "Сохранить...",
["btn_open_folder"] = "Открыть папку",
["btn_clear"] = "Очистить",
["status_ready"] = "Готово",
["status_canceled"] = "Отменено",
["status_error"] = "Ошибка",
["status_completed"] = "Завершено: {0} сегментов",
["status_saved"] = "Сохранено: {0}",
["status_starting"] = "Запуск транскрипции...",
["status_detecting"] = "Определение GPU...",
["filter_audio"] = "Аудиофайлы",
["filter_all"] = "Все файлы",
["dlg_title_open_audio"] = "Выберите аудиофайл",
["dlg_save_title"] = "Сохранить транскрипцию",
["filter_txt"] = "Текст",
["filter_srt"] = "SubRip",
["err_invalid_file"] = "Сначала выберите корректный аудиофайл.",
["help_title"] = "Whisper Transcriber - Справка",
["lang_auto"] = "авто",
["hf_token_title"] = "Требуется токен HuggingFace",
["hf_token_text"] = "Для диаризации нужен бесплатный токен HuggingFace.\n\n1) Зарегистрируйтесь на https://huggingface.co\n2) Примите условия ОБОИХ моделей:\n - https://huggingface.co/pyannote/speaker-diarization-3.1\n - https://huggingface.co/pyannote/segmentation-3.0\n3) Создайте токен на https://huggingface.co/settings/tokens\n\nВставьте токен сюда:",
},
["zh"] = new()
{
["window_title"] = "Whisper 转录器",
["group_file"] = "音频文件",
["btn_browse"] = "浏览...",
["group_settings"] = "设置",
["group_transcription"] = "转录",
["group_output"] = "输出",
["group_system"] = "系统",
["lbl_model"] = "模型:",
["lbl_language"] = "音频语言:",
["lbl_ui_language"] = "界面:",
["lbl_gpu"] = "GPU:",
["lbl_initial_prompt"] = "初始提示(可选):",
["prompt_placeholder"] = "关键词以提高准确性(专有名词、行话)...",
["chk_diarize"] = "识别说话人(分离)",
["chk_timestamps"] = "包含时间戳",
["btn_transcribe"] = "转录",
["btn_cancel"] = "取消",
["btn_save"] = "保存...",
["btn_open_folder"] = "打开文件夹",
["btn_clear"] = "清除",
["status_ready"] = "就绪",
["status_canceled"] = "已取消",
["status_error"] = "错误",
["status_completed"] = "完成:{0} 个片段",
["status_saved"] = "已保存:{0}",
["status_starting"] = "开始转录...",
["status_detecting"] = "检测 GPU...",
["filter_audio"] = "音频文件",
["filter_all"] = "所有文件",
["dlg_title_open_audio"] = "选择音频文件",
["dlg_save_title"] = "保存转录",
["filter_txt"] = "文本",
["filter_srt"] = "SubRip",
["err_invalid_file"] = "请先选择有效的音频文件。",
["help_title"] = "Whisper 转录器 - 帮助",
["lang_auto"] = "自动",
["hf_token_title"] = "需要 HuggingFace 令牌",
["hf_token_text"] = "说话人分离需要免费的 HuggingFace 令牌。\n\n1) 在 https://huggingface.co 注册\n2) 接受两个模型的条款:\n - https://huggingface.co/pyannote/speaker-diarization-3.1\n - https://huggingface.co/pyannote/segmentation-3.0\n3) 在 https://huggingface.co/settings/tokens 创建令牌\n\n在此粘贴您的令牌:",
},
["ja"] = new()
{
["window_title"] = "Whisper Transcriber",
["group_file"] = "音声ファイル",
["btn_browse"] = "参照...",
["group_settings"] = "設定",
["group_transcription"] = "文字起こし",
["group_output"] = "出力",
["group_system"] = "システム",
["lbl_model"] = "モデル:",
["lbl_language"] = "音声の言語:",
["lbl_ui_language"] = "UI:",
["lbl_gpu"] = "GPU:",
["lbl_initial_prompt"] = "初期プロンプト (任意):",
["prompt_placeholder"] = "精度向上のためのキーワード(固有名詞、専門用語)...",
["chk_diarize"] = "話者識別(ダイアリゼーション)",
["chk_timestamps"] = "タイムスタンプを含める",
["btn_transcribe"] = "文字起こし",
["btn_cancel"] = "キャンセル",
["btn_save"] = "保存...",
["btn_open_folder"] = "フォルダを開く",
["btn_clear"] = "クリア",
["status_ready"] = "準備完了",
["status_canceled"] = "キャンセルされました",
["status_error"] = "エラー",
["status_completed"] = "完了: {0} セグメント",
["status_saved"] = "保存しました: {0}",
["status_starting"] = "文字起こしを開始しています...",
["status_detecting"] = "GPU を検出中...",
["filter_audio"] = "音声ファイル",
["filter_all"] = "すべてのファイル",
["dlg_title_open_audio"] = "音声ファイルを選択",
["dlg_save_title"] = "文字起こしを保存",
["filter_txt"] = "テキスト",
["filter_srt"] = "SubRip",
["err_invalid_file"] = "先に有効な音声ファイルを選択してください。",
["help_title"] = "Whisper Transcriber - ヘルプ",
["lang_auto"] = "自動",
["hf_token_title"] = "HuggingFace トークンが必要",
["hf_token_text"] = "話者識別には無料の HuggingFace トークンが必要です。\n\n1) https://huggingface.co でサインアップ\n2) 両方のモデルの条件に同意:\n - https://huggingface.co/pyannote/speaker-diarization-3.1\n - https://huggingface.co/pyannote/segmentation-3.0\n3) https://huggingface.co/settings/tokens でトークンを作成\n\nここにトークンを貼り付け:",
},
["ar"] = new()
{
["window_title"] = "Whisper Transcriber",
["group_file"] = "ملف صوتي",
["btn_browse"] = "استعراض...",
["group_settings"] = "الإعدادات",
["group_transcription"] = "النسخ",
["group_output"] = "الإخراج",
["group_system"] = "النظام",
["lbl_model"] = "النموذج:",
["lbl_language"] = "لغة الصوت:",
["lbl_ui_language"] = "الواجهة:",
["lbl_gpu"] = "GPU:",
["lbl_initial_prompt"] = "المطالبة الأولية (اختياري):",
["prompt_placeholder"] = "كلمات مفتاحية لتحسين الدقة (أسماء، مصطلحات)...",
["chk_diarize"] = "تحديد المتحدثين (التمييز)",
["chk_timestamps"] = "تضمين الطوابع الزمنية",
["btn_transcribe"] = "نسخ",
["btn_cancel"] = "إلغاء",
["btn_save"] = "حفظ...",
["btn_open_folder"] = "فتح المجلد",
["btn_clear"] = "مسح",
["status_ready"] = "جاهز",
["status_canceled"] = "تم الإلغاء",
["status_error"] = "خطأ",
["status_completed"] = "اكتمل: {0} مقاطع",
["status_saved"] = "تم الحفظ: {0}",
["status_starting"] = "بدء النسخ...",
["status_detecting"] = "اكتشاف GPU...",
["filter_audio"] = "ملفات صوتية",
["filter_all"] = "كل الملفات",
["dlg_title_open_audio"] = "اختر ملفًا صوتيًا",
["dlg_save_title"] = "حفظ النسخ",
["filter_txt"] = "نص",
["filter_srt"] = "SubRip",
["err_invalid_file"] = "الرجاء اختيار ملف صوتي صالح أولاً.",
["help_title"] = "Whisper Transcriber - مساعدة",
["lang_auto"] = "تلقائي",
["hf_token_title"] = "مطلوب رمز HuggingFace",
["hf_token_text"] = "يحتاج تمييز المتحدثين إلى رمز HuggingFace مجاني.\n\n1) سجل في https://huggingface.co\n2) اقبل شروط كلا النموذجين:\n - https://huggingface.co/pyannote/speaker-diarization-3.1\n - https://huggingface.co/pyannote/segmentation-3.0\n3) أنشئ رمزًا في https://huggingface.co/settings/tokens\n\nالصق رمزك هنا:",
},
};
}