fix UI translate (One-time password)
This commit is contained in:
parent
e28317a8dd
commit
cff2ca9df8
@ -41,14 +41,14 @@ class ServerPage extends StatefulWidget implements PageShape {
|
|||||||
value: "setTemporaryPasswordLength",
|
value: "setTemporaryPasswordLength",
|
||||||
enabled:
|
enabled:
|
||||||
gFFI.serverModel.verificationMethod != kUsePermanentPassword,
|
gFFI.serverModel.verificationMethod != kUsePermanentPassword,
|
||||||
child: Text(translate("Set temporary password length")),
|
child: Text(translate("One-time password length")),
|
||||||
),
|
),
|
||||||
const PopupMenuDivider(),
|
const PopupMenuDivider(),
|
||||||
PopupMenuItem(
|
PopupMenuItem(
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 0.0),
|
padding: const EdgeInsets.symmetric(horizontal: 0.0),
|
||||||
value: kUseTemporaryPassword,
|
value: kUseTemporaryPassword,
|
||||||
child: ListTile(
|
child: ListTile(
|
||||||
title: Text(translate("Use temporary password")),
|
title: Text(translate("Use one-time password")),
|
||||||
trailing: Icon(
|
trailing: Icon(
|
||||||
Icons.check,
|
Icons.check,
|
||||||
color: gFFI.serverModel.verificationMethod ==
|
color: gFFI.serverModel.verificationMethod ==
|
||||||
|
Loading…
x
Reference in New Issue
Block a user