1
0
Fork 1

Add string

This commit is contained in:
Arne 2024-12-07 23:50:04 +01:00
parent d8401e30bc
commit 19221f3499
2 changed files with 2 additions and 1 deletions

View file

@ -856,7 +856,7 @@ public class MessageAdapter extends ArrayAdapter<Message> {
viewHolder.audioPlayer.setVisibility(View.GONE);
viewHolder.download_button.setVisibility(View.VISIBLE);
viewHolder.download_button.setIconResource(0);
viewHolder.download_button.setText("Open " + webxdc.getName());
viewHolder.download_button.setText(activity.getString(R.string.open) + " " + webxdc.getName());
viewHolder.download_button.setOnClickListener(v -> {
Conversation conversation = (Conversation) message.getConversation();
if (!conversation.switchToSession("webxdc\0" + message.getUuid())) {

View file

@ -1391,4 +1391,5 @@
<string name="account_color_used_on">Used on conversation and contact lists, and notifications</string>
<string name="all_accounts">All accounts</string>
<string name="is_requesting_to_speak">is requesting to speak</string>
<string name="open">Open</string>
</resources>