chore(ui,localization): add translations for replyToMessageLabel
Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
@@ -196,6 +196,8 @@ abstract class Translations {
|
||||
String get ofText;
|
||||
|
||||
String get fileText;
|
||||
|
||||
String get replyToMessageLabel;
|
||||
}
|
||||
|
||||
class DefaultTranslations implements Translations {
|
||||
@@ -548,4 +550,7 @@ class DefaultTranslations implements Translations {
|
||||
|
||||
@override
|
||||
String get fileText => 'File';
|
||||
|
||||
@override
|
||||
String get replyToMessageLabel => 'Reply to Message';
|
||||
}
|
||||
|
||||
@@ -357,9 +357,9 @@ class MessageInputState extends State<MessageInput> {
|
||||
color: _streamChatTheme.colorTheme.disabled,
|
||||
),
|
||||
),
|
||||
const Text(
|
||||
'Reply to Message',
|
||||
style: TextStyle(fontWeight: FontWeight.bold),
|
||||
Text(
|
||||
context.translations.replyToMessageLabel,
|
||||
style: const TextStyle(fontWeight: FontWeight.bold),
|
||||
),
|
||||
IconButton(
|
||||
visualDensity: VisualDensity.compact,
|
||||
|
||||
Reference in New Issue
Block a user