* When the user is in a v12 room, use different UI to select the last owner when leaving - Add `LeaveSpaceRoom.areCreatorsPrivileged` to detect when this is happening. - Import new strings. - Build the new UI. - Attach it to a change member roles screen navigation. * Don't display the `isLastOwner` UI if the user is the only joined one in the room * Rename `LeaveSpaceState.isLastOwner` to `.needsOwnerChange`. This way, it's easier to understand the difference with the passed `LeaveSpaceRoom.isLastOwner` value * Add a test for the new check of user not being the last joined member * Fix paddings in `LeaveSpaceView` * Update screenshots --------- Co-authored-by: ElementBot <android@element.io>
28 lines
2.3 KiB
XML
28 lines
2.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||
<string name="screen_leave_space_choose_owners_action">"Choose owners"</string>
|
||
<string name="screen_leave_space_last_admin_info">"%1$s (Admin)"</string>
|
||
<plurals name="screen_leave_space_submit">
|
||
<item quantity="one">"Leave %1$d room and space"</item>
|
||
<item quantity="other">"Leave %1$d rooms and space"</item>
|
||
</plurals>
|
||
<string name="screen_leave_space_subtitle">"Select the rooms you’d like to leave which you\'re not the only administrator for:"</string>
|
||
<string name="screen_leave_space_subtitle_last_admin">"You need to assign another admin for this space before you can leave."</string>
|
||
<string name="screen_leave_space_subtitle_last_owner">"You are the only owner of %1$s. You need to transfer ownership to someone else before you leave."</string>
|
||
<string name="screen_leave_space_subtitle_only_last_admin">"You will not be removed from the following room(s) because you\'re the only administrator:"</string>
|
||
<string name="screen_leave_space_title">"Leave %1$s?"</string>
|
||
<string name="screen_leave_space_title_last_admin">"You are the only admin for %1$s"</string>
|
||
<string name="screen_leave_space_title_last_owner">"Transfer ownership"</string>
|
||
<string name="screen_space_add_room_action">"Room"</string>
|
||
<string name="screen_space_add_rooms_room_access_description">"Adding a room will not affect the room access. To change the access go to Room settings > Security & privacy."</string>
|
||
<string name="screen_space_empty_state_title">"Add your first room"</string>
|
||
<string name="screen_space_menu_action_members">"View members"</string>
|
||
<string name="screen_space_remove_rooms_confirmation_content">"Removing a room will not affect the room access. To change the access go to Room info > Privacy & security."</string>
|
||
<plurals name="screen_space_remove_rooms_confirmation_title">
|
||
<item quantity="one">"Remove %1$d room from %2$s"</item>
|
||
<item quantity="other">"Remove %1$d rooms from %2$s"</item>
|
||
</plurals>
|
||
<string name="screen_space_settings_leave_space">"Leave space"</string>
|
||
<string name="screen_space_settings_roles_and_permissions">"Roles & permissions"</string>
|
||
<string name="screen_space_settings_security_and_privacy">"Security & privacy"</string>
|
||
</resources>
|