Skip to content

Commit

Permalink
Text changes
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmitrevski committed Dec 6, 2023
1 parent 75f3997 commit abe5099
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ protocol ChannelDataSource: AnyObject {
/// Determines whether all new messages have been fetched.
var hasLoadedAllNextMessages: Bool { get }

/// Returns the first unread message id.
var firstUnreadMessageId: String? { get }

/// Loads the previous messages.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ public struct NewMessagesIndicator: View {

public var body: some View {
HStack {
Text("Unread messages")
Text("\(L10n.MessageList.newMessages(count))")
.foregroundColor(Color(colors.textLowEmphasis))
.font(.headline)
.padding(.all, 8)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@
<key>NSStringFormatValueTypeKey</key>
<string>d</string>
<key>zero</key>
<string>%d new messages</string>
<string>New messages</string>
<key>one</key>
<string>%d new message</string>
<string>New messages</string>
<key>other</key>
<string>%d new messages</string>
<string>New messages</string>
</dict>
</dict>
<key>messageList.typingIndicator.users</key>
Expand Down

0 comments on commit abe5099

Please sign in to comment.