Skip to content

Commit 29bab0a

Browse files
authored
Merge pull request #1701 from RooVetGit/fix_footer_i18n
Fix i18n of footer
2 parents f9f8205 + 7e29011 commit 29bab0a

File tree

20 files changed

+31
-21
lines changed

20 files changed

+31
-21
lines changed

webview-ui/src/components/settings/SettingsFooter.tsx

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import { HTMLAttributes } from "react"
22
import { useAppTranslation } from "@/i18n/TranslationContext"
3+
import { Trans } from "react-i18next"
34

4-
import { VSCodeButton, VSCodeCheckbox } from "@vscode/webview-ui-toolkit/react"
5+
import { VSCodeButton, VSCodeCheckbox, VSCodeLink } from "@vscode/webview-ui-toolkit/react"
56

67
import { vscode } from "@/utils/vscode"
78
import { cn } from "@/lib/utils"
@@ -24,7 +25,16 @@ export const SettingsFooter = ({
2425

2526
return (
2627
<div className={cn("text-vscode-descriptionForeground p-5", className)} {...props}>
27-
<p style={{ wordWrap: "break-word", margin: 0, padding: 0 }}>{t("settings:footer.feedback")} </p>
28+
<p style={{ wordWrap: "break-word", margin: 0, padding: 0 }}>
29+
<Trans
30+
i18nKey="settings:footer.feedback"
31+
components={{
32+
githubLink: <VSCodeLink href="https://github.com/RooVetGit/Roo-Code" />,
33+
redditLink: <VSCodeLink href="https://reddit.com/r/RooCode" />,
34+
discordLink: <VSCodeLink href="https://discord.gg/roocode" />,
35+
}}
36+
/>
37+
</p>
2838
<p className="italic">{t("settings:footer.version", { version })}</p>
2939
<div className="mt-4 mb-4">
3040
<div>

webview-ui/src/i18n/locales/ar/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
}
192192
},
193193
"footer": {
194-
"feedback": "إذا كان لديك أي أسئلة أو ملاحظات، فلا تتردد في فتح مشكلة في github.com/RooVetGit/Roo-Code أو الانضمام إلى reddit.com/r/RooCode",
194+
"feedback": "إذا كان لديك أي أسئلة أو ملاحظات، فلا تتردد في فتح مشكلة في <githubLink>github.com/RooVetGit/Roo-Code</githubLink> أو الانضمام إلى <redditLink>reddit.com/r/RooCode</redditLink> أو <discordLink>discord.gg/roocode</discordLink>",
195195
"version": "Roo Code v{{version}}",
196196
"telemetry": {
197197
"label": "السماح بإرسال تقارير استخدام وأخطاء مجهولة",

webview-ui/src/i18n/locales/ca/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
}
192192
},
193193
"footer": {
194-
"feedback": "Si teniu qualsevol pregunta o comentari, no dubteu a obrir un issue a github.com/RooVetGit/Roo-Code o unir-vos a reddit.com/r/RooCode",
194+
"feedback": "Si teniu qualsevol pregunta o comentari, no dubteu a obrir un issue a <githubLink>github.com/RooVetGit/Roo-Code</githubLink> o unir-vos a <redditLink>reddit.com/r/RooCode</redditLink> o <discordLink>discord.gg/roocode</discordLink>",
195195
"version": "Roo Code v{{version}}",
196196
"telemetry": {
197197
"label": "Permetre informes anònims d'errors i ús",

webview-ui/src/i18n/locales/cs/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
}
192192
},
193193
"footer": {
194-
"feedback": "Pokud máte jakékoliv otázky nebo zpětnou vazbu, neváhejte otevřít problém na github.com/RooVetGit/Roo-Code nebo se připojit na reddit.com/r/RooCode",
194+
"feedback": "Pokud máte jakékoliv otázky nebo zpětnou vazbu, neváhejte otevřít problém na <githubLink>github.com/RooVetGit/Roo-Code</githubLink> nebo se připojit na <redditLink>reddit.com/r/RooCode</redditLink> nebo <discordLink>discord.gg/roocode</discordLink>",
195195
"version": "Roo Code v{{version}}",
196196
"telemetry": {
197197
"label": "Povolit anonymní hlášení chyb a používání",

webview-ui/src/i18n/locales/de/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
}
192192
},
193193
"footer": {
194-
"feedback": "Wenn Sie Fragen oder Feedback haben, können Sie gerne ein Issue auf github.com/RooVetGit/Roo-Code öffnen oder reddit.com/r/RooCode beitreten",
194+
"feedback": "Wenn Sie Fragen oder Feedback haben, können Sie gerne ein Issue auf <githubLink>github.com/RooVetGit/Roo-Code</githubLink> öffnen oder <redditLink>reddit.com/r/RooCode</redditLink> oder <discordLink>discord.gg/roocode</discordLink> beitreten",
195195
"version": "Roo Code v{{version}}",
196196
"telemetry": {
197197
"label": "Anonyme Fehler- und Nutzungsberichte zulassen",

webview-ui/src/i18n/locales/en/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
}
192192
},
193193
"footer": {
194-
"feedback": "If you have any questions or feedback, feel free to open an issue at github.com/RooVetGit/Roo-Code or join reddit.com/r/RooCode",
194+
"feedback": "If you have any questions or feedback, feel free to open an issue at <githubLink>github.com/RooVetGit/Roo-Code</githubLink> or join <redditLink>reddit.com/r/RooCode</redditLink> or <discordLink>discord.gg/roocode</discordLink>",
195195
"version": "Roo Code v{{version}}",
196196
"telemetry": {
197197
"label": "Allow anonymous error and usage reporting",

webview-ui/src/i18n/locales/es/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
}
192192
},
193193
"footer": {
194-
"feedback": "Si tiene alguna pregunta o comentario, no dude en abrir un issue en github.com/RooVetGit/Roo-Code o unirse a reddit.com/r/RooCode",
194+
"feedback": "Si tiene alguna pregunta o comentario, no dude en abrir un issue en <githubLink>github.com/RooVetGit/Roo-Code</githubLink> o unirse a <redditLink>reddit.com/r/RooCode</redditLink> o <discordLink>discord.gg/roocode</discordLink>",
195195
"version": "Roo Code v{{version}}",
196196
"telemetry": {
197197
"label": "Permitir informes anónimos de errores y uso",

webview-ui/src/i18n/locales/fr/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
}
192192
},
193193
"footer": {
194-
"feedback": "Si vous avez des questions ou des commentaires, n'hésitez pas à ouvrir un problème sur github.com/RooVetGit/Roo-Code ou à rejoindre reddit.com/r/RooCode",
194+
"feedback": "Si vous avez des questions ou des commentaires, n'hésitez pas à ouvrir un problème sur <githubLink>github.com/RooVetGit/Roo-Code</githubLink> ou à rejoindre <redditLink>reddit.com/r/RooCode</redditLink> ou <discordLink>discord.gg/roocode</discordLink>",
195195
"version": "Roo Code v{{version}}",
196196
"telemetry": {
197197
"label": "Autoriser les rapports anonymes d'erreurs et d'utilisation",

webview-ui/src/i18n/locales/hi/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
}
192192
},
193193
"footer": {
194-
"feedback": "यदि आपके कोई प्रश्न या प्रतिक्रिया है, तो github.com/RooVetGit/Roo-Code पर एक मुद्दा खोलने या reddit.com/r/RooCode में शामिल होने में संकोच न करें",
194+
"feedback": "यदि आपके कोई प्रश्न या प्रतिक्रिया है, तो <githubLink>github.com/RooVetGit/Roo-Code</githubLink> पर एक मुद्दा खोलने या <redditLink>reddit.com/r/RooCode</redditLink> या <discordLink>discord.gg/roocode</discordLink> में शामिल होने में संकोच न करें",
195195
"version": "Roo Code v{{version}}",
196196
"telemetry": {
197197
"label": "गुमनाम त्रुटि और उपयोग रिपोर्टिंग की अनुमति दें",

webview-ui/src/i18n/locales/hu/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
}
192192
},
193193
"footer": {
194-
"feedback": "Ha bármilyen kérdése vagy visszajelzése van, nyugodtan nyisson egy problémát a github.com/RooVetGit/Roo-Code oldalon, vagy csatlakozzon a reddit.com/r/RooCode oldalhoz",
194+
"feedback": "Ha bármilyen kérdése vagy visszajelzése van, nyugodtan nyisson egy problémát a <githubLink>github.com/RooVetGit/Roo-Code</githubLink> oldalon, vagy csatlakozzon a <redditLink>reddit.com/r/RooCode</redditLink> vagy <discordLink>discord.gg/roocode</discordLink> oldalhoz",
195195
"version": "Roo Code v{{version}}",
196196
"telemetry": {
197197
"label": "Névtelen hiba- és használati jelentések engedélyezése",

0 commit comments

Comments
 (0)