mirror of
https://github.com/nextcloud/talk-android
synced 2025-01-18 13:16:15 +00:00
add strings for message status icons
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
1731ca0985
commit
1504e51499
@ -126,7 +126,7 @@ class OutcomingTextMessageViewHolder(itemView: View) :
|
||||
if (message.sendingFailed) {
|
||||
updateStatus(
|
||||
R.drawable.baseline_report_problem_24,
|
||||
"failed"
|
||||
context.resources?.getString(R.string.nc_message_failed)
|
||||
)
|
||||
binding.bubble.setOnClickListener {
|
||||
commonMessageInterface.onOpenMessageActionsDialog(message)
|
||||
@ -143,7 +143,7 @@ class OutcomingTextMessageViewHolder(itemView: View) :
|
||||
if (message.isTemporary && !networkMonitor.isOnline.first()) {
|
||||
updateStatus(
|
||||
R.drawable.ic_signal_wifi_off_white_24dp,
|
||||
"offline"
|
||||
context.resources?.getString(R.string.nc_message_offline)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
@ -433,6 +433,8 @@ How to translate with transifex:
|
||||
<string name="nc_formatted_message_you">You: %1$s</string>
|
||||
<string name="nc_message_read">Message read</string>
|
||||
<string name="nc_message_sent">Message sent</string>
|
||||
<string name="nc_message_offline">Offline</string>
|
||||
<string name="nc_message_failed">Failed</string>
|
||||
<string name="nc_message_failed_to_send">Failed to send message:</string>
|
||||
<string name="nc_remote_audio_off">Remote audio off</string>
|
||||
<string name="nc_add_attachment">Add attachment</string>
|
||||
|
Loading…
Reference in New Issue
Block a user