diff options
author | Daniel Gultsch <inputmice@siacs.eu> | 2015-01-07 15:03:29 +0100 |
---|---|---|
committer | Daniel Gultsch <inputmice@siacs.eu> | 2015-01-07 15:03:29 +0100 |
commit | ef525fb10e672b23219fdf180d310de9f6ce59d3 (patch) | |
tree | 52a3b28456e574cb308c96d3040060be8924207a /src/main/res | |
parent | 81e9afdf192aa925f1dc18a1b5e1d666ab153342 (diff) |
basic affiliation changes in muc
Diffstat (limited to '')
-rw-r--r-- | src/main/res/menu/muc_details_context.xml | 23 | ||||
-rw-r--r-- | src/main/res/values/strings.xml | 6 |
2 files changed, 28 insertions, 1 deletions
diff --git a/src/main/res/menu/muc_details_context.xml b/src/main/res/menu/muc_details_context.xml index 113934f3..ad9f174a 100644 --- a/src/main/res/menu/muc_details_context.xml +++ b/src/main/res/menu/muc_details_context.xml @@ -3,5 +3,26 @@ <item android:id="@+id/start_conversation" android:title="@string/start_conversation" - /> + android:visible="false" /> + <item + android:id="@+id/give_membership" + android:title="@string/grant_membership" + android:visible="false" /> + <item + android:id="@+id/give_admin_privileges" + android:title="@string/grant_admin_privileges" + android:visible="false"/> + <item + android:id="@+id/remove_admin_privileges" + android:title="@string/remove_admin_privileges" + android:visible="false"/> + + <item + android:id="@+id/remove_membership" + android:title="@string/remove_membership" + android:visible="false"/> + <item + android:id="@+id/remove_from_room" + android:title="@string/remove_from_room" + android:visible="false"/> </menu>
\ No newline at end of file diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index bb358610..d78e135a 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -411,4 +411,10 @@ <string name="outcast">Outcast</string> <string name="member">Member</string> <string name="advanced_mode">Advanced mode</string> + <string name="grant_membership">Grant membership</string> + <string name="remove_membership">Remove membership</string> + <string name="grant_admin_privileges">Grant admin privileges</string> + <string name="remove_admin_privileges">Remove admin privileges</string> + <string name="remove_from_room">Remove from room</string> + <string name="could_not_change_affiliation">Could not change affiliation</string> </resources> |