mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-06-26 09:32:40 +00:00
A11Y: Add title attribute to sparkles icon for AI search results (#317)
This commit is contained in:
parent
d493880c0a
commit
c7665e891b
@ -1,9 +1,11 @@
|
||||
import Component from '@glimmer/component';
|
||||
import icon from "discourse-common/helpers/d-icon";
|
||||
import i18n from "discourse-common/helpers/i18n";
|
||||
|
||||
|
||||
export default class SearchResultDecoration extends Component {
|
||||
<template>
|
||||
<div class="ai-result__icon">
|
||||
<div class="ai-result__icon" title={{i18n "discourse_ai.embeddings.ai_generated_result"}}>
|
||||
{{icon "discourse-sparkles"}}
|
||||
</div>
|
||||
</template>
|
||||
|
@ -113,6 +113,7 @@ en:
|
||||
toggle: "Showing %{count} results found using AI"
|
||||
toggle_hidden: "Hiding %{count} results found using AI"
|
||||
none: "Sorry, our AI search found no matching topics."
|
||||
ai_generated_result: "Search result found using AI"
|
||||
|
||||
ai_bot:
|
||||
pm_warning: "AI chatbot messages are monitored regularly by moderators."
|
||||
|
Loading…
x
Reference in New Issue
Block a user