mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 18:24:52 -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) {
|
if (items.length === 0) {
|
||||||
items.push({
|
items.push({
|
||||||
name: I18n.t("composer.composer_actions.create_topic.label"),
|
name: I18n.t("composer.composer_actions.create_topic.label"),
|
||||||
description: I18n.t(
|
description: I18n.t("composer.composer_actions.create_topic.desc"),
|
||||||
"composer.composer_actions.reply_as_new_topic.desc"
|
|
||||||
),
|
|
||||||
icon: "share",
|
icon: "share",
|
||||||
id: "create_topic",
|
id: "create_topic",
|
||||||
});
|
});
|
||||||
|
@ -2496,6 +2496,7 @@ en:
|
|||||||
desc: Whispers are only visible to staff members
|
desc: Whispers are only visible to staff members
|
||||||
create_topic:
|
create_topic:
|
||||||
label: "New Topic"
|
label: "New Topic"
|
||||||
|
desc: Create a new topic
|
||||||
shared_draft:
|
shared_draft:
|
||||||
label: "Shared Draft"
|
label: "Shared Draft"
|
||||||
desc: "Draft a topic that will only be visible to allowed users"
|
desc: "Draft a topic that will only be visible to allowed users"
|
||||||
|
Loading…
Reference in New Issue
Block a user