fix: Missing localizations in dialogs
This commit is contained in:
parent
262a6725d2
commit
ae33399260
9 changed files with 35 additions and 0 deletions
|
|
@ -37,6 +37,8 @@ class _ChatDetailsState extends State<ChatDetails> {
|
|||
final input = await showTextInputDialog(
|
||||
context: context,
|
||||
title: L10n.of(context).changeTheNameOfTheGroup,
|
||||
okLabel: L10n.of(context).ok,
|
||||
cancelLabel: L10n.of(context).cancel,
|
||||
textFields: [
|
||||
DialogTextField(
|
||||
initialText: room.getLocalizedDisplayname(
|
||||
|
|
@ -63,6 +65,8 @@ class _ChatDetailsState extends State<ChatDetails> {
|
|||
final input = await showTextInputDialog(
|
||||
context: context,
|
||||
title: L10n.of(context).setInvitationLink,
|
||||
okLabel: L10n.of(context).ok,
|
||||
cancelLabel: L10n.of(context).cancel,
|
||||
textFields: [
|
||||
DialogTextField(
|
||||
hintText: '#localpart:domain',
|
||||
|
|
@ -103,6 +107,8 @@ class _ChatDetailsState extends State<ChatDetails> {
|
|||
final input = await showTextInputDialog(
|
||||
context: context,
|
||||
title: L10n.of(context).setGroupDescription,
|
||||
okLabel: L10n.of(context).ok,
|
||||
cancelLabel: L10n.of(context).cancel,
|
||||
textFields: [
|
||||
DialogTextField(
|
||||
hintText: L10n.of(context).setGroupDescription,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue