Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions webview-ui/src/components/welcome/RooTips.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ const tips = [
titleKey: "rooTips.boomerangTasks.title",
descriptionKey: "rooTips.boomerangTasks.description",
},
{
icon: "codicon-terminal-cmd",
href: buildDocLink("features/slash-commands", "tips"),
titleKey: "rooTips.slashCommands.title",
descriptionKey: "rooTips.slashCommands.description",
},
]

const RooTips = () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ describe("RooTips Component", () => {
render(<RooTips />)
})

test("renders only the top two tips", () => {
// Ensure only two tips are present plus the docs link in the Trans component (3 total links)
expect(screen.getAllByRole("link")).toHaveLength(3)
test("renders all three tips", () => {
// Ensure three tips are present plus the docs link in the Trans component (4 total links)
expect(screen.getAllByRole("link")).toHaveLength(4)
})
})
})
75 changes: 75 additions & 0 deletions webview-ui/src/i18n/TRANSLATION_TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Translation TODO for Slash Commands Feature

The following languages need proper translations for the slash commands tip in the RooTips component:

## Languages needing translation

### Portuguese (pt-BR)

- `rooTips.slashCommands.title`: Currently "Slash Commands" - needs Portuguese translation
- `rooTips.slashCommands.description`: Currently "Create custom commands for quick access to frequently used prompts" - needs Portuguese translation

### Korean (ko)

- `rooTips.slashCommands.title`: Currently "Slash Commands" - needs Korean translation
- `rooTips.slashCommands.description`: Currently "Create custom commands for quick access to frequently used prompts" - needs Korean translation

### Hindi (hi)

- `rooTips.slashCommands.title`: Currently "Slash Commands" - needs Hindi translation
- `rooTips.slashCommands.description`: Currently "Create custom commands for quick access to frequently used prompts" - needs Hindi translation

### Italian (it)

- `rooTips.slashCommands.title`: Currently "Slash Commands" - needs Italian translation
- `rooTips.slashCommands.description`: Currently "Create custom commands for quick access to frequently used prompts" - needs Italian translation

### Dutch (nl)

- `rooTips.slashCommands.title`: Currently "Slash Commands" - needs Dutch translation
- `rooTips.slashCommands.description`: Currently "Create custom commands for quick access to frequently used prompts" - needs Dutch translation

### Turkish (tr)

- `rooTips.slashCommands.title`: Currently "Slash Commands" - needs Turkish translation
- `rooTips.slashCommands.description`: Currently "Create custom commands for quick access to frequently used prompts" - needs Turkish translation

### Indonesian (id)

- `rooTips.slashCommands.title`: Currently "Slash Commands" - needs Indonesian translation
- `rooTips.slashCommands.description`: Currently "Create custom commands for quick access to frequently used prompts" - needs Indonesian translation

### Polish (pl)

- `rooTips.slashCommands.title`: Currently "Slash Commands" - needs Polish translation
- `rooTips.slashCommands.description`: Currently "Create custom commands for quick access to frequently used prompts" - needs Polish translation

### Russian (ru)

- `rooTips.slashCommands.title`: Currently "Slash Commands" - needs Russian translation
- `rooTips.slashCommands.description`: Currently "Create custom commands for quick access to frequently used prompts" - needs Russian translation

### Vietnamese (vi)

- `rooTips.slashCommands.title`: Currently "Slash Commands" - needs Vietnamese translation
- `rooTips.slashCommands.description`: Currently "Create custom commands for quick access to frequently used prompts" - needs Vietnamese translation

### Chinese Traditional (zh-TW)

- `rooTips.slashCommands.title`: Currently "Slash Commands" - needs Chinese Traditional translation
- `rooTips.slashCommands.description`: Currently "Create custom commands for quick access to frequently used prompts" - needs Chinese Traditional translation

## Languages with proper translations

The following languages already have proper translations:

- Spanish (es): "Comandos de Barra"
- French (fr): "Commandes Slash"
- German (de): "Slash-Befehle"
- Japanese (ja): "スラッシュコマンド"
- Catalan (ca): "Ordres de Barra"
- Chinese Simplified (zh-CN): "斜杠命令"

## Notes

This is a known limitation that should be addressed in a follow-up PR to provide proper internationalization support for all languages.
4 changes: 4 additions & 0 deletions webview-ui/src/i18n/locales/ca/chat.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions webview-ui/src/i18n/locales/de/chat.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions webview-ui/src/i18n/locales/en/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@
"customizableModes": {
"title": "Customizable Modes",
"description": "Specialized personas with their own behaviors and assigned models"
},
"slashCommands": {
"title": "Slash Commands",
"description": "Create custom commands for quick access to frequently used prompts"
}
},
"selectMode": "Select mode for interaction",
Expand Down
4 changes: 4 additions & 0 deletions webview-ui/src/i18n/locales/es/chat.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions webview-ui/src/i18n/locales/fr/chat.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions webview-ui/src/i18n/locales/hi/chat.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions webview-ui/src/i18n/locales/id/chat.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions webview-ui/src/i18n/locales/it/chat.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions webview-ui/src/i18n/locales/ja/chat.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions webview-ui/src/i18n/locales/ko/chat.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions webview-ui/src/i18n/locales/nl/chat.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions webview-ui/src/i18n/locales/pl/chat.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions webview-ui/src/i18n/locales/pt-BR/chat.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions webview-ui/src/i18n/locales/ru/chat.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions webview-ui/src/i18n/locales/tr/chat.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions webview-ui/src/i18n/locales/vi/chat.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions webview-ui/src/i18n/locales/zh-CN/chat.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions webview-ui/src/i18n/locales/zh-TW/chat.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.