chore: update knock copy to say space instead of chat (#2612)
This commit is contained in:
parent
6407041221
commit
f92c191ed5
2 changed files with 18 additions and 3 deletions
|
|
@ -4878,5 +4878,13 @@
|
|||
"newGrammar": "New grammar concepts",
|
||||
"congratulationsOnReaching": "Congratulations on reaching ",
|
||||
"seeDetails": "See Details",
|
||||
"choosePracticeMode": "Click on one of the buttons above to start a practice activity"
|
||||
"choosePracticeMode": "Click on one of the buttons above to start a practice activity",
|
||||
"userWouldLikeToChangeTheSpace": "{user} would like to join the space.",
|
||||
"@userWouldLikeToChangeTheSpace": {
|
||||
"placeholders": {
|
||||
"user": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -75,8 +75,15 @@ class UserBottomSheetView extends StatelessWidget {
|
|||
title: Padding(
|
||||
padding: const EdgeInsets.only(bottom: 12.0),
|
||||
child: Text(
|
||||
L10n.of(context)
|
||||
.userWouldLikeToChangeTheChat(displayname),
|
||||
// #Pangea
|
||||
// L10n.of(context)
|
||||
// .userWouldLikeToChangeTheChat(displayname),
|
||||
(user?.room.isSpace ?? false)
|
||||
? L10n.of(context)
|
||||
.userWouldLikeToChangeTheSpace(displayname)
|
||||
: L10n.of(context)
|
||||
.userWouldLikeToChangeTheChat(displayname),
|
||||
// Pangea#
|
||||
),
|
||||
),
|
||||
subtitle: Row(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue