diff --git a/flutter/assets/scam.png b/flutter/assets/scam.png new file mode 100644 index 000000000..9ccad3343 Binary files /dev/null and b/flutter/assets/scam.png differ diff --git a/flutter/lib/mobile/pages/server_page.dart b/flutter/lib/mobile/pages/server_page.dart index a8255180b..e31312905 100644 --- a/flutter/lib/mobile/pages/server_page.dart +++ b/flutter/lib/mobile/pages/server_page.dart @@ -210,11 +210,199 @@ class ServiceNotRunningNotification extends StatelessWidget { .marginOnly(bottom: 8), ElevatedButton.icon( icon: const Icon(Icons.play_arrow), - onPressed: serverModel.toggleService, + onPressed: () { + if (gFFI.userModel.userName.value.isEmpty && bind.mainGetLocalOption(key: "show-scam-warning") != "N") { + _showScamWarning(context, serverModel); + } else { + serverModel.toggleService(); + } + }, label: Text(translate("Start Service"))) ], )); } + + void _showScamWarning(BuildContext context, ServerModel serverModel) { + showDialog( + context: context, + builder: (BuildContext context) { + return ScamWarningDialog(serverModel: serverModel); + }, + ); + } +} + +class ScamWarningDialog extends StatefulWidget { + final ServerModel serverModel; + + ScamWarningDialog({required this.serverModel}); + + @override + _ScamWarningDialogState createState() => _ScamWarningDialogState(); +} + +class _ScamWarningDialogState extends State { + int _countdown = 12; + bool show_warning = false; + late Timer _timer; + late ServerModel _serverModel; + + @override + void initState() { + super.initState(); + _serverModel = widget.serverModel; + startCountdown(); + } + + void startCountdown() { + const oneSecond = Duration(seconds: 1); + _timer = Timer.periodic(oneSecond, (timer) { + setState(() { + _countdown--; + if (_countdown <= 0) { + timer.cancel(); + } + }); + }); + } + + @override + void dispose() { + _timer.cancel(); + super.dispose(); + } + + @override + Widget build(BuildContext context) { + final isButtonLocked = _countdown > 0; + + return AlertDialog( + content: Container( + decoration: BoxDecoration( + gradient: LinearGradient( + begin: Alignment.topRight, + end: Alignment.bottomLeft, + colors: [ + Color(0xffe242bc), + Color(0xfff4727c), + ], + ), + borderRadius: BorderRadius.circular(20.0), + ), + padding: EdgeInsets.all(25.0), + child: Column( + mainAxisSize: MainAxisSize.min, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Row( + children: [ + Icon( + Icons.warning_amber_sharp, + color: Colors.white, + ), + SizedBox(width: 10), + Text( + translate("Warning"), + style: TextStyle( + color: Colors.white, + fontWeight: FontWeight.bold, + fontSize: 20.0, + ), + ), + ], + ), + SizedBox(height: 20), + Center( + child: Image.asset('assets/scam.png', + width: 180, + ), + ), + SizedBox(height: 18), + Text( + translate("scam_title"), + textAlign: TextAlign.center, + style: TextStyle( + color: Colors.white, + fontWeight: FontWeight.bold, + fontSize: 22.0, + ), + ), + SizedBox(height: 18), + Text( + translate("scam_text1")+"\n\n" + +translate("scam_text2")+"\n", + style: TextStyle( + color: Colors.white, + fontWeight: FontWeight.bold, + fontSize: 16.0, + ), + ), + Row( + children: [ + Checkbox( + value: show_warning, + onChanged: (value) { + setState((){ + show_warning = value!; + }); + }, + ), + Text( + translate("Don't show again"), + style: TextStyle( + color: Colors.white, + fontWeight: FontWeight.bold, + fontSize: 15.0, + ), + ), + ], + ), + SizedBox(height: 10), + Row( + mainAxisAlignment: MainAxisAlignment.end, + children: [ + ElevatedButton( + onPressed: isButtonLocked + ? null + : () { + Navigator.of(context).pop(); + _serverModel.toggleService(); + if (show_warning) { + bind.mainSetLocalOption(key: "show-scam-warning", value: "N"); + } + }, + style: ElevatedButton.styleFrom( + primary: Colors.blueAccent, + ), + child: Text( + isButtonLocked ? translate("I Agree")+" (${_countdown}s)" : translate("I Agree"), + style: TextStyle( + fontWeight: FontWeight.bold, + fontSize: 13.0, + ), + ), + ), + SizedBox(width: 15), + ElevatedButton( + onPressed: () { + Navigator.of(context).pop(); + }, + style: ElevatedButton.styleFrom( + primary: Colors.blueAccent, + ), + child: Text( + translate("Decline"), + style: TextStyle( + fontWeight: FontWeight.bold, + fontSize: 13.0, + ), + ), + ), + ], + )])), + contentPadding: EdgeInsets.all(0.0), + ); + } } class ServerInfo extends StatelessWidget { diff --git a/src/lang/ar.rs b/src/lang/ar.rs index 33782738f..52f859c75 100644 --- a/src/lang/ar.rs +++ b/src/lang/ar.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", ""), ("Reverse mouse wheel", ""), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ca.rs b/src/lang/ca.rs index 65c4ea9ce..2abbde617 100644 --- a/src/lang/ca.rs +++ b/src/lang/ca.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", ""), ("Reverse mouse wheel", ""), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/cn.rs b/src/lang/cn.rs index 006edd270..4fd3db18a 100644 --- a/src/lang/cn.rs +++ b/src/lang/cn.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", "安装失败!"), ("Reverse mouse wheel", "鼠标滚轮反向"), ("{} sessions", "{}个会话"), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/cs.rs b/src/lang/cs.rs index 45e224d81..90a1482fb 100644 --- a/src/lang/cs.rs +++ b/src/lang/cs.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", ""), ("Reverse mouse wheel", ""), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/da.rs b/src/lang/da.rs index 889f82634..7af1c2282 100644 --- a/src/lang/da.rs +++ b/src/lang/da.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", ""), ("Reverse mouse wheel", ""), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/de.rs b/src/lang/de.rs index 9185f3288..d72f51a06 100644 --- a/src/lang/de.rs +++ b/src/lang/de.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", "Installation fehlgeschlagen!"), ("Reverse mouse wheel", "Mausrad rückwärts drehen"), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/el.rs b/src/lang/el.rs index 3440486f7..177d731b2 100644 --- a/src/lang/el.rs +++ b/src/lang/el.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", ""), ("Reverse mouse wheel", ""), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/en.rs b/src/lang/en.rs index a69164a3b..3384f7e8a 100644 --- a/src/lang/en.rs +++ b/src/lang/en.rs @@ -82,5 +82,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Start session recording", "Start Session Recording"), ("Stop session recording", "Stop Session Recording"), ("Enable remote configuration modification", "Enable Remote Configuration Modification"), + ("scam_title", "You May Be Being SCAMMED!"), + ("scam_text1", "If you are on the phone with someone you DON'T know AND TRUST who has asked you to use RustDesk and start the service, do not proceed and hang up immediately."), + ("scam_text2", "They are likely a scammer trying to steal your money or other private information."), + ("Don't show again", "Don't show again"), + ("I Agree", "I Agree"), + ("Decline", "Decline"), ].iter().cloned().collect(); } diff --git a/src/lang/eo.rs b/src/lang/eo.rs index 5a8c4da1f..ecf1fe00f 100644 --- a/src/lang/eo.rs +++ b/src/lang/eo.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", ""), ("Reverse mouse wheel", ""), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/es.rs b/src/lang/es.rs index 484d6fe5b..36b909f8f 100644 --- a/src/lang/es.rs +++ b/src/lang/es.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", "La instalación ha fallado"), ("Reverse mouse wheel", "Invertir rueda del ratón"), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/fa.rs b/src/lang/fa.rs index 86dbbe013..39169d816 100644 --- a/src/lang/fa.rs +++ b/src/lang/fa.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", ""), ("Reverse mouse wheel", ""), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/fr.rs b/src/lang/fr.rs index 9dc310940..ea9dcef50 100644 --- a/src/lang/fr.rs +++ b/src/lang/fr.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", ""), ("Reverse mouse wheel", ""), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/hu.rs b/src/lang/hu.rs index 4a24572cd..62a41b96a 100644 --- a/src/lang/hu.rs +++ b/src/lang/hu.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", ""), ("Reverse mouse wheel", ""), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/id.rs b/src/lang/id.rs index d7c8aed82..35da2fd89 100644 --- a/src/lang/id.rs +++ b/src/lang/id.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", "Instalasi gagal!"), ("Reverse mouse wheel", "Balikkan arah scroll mouse!"), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/it.rs b/src/lang/it.rs index dc1d09020..f27e5ec51 100644 --- a/src/lang/it.rs +++ b/src/lang/it.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", "Installazione fallita"), ("Reverse mouse wheel", "Rotella mouse inversa"), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ja.rs b/src/lang/ja.rs index 1e2829bd4..af74fc4ed 100644 --- a/src/lang/ja.rs +++ b/src/lang/ja.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", ""), ("Reverse mouse wheel", ""), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ko.rs b/src/lang/ko.rs index a3c251e86..7fe3da853 100644 --- a/src/lang/ko.rs +++ b/src/lang/ko.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", ""), ("Reverse mouse wheel", ""), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/kz.rs b/src/lang/kz.rs index 0b956d66c..eb8b7df61 100644 --- a/src/lang/kz.rs +++ b/src/lang/kz.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", ""), ("Reverse mouse wheel", ""), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/lt.rs b/src/lang/lt.rs index c64554239..53ce2a23f 100644 --- a/src/lang/lt.rs +++ b/src/lang/lt.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", ""), ("Reverse mouse wheel", ""), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/nl.rs b/src/lang/nl.rs index d4038e2ed..d74957aea 100644 --- a/src/lang/nl.rs +++ b/src/lang/nl.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", ""), ("Reverse mouse wheel", ""), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/pl.rs b/src/lang/pl.rs index 5a727cfa1..58650a593 100644 --- a/src/lang/pl.rs +++ b/src/lang/pl.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", "Instalacja nie powiodła się"), ("Reverse mouse wheel", "Odwróć rolkę myszki"), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/pt_PT.rs b/src/lang/pt_PT.rs index 7b31cc813..18736a1bc 100644 --- a/src/lang/pt_PT.rs +++ b/src/lang/pt_PT.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", ""), ("Reverse mouse wheel", ""), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ptbr.rs b/src/lang/ptbr.rs index c5134e9dd..b77862054 100644 --- a/src/lang/ptbr.rs +++ b/src/lang/ptbr.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", ""), ("Reverse mouse wheel", ""), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ro.rs b/src/lang/ro.rs index 23fc8bf82..8be7a1600 100644 --- a/src/lang/ro.rs +++ b/src/lang/ro.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", ""), ("Reverse mouse wheel", ""), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ru.rs b/src/lang/ru.rs index d231d3ef0..d4effc6d6 100644 --- a/src/lang/ru.rs +++ b/src/lang/ru.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", "Установка не выполнена!"), ("Reverse mouse wheel", "Реверсировать колесо мыши"), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/sk.rs b/src/lang/sk.rs index 16b33ee44..f7620c7c7 100644 --- a/src/lang/sk.rs +++ b/src/lang/sk.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", ""), ("Reverse mouse wheel", ""), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/sl.rs b/src/lang/sl.rs index 7cb0c677d..20b6cc819 100755 --- a/src/lang/sl.rs +++ b/src/lang/sl.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", ""), ("Reverse mouse wheel", ""), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/sq.rs b/src/lang/sq.rs index 028096c6d..809b55a2a 100644 --- a/src/lang/sq.rs +++ b/src/lang/sq.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", ""), ("Reverse mouse wheel", ""), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/sr.rs b/src/lang/sr.rs index 55ae4022c..4b927e917 100644 --- a/src/lang/sr.rs +++ b/src/lang/sr.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", ""), ("Reverse mouse wheel", ""), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/sv.rs b/src/lang/sv.rs index ca4adea6b..b048b9c8e 100644 --- a/src/lang/sv.rs +++ b/src/lang/sv.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", ""), ("Reverse mouse wheel", ""), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/template.rs b/src/lang/template.rs index 48a710e5d..08f7254c9 100644 --- a/src/lang/template.rs +++ b/src/lang/template.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", ""), ("Reverse mouse wheel", ""), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree",""), + ("Decline",""), ].iter().cloned().collect(); } diff --git a/src/lang/th.rs b/src/lang/th.rs index abe318b18..c1e963461 100644 --- a/src/lang/th.rs +++ b/src/lang/th.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", ""), ("Reverse mouse wheel", ""), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/tr.rs b/src/lang/tr.rs index b38c3e497..ecf9ea5d9 100644 --- a/src/lang/tr.rs +++ b/src/lang/tr.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", ""), ("Reverse mouse wheel", ""), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/tw.rs b/src/lang/tw.rs index 22cd296c9..e55552f8e 100644 --- a/src/lang/tw.rs +++ b/src/lang/tw.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", ""), ("Reverse mouse wheel", ""), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ua.rs b/src/lang/ua.rs index dba9b625b..aaee1a82b 100644 --- a/src/lang/ua.rs +++ b/src/lang/ua.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", ""), ("Reverse mouse wheel", ""), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); } diff --git a/src/lang/vn.rs b/src/lang/vn.rs index 6a6b8366b..2116400ab 100644 --- a/src/lang/vn.rs +++ b/src/lang/vn.rs @@ -545,5 +545,11 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Installation failed!", ""), ("Reverse mouse wheel", ""), ("{} sessions", ""), + ("scam_title", ""), + ("scam_text1", ""), + ("scam_text2", ""), + ("Don't show again", ""), + ("I Agree", ""), + ("Decline", ""), ].iter().cloned().collect(); }