UX: Correct description on 'create topic' composer dropdown (#23871)

The 'create topic' entry in the dropdown was incorrectly using the 'reply as new topic' description. This fixes the logic to use a separate locale key for the description.
This commit is contained in:
David Taylor 2023-10-10 13:23:00 +01:00 committed by GitHub
parent c6aad63a37
commit f4aeebeb64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -225,9 +225,7 @@ export default DropdownSelectBoxComponent.extend({
if (items.length === 0) {
items.push({
name: I18n.t("composer.composer_actions.create_topic.label"),
description: I18n.t(
"composer.composer_actions.reply_as_new_topic.desc"
),
description: I18n.t("composer.composer_actions.create_topic.desc"),
icon: "share",
id: "create_topic",
});

View File

@ -2496,6 +2496,7 @@ en:
desc: Whispers are only visible to staff members
create_topic:
label: "New Topic"
desc: Create a new topic
shared_draft:
label: "Shared Draft"
desc: "Draft a topic that will only be visible to allowed users"