mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-25 22:21:01 +03:00
Sardinian translation (#10941)
* Sardinian translation
Sardinian ("Sardu", ISO 639-1 code: "sc") translation.
* Update lang.rs
* Corrected typo
This commit is contained in:
@@ -33,6 +33,7 @@ mod pl;
|
||||
mod ptbr;
|
||||
mod ro;
|
||||
mod ru;
|
||||
mod sc;
|
||||
mod sk;
|
||||
mod sl;
|
||||
mod sq;
|
||||
@@ -87,6 +88,7 @@ pub const LANGS: &[(&str, &str)] = &[
|
||||
("ar", "العربية"),
|
||||
("he", "עברית"),
|
||||
("hr", "Hrvatski"),
|
||||
("sc", "Sardu"),
|
||||
];
|
||||
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
@@ -161,6 +163,7 @@ pub fn translate_locale(name: String, locale: &str) -> String {
|
||||
"be" => be::T.deref(),
|
||||
"he" => he::T.deref(),
|
||||
"hr" => hr::T.deref(),
|
||||
"sc" => sc::T.deref(),
|
||||
_ => en::T.deref(),
|
||||
};
|
||||
let (name, placeholder_value) = extract_placeholder(&name);
|
||||
|
||||
Reference in New Issue
Block a user