traditional chinese
This commit is contained in:
parent
a4d34aacea
commit
d87f29c679
@ -5,6 +5,7 @@ mod cn;
|
||||
mod en;
|
||||
mod fr;
|
||||
mod it;
|
||||
mod tw;
|
||||
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
pub fn translate(name: String) -> String {
|
||||
@ -28,6 +29,7 @@ pub fn translate_locale(name: String, locale: &str) -> String {
|
||||
"fr" => fr::T.deref(),
|
||||
"cn" => cn::T.deref(),
|
||||
"it" => it::T.deref(),
|
||||
"tw" => tw::T.deref(),
|
||||
_ => en::T.deref(),
|
||||
};
|
||||
if let Some(v) = m.get(&name as &str) {
|
||||
|
@ -15,6 +15,7 @@ pub mod macos;
|
||||
pub mod linux;
|
||||
|
||||
use hbb_common::{message_proto::CursorData, ResultType};
|
||||
#[cfg(not(target_os = "macos"))]
|
||||
const SERVICE_INTERVAL: u64 = 300;
|
||||
|
||||
pub fn is_xfce() -> bool {
|
||||
|
@ -174,7 +174,7 @@ impl Connection {
|
||||
},
|
||||
);
|
||||
|
||||
let handler_input = std::thread::spawn(move || Self::handle_input(rx_input, tx_cloned));
|
||||
std::thread::spawn(move || Self::handle_input(rx_input, tx_cloned));
|
||||
|
||||
loop {
|
||||
tokio::select! {
|
||||
|
Loading…
x
Reference in New Issue
Block a user