This commit is contained in:
rustdesk 2022-06-10 17:59:21 +08:00
parent 7dfa038c6d
commit f012befc9d
2 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,7 @@ use std::ops::Deref;
mod cn; mod cn;
mod cs; mod cs;
mod da; mod da;
mod sk;
mod de; mod de;
mod en; mod en;
mod eo; mod eo;
@ -52,6 +53,7 @@ pub fn translate_locale(name: String, locale: &str) -> String {
"tr" => tr::T.deref(), "tr" => tr::T.deref(),
"cs" => cs::T.deref(), "cs" => cs::T.deref(),
"da" => da::T.deref(), "da" => da::T.deref(),
"sk" => sk::T.deref(),
_ => en::T.deref(), _ => en::T.deref(),
}; };
if let Some(v) = m.get(&name as &str) { if let Some(v) = m.get(&name as &str) {

View File

@ -264,7 +264,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("android_start_service_tip", "Klepnite na [Spustiť službu] alebo OTVORTE oprávnenie [Zachytávanie obsahu obrazovky], aby sa aktivovala služba zdieľania obrazovky."), ("android_start_service_tip", "Klepnite na [Spustiť službu] alebo OTVORTE oprávnenie [Zachytávanie obsahu obrazovky], aby sa aktivovala služba zdieľania obrazovky."),
("Account", "Účet"), ("Account", "Účet"),
("Overwrite", "Prepísať"), ("Overwrite", "Prepísať"),
("This file exists, skip or overwrite this file?", "Preskočiť alebo prepísať existujúci súbor?") ("This file exists, skip or overwrite this file?", "Preskočiť alebo prepísať existujúci súbor?"),
("Quit", "Ukončiť"), ("Quit", "Ukončiť"),
("doc_mac_permission", "https://rustdesk.com/docs/en/manual/mac/#enable-permissions"), ("doc_mac_permission", "https://rustdesk.com/docs/en/manual/mac/#enable-permissions"),
("Help", "Nápoveda"), ("Help", "Nápoveda"),