add strings for message status icons

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2025-01-06 15:46:05 +01:00
parent 1731ca0985
commit 1504e51499
No known key found for this signature in database
GPG Key ID: C793F8B59F43CE7B
2 changed files with 4 additions and 2 deletions

View File

@ -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)
)
}
}

View File

@ -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>