diff --git a/core/build.rs b/core/build.rs index e53cd898..75c6c348 100644 --- a/core/build.rs +++ b/core/build.rs @@ -51,11 +51,10 @@ fn main() { let openblas_dir = PathBuf::from(openblas_dir); if cfg!(feature = "opencl") { - println!("cargo:rustc-link-search={}", clblast_dir.join("..\\..\\").display()); // clblast\lib\clblast.lib + println!("cargo:rustc-link-search={}", clblast_dir.join("..\\..\\").display()); println!("cargo:rustc-link-search=C:\\vcpkg\\packages\\opencl_x64-windows\\lib"); - // C:\vcpkg\packages\opencl_x64-windows\lib\OpenCL.lib } - + // Sometimes it doesn't find the libs files after restring Github cache if cfg!(all(feature = "cuda", windows)) { let cuda_path = env::var("CUDA_PATH").unwrap_or_default(); diff --git a/desktop/src-tauri/locales/en-US/common.json b/desktop/src-tauri/locales/en-US/common.json index 2ee3ad17..391591ca 100644 --- a/desktop/src-tauri/locales/en-US/common.json +++ b/desktop/src-tauri/locales/en-US/common.json @@ -30,6 +30,7 @@ "i-prefer-manual-setup": "I prefer download manually", "info-cancel-download": "You can cancel and download model manually later.", "info-manual-download": "Internet connection is required to downlod the AI modal", + "info-max-text-ctx": "Max context tokens to use from past text as prompt for the decoder", "info-prompt": "Make transcripts better by writing expected words.", "info-temperature": "Higher values lead to more unique words; lower values stick to common ones. Usually set around 0.4 for a balanced result.", "info-threads": "Increase CPU for faster decoding; balance speed with resource usage. Recommended: 4", @@ -37,6 +38,7 @@ "language": "Language", "leftover": "left", "logs-folder": "Logs Folder", + "max-text-ctx": "Maximum context", "modal-close": "Close", "modal-error-body": "A bug happend!", "mode-text": "Text", @@ -54,7 +56,7 @@ "right-alignment": "Right alignment", "save-success": "Saved Successfuly!", "save-transcript": "Save Transcript", - "select-audio-file": "Select Audio File", + "select-file": "Select File", "select-language": "Select Language", "select-model": "Select Model", "settings": "Settings", @@ -71,7 +73,5 @@ "update-version": "Update Vibe", "updating-modal-body": "Updating Vibe to version {{version}}", "updating-modal-title": "Updating...", - "when-completing-transcription": "When completing transcription", - "info-max-text-ctx": "Max context tokens to use from past text as prompt for the decoder", - "max-text-ctx": "Maximum context" + "when-completing-transcription": "When completing transcription" } diff --git a/desktop/src-tauri/locales/fr-FR/common.json b/desktop/src-tauri/locales/fr-FR/common.json index 239923ce..41cced0b 100644 --- a/desktop/src-tauri/locales/fr-FR/common.json +++ b/desktop/src-tauri/locales/fr-FR/common.json @@ -56,7 +56,7 @@ "right-alignment": "Alignement à droite", "save-success": "Enregistré avec succès !", "save-transcript": "Enregistrer la transcription", - "select-audio-file": "Sélectionner un fichier audio", + "select-file": "Choisir le dossier", "select-language": "Sélectionner une langue", "select-model": "Sélectionner un modèle", "settings": "Paramètres", diff --git a/desktop/src-tauri/locales/he-IL/common.json b/desktop/src-tauri/locales/he-IL/common.json index cd2786ef..4a4b7236 100644 --- a/desktop/src-tauri/locales/he-IL/common.json +++ b/desktop/src-tauri/locales/he-IL/common.json @@ -56,7 +56,7 @@ "right-alignment": "יישור לימין", "save-success": "נשמר בהצלחה!", "save-transcript": "שמור תמלול", - "select-audio-file": "בחר קובץ אודיו", + "select-file": "בחר קובץ", "select-language": "בחר שפה", "select-model": "בחר מודל", "settings": "הגדרות", diff --git a/desktop/src-tauri/locales/pt-BR/common.json b/desktop/src-tauri/locales/pt-BR/common.json index d2e75773..2cc4788f 100644 --- a/desktop/src-tauri/locales/pt-BR/common.json +++ b/desktop/src-tauri/locales/pt-BR/common.json @@ -56,7 +56,7 @@ "right-alignment": "Alinhamento à direita", "save-success": "Salvo com sucesso!", "save-transcript": "Salvar transcrição", - "select-audio-file": "Selecione o arquivo de áudio", + "select-file": "Selecione o arquivo", "select-language": "Selecione o idioma", "select-model": "selecione o modelo", "settings": "Configurações", diff --git a/desktop/src-tauri/locales/sv-SE/common.json b/desktop/src-tauri/locales/sv-SE/common.json index 8d76ed11..e2e2a399 100644 --- a/desktop/src-tauri/locales/sv-SE/common.json +++ b/desktop/src-tauri/locales/sv-SE/common.json @@ -56,7 +56,7 @@ "right-alignment": "Högerjustering", "save-success": "Sparad framgångsrikt!", "save-transcript": "Spara avskrift", - "select-audio-file": "Välj Ljudfil", + "select-file": "Välj fil", "select-language": "Välj språk", "select-model": "Välj modell", "settings": "Inställningar", diff --git a/desktop/src-tauri/locales/zh-CN/common.json b/desktop/src-tauri/locales/zh-CN/common.json index d59ad449..035fe72e 100644 --- a/desktop/src-tauri/locales/zh-CN/common.json +++ b/desktop/src-tauri/locales/zh-CN/common.json @@ -56,7 +56,7 @@ "right-alignment": "右对齐", "save-success": "保存成功!", "save-transcript": "保存字幕", - "select-audio-file": "选择音频文件", + "select-file": "选择文件", "select-language": "选择语言", "select-model": "选择模型", "settings": "设置", diff --git a/desktop/src/pages/home/AudioInput.tsx b/desktop/src/pages/home/AudioInput.tsx index 4a725405..12007184 100644 --- a/desktop/src/pages/home/AudioInput.tsx +++ b/desktop/src/pages/home/AudioInput.tsx @@ -10,7 +10,7 @@ export default function AudioInput({ onClick }: AudioInputProps) { return (