Skip to content

Commit

Permalink
chore(lang): chinese support | outdated file
Browse files Browse the repository at this point in the history
  • Loading branch information
LatentDream committed Oct 4, 2024
1 parent 00e3aba commit c26dc33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-tauri/src/audio/processor_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ fn transcribe_with_assemblyai(audio_path: &String, language: Option<String>) ->
match language.to_lowercase().as_str() {
"en_us" | "en" | "english" | "anglais" => "en_us".to_string(),
"fr" | "french" | "francais" | "français" => "fr".to_string(),
"zh" | "chinese" | "中文" | "français" => "fr".to_string(),
"zh" | "chinese" | "中文" => "zh".to_string(),
_ => "en_us".to_string()
}
}
Expand Down

0 comments on commit c26dc33

Please sign in to comment.