add tab about translate

This commit is contained in:
Jimmy GALLAND 2022-12-17 14:40:57 +01:00
parent 40f7ef7b82
commit 15bebcf45b
31 changed files with 96 additions and 8 deletions

View File

@ -1106,22 +1106,22 @@ class _AboutState extends State<_About> {
const SizedBox(
height: 8.0,
),
Text('Version: $version').marginSymmetric(vertical: 4.0),
Text('Build Date: $buildDate').marginSymmetric(vertical: 4.0),
Text(translate('Version') + ': $version').marginSymmetric(vertical: 4.0),
Text(translate('Build Date') + ': $buildDate').marginSymmetric(vertical: 4.0),
InkWell(
onTap: () {
launchUrlString('https://rustdesk.com/privacy');
},
child: const Text(
'Privacy Statement',
child: Text(
translate('Privacy Statement'),
style: linkStyle,
).marginSymmetric(vertical: 4.0)),
InkWell(
onTap: () {
launchUrlString('https://rustdesk.com');
},
child: const Text(
'Website',
child: Text(
translate('Website'),
style: linkStyle,
).marginSymmetric(vertical: 4.0)),
Container(
@ -1138,8 +1138,8 @@ class _AboutState extends State<_About> {
'Copyright © 2022 Purslane Ltd.\n$license',
style: const TextStyle(color: Colors.white),
),
const Text(
'Made with heart in this chaotic world!',
Text(
translate('Slogan_tip'),
style: TextStyle(
fontWeight: FontWeight.w800,
color: Colors.white),

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "Canviar ID"),
("Website", "Lloc web"),
("About", "Sobre"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "Silenciar"),
("Audio Input", "Entrada d'àudio"),
("Enhancements", "Millores"),

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "改变ID"),
("Website", "网站"),
("About", "关于"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "静音"),
("Audio Input", "音频输入"),
("Enhancements", "增强功能"),

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "Změnit identifikátor"),
("Website", "Webové stránky"),
("About", "O aplikaci"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "Ztlumit"),
("Audio Input", "Vstup zvuku"),
("Enhancements", ""),

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "Ændre ID"),
("Website", "Hjemmeside"),
("About", "Omkring"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "Sluk for mikrofonen"),
("Audio Input", "Lydindgang"),
("Enhancements", ""),

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "ID ändern"),
("Website", "Webseite"),
("About", "Über"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "Stummschalten"),
("Audio Input", "Audioeingang"),
("Enhancements", "Verbesserungen"),

View File

@ -35,5 +35,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Stop service", "Stop Service"),
("hide_cm_tip", "Allow hiding only if accepting sessions via password and using permanent password"),
("wayland_experiment_tip", "Wayland support is in experimental stage, please use X11 if you require unattended access."),
("Slogan_tip", "Made with heart in this chaotic world!"),
].iter().cloned().collect();
}

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "Ŝanĝi identigilon"),
("Website", "Retejo"),
("About", "Pri"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "Muta"),
("Audio Input", "Aŭdia enigo"),
("Enhancements", ""),

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "Cambiar ID"),
("Website", "Sitio web"),
("About", "Acerca de"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "Silenciar"),
("Audio Input", "Entrada de audio"),
("Enhancements", "Mejoras"),

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "تعویض شناسه"),
("Website", "وب سایت"),
("About", "درباره"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "بستن صدا"),
("Audio Input", "ورودی صدا"),
("Enhancements", "بهبودها"),

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "Changer d'ID"),
("Website", "Site Web"),
("About", "À propos de"),
("About RustDesk", "À propos de RustDesk"),
("Slogan_tip", "Fait avec cœur dans ce monde chaotique!"),
("Privacy Statement", "Déclaration de confidentialité"),
("Mute", "Muet"),
("Audio Input", "Entrée audio"),
("Enhancements", "Améliorations"),

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "Αλλαγή αναγνωριστικού ID"),
("Website", "Ιστότοπος"),
("About", "Πληροφορίες"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "Σίγαση"),
("Audio Input", "Είσοδος ήχου"),
("Enhancements", "Βελτιώσεις"),

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "Azonosító megváltoztatása"),
("Website", "Weboldal"),
("About", "Rólunk"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "Némítás"),
("Audio Input", "Hangátvitel"),
("Enhancements", "Fejlesztések"),

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "Ubah ID"),
("Website", "Website"),
("About", "Tentang"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "Bisukan"),
("Audio Input", "Masukkan Audio"),
("Enhancements", "Peningkatan"),

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "Cambia ID"),
("Website", "Sito web"),
("About", "Informazioni"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "Silenzia"),
("Audio Input", "Input audio"),
("Enhancements", "Miglioramenti"),

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "IDを変更"),
("Website", "公式サイト"),
("About", "情報"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "ミュート"),
("Audio Input", "音声入力デバイス"),
("Enhancements", "追加機能"),

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "ID 변경"),
("Website", "웹사이트"),
("About", "정보"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "음소거"),
("Audio Input", "오디오 입력"),
("Enhancements", ""),

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "ID ауыстыру"),
("Website", "Web-сайт"),
("About", "Туралы"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "Дыбыссыздандыру"),
("Audio Input", "Аудио Еңгізу"),
("Enhancements", "Жақсартулар"),

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "Zmień ID"),
("Website", "Strona internetowa"),
("About", "O"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "Wycisz"),
("Audio Input", "Wejście audio"),
("Enhancements", "Ulepszenia"),

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "Alterar ID"),
("Website", "Website"),
("About", "Sobre"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "Silenciar"),
("Audio Input", "Entrada de Áudio"),
("Enhancements", "Melhorias"),

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "Alterar ID"),
("Website", "Website"),
("About", "Sobre"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "Desativar som"),
("Audio Input", "Entrada de Áudio"),
("Enhancements", "Melhorias"),

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "Изменить ID"),
("Website", "Сайт"),
("About", "О программе"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "Отключить звук"),
("Audio Input", "Аудиовход"),
("Enhancements", "Улучшения"),

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "Zmeniť ID"),
("Website", "Webová stránka"),
("About", "O RustDesk"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "Stíšiť"),
("Audio Input", "Zvukový vstup"),
("Enhancements", ""),

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "Ndryshoni ID"),
("Website", "Faqe ëebi"),
("About", "Rreth"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "Pa zë"),
("Audio Input", "Inputi zërit"),
("Enhancements", "Përmirësimet"),

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "Promeni ID"),
("Website", "Web sajt"),
("About", "O programu"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "Utišaj"),
("Audio Input", "Audio ulaz"),
("Enhancements", "Proširenja"),

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "Byt ID"),
("Website", "Hemsida"),
("About", "Om"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "Tyst"),
("Audio Input", "Ljud input"),
("Enhancements", "Förbättringar"),

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", ""),
("Website", ""),
("About", ""),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", ""),
("Audio Input", ""),
("Enhancements", ""),

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "ID Değiştir"),
("Website", "Website"),
("About", "Hakkında"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "Sustur"),
("Audio Input", "Ses Girişi"),
("Enhancements", "Geliştirmeler"),

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "更改 ID"),
("Website", "網站"),
("About", "關於"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "靜音"),
("Audio Input", "音訊輸入"),
("Enhancements", "增強功能"),

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "Змінити ID"),
("Website", "Веб-сайт"),
("About", "Про RustDesk"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "Вимкнути звук"),
("Audio Input", "Аудіовхід"),
("Enhancements", "Покращення"),

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "Thay đổi ID"),
("Website", "Trang web"),
("About", "About"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "Tắt tiếng"),
("Audio Input", "Đầu vào âm thanh"),
("Enhancements", "Các tiện itchs"),