diff --git a/app/src/main/java/com/nextcloud/talk/adapters/messages/OutcomingTextMessageViewHolder.kt b/app/src/main/java/com/nextcloud/talk/adapters/messages/OutcomingTextMessageViewHolder.kt
index 8da9c07b2..652d3fc26 100644
--- a/app/src/main/java/com/nextcloud/talk/adapters/messages/OutcomingTextMessageViewHolder.kt
+++ b/app/src/main/java/com/nextcloud/talk/adapters/messages/OutcomingTextMessageViewHolder.kt
@@ -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)
)
}
}
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 89ea1fa50..0d20e2544 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -433,6 +433,8 @@ How to translate with transifex:
You: %1$s
Message read
Message sent
+ Offline
+ Failed
Failed to send message:
Remote audio off
Add attachment