proper title for secret chat
This commit is contained in:
parent
701c21ae4a
commit
5920533cf5
|
@ -761,7 +761,7 @@ public class ConversationsActivity extends XmppActivity implements OnConversatio
|
||||||
if (conversation.getMode() == Conversational.MODE_MULTI) {
|
if (conversation.getMode() == Conversational.MODE_MULTI) {
|
||||||
actionBar.setTitle(getString(R.string.muc_private_conversation_title, conversation.getNextCounterpart().getResource(), conversation.getName()));
|
actionBar.setTitle(getString(R.string.muc_private_conversation_title, conversation.getNextCounterpart().getResource(), conversation.getName()));
|
||||||
} else {
|
} else {
|
||||||
actionBar.setTitle(getString(R.string.secret_chat_title, conversation.getName(), ""));
|
actionBar.setTitle(getString(R.string.secret_chat_title_no_resource, conversation.getName()));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
actionBar.setTitle(conversation.getName());
|
actionBar.setTitle(conversation.getName());
|
||||||
|
|
|
@ -1091,6 +1091,7 @@
|
||||||
<string name="filter">filter</string>
|
<string name="filter">filter</string>
|
||||||
<string name="could_not_create_file">could_not_create_file</string>
|
<string name="could_not_create_file">could_not_create_file</string>
|
||||||
<string name="secret_chat_title">%1$s (Secret Chat / %2$s)</string>
|
<string name="secret_chat_title">%1$s (Secret Chat / %2$s)</string>
|
||||||
|
<string name="secret_chat_title_no_resource">%1$s (Secret Chat / %2$s)</string>
|
||||||
<string name="muc_private_conversation_title">%1$s (%2$s)</string>
|
<string name="muc_private_conversation_title">%1$s (%2$s)</string>
|
||||||
<string name="note_to_self_conversation_title">Note to self (%1$s)</string>
|
<string name="note_to_self_conversation_title">Note to self (%1$s)</string>
|
||||||
<string name="muc_private_conversation_info_title">Private conversation with:</string>
|
<string name="muc_private_conversation_info_title">Private conversation with:</string>
|
||||||
|
|
Loading…
Reference in a new issue