Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 2fc0568

Browse files
authored
DEV: Apply text formatting and AI feature naming conventions (#905)
This PR applies Discourse's formatting text guidelines as per [documentation on Meta](https://meta.discourse.org/t/formatting-text-in-discourse-documentation-and-uis/324637). Additionally, applies our AI feature naming conventions, standardizing feature names.
1 parent 26bfda4 commit 2fc0568

File tree

1 file changed

+93
-93
lines changed

1 file changed

+93
-93
lines changed

config/locales/client.en.yml

Lines changed: 93 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ en:
55
scopes:
66
descriptions:
77
discourse_ai:
8-
search: "Allows semantic search"
9-
stream_completion: "Allows streaming ai persona completions"
8+
search: "Allows AI search"
9+
stream_completion: "Allows streaming AI persona completions"
1010

1111
site_settings:
1212
categories:
@@ -24,7 +24,7 @@ en:
2424
description: "The users that will receive the report (emails will be sent direct emails, usernames will be sent a PM)"
2525
topic_id:
2626
label: "Topic ID"
27-
description: "The topic id to post the report to"
27+
description: "The topic ID to post the report to"
2828
title:
2929
label: "Title"
3030
description: "The title of the report"
@@ -42,7 +42,7 @@ en:
4242
description: "The number of posts to sample for the report"
4343
tokens_per_post:
4444
label: "Tokens per post"
45-
description: "The number of llm tokens to use per post"
45+
description: "The number of LLM tokens to use per post"
4646
model:
4747
label: "Model"
4848
description: "LLM to use for report generation"
@@ -72,7 +72,7 @@ en:
7272
description: "Prioritize content from this group in the report"
7373
temperature:
7474
label: "Temperature"
75-
description: "Temperature to use for the LLM, increase to increase randomness (0 to use model default)"
75+
description: "Temperature to use for the LLM. Increase to increase randomness (0 to use model default)"
7676
top_p:
7777
label: "Top P"
7878
description: "Top P to use for the LLM, increase to increase randomness (0 to use model default)"
@@ -87,7 +87,7 @@ en:
8787
description: "The maximum number of tokens to scan using LLM triage"
8888
search_for_text:
8989
label: "Search for text"
90-
description: "If the following text appears in the llm reply, apply this actions"
90+
description: "If the following text appears in the LLM reply, apply these actions"
9191
category:
9292
label: "Category"
9393
description: "Category to apply to the topic"
@@ -96,13 +96,13 @@ en:
9696
description: "Tags to apply to the topic"
9797
canned_reply:
9898
label: "Reply"
99-
description: "Raw text of canned reply to post on the topic"
99+
description: "Raw text of the canned reply to post on the topic"
100100
canned_reply_user:
101101
label: "Reply User"
102102
description: "Username of the user to post the canned reply"
103103
hide_topic:
104104
label: "Hide topic"
105-
description: "Make topic non visible to the public if triggered"
105+
description: "Make topic not visible to the public if triggered"
106106
flag_type:
107107
label: "Flag type"
108108
description: "Type of flag to apply to the post (spam or simply raise for review)"
@@ -125,86 +125,86 @@ en:
125125
replies:
126126
one: "Apply to first reply only"
127127
other: "Apply to first %{count} replies"
128-
back: Back
129-
name: Name
130-
edit: Edit
131-
description: Description
128+
back: "Back"
129+
name: "Name"
130+
edit: "Edit"
131+
description: "Description"
132132
no_llm_selected: "No language model selected"
133-
max_context_posts: "Max Context Posts"
133+
max_context_posts: "Max context posts"
134134
max_context_posts_help: "The maximum number of posts to use as context for the AI when responding to a user. (empty for default)"
135-
vision_enabled: Vision Enabled
135+
vision_enabled: Vision enabled
136136
vision_enabled_help: If enabled, the AI will attempt to understand images users post in the topic, depends on the model being used supporting vision. Supported by latest models from Anthropic, Google, and OpenAI.
137137
vision_max_pixels: Supported image size
138138
vision_max_pixel_sizes:
139-
low: Low Quality - cheapest (256x256)
140-
medium: Medium Quality (512x512)
141-
high: High Quality - slowest (1024x1024)
142-
tool_details: Show Tool Details
139+
low: Low quality - cheapest (256x256)
140+
medium: Medium quality (512x512)
141+
high: High quality - slowest (1024x1024)
142+
tool_details: Show tool details
143143
tool_details_help: Will show end users details on which tools the language model has triggered.
144-
mentionable: Allow Mentions
144+
mentionable: Allow mentions
145145
mentionable_help: If enabled, users in allowed groups can mention this user in posts, the AI will respond as this persona.
146146
user: User
147-
create_user: Create User
147+
create_user: Create user
148148
create_user_help: You can optionally attach a user to this persona. If you do, the AI will use this user to respond to requests.
149-
default_llm: Default Language Model
149+
default_llm: Default language model
150150
default_llm_help: The default language model to use for this persona. Required if you wish to mention persona on public posts.
151151
question_consolidator_llm: Language Model for Question Consolidator
152152
question_consolidator_llm_help: The language model to use for the question consolidator, you may choose a less powerful model to save costs.
153-
system_prompt: System Prompt
154-
forced_tool_strategy: Forced Tool Strategy
155-
allow_chat_direct_messages: "Allow Chat Direct Messages"
153+
system_prompt: System prompt
154+
forced_tool_strategy: Forced tool strategy
155+
allow_chat_direct_messages: "Allow chat direct messages"
156156
allow_chat_direct_messages_help: "If enabled, users in allowed groups can send direct messages to this persona."
157-
allow_chat_channel_mentions: "Allow Chat Channel Mentions"
157+
allow_chat_channel_mentions: "Allow chat channel mentions"
158158
allow_chat_channel_mentions_help: "If enabled, users in allowed groups can mention this persona in chat channels."
159-
allow_personal_messages: "Allow Personal Messages"
159+
allow_personal_messages: "Allow personal messages"
160160
allow_personal_messages_help: "If enabled, users in allowed groups can send personal messages to this persona."
161-
allow_topic_mentions: "Allow Topic Mentions"
161+
allow_topic_mentions: "Allow topic mentions"
162162
allow_topic_mentions_help: "If enabled, users in allowed groups can mention this persona in topics."
163-
force_default_llm: "Always use default Language Model"
164-
save: Save
165-
saved: AI Persona Saved
163+
force_default_llm: "Always use default language model"
164+
save: "Save"
165+
saved: "Persona saved"
166166
enabled: "Enabled?"
167-
tools: Enabled Tools
168-
forced_tools: Forced Tools
169-
allowed_groups: Allowed Groups
170-
confirm_delete: Are you sure you want to delete this persona?
171-
new: "New Persona"
172-
title: "AI Personas"
167+
tools: "Enabled tools"
168+
forced_tools: "Forced fools"
169+
allowed_groups: "Allowed groups"
170+
confirm_delete: "Are you sure you want to delete this persona?"
171+
new: "New persona"
172+
title: "Personas"
173173
short_title: "Personas"
174-
delete: Delete
175-
temperature: Temperature
176-
temperature_help: Temperature to use for the LLM, increase to increase creativity (leave empty to use model default, generally a value from 0.0 to 2.0)
177-
top_p: Top P
178-
top_p_help: Top P to use for the LLM, increase to increase randomness (leave empty to use model default, generally a value from 0.0 to 1.0)
179-
priority: Priority
180-
priority_help: Priority personas are displayed to users at the top of the persona list. If multiple personas have priority, they will be sorted alphabetically.
181-
tool_options: "Tool Options"
182-
rag_conversation_chunks: "Search Conversation Chunks"
174+
delete: "Delete"
175+
temperature: "Temperature"
176+
temperature_help: "Temperature to use for the LLM. Increase to increase creativity (leave empty to use model default, generally a value from 0.0 to 2.0)"
177+
top_p: "Top P"
178+
top_p_help: "Top P to use for the LLM, increase to increase randomness (leave empty to use model default, generally a value from 0.0 to 1.0)"
179+
priority: "Priority"
180+
priority_help: "Priority personas are displayed to users at the top of the persona list. If multiple personas have priority, they will be sorted alphabetically."
181+
tool_options: "Tool options"
182+
rag_conversation_chunks: "Search conversation chunks"
183183
rag_conversation_chunks_help: "The number of chunks to use for the RAG model searches. Increase to increase the amount of context the AI can use."
184-
what_are_personas: "What are AI Personas?"
184+
what_are_personas: "What are Personas?"
185185
no_persona_selected: |
186-
AI Personas are a powerful feature that allows you to customize the behavior of the AI engine in your Discourse forum. They act as a 'system message' that guides the AI's responses and interactions, helping to create a more personalized and engaging user experience.
186+
Personas are a powerful feature that allows you to customize the behavior of the AI engine in your Discourse forum. They act as a 'system message' that guides the AI's responses and interactions, helping to create a more personalized and engaging user experience.
187187
188-
#### Why use AI Personas?
188+
#### Why use personas?
189189
190-
With AI Personas, you can tailor the AI's behavior to better fit the context and tone of your forum. Whether you want the AI to be more formal for a professional setting, more casual for a community forum, or even embody a specific character for a role-playing game, AI Personas give you the flexibility to do so.
190+
With personas, you can tailor the AI's behavior to better fit the context and tone of your forum. Whether you want the AI to be more formal for a professional setting, more casual for a community forum, or even embody a specific character for a role-playing game, personas give you the flexibility to do so.
191191
192-
#### Group-Specific Access to AI Personas
192+
#### Group-specific access to personas
193193
194194
Moreover, you can set it up so that certain user groups have access to specific personas. This means you can have different AI behaviors for different sections of your forum, further enhancing the diversity and richness of your community's interactions.
195195
196196
rag:
197197
options:
198-
rag_chunk_tokens: "Upload Chunk Tokens"
198+
rag_chunk_tokens: "Upload chunk tokens"
199199
rag_chunk_tokens_help: "The number of tokens to use for each chunk in the RAG model. Increase to increase the amount of context the AI can use. (changing will re-index all uploads)"
200-
rag_chunk_overlap_tokens: "Upload Chunk Overlap Tokens"
200+
rag_chunk_overlap_tokens: "Upload chunk overlap tokens"
201201
rag_chunk_overlap_tokens_help: "The number of tokens to overlap between chunks in the RAG model. (changing will re-index all uploads)"
202-
show_indexing_options: "Show Upload Options"
203-
hide_indexing_options: "Hide Upload Options"
202+
show_indexing_options: "Show upload options"
203+
hide_indexing_options: "Hide upload options"
204204
uploads:
205205
title: "Uploads"
206206
description: "Uploaded files should be formatted as plaintext (.txt) or markdown (.md)."
207-
button: "Add Files"
207+
button: "Add files"
208208
filter: "Filter uploads"
209209
indexed: "Indexed"
210210
indexing: "Indexing"
@@ -215,7 +215,7 @@ en:
215215
tools:
216216
back: "Back"
217217
short_title: "Tools"
218-
new: "New Tool"
218+
new: "New tool"
219219
name: "Name"
220220
name_help: "The unique name of the tool as used by the language model"
221221
description: "Description"
@@ -228,50 +228,50 @@ en:
228228
add_parameter: "Add Parameter"
229229
parameter_required: "Required"
230230
parameter_enum: "Enum"
231-
parameter_name: "Parameter Name"
232-
parameter_description: "Parameter Description"
231+
parameter_name: "Parameter name"
232+
parameter_description: "Parameter description"
233233
enum_value: "Enum value"
234234
add_enum_value: "Add enum value"
235235
edit: "Edit"
236-
test: "Run Test"
236+
test: "Run test"
237237
delete: "Delete"
238238
saved: "Tool saved"
239239
presets: "Select a preset..."
240-
confirm_delete: Are you sure you want to delete this tool?
240+
confirm_delete: "Are you sure you want to delete this tool?"
241241
next:
242242
title: "Next"
243243
test_modal:
244-
title: "Test AI Tool"
245-
run: "Run Test"
246-
result: "Test Result"
244+
title: "Test AI tool"
245+
run: "Run test"
246+
result: "Test result"
247247

248248
llms:
249249
short_title: "LLMs"
250250
no_llms: "No LLMs yet"
251-
new: "New Model"
251+
new: "New model"
252252
display_name: "Name"
253253
name: "Model id"
254254
provider: "Provider"
255255
tokenizer: "Tokenizer"
256256
max_prompt_tokens: "Number of tokens for the prompt"
257257
url: "URL of the service hosting the model"
258258
api_key: "API Key of the service hosting the model"
259-
enabled_chat_bot: "Allow AI Bot selector"
259+
enabled_chat_bot: "Allow AI bot selector"
260260
vision_enabled: "Vision enabled"
261-
ai_bot_user: "AI Bot User"
261+
ai_bot_user: "AI bot User"
262262
save: "Save"
263263
edit: "Edit"
264-
saved: "LLM Model Saved"
264+
saved: "LLM model saved"
265265
back: "Back"
266266
confirm_delete: Are you sure you want to delete this model?
267267
delete: Delete
268268
seeded_warning: "This model is pre-configured on your site and cannot be edited."
269269
usage:
270-
ai_bot: "AI Bot"
271-
ai_helper: "AI Helper"
270+
ai_bot: "AI bot"
271+
ai_helper: "Helper"
272272
ai_persona: "Persona (%{persona})"
273-
ai_summarization: "Summarization"
274-
ai_embeddings_semantic_search: "Semantic Search"
273+
ai_summarization: "Summarize"
274+
ai_embeddings_semantic_search: "AI search"
275275
in_use_warning:
276276
one: "This model is currently used by %{settings}. If misconfigured, the feature won't work as expected."
277277
other: "This model is currently used by the following: %{settings}. If misconfigured, features won't work as expected. "
@@ -300,16 +300,16 @@ en:
300300
title: "Next"
301301

302302
tests:
303-
title: "Run Test"
303+
title: "Run test"
304304
running: "Running test..."
305305
success: "Success!"
306306
failure: "Trying to contact the model returned this error: %{error}"
307307

308308
hints:
309309
max_prompt_tokens: "Max numbers of tokens for the prompt. As a rule of thumb, this should be 50% of the model's context window."
310-
name: "We include this in the API call to specify which model we'll use."
310+
name: "We include this in the API call to specify which model we'll use"
311311
vision_enabled: "If enabled, the AI will attempt to understand images. It depends on the model being used supporting vision. Supported by latest models from Anthropic, Google, and OpenAI."
312-
enabled_chat_bot: "If enabled, users can select this model when creating PMs with the AI bot."
312+
enabled_chat_bot: "If enabled, users can select this model when creating PMs with the AI bot"
313313
providers:
314314
aws_bedrock: "AWS Bedrock"
315315
anthropic: "Anthropic"
@@ -325,15 +325,15 @@ en:
325325
fake: "Custom"
326326

327327
provider_fields:
328-
access_key_id: "AWS Bedrock Access key ID"
329-
region: "AWS Bedrock Region"
330-
organization: "Optional OpenAI Organization ID"
328+
access_key_id: "AWS Bedrock access key ID"
329+
region: "AWS Bedrock region"
330+
organization: "Optional OpenAI organization ID"
331331
disable_system_prompt: "Disable system message in prompts"
332332
enable_native_tool: "Enable native tool support"
333333
disable_native_tools: "Disable native tool support (use XML based tools)"
334334

335335
related_topics:
336-
title: "Related Topics"
336+
title: "Related topics"
337337
pill: "Related"
338338
ai_helper:
339339
title: "Suggest changes using AI"
@@ -348,11 +348,11 @@ en:
348348
regen: "Try Again"
349349
confirm: "Confirm"
350350
discard: "Discard"
351-
changes: "Suggested Edits"
351+
changes: "Suggested edits"
352352
custom_prompt:
353-
title: "Custom Prompt"
353+
title: "Custom prompt"
354354
placeholder: "Enter a custom prompt..."
355-
submit: "Send Prompt"
355+
submit: "Send prompt"
356356
translate_prompt: "Translate to %{language}"
357357
post_options_menu:
358358
trigger: "Ask AI"
@@ -365,20 +365,20 @@ en:
365365
insert_footnote: "Add footnote"
366366
footnote_credits: "Explanation by AI"
367367
fast_edit:
368-
suggest_button: "Suggest Edit"
368+
suggest_button: "Suggest edit"
369369
thumbnail_suggestions:
370-
title: "Suggested Thumbnails"
370+
title: "Suggested thumbnails"
371371
select: "Select"
372372
selected: "Selected"
373373
image_caption:
374374
button_label: "Caption with AI"
375375
generating: "Generating caption..."
376376
credits: "Captioned by AI"
377377
save_caption: "Save"
378-
automatic_caption_setting: "Enable automatic AI image captions"
378+
automatic_caption_setting: "Enable auto caption"
379379
automatic_caption_loading: "Captioning images..."
380380
automatic_caption_dialog:
381-
prompt: "This post contains non-captioned images. Would you like to enable automatic AI captions on image uploads? (This can be changed in your preferences later)"
381+
prompt: "This post contains non-captioned images. Would you like to enable automatic auto captions on image uploads? (This can be changed in your preferences later)"
382382
confirm: "Enable"
383383
cancel: "Don't ask again"
384384
no_content_error: "Add content first to perform AI actions on it"
@@ -393,8 +393,8 @@ en:
393393
semantic_search_results:
394394
toggle: "Showing %{count} results found using AI"
395395
toggle_hidden: "Hiding %{count} results found using AI"
396-
none: "Sorry, our AI search found no matching topics."
397-
new: "Press 'Search' to begin looking for new results with AI"
396+
none: "Sorry, our AI search found no matching topics"
397+
new: "Press 'search' to begin looking for new results with AI"
398398
ai_generated_result: "Search result found using AI"
399399
quick_search:
400400
suffix: "in all topics and posts with AI"
@@ -419,13 +419,13 @@ en:
419419
previous_log: "Previous"
420420

421421
share_full_topic_modal:
422-
title: "Share Conversation Publicly"
423-
share: "Share and Copy Link"
424-
update: "Update and Copy Link"
425-
delete: "Delete Share"
422+
title: "Share conversation publicly"
423+
share: "Share and copy link"
424+
update: "Update and copy link"
425+
delete: "Delete share"
426426

427427
share_ai_conversation:
428-
name: "Share AI Conversation"
428+
name: "Share AI conversation"
429429
title: "Share this AI conversation publicly"
430430

431431
ai_label: "AI"
@@ -435,7 +435,7 @@ en:
435435
title: "Copy AI conversation"
436436
copy: "Copy"
437437
context: "Interactions to share:"
438-
share_tip: Alternatively, you can share the entire conversation.
438+
share_tip: "Alternatively, you can share the entire conversation"
439439

440440
bot_names:
441441
fake: "Fake Test Bot"

0 commit comments

Comments
 (0)