Can update conversation

This commit is contained in:
Pierre
2018-01-05 13:46:37 +01:00
parent 4674821c60
commit 742cdae638
10 changed files with 341 additions and 36 deletions

View File

@ -1,6 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Update the conversation -->
<item
android:id="@+id/menu_fragment_conversationslist_item_update"
android:title="@string/action_conversation_update" />
<!-- Delete the conversation -->
<item
android:id="@+id/menu_fragment_conversationslist_item_delete"
android:title="@string/action_conversation_delete" />

View File

@ -68,6 +68,7 @@
<string name="fragment_conversation_title">Title</string>
<string name="fragment_conversation_err_getconvinfos">Could not get information about the conversation !</string>
<string name="action_conversation_delete">Delete</string>
<string name="action_conversation_update">Update</string>
<string name="popup_deleteconversation_title">Remove conversation</string>
<string name="popup_deleteconversation_messsage">Are you sure do you want to remove this conversation ? All the messages you posted will be deleted. If you are the owner of the conversation, all the messages will be removed.</string>
<string name="popup_deleteconversation_confirm">Delete</string>
@ -75,8 +76,10 @@
<string name="fragment_conversationslist_err_del_conversation">Could not delete conversation !</string>
<string name="fragment_conversation_no_msg">No message yet.</string>
<string name="fragment_update_conversation_title_create">Create a conversation</string>
<string name="fragment_update_conversation_title_update">Update a conversation</string>
<string name="fragment_update_conversation_name_placeholder">Conversation name</string>
<string name="fragment_update_conversation_button_create">Create</string>
<string name="fragment_update_conversation_button_update">Update</string>
<string name="fragment_update_conversation_follow">Follow the conversation</string>
<string name="fragment_update_conversation_addmember">Add a member</string>
<string name="activity_searchuser_title">Search user</string>
@ -87,4 +90,6 @@
<string name="err_conversation_need_members">Please add at least one member to the conversation !</string>
<string name="err_conversation_create">Could not create conversation !</string>
<string name="fragment_update_conversation_members_menu_delete">Remove</string>
<string name="err_get_conversation_info">Could not get information about the conversation !</string>
<string name="err_conversation_update">Could not update conversation !</string>
</resources>