Skip to content

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

fix(lang): use existing translated keys for three UI strings (#17009)

Ruslan Zaitsev987669e12190
diff --git a/flutter/lib/common/widgets/address_book.dart b/flutter/lib/common/widgets/address_book.dart
index 054a1666c..b0a0d0896 100644
--- a/flutter/lib/common/widgets/address_book.dart
+++ b/flutter/lib/common/widgets/address_book.dart
@@ -486,7 +486,7 @@ class _AddressBookState extends State<AddressBook> {
if (gFFI.abModel.idContainByCurrent(id)) {
setState(() {
isInProgress = false;
- errorMsg = translate('ID already exists');
+ errorMsg = translate('Already exists');
});
return;
}
diff --git a/flutter/lib/desktop/widgets/remote_toolbar.dart b/flutter/lib/desktop/widgets/remote_toolbar.dart
index 9863f4e0c..9d75d905b 100644
--- a/flutter/lib/desktop/widgets/remote_toolbar.dart
+++ b/flutter/lib/desktop/widgets/remote_toolbar.dart
@@ -2932,7 +2932,7 @@ class _VoiceCallMenu extends StatelessWidget {
audioInput,
Divider(),
MenuButton(
- child: Text(translate('End call')),
+ child: Text(translate('Stop voice call')),
onPressed: () => bind.sessionCloseVoiceCall(sessionId: ffi.sessionId),
ffi: ffi,
),
diff --git a/flutter/lib/mobile/pages/settings_page.dart b/flutter/lib/mobile/pages/settings_page.dart
index 3ea64b37a..7fb78105a 100644
--- a/flutter/lib/mobile/pages/settings_page.dart
+++ b/flutter/lib/mobile/pages/settings_page.dart
@@ -1063,7 +1063,7 @@ class _SettingsState extends State<SettingsPage> with WidgetsBindingObserver {
onPressed: (context) async {
await launchUrl(Uri.parse(url));
},
- title: Text(translate("Version: ") + version),
+ title: Text('${translate('Version')}: $version'),
value: Padding(
padding: EdgeInsets.symmetric(vertical: 8),
child: Text('rustdesk.com',