mirror of
https://github.com/fbarrca/obsidian-inlineAI.git
synced 2026-07-22 11:50:24 +00:00
Use sentence case for UI
This commit is contained in:
parent
f8ba30fed9
commit
0b8a9981f2
2 changed files with 7 additions and 7 deletions
|
|
@ -27,7 +27,7 @@ export default class InlineAIChatPlugin extends Plugin {
|
|||
// Add command to show tooltip
|
||||
this.addCommand({
|
||||
id: "show-cursor-tooltip",
|
||||
name: "Show Cursor Tooltip",
|
||||
name: "Show cursor tooltip",
|
||||
callback: () => {
|
||||
const markdownView = this.app.workspace.getActiveViewOfType(MarkdownView);
|
||||
if (markdownView) {
|
||||
|
|
@ -60,7 +60,7 @@ export default class InlineAIChatPlugin extends Plugin {
|
|||
});
|
||||
this.addCommand({
|
||||
id: "accept-tooltip",
|
||||
name: "Accept Tooltip suggestion",
|
||||
name: "Accept tooltip suggestion",
|
||||
callback: () => {
|
||||
const markdownView = this.app.workspace.getActiveViewOfType(MarkdownView);
|
||||
if (markdownView) {
|
||||
|
|
@ -81,7 +81,7 @@ export default class InlineAIChatPlugin extends Plugin {
|
|||
});
|
||||
this.addCommand({
|
||||
id: "discard-tooltip",
|
||||
name: "discard Tooltip suggestion",
|
||||
name: "Discard tooltip suggestion",
|
||||
callback: () => {
|
||||
const markdownView = this.app.workspace.getActiveViewOfType(MarkdownView);
|
||||
if (markdownView) {
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ export class InlineAISettingsTab extends PluginSettingTab {
|
|||
this.plugin.settings.provider === "custom"
|
||||
) {
|
||||
new Setting(containerEl)
|
||||
.setName("API Key")
|
||||
.setName("API key")
|
||||
.setDesc("Enter your API key.")
|
||||
.addText((text) =>
|
||||
text
|
||||
|
|
@ -89,7 +89,7 @@ export class InlineAISettingsTab extends PluginSettingTab {
|
|||
*/
|
||||
if (this.plugin.settings.provider === "custom") {
|
||||
new Setting(containerEl)
|
||||
.setName("Custom Endpoint")
|
||||
.setName("Custom endpoint")
|
||||
.setDesc("Enter your OpenAI-compatible base URL (e.g. https://api.groq.com/openai/v1).")
|
||||
.addText((text) =>
|
||||
text
|
||||
|
|
@ -109,7 +109,7 @@ export class InlineAISettingsTab extends PluginSettingTab {
|
|||
|
||||
// Selection Prompt setting
|
||||
new Setting(containerEl)
|
||||
.setName("Selection Prompt")
|
||||
.setName("Selection prompt")
|
||||
.setDesc("System Prompt used when the tooltip is triggered with selected text.")
|
||||
.addTextArea((textarea) => {
|
||||
textarea
|
||||
|
|
@ -126,7 +126,7 @@ export class InlineAISettingsTab extends PluginSettingTab {
|
|||
|
||||
// Cursor Prompt setting
|
||||
new Setting(containerEl)
|
||||
.setName("Cursor Prompt")
|
||||
.setName("Cursor prompt")
|
||||
.setDesc("System Prompt used when the tooltip is triggered with selected text.")
|
||||
.addTextArea((textarea) => {
|
||||
textarea
|
||||
|
|
|
|||
Loading…
Reference in a new issue