mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-03-06 09:20:14 +00:00
translate some stuff
This commit is contained in:
parent
9df7f50ebc
commit
f05b0ec4c7
@ -1,7 +1,6 @@
|
||||
import Component from "@glimmer/component";
|
||||
import { service } from "@ember/service";
|
||||
import DButton from "discourse/components/d-button";
|
||||
import { i18n } from "discourse-i18n";
|
||||
|
||||
export default class AiBotSidebarNewConversation extends Component {
|
||||
@service router;
|
||||
@ -14,7 +13,7 @@ export default class AiBotSidebarNewConversation extends Component {
|
||||
{{#if this.show}}
|
||||
<DButton
|
||||
@route="/discourse-ai/ai-bot/conversations"
|
||||
@translatedLabel="TODO: new_question"
|
||||
@label="discourse_ai.ai_bot.conversations.new"
|
||||
@icon="plus"
|
||||
class="ai-new-question-button btn-default"
|
||||
/>
|
||||
|
@ -1,25 +1,25 @@
|
||||
{{body-class "discourse-ai-bot-conversations-page"}}
|
||||
|
||||
<div class="custom-homepage__content-wrapper">
|
||||
<h1>Ask a question</h1>
|
||||
<h1>{{i18n "discourse_ai.ai_bot.conversations.header"}}</h1>
|
||||
<div class="custom-homepage__input-wrapper">
|
||||
<textarea
|
||||
{{didInsert this.initializeTextarea}}
|
||||
{{on "input" this.updateInputValue}}
|
||||
{{on "keydown" this.handleKeyDown}}
|
||||
id="custom-homepage-input"
|
||||
placeholder="placeholder (todo)"
|
||||
placeholder={{i18n "discourse_ai.ai_bot.conversations.placeholder"}}
|
||||
minlength="10"
|
||||
rows="1"
|
||||
/>
|
||||
<DButton
|
||||
@action={{this.aiBotConversationsHiddenSubmit.submitToBot}}
|
||||
@icon="paper-plane"
|
||||
@translatedTitle="Submit (todo)"
|
||||
@title="discourse_ai.ai_bot.conversations.header"
|
||||
class="ai-bot-button btn-primary"
|
||||
/>
|
||||
</div>
|
||||
<p class="ai-disclaimer">
|
||||
TODO DISCLAIMER
|
||||
{{i18n "discourse_ai.ai_bot.conversations.disclaimer"}}
|
||||
</p>
|
||||
</div>
|
@ -649,6 +649,12 @@ en:
|
||||
5-pro: "Gemini"
|
||||
mixtral-8x7B-Instruct-V0:
|
||||
"1": "Mixtral-8x7B V0.1"
|
||||
conversations:
|
||||
header: "What can I help with?"
|
||||
submit: "Submit question"
|
||||
disclaimer: "Generative AI can make mistakes"
|
||||
placeholder: "Ask a question..."
|
||||
new: "New Question"
|
||||
sentiments:
|
||||
dashboard:
|
||||
title: "Sentiment"
|
||||
|
Loading…
x
Reference in New Issue
Block a user