diff --git a/assets/l10n/intl_en.arb b/assets/l10n/intl_en.arb index 125d3491..223da318 100644 --- a/assets/l10n/intl_en.arb +++ b/assets/l10n/intl_en.arb @@ -1562,6 +1562,10 @@ "placeholders": {} }, "addAccount": "Add account", + "editBundlesForAccount": "Edit bundles for this account", + "addToBundle": "Add to bundle", + "removeFromBundle": "Remove from this bundle", + "bundleName": "Bundle name", "enableMultiAccounts": "Enable multi accounts on this device", "openInMaps": "Open in maps", "@openInMaps": { diff --git a/lib/pages/chat_list.dart b/lib/pages/chat_list.dart index a6cd721a..e8121818 100644 --- a/lib/pages/chat_list.dart +++ b/lib/pages/chat_list.dart @@ -437,16 +437,16 @@ class ChatListController extends State { .clients[Matrix.of(context).getClientIndexByMatrixId(userId)]; final action = await showConfirmationDialog( context: context, - title: 'Edit bundles for this account', + title: L10n.of(context).editBundlesForAccount, actions: [ AlertDialogAction( key: EditBundleAction.addToBundle, - label: 'Add to bundle', + label: L10n.of(context).addToBundle, ), if (Matrix.of(context).activeBundle != null) AlertDialogAction( key: EditBundleAction.removeFromBundle, - label: 'Remove from this bundle', + label: L10n.of(context).removeFromBundle, ), ], ); @@ -455,8 +455,10 @@ class ChatListController extends State { case EditBundleAction.addToBundle: final bundle = await showTextInputDialog( context: context, - title: 'Bundle name', - textFields: [DialogTextField(hintText: 'Bundle name')]); + title: L10n.of(context).bundleName, + textFields: [ + DialogTextField(hintText: L10n.of(context).bundleName) + ]); if (bundle.isEmpty && bundle.single.isEmpty) return; await showFutureLoadingDialog( context: context,