From 1a6ef23ee775fbdd371f2465cc052890a6e5b1e6 Mon Sep 17 00:00:00 2001 From: fufesou Date: Sun, 10 Sep 2023 22:59:45 +0800 Subject: [PATCH] fix, some capitalization style mismatch in the same option group Signed-off-by: fufesou --- flutter/lib/desktop/widgets/remote_toolbar.dart | 2 -- src/lang/en.rs | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/flutter/lib/desktop/widgets/remote_toolbar.dart b/flutter/lib/desktop/widgets/remote_toolbar.dart index a03fc7047..a8bacfca3 100644 --- a/flutter/lib/desktop/widgets/remote_toolbar.dart +++ b/flutter/lib/desktop/widgets/remote_toolbar.dart @@ -1407,13 +1407,11 @@ class _KeyboardMenu extends StatelessWidget { return futureBuilder(future: () async { final v = await bind.sessionGetReverseMouseWheel(sessionId: ffi.sessionId); - debugPrint('REMOVE ME ======================== $v'); if (v != null && v != '') { return v; } return bind.mainGetUserDefaultOption(key: 'reverse_mouse_wheel'); }(), hasData: (data) { - debugPrint('REMOVE ME ======================== data $data'); final enabled = !ffi.ffiModel.viewOnly; onChanged(bool? value) async { if (value == null) return; diff --git a/src/lang/en.rs b/src/lang/en.rs index dc17ac7eb..a69164a3b 100644 --- a/src/lang/en.rs +++ b/src/lang/en.rs @@ -78,5 +78,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("push_ab_failed_tip", "Failed to sync address book to server"), ("synced_peer_readded_tip", "The devices that were present in the recent sessions will be synchronized back to the address book."), ("View Mode", "View mode"), + ("Block user input", "Block User Input"), + ("Start session recording", "Start Session Recording"), + ("Stop session recording", "Stop Session Recording"), + ("Enable remote configuration modification", "Enable Remote Configuration Modification"), ].iter().cloned().collect(); }