Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/thewh1teagle/vibe
Browse files Browse the repository at this point in the history
  • Loading branch information
thewh1teagle committed Jun 5, 2024
2 parents 80eb763 + 7e9392a commit 916a687
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 15 deletions.
5 changes: 2 additions & 3 deletions core/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
8 changes: 4 additions & 4 deletions desktop/src-tauri/locales/en-US/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,15 @@
"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",
"info-translate-to-english": "Translate transcription into English from any language by enabling this option",
"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",
Expand All @@ -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",
Expand All @@ -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"
}
2 changes: 1 addition & 1 deletion desktop/src-tauri/locales/fr-FR/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion desktop/src-tauri/locales/he-IL/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"right-alignment": "יישור לימין",
"save-success": "נשמר בהצלחה!",
"save-transcript": "שמור תמלול",
"select-audio-file": "בחר קובץ אודיו",
"select-file": "בחר קובץ",
"select-language": "בחר שפה",
"select-model": "בחר מודל",
"settings": "הגדרות",
Expand Down
2 changes: 1 addition & 1 deletion desktop/src-tauri/locales/pt-BR/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion desktop/src-tauri/locales/sv-SE/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion desktop/src-tauri/locales/zh-CN/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"right-alignment": "右对齐",
"save-success": "保存成功!",
"save-transcript": "保存字幕",
"select-audio-file": "选择音频文件",
"select-file": "选择文件",
"select-language": "选择语言",
"select-model": "选择模型",
"settings": "设置",
Expand Down
2 changes: 1 addition & 1 deletion desktop/src/pages/home/AudioInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default function AudioInput({ onClick }: AudioInputProps) {
return (
<div className="flex items-center w-full justify-center">
<button onMouseDown={onClick} className="btn btn-primary w-full">
{t('common.select-audio-file')}
{t('common.select-file')}
</button>
</div>
)
Expand Down
2 changes: 1 addition & 1 deletion desktop/src/pages/home/viewModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export function viewModel() {
multiple: true,
filters: [
{
name: 'Audio',
name: 'Audio or Video files',
extensions: [...config.audioExtensions, ...config.videoExtensions],
},
],
Expand Down
2 changes: 1 addition & 1 deletion landing/src/lib/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ i18next
},
fallbackLng: 'en-US',
// lng: 'en', // testing in dev mode
supportedLngs: ['en-US', 'he-IL'],
supportedLngs: ['en-US', 'he-IL', 'fr-FR'],
ns: 'translation',
backend: {
loadPath: 'locales/{{lng}}.json',
Expand Down
17 changes: 17 additions & 0 deletions landing/static/locales/fr-FR.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"apple-silicon": "Puce Apple",
"available-for": "Disponible pour",
"cancel": "Annuler",
"copy-download-link": "Copier le lien de téléchargement",
"description": "Découvrez la transcription linguistique sans faille avec Vibe - votre solution tout-en-un pour une transcription audio et vidéo hors-ligne et sans effort.",
"download": "Télécharger",
"download-for": "Télécharger pour ",
"download-on-pc": "Télécharger sur PC",
"features": "Caractéristiques",
"home": "Maison",
"intel": "Puce Intel",
"open-logs-folder": "Ouvrir le dossier des journaux",
"star-on-github": "Mettre une étoile sur Github",
"support-vibe": "Ambiance de soutien",
"title": "Transcription audio locale."
}

0 comments on commit 916a687

Please sign in to comment.