fix: Localize ok cancel alert dialogs
This commit is contained in:
parent
2724961e51
commit
4d5d198450
13 changed files with 37 additions and 4 deletions
|
|
@ -29,6 +29,8 @@ class DevicesSettingsState extends State<DevicesSettings> {
|
|||
if (await showOkCancelAlertDialog(
|
||||
context: context,
|
||||
title: L10n.of(context).areYouSure,
|
||||
okLabel: L10n.of(context).yes,
|
||||
cancelLabel: L10n.of(context).cancel,
|
||||
) ==
|
||||
OkCancelResult.cancel) return;
|
||||
var matrix = Matrix.of(context);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue