From f5eaf2f05fe7134d58e6b1fa1abd70c14ed4ba0f Mon Sep 17 00:00:00 2001 From: Benoit Marty <benoit@matrix.org> Date: Tue, 19 Oct 2021 11:35:49 +0200 Subject: [PATCH] Align wording with Element Web --- .../src/main/java/im/vector/app/features/command/Command.kt | 4 ++-- vector/src/main/res/values/strings.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vector/src/main/java/im/vector/app/features/command/Command.kt b/vector/src/main/java/im/vector/app/features/command/Command.kt index 33ccd08d22..68fcfec555 100644 --- a/vector/src/main/java/im/vector/app/features/command/Command.kt +++ b/vector/src/main/java/im/vector/app/features/command/Command.kt @@ -34,8 +34,8 @@ enum class Command(val command: String, val parameters: String, @StringRes val d RESET_USER_POWER_LEVEL("/deop", "<user-id>", R.string.command_description_deop_user, false), ROOM_NAME("/roomname", "<name>", R.string.command_description_room_name, false), INVITE("/invite", "<user-id> [reason]", R.string.command_description_invite_user, false), - JOIN_ROOM("/join", "<room-alias> [reason]", R.string.command_description_join_room, false), - PART("/part", "<room-alias> [reason]", R.string.command_description_part_room, false), + JOIN_ROOM("/join", "<room-address> [reason]", R.string.command_description_join_room, false), + PART("/part", "<room-address> [reason]", R.string.command_description_part_room, false), TOPIC("/topic", "<topic>", R.string.command_description_topic, false), KICK_USER("/kick", "<user-id> [reason]", R.string.command_description_kick_user, false), CHANGE_DISPLAY_NAME("/nick", "<display-name>", R.string.command_description_nick, false), diff --git a/vector/src/main/res/values/strings.xml b/vector/src/main/res/values/strings.xml index 7fa4918266..274753ee3f 100644 --- a/vector/src/main/res/values/strings.xml +++ b/vector/src/main/res/values/strings.xml @@ -1837,7 +1837,7 @@ <string name="command_description_deop_user">Deops user with given id</string> <string name="command_description_room_name">Sets the room name</string> <string name="command_description_invite_user">Invites user with given id to current room</string> - <string name="command_description_join_room">Joins room with given alias</string> + <string name="command_description_join_room">Joins room with given address</string> <string name="command_description_part_room">Leave room</string> <string name="command_description_topic">Set the room topic</string> <string name="command_description_kick_user">Kicks user with given id</string>