Skip to content

Commit

Permalink
Merge pull request #2121 from nextcloud/chore/neon_talk/fix-typo
Browse files Browse the repository at this point in the history
  • Loading branch information
provokateurin authored Jun 3, 2024
2 parents 45823d0 + 1e32a55 commit 400e3e0
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/neon/neon_talk/lib/l10n/en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"type": {}
}
},
"roomSendMessage": "Send a message...",
"roomWriteMessage": "Write a message...",
"roomMessageAddEmoji": "Add emoji to message",
"roomMessageSend": "Send message",
"reactionsAddNew": "Add a new reaction",
Expand Down
6 changes: 3 additions & 3 deletions packages/neon/neon_talk/lib/l10n/localizations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@ abstract class TalkLocalizations {
/// **'{type, select, oneToOne{Private} group{Group} public{Public} other{}}'**
String roomType(String type);

/// No description provided for @roomSendMessage.
/// No description provided for @roomWriteMessage.
///
/// In en, this message translates to:
/// **'Send a message...'**
String get roomSendMessage;
/// **'Write a message...'**
String get roomWriteMessage;

/// No description provided for @roomMessageAddEmoji.
///
Expand Down
2 changes: 1 addition & 1 deletion packages/neon/neon_talk/lib/l10n/localizations_en.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class TalkLocalizationsEn extends TalkLocalizations {
}

@override
String get roomSendMessage => 'Send a message...';
String get roomWriteMessage => 'Write a message...';

@override
String get roomMessageAddEmoji => 'Add emoji to message';
Expand Down
2 changes: 1 addition & 1 deletion packages/neon/neon_talk/lib/src/pages/room.dart
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ class _TalkRoomPageState extends State<TalkRoomPage> {
icon: Icon(AdaptiveIcons.send),
onPressed: sendMessage,
),
hintText: TalkLocalizations.of(context).roomSendMessage,
hintText: TalkLocalizations.of(context).roomWriteMessage,
),
validator: (input) => validateNotEmpty(context, input),
onFieldSubmitted: (_) => sendMessage(),
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified packages/neon/neon_talk/test/goldens/room_page_messages.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 400e3e0

Please sign in to comment.