From 195b9edc34d41d052bb031a2432d8754ac87bfe6 Mon Sep 17 00:00:00 2001 From: ElBe <90863907+ElBe-Plaq@users.noreply.github.com> Date: Thu, 14 Sep 2023 19:40:18 +0200 Subject: [PATCH] Fixed indent --- .github/README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/README.md b/.github/README.md index 5c10a5c..de39fd7 100644 --- a/.github/README.md +++ b/.github/README.md @@ -38,27 +38,27 @@ To use localizer-rs, you need a directory (eg. `translations`) with your transla 1. Import the localizer-rs crate: - ```rust + ```rust - use localizer_rs; + use localizer_rs; - ``` + ``` 2. Create a new config object: - ```rust + ```rust - let config = localizer_rs::Config::new("DIRECTORY NAME", "LANGUAGE NAME"); + let config = localizer_rs::Config::new("DIRECTORY NAME", "LANGUAGE NAME"); - ``` + ``` 3. Translate your text: - ```rust + ```rust - config.t("key", vec!["placeholder", "value"]); + config.t("key", vec!["placeholder", "value"]); - ``` + ``` ## Example