RuutChatL10n constructor
const
RuutChatL10n({
- String attachmentButtonAccessibilityLabel = "",
- String emptyChatPlaceholder = "",
- String fileButtonAccessibilityLabel = "",
- String onlineText = "Typically replies in a few hours",
- String offlineText = "We're away at the moment",
- String typingText = "typing...",
- String inputPlaceholder = "Type your message",
- String sendButtonAccessibilityLabel = "Send Message",
- String conversationResolvedMessage = "Your ticket has been marked as resolved",
- String and = "",
- String others = "",
- String isTyping = "",
- String unreadMessagesLabel = "Unread Messages",
Creates a new ruut l10n
Implementation
const RuutChatL10n(
{
this.attachmentButtonAccessibilityLabel = "",
this.emptyChatPlaceholder = "",
this.fileButtonAccessibilityLabel = "",
this.onlineText = "Typically replies in a few hours",
this.offlineText = "We're away at the moment",
this.typingText = "typing...",
this.inputPlaceholder = "Type your message",
this.sendButtonAccessibilityLabel = "Send Message",
this.conversationResolvedMessage =
"Your ticket has been marked as resolved",
this.and = "",
this.others = "",
this.isTyping = "",
String unreadMessagesLabel = "Unread Messages"
})
: super(
attachmentButtonAccessibilityLabel:
attachmentButtonAccessibilityLabel,
emptyChatPlaceholder: emptyChatPlaceholder,
fileButtonAccessibilityLabel: fileButtonAccessibilityLabel,
inputPlaceholder: inputPlaceholder,
sendButtonAccessibilityLabel: sendButtonAccessibilityLabel,
unreadMessagesLabel: unreadMessagesLabel,
and: and,
isTyping:isTyping ,
others: others,
);