From f2f12ffb6b2c40db1488b9a5fa57a0b300642df2 Mon Sep 17 00:00:00 2001 From: RustDesk <71636191+rustdesk@users.noreply.github.com> Date: Thu, 26 May 2022 21:07:39 +0800 Subject: [PATCH] Update lang.rs --- src/lang.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lang.rs b/src/lang.rs index d79cfd32f..100672b8d 100644 --- a/src/lang.rs +++ b/src/lang.rs @@ -11,6 +11,7 @@ mod eo; mod ptbr; mod id; mod tr; +mod cs; #[cfg(not(any(target_os = "android", target_os = "ios")))] pub fn translate(name: String) -> String { @@ -48,6 +49,7 @@ pub fn translate_locale(name: String, locale: &str) -> String { "br" => ptbr::T.deref(), "pt" => ptbr::T.deref(), "tr" => tr::T.deref(), + "cs" => cs::T.deref(), _ => en::T.deref(), }; if let Some(v) = m.get(&name as &str) {