1
0
Fork 1

Add further strings

This commit is contained in:
Arne 2024-12-02 12:40:19 +01:00
parent 56efb8eaf5
commit 3d681fc214
3 changed files with 4 additions and 2 deletions

View file

@ -716,7 +716,7 @@ public class MessageParser extends AbstractParser implements Consumer<im.convers
final String role = form.getValue("muc#role");
final String nick = form.getValue("muc#roomnick");
if ("http://jabber.org/protocol/muc#request".equals(form.getFormType()) && "participant".equals(role)) {
body = new LocalizedContent("" + nick + " is requesting to speak", "en", 1);
body = new LocalizedContent("" + nick + " " + R.string.is_requesting_to_speak, "en", 1);
}
}
}

View file

@ -367,7 +367,7 @@ public class ConversationsActivity extends XmppActivity implements OnConversatio
if (accounts.size() > 1 && !inHeader.containsKey(null)) {
final var all = new com.mikepenz.materialdrawer.model.ProfileDrawerItem();
all.setIdentifier(100);
com.mikepenz.materialdrawer.model.interfaces.DescribableKt.setDescriptionText(all, "All Accounts");
com.mikepenz.materialdrawer.model.interfaces.DescribableKt.setDescriptionText(all, getString(R.string.all_accounts));
com.mikepenz.materialdrawer.model.interfaces.IconableKt.setIconRes(all, R.drawable.main_logo);
accountHeader.addProfile(all, 0);
}

View file

@ -1389,4 +1389,6 @@
<string name="not_dnssec_verified">Not DNSSEC verified</string>
<string name="account_color">Account color</string>
<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>
</resources>