aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/res')
-rw-r--r--src/main/res/layout/activity_muc_details.xml9
-rw-r--r--src/main/res/values/strings.xml4
2 files changed, 13 insertions, 0 deletions
diff --git a/src/main/res/layout/activity_muc_details.xml b/src/main/res/layout/activity_muc_details.xml
index fe4dd30f8..ac49a28c3 100644
--- a/src/main/res/layout/activity_muc_details.xml
+++ b/src/main/res/layout/activity_muc_details.xml
@@ -204,6 +204,15 @@
android:layout_marginTop="24dp"
android:text="@string/invite_contact" />
+ <Button
+ android:id="@+id/destroy"
+ style="?android:attr/buttonStyleSmall"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:layout_marginTop="24dp"
+ android:text="@string/destroy_muc" />
+
</LinearLayout>
<LinearLayout
diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml
index cc4fe7b06..26492d3e7 100644
--- a/src/main/res/values/strings.xml
+++ b/src/main/res/values/strings.xml
@@ -752,4 +752,8 @@
<string name="invalid_muc_nick">Invalid nickname</string>
<string name="title_activity_share_via_account">Share via account</string>
<string name="private_messages_are_disabled">Private messages are disabled</string>
+ <string name="destroy_muc">Delete conference</string>
+ <string name="conference_unknown_error">You are no longer in this group chat</string>
+ <string name="action_destroy_muc">Destroy group chat</string>
+ <string name="destroy_muc_text">Would you like to destroy the group chat %s? This will remove this group chat permanently.</string>
</resources>