feature(space) : update some strings
This commit is contained in:
@@ -33,7 +33,7 @@
|
|||||||
<string name="screen_room_change_role_section_users">"Members"</string>
|
<string name="screen_room_change_role_section_users">"Members"</string>
|
||||||
<string name="screen_room_change_role_unsaved_changes_description">"You have unsaved changes."</string>
|
<string name="screen_room_change_role_unsaved_changes_description">"You have unsaved changes."</string>
|
||||||
<string name="screen_room_change_role_unsaved_changes_title">"Save changes?"</string>
|
<string name="screen_room_change_role_unsaved_changes_title">"Save changes?"</string>
|
||||||
<string name="screen_room_member_list_banned_empty">"There are no banned users in this room."</string>
|
<string name="screen_room_member_list_banned_empty">"There are no banned users."</string>
|
||||||
<plurals name="screen_room_member_list_header_title">
|
<plurals name="screen_room_member_list_header_title">
|
||||||
<item quantity="one">"%1$d person"</item>
|
<item quantity="one">"%1$d person"</item>
|
||||||
<item quantity="other">"%1$d people"</item>
|
<item quantity="other">"%1$d people"</item>
|
||||||
|
|||||||
@@ -70,7 +70,7 @@
|
|||||||
<string name="screen_room_details_title">"Room info"</string>
|
<string name="screen_room_details_title">"Room info"</string>
|
||||||
<string name="screen_room_details_topic_title">"Topic"</string>
|
<string name="screen_room_details_topic_title">"Topic"</string>
|
||||||
<string name="screen_room_details_updating_room">"Updating room…"</string>
|
<string name="screen_room_details_updating_room">"Updating room…"</string>
|
||||||
<string name="screen_room_member_list_banned_empty">"There are no banned users in this room."</string>
|
<string name="screen_room_member_list_banned_empty">"There are no banned users."</string>
|
||||||
<plurals name="screen_room_member_list_header_title">
|
<plurals name="screen_room_member_list_header_title">
|
||||||
<item quantity="one">"%1$d person"</item>
|
<item quantity="one">"%1$d person"</item>
|
||||||
<item quantity="other">"%1$d people"</item>
|
<item quantity="other">"%1$d people"</item>
|
||||||
|
|||||||
@@ -4,10 +4,12 @@
|
|||||||
<string name="screen_bottom_sheet_manage_room_member_ban_member_confirmation_action">"Ban"</string>
|
<string name="screen_bottom_sheet_manage_room_member_ban_member_confirmation_action">"Ban"</string>
|
||||||
<string name="screen_bottom_sheet_manage_room_member_ban_member_confirmation_description">"They won’t be able to join again if invited."</string>
|
<string name="screen_bottom_sheet_manage_room_member_ban_member_confirmation_description">"They won’t be able to join again if invited."</string>
|
||||||
<string name="screen_bottom_sheet_manage_room_member_ban_member_confirmation_title">"Are you sure you want to ban this member?"</string>
|
<string name="screen_bottom_sheet_manage_room_member_ban_member_confirmation_title">"Are you sure you want to ban this member?"</string>
|
||||||
|
<string name="screen_bottom_sheet_manage_room_member_ban_member_from_space_confirmation_description">"They won’t be able to join this space again if invited, but they’ll still keep their memberships of any rooms or subspaces."</string>
|
||||||
<string name="screen_bottom_sheet_manage_room_member_banning_user">"Banning %1$s"</string>
|
<string name="screen_bottom_sheet_manage_room_member_banning_user">"Banning %1$s"</string>
|
||||||
<string name="screen_bottom_sheet_manage_room_member_kick_member_confirmation_action">"Remove"</string>
|
<string name="screen_bottom_sheet_manage_room_member_kick_member_confirmation_action">"Remove"</string>
|
||||||
<string name="screen_bottom_sheet_manage_room_member_kick_member_confirmation_description">"They will be able to join this room again if invited."</string>
|
<string name="screen_bottom_sheet_manage_room_member_kick_member_confirmation_description">"They will be able to join this room again if invited."</string>
|
||||||
<string name="screen_bottom_sheet_manage_room_member_kick_member_confirmation_title">"Are you sure you want to remove this member?"</string>
|
<string name="screen_bottom_sheet_manage_room_member_kick_member_confirmation_title">"Are you sure you want to remove this member?"</string>
|
||||||
|
<string name="screen_bottom_sheet_manage_room_member_kick_member_from_space_confirmation_description">"They will be able to join this space again if invited, and they’ll still keep their memberships of any rooms or subspaces."</string>
|
||||||
<string name="screen_bottom_sheet_manage_room_member_member_user_info">"View profile"</string>
|
<string name="screen_bottom_sheet_manage_room_member_member_user_info">"View profile"</string>
|
||||||
<string name="screen_bottom_sheet_manage_room_member_remove">"Remove user"</string>
|
<string name="screen_bottom_sheet_manage_room_member_remove">"Remove user"</string>
|
||||||
<string name="screen_bottom_sheet_manage_room_member_remove_confirmation_title">"Remove member and ban from joining in the future?"</string>
|
<string name="screen_bottom_sheet_manage_room_member_remove_confirmation_title">"Remove member and ban from joining in the future?"</string>
|
||||||
|
|||||||
@@ -328,7 +328,7 @@ private fun SpaceViewTopBar(
|
|||||||
},
|
},
|
||||||
text = {
|
text = {
|
||||||
Text(
|
Text(
|
||||||
text = stringResource(id = CommonStrings.action_leave),
|
text = stringResource(id = CommonStrings.action_leave_space),
|
||||||
color = ElementTheme.colors.textCriticalPrimary,
|
color = ElementTheme.colors.textCriticalPrimary,
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ import androidx.compose.ui.tooling.preview.PreviewParameter
|
|||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import io.element.android.compound.theme.ElementTheme
|
import io.element.android.compound.theme.ElementTheme
|
||||||
import io.element.android.compound.tokens.generated.CompoundIcons
|
import io.element.android.compound.tokens.generated.CompoundIcons
|
||||||
|
import io.element.android.features.space.impl.R
|
||||||
import io.element.android.libraries.designsystem.components.avatar.Avatar
|
import io.element.android.libraries.designsystem.components.avatar.Avatar
|
||||||
import io.element.android.libraries.designsystem.components.avatar.AvatarData
|
import io.element.android.libraries.designsystem.components.avatar.AvatarData
|
||||||
import io.element.android.libraries.designsystem.components.avatar.AvatarSize
|
import io.element.android.libraries.designsystem.components.avatar.AvatarSize
|
||||||
@@ -162,7 +163,7 @@ private fun SecurityAndPrivacyItem(
|
|||||||
modifier: Modifier = Modifier,
|
modifier: Modifier = Modifier,
|
||||||
) {
|
) {
|
||||||
ListItem(
|
ListItem(
|
||||||
headlineContent = { Text("Security & privacy") },
|
headlineContent = { Text(stringResource(R.string.screen_space_settings_security_and_privacy)) },
|
||||||
leadingContent = ListItemContent.Icon(IconSource.Vector(CompoundIcons.Lock())),
|
leadingContent = ListItemContent.Icon(IconSource.Vector(CompoundIcons.Lock())),
|
||||||
onClick = onClick,
|
onClick = onClick,
|
||||||
modifier = modifier,
|
modifier = modifier,
|
||||||
@@ -190,7 +191,7 @@ private fun RolesAndPermissionsItem(
|
|||||||
modifier: Modifier = Modifier,
|
modifier: Modifier = Modifier,
|
||||||
) {
|
) {
|
||||||
ListItem(
|
ListItem(
|
||||||
headlineContent = { Text("Roles & permissions") },
|
headlineContent = { Text(stringResource(R.string.screen_space_settings_roles_and_permissions)) },
|
||||||
leadingContent = ListItemContent.Icon(IconSource.Vector(CompoundIcons.Admin())),
|
leadingContent = ListItemContent.Icon(IconSource.Vector(CompoundIcons.Admin())),
|
||||||
onClick = onClick,
|
onClick = onClick,
|
||||||
modifier = modifier,
|
modifier = modifier,
|
||||||
|
|||||||
@@ -10,4 +10,7 @@
|
|||||||
<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_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">"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_admin">"You are the only admin for %1$s"</string>
|
||||||
|
<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>
|
</resources>
|
||||||
|
|||||||
@@ -95,6 +95,7 @@
|
|||||||
<string name="action_forgot_password">"Forgot password?"</string>
|
<string name="action_forgot_password">"Forgot password?"</string>
|
||||||
<string name="action_forward">"Forward"</string>
|
<string name="action_forward">"Forward"</string>
|
||||||
<string name="action_go_back">"Go back"</string>
|
<string name="action_go_back">"Go back"</string>
|
||||||
|
<string name="action_go_to_roles_and_permissions">"Go to roles & permissions"</string>
|
||||||
<string name="action_go_to_settings">"Go to settings"</string>
|
<string name="action_go_to_settings">"Go to settings"</string>
|
||||||
<string name="action_ignore">"Ignore"</string>
|
<string name="action_ignore">"Ignore"</string>
|
||||||
<string name="action_invite">"Invite"</string>
|
<string name="action_invite">"Invite"</string>
|
||||||
@@ -176,7 +177,6 @@
|
|||||||
<string name="common_advanced_settings">"Advanced settings"</string>
|
<string name="common_advanced_settings">"Advanced settings"</string>
|
||||||
<string name="common_an_image">"an image"</string>
|
<string name="common_an_image">"an image"</string>
|
||||||
<string name="common_analytics">"Analytics"</string>
|
<string name="common_analytics">"Analytics"</string>
|
||||||
<string name="common_android_notification_sync_notifications_foreground_service_title">"Fetching notifications…"</string>
|
|
||||||
<string name="common_android_shortcuts_remove_reason_left_room">"You left the room"</string>
|
<string name="common_android_shortcuts_remove_reason_left_room">"You left the room"</string>
|
||||||
<string name="common_android_shortcuts_remove_reason_session_logged_out">"You were logged out of the session"</string>
|
<string name="common_android_shortcuts_remove_reason_session_logged_out">"You were logged out of the session"</string>
|
||||||
<string name="common_appearance">"Appearance"</string>
|
<string name="common_appearance">"Appearance"</string>
|
||||||
|
|||||||
@@ -210,7 +210,8 @@
|
|||||||
{
|
{
|
||||||
"name" : ":features:space:impl",
|
"name" : ":features:space:impl",
|
||||||
"includeRegex" : [
|
"includeRegex" : [
|
||||||
"screen\\.leave_space\\..*"
|
"screen\\.leave_space\\..*",
|
||||||
|
"screen\\.space_settings\\..*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user