UX: Add title to button (#334)

This commit is contained in:
Jordan Vidrine 2023-12-05 14:33:10 -06:00 committed by GitHub
parent 5f464c7b1b
commit 92286ad0c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -133,6 +133,7 @@ export default class AIHelperOptionsMenu extends Component {
<DButton
@class="btn-flat ai-post-helper__trigger"
@icon="discourse-sparkles"
@title="discourse_ai.ai_helper.post_options_menu.title"
@label="discourse_ai.ai_helper.post_options_menu.trigger"
@action={{this.showAIHelperOptions}}
/>

View File

@ -97,6 +97,7 @@ en:
submit: "Send Prompt"
post_options_menu:
trigger: "Ask AI"
title: "Ask AI"
loading: "AI is generating"
close: "Close"
copy: "Copy"