forked from mirror/monocles_chat_clean
Add further strings
This commit is contained in:
parent
56efb8eaf5
commit
3d681fc214
3 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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>
|
Loading…
Reference in a new issue