add setting page

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2022-08-13 12:43:35 +08:00
parent f812adedff
commit 5887334c2e
8 changed files with 1066 additions and 460 deletions

View File

@@ -654,6 +654,10 @@ pub fn t(name: String) -> String {
crate::client::translate(name)
}
pub fn get_langs() -> String {
crate::lang::LANGS.to_string()
}
pub fn is_xfce() -> bool {
crate::platform::is_xfce()
}