From 1e548af9879596aab7b5e8add05dc4ffa14b1fbd Mon Sep 17 00:00:00 2001 From: Sahil Yeole Date: Wed, 13 Sep 2023 11:00:07 +0530 Subject: [PATCH] update lang Signed-off-by: Sahil Yeole --- flutter/lib/mobile/pages/server_page.dart | 6 +++--- src/lang/ar.rs | 6 ++++++ src/lang/ca.rs | 6 ++++++ src/lang/cn.rs | 6 ++++++ src/lang/cs.rs | 6 ++++++ src/lang/da.rs | 6 ++++++ src/lang/de.rs | 6 ++++++ src/lang/el.rs | 6 ++++++ src/lang/en.rs | 6 ++++++ src/lang/eo.rs | 6 ++++++ src/lang/es.rs | 6 ++++++ src/lang/fa.rs | 6 ++++++ src/lang/fr.rs | 6 ++++++ src/lang/hu.rs | 6 ++++++ src/lang/id.rs | 6 ++++++ src/lang/it.rs | 6 ++++++ src/lang/ja.rs | 6 ++++++ src/lang/ko.rs | 6 ++++++ src/lang/kz.rs | 6 ++++++ src/lang/lt.rs | 6 ++++++ src/lang/nl.rs | 6 ++++++ src/lang/pl.rs | 6 ++++++ src/lang/pt_PT.rs | 6 ++++++ src/lang/ptbr.rs | 6 ++++++ src/lang/ro.rs | 6 ++++++ src/lang/ru.rs | 6 ++++++ src/lang/sk.rs | 6 ++++++ src/lang/sl.rs | 6 ++++++ src/lang/sq.rs | 6 ++++++ src/lang/sr.rs | 6 ++++++ src/lang/sv.rs | 6 ++++++ src/lang/template.rs | 6 ++++++ src/lang/th.rs | 6 ++++++ src/lang/tr.rs | 6 ++++++ src/lang/tw.rs | 6 ++++++ src/lang/ua.rs | 6 ++++++ src/lang/vn.rs | 6 ++++++ 37 files changed, 219 insertions(+), 3 deletions(-) diff --git a/flutter/lib/mobile/pages/server_page.dart b/flutter/lib/mobile/pages/server_page.dart index bebfc2354..e31312905 100644 --- a/flutter/lib/mobile/pages/server_page.dart +++ b/flutter/lib/mobile/pages/server_page.dart @@ -319,7 +319,7 @@ class _ScamWarningDialogState extends State { ), SizedBox(height: 18), Text( - translate("You May Be Being SCAMMED!"), + translate("scam_title"), textAlign: TextAlign.center, style: TextStyle( color: Colors.white, @@ -329,8 +329,8 @@ class _ScamWarningDialogState extends State { ), SizedBox(height: 18), Text( - translate("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.")+"\n\n" - +translate("They are likely a scammer trying to steal your money or other private information.")+"\n", + translate("scam_text1")+"\n\n" + +translate("scam_text2")+"\n", style: TextStyle( color: Colors.white, fontWeight: FontWeight.bold, 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(); }