mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 08:57:10 -06:00
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:
parent
c6aad63a37
commit
f4aeebeb64
@ -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",
|
||||
});
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user