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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -35,5 +35,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Stop service", "Stop Service"), ("Stop service", "Stop Service"),
("hide_cm_tip", "Allow hiding only if accepting sessions via password and using permanent password"), ("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."), ("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(); ].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"), ("Change ID", "Ŝanĝi identigilon"),
("Website", "Retejo"), ("Website", "Retejo"),
("About", "Pri"), ("About", "Pri"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "Muta"), ("Mute", "Muta"),
("Audio Input", "Aŭdia enigo"), ("Audio Input", "Aŭdia enigo"),
("Enhancements", ""), ("Enhancements", ""),

View File

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

View File

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

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "Changer d'ID"), ("Change ID", "Changer d'ID"),
("Website", "Site Web"), ("Website", "Site Web"),
("About", "À propos de"), ("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"), ("Mute", "Muet"),
("Audio Input", "Entrée audio"), ("Audio Input", "Entrée audio"),
("Enhancements", "Améliorations"), ("Enhancements", "Améliorations"),

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "Αλλαγή αναγνωριστικού ID"), ("Change ID", "Αλλαγή αναγνωριστικού ID"),
("Website", "Ιστότοπος"), ("Website", "Ιστότοπος"),
("About", "Πληροφορίες"), ("About", "Πληροφορίες"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "Σίγαση"), ("Mute", "Σίγαση"),
("Audio Input", "Είσοδος ήχου"), ("Audio Input", "Είσοδος ήχου"),
("Enhancements", "Βελτιώσεις"), ("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"), ("Change ID", "Azonosító megváltoztatása"),
("Website", "Weboldal"), ("Website", "Weboldal"),
("About", "Rólunk"), ("About", "Rólunk"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "Némítás"), ("Mute", "Némítás"),
("Audio Input", "Hangátvitel"), ("Audio Input", "Hangátvitel"),
("Enhancements", "Fejlesztések"), ("Enhancements", "Fejlesztések"),

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -39,6 +39,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Change ID", "Ndryshoni ID"), ("Change ID", "Ndryshoni ID"),
("Website", "Faqe ëebi"), ("Website", "Faqe ëebi"),
("About", "Rreth"), ("About", "Rreth"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "Pa zë"), ("Mute", "Pa zë"),
("Audio Input", "Inputi zërit"), ("Audio Input", "Inputi zërit"),
("Enhancements", "Përmirësimet"), ("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"), ("Change ID", "Promeni ID"),
("Website", "Web sajt"), ("Website", "Web sajt"),
("About", "O programu"), ("About", "O programu"),
("About RustDesk", ""),
("Slogan_tip", ""),
("Privacy Statement", ""),
("Mute", "Utišaj"), ("Mute", "Utišaj"),
("Audio Input", "Audio ulaz"), ("Audio Input", "Audio ulaz"),
("Enhancements", "Proširenja"), ("Enhancements", "Proširenja"),

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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