Added everything

This commit is contained in:
ElBe
2023-09-14 07:33:47 +02:00
parent db56f981ed
commit 4fca364541
35 changed files with 1155 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
use localizer_rs;
fn main() {
let config: localizer_rs::Config = localizer_rs::Config::new("translations", "en");
println!("{:}", config.t("error", vec![("details", "Something went wrong when trying to do stuff")]));
println!("{:}", config.t("success", vec![("balance", "$10"), ("user", "John Doe")]));
println!("{:}", config.t("all", vec![]));
}