This commit is contained in:
2026-01-18 18:08:53 +09:00
commit 5fe9e0a3f9
56 changed files with 6679 additions and 0 deletions

10
src/commands/lang.rs Normal file
View File

@@ -0,0 +1,10 @@
use anyhow::Result;
use std::path::Path;
use crate::lms;
/// Translate content files from one language to another
pub async fn translate(input: &str, from: &str, to: &str) -> Result<()> {
let path = Path::new(input);
lms::translate::run(path, from, to).await
}