Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

feat(flutter): add mobile canvas lock (#15877)

Krik JIN8ffe3117a537
diff --git a/flutter/lib/common/widgets/remote_input.dart b/flutter/lib/common/widgets/remote_input.dart
index 5871033db..1e2daac5d 100644
--- a/flutter/lib/common/widgets/remote_input.dart
+++ b/flutter/lib/common/widgets/remote_input.dart
@@ -115,6 +115,7 @@ class _RawTouchGestureDetectorRegionState
InputModel get inputModel => widget.inputModel;
bool get handleTouch => (isDesktop || isWebDesktop) || ffiModel.touchMode;
SessionID get sessionId => ffi.sessionId;
+ bool get canvasLocked => isMobile && ffi.canvasModel.locked;
@override
Widget build(BuildContext context) {
@@ -471,6 +472,8 @@ class _RawTouchGestureDetectorRegionState
return;
}
+ if (canvasLocked) return;
+
if ((isDesktop || isWebDesktop)) {
final scale = ((d.scale - _scale) * 1000).toInt();
_scale = d.scale;
diff --git a/flutter/lib/mobile/pages/remote_page.dart b/flutter/lib/mobile/pages/remote_page.dart
index 8395f4540..f42d08a67 100644
--- a/flutter/lib/mobile/pages/remote_page.dart
+++ b/flutter/lib/mobile/pages/remote_page.dart
@@ -1276,6 +1276,14 @@ void showOptions(
List<TToggleMenu> cursorToggles = await toolbarCursor(context, id, gFFI);
List<TToggleMenu> displayToggles =
await toolbarDisplayToggle(context, id, gFFI);
+ if (isMobile) {
+ displayToggles.insert(
+ 0,
+ TToggleMenu(
+ child: Text(translate('Lock canvas')),
+ value: gFFI.canvasModel.locked,
+ onChanged: (value) => gFFI.canvasModel.setLocked(value == true)));
+ }
List<TToggleMenu> privacyModeList = [];
if ((gFFI.ffiModel.pi.features.privacyMode && gFFI.ffiModel.keyboard) ||
diff --git a/flutter/lib/models/model.dart b/flutter/lib/models/model.dart
index 68ec58cc3..7bab906bc 100644
--- a/flutter/lib/models/model.dart
+++ b/flutter/lib/models/model.dart
@@ -2213,6 +2213,7 @@ class CanvasModel with ChangeNotifier {
double _y = 0;
// image scale
double _scale = 1.0;
+ bool _locked = false;
double _devicePixelRatio = 1.0;
Size _size = Size.zero;
// the tabbar over the image
@@ -2261,12 +2262,19 @@ class CanvasModel with ChangeNotifier {
double get x => _x;
double get y => _y;
double get scale => _scale;
+ bool get locked => _locked;
double get devicePixelRatio => _devicePixelRatio;
Size get size => _size;
ScrollStyle get scrollStyle => _scrollStyle;
ViewStyle get viewStyle => _lastViewStyle;
RxBool get imageOverflow => _imageOverflow;
+ void setLocked(bool value) {
+ if (_locked == value) return;
+ _locked = value;
+ notifyListeners();
+ }
+
_resetScroll() => setScrollPercent(0.0, 0.0);
void setScrollPercent(double x, double y) {
@@ -2727,6 +2735,7 @@ class CanvasModel with ChangeNotifier {
_x = 0;
_y = 0;
_scale = 1.0;
+ _locked = false;
_lastViewStyle = ViewStyle.defaultViewStyle();
_timerMobileFocusCanvasCursor?.cancel();
_timerMobileRestoreCanvasOffset?.cancel();
diff --git a/src/lang/ar.rs b/src/lang/ar.rs
index f66beca8f..a396182ba 100644
--- a/src/lang/ar.rs
+++ b/src/lang/ar.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "يتم دعم صيغة CIDR، مثال: 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/be.rs b/src/lang/be.rs
index 411ea6ec5..607d1f195 100644
--- a/src/lang/be.rs
+++ b/src/lang/be.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "Падтрымліваецца натацыя CIDR, напрыклад: 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/bg.rs b/src/lang/bg.rs
index b56334f6d..29b233a9a 100644
--- a/src/lang/bg.rs
+++ b/src/lang/bg.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "Поддържа се CIDR нотация, например: 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/ca.rs b/src/lang/ca.rs
index 1412a2b76..b7d25420f 100644
--- a/src/lang/ca.rs
+++ b/src/lang/ca.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "S'admet la notació CIDR, per exemple 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/cn.rs b/src/lang/cn.rs
index e685554b4..b8b61fa43 100644
--- a/src/lang/cn.rs
+++ b/src/lang/cn.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "支持 CIDR 写法,例如 192.168.1.0/24"),
("Continue", "继续"),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", "锁定画布"),
].iter().cloned().collect();
}
diff --git a/src/lang/cs.rs b/src/lang/cs.rs
index 7bf85ec49..05d347dc9 100644
--- a/src/lang/cs.rs
+++ b/src/lang/cs.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "Je podporován zápis CIDR, například 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/da.rs b/src/lang/da.rs
index d8d9caaf6..9d03a7ff1 100644
--- a/src/lang/da.rs
+++ b/src/lang/da.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "CIDR-notation understøttes, f.eks. 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/de.rs b/src/lang/de.rs
index 44da8446b..53abc3ec3 100644
--- a/src/lang/de.rs
+++ b/src/lang/de.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "Die CIDR-Notation wird unterstützt, z. B. 192.168.1.0/24"),
("Continue", "Weiter"),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/el.rs b/src/lang/el.rs
index d6f96fa3c..411eab380 100644
--- a/src/lang/el.rs
+++ b/src/lang/el.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "Υποστηρίζεται η σημειογραφία CIDR, π.χ. 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/eo.rs b/src/lang/eo.rs
index f7048783c..3fcbfc2e2 100644
--- a/src/lang/eo.rs
+++ b/src/lang/eo.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "La notacio CIDR estas subtenata, ekzemple 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/es.rs b/src/lang/es.rs
index 3285a71e0..0f1904805 100644
--- a/src/lang/es.rs
+++ b/src/lang/es.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "Se admite la notación CIDR, por ejemplo 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/et.rs b/src/lang/et.rs
index a97ad97ff..69cf74483 100644
--- a/src/lang/et.rs
+++ b/src/lang/et.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "Toetatud on CIDR-tähistus, näiteks 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/eu.rs b/src/lang/eu.rs
index ef534828f..e19913b36 100644
--- a/src/lang/eu.rs
+++ b/src/lang/eu.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "CIDR notazioa onartzen da, adibidez 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/fa.rs b/src/lang/fa.rs
index 7b01a1a7b..aa3e02574 100644
--- a/src/lang/fa.rs
+++ b/src/lang/fa.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "نماد CIDR پشتیبانی می شود، برای مثال 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/fi.rs b/src/lang/fi.rs
index b4bd3cb5b..c6532f65b 100644
--- a/src/lang/fi.rs
+++ b/src/lang/fi.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "CIDR-merkintä on tuettu, esimerkiksi 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/fr.rs b/src/lang/fr.rs
index 9a4acf6f3..8d592b3ae 100644
--- a/src/lang/fr.rs
+++ b/src/lang/fr.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "La notation CIDR est prise en charge, par exemple 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/ge.rs b/src/lang/ge.rs
index f2d807c4b..3061bfeb3 100644
--- a/src/lang/ge.rs
+++ b/src/lang/ge.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "მხარდაჭერილია CIDR ჩანაწერი, მაგალითად 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/gu.rs b/src/lang/gu.rs
index 28c4b7a89..61d72559e 100644
--- a/src/lang/gu.rs
+++ b/src/lang/gu.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "CIDR નોટેશન સપોર્ટેડ છે, ઉदાહરણ તરીકે 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/he.rs b/src/lang/he.rs
index e11826d01..73e2dcef9 100644
--- a/src/lang/he.rs
+++ b/src/lang/he.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "יש תמיכה בסימון CIDR, לדוגמה 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/hi.rs b/src/lang/hi.rs
index 0b1da4efe..d3e8dc399 100644
--- a/src/lang/hi.rs
+++ b/src/lang/hi.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "CIDR नोटेशन समर्थित है, उदाहरण के लिए 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/hr.rs b/src/lang/hr.rs
index d74ab784f..72cb3c466 100644
--- a/src/lang/hr.rs
+++ b/src/lang/hr.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "Podržan je CIDR zapis, primjerice 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/hu.rs b/src/lang/hu.rs
index 3244269b4..8bf6499ed 100644
--- a/src/lang/hu.rs
+++ b/src/lang/hu.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "A CIDR jelölés támogatott, például 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/id.rs b/src/lang/id.rs
index 594ea50f6..d1cca6374 100644
--- a/src/lang/id.rs
+++ b/src/lang/id.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "Notasi CIDR didukung, misalnya 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/it.rs b/src/lang/it.rs
index 9747a35c3..c0567e4de 100644
--- a/src/lang/it.rs
+++ b/src/lang/it.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "È supportata la notazione CIDR, ad esempio 192.168.1.0/24"),
("Continue", "Continua"),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/ja.rs b/src/lang/ja.rs
index 9ff8d2dc4..556d19adb 100644
--- a/src/lang/ja.rs
+++ b/src/lang/ja.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "CIDR 表記に対応しています。例: 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/ko.rs b/src/lang/ko.rs
index a55eb6695..9ea26c293 100644
--- a/src/lang/ko.rs
+++ b/src/lang/ko.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "CIDR 표기를 지원합니다. 예: 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/kz.rs b/src/lang/kz.rs
index 998b74172..5532f8368 100644
--- a/src/lang/kz.rs
+++ b/src/lang/kz.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "CIDR жазбасына қолдау көрсетіледі, мысалы 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/lt.rs b/src/lang/lt.rs
index 5611cc192..24d56ee90 100644
--- a/src/lang/lt.rs
+++ b/src/lang/lt.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "Palaikomas CIDR žymėjimas, pavyzdžiui 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/lv.rs b/src/lang/lv.rs
index 5ac325cb6..f0fa78770 100644
--- a/src/lang/lv.rs
+++ b/src/lang/lv.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "Tiek atbalstīts CIDR pieraksts, piemēram 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/ml.rs b/src/lang/ml.rs
index c781d288a..5e69ac96a 100644
--- a/src/lang/ml.rs
+++ b/src/lang/ml.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "CIDR നൊട്ടേഷൻ പിന്തുണയ്ക്കുന്നു, ഉദാഹരണത്തിന് 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/nb.rs b/src/lang/nb.rs
index ef26b87d6..72c86ce0c 100644
--- a/src/lang/nb.rs
+++ b/src/lang/nb.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "CIDR-notasjon støttes, for eksempel 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/nl.rs b/src/lang/nl.rs
index e94d66c94..eafd4033d 100644
--- a/src/lang/nl.rs
+++ b/src/lang/nl.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "CIDR-notatie wordt ondersteund, bijv. 192.168.1.0/24"),
("Continue", "Doorgaan"),
("Browser didn't open? Use the url below to sign in.", "Is de browser niet geopend? Gebruik onderstaande URL om in te loggen."),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/pl.rs b/src/lang/pl.rs
index ea5bd47e5..bc1a231fa 100644
--- a/src/lang/pl.rs
+++ b/src/lang/pl.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "Obsługiwana jest notacja CIDR, na przykład 192.168.1.0/24"),
("Continue", "Kontynuuj"),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/pt_PT.rs b/src/lang/pt_PT.rs
index e06b46559..debd5adb3 100644
--- a/src/lang/pt_PT.rs
+++ b/src/lang/pt_PT.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "A notação CIDR é suportada, por exemplo 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/ptbr.rs b/src/lang/ptbr.rs
index 69adca61e..629839c60 100644
--- a/src/lang/ptbr.rs
+++ b/src/lang/ptbr.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "A notação CIDR é suportada, por exemplo 192.168.1.0/24"),
("Continue", "Continuar"),
("Browser didn't open? Use the url below to sign in.", "O navegador não foi aberto? Use a URL abaixo para fazer login."),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/ro.rs b/src/lang/ro.rs
index 4423d9ddf..51522b093 100644
--- a/src/lang/ro.rs
+++ b/src/lang/ro.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "Notația CIDR este acceptată, de exemplu 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/ru.rs b/src/lang/ru.rs
index 6864383c7..df71fbb51 100644
--- a/src/lang/ru.rs
+++ b/src/lang/ru.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "Поддерживается нотация CIDR, например 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/sc.rs b/src/lang/sc.rs
index 16ecaae87..bfb06a332 100644
--- a/src/lang/sc.rs
+++ b/src/lang/sc.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "Sa notatzione CIDR est suportada, pro esempru 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/sk.rs b/src/lang/sk.rs
index 83b5f269a..b3bac432c 100644
--- a/src/lang/sk.rs
+++ b/src/lang/sk.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "Je podporovaný zápis CIDR, napríklad 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/sl.rs b/src/lang/sl.rs
index 7d2e841da..be4e7b3d2 100644
--- a/src/lang/sl.rs
+++ b/src/lang/sl.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "Podprt je zapis CIDR, na primer 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/sq.rs b/src/lang/sq.rs
index e77cf6c47..9b61e19ff 100644
--- a/src/lang/sq.rs
+++ b/src/lang/sq.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "Mbështetet shënimi CIDR, për shembull 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/sr.rs b/src/lang/sr.rs
index 93bdc8dd8..f3a4521b8 100644
--- a/src/lang/sr.rs
+++ b/src/lang/sr.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "Podržan je CIDR zapis, na primer 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/sv.rs b/src/lang/sv.rs
index 757034b91..236624134 100644
--- a/src/lang/sv.rs
+++ b/src/lang/sv.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "CIDR-notation stöds, till exempel 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/ta.rs b/src/lang/ta.rs
index c5b6cb922..779466e60 100644
--- a/src/lang/ta.rs
+++ b/src/lang/ta.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "CIDR குறியீடு ஆதரிக்கப்படுகிறது, எடுத்துக்காட்டாக 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/template.rs b/src/lang/template.rs
index b1809d900..c529dfada 100644
--- a/src/lang/template.rs
+++ b/src/lang/template.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", ""),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/th.rs b/src/lang/th.rs
index f464e4bbd..dc8d2e863 100644
--- a/src/lang/th.rs
+++ b/src/lang/th.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "รองรับรูปแบบ CIDR เช่น 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/tr.rs b/src/lang/tr.rs
index 9b4fcbdc2..6394e1c45 100644
--- a/src/lang/tr.rs
+++ b/src/lang/tr.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "CIDR gösterimi desteklenir, örneğin 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/tw.rs b/src/lang/tw.rs
index 88e78bd8f..eb05f9e7c 100644
--- a/src/lang/tw.rs
+++ b/src/lang/tw.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "支援 CIDR 寫法,例如 192.168.1.0/24"),
("Continue", "繼續"),
("Browser didn't open? Use the url below to sign in.", "瀏覽器未開啟?請使用下方網址登入。"),
+ ("Lock canvas", "鎖定畫布"),
].iter().cloned().collect();
}
diff --git a/src/lang/uk.rs b/src/lang/uk.rs
index 10fac1a96..2f8675456 100644
--- a/src/lang/uk.rs
+++ b/src/lang/uk.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "Підтримується нотація CIDR, наприклад 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}
diff --git a/src/lang/vi.rs b/src/lang/vi.rs
index 46faff12f..b5e8bd573 100644
--- a/src/lang/vi.rs
+++ b/src/lang/vi.rs
@@ -767,5 +767,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("whitelist_cidr_tip", "Hỗ trợ ký hiệu CIDR, ví dụ 192.168.1.0/24"),
("Continue", ""),
("Browser didn't open? Use the url below to sign in.", ""),
+ ("Lock canvas", ""),
].iter().cloned().collect();
}