mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-09 03:17:58 +00:00
fix: use correct translation keys for scope indicators
- Update translation references from common:scope to common:customModes.scope - Ensures proper localization of Global/Project labels
This commit is contained in:
parent
1ecbc9741c
commit
2e10c139bc
2 changed files with 5 additions and 3 deletions
|
|
@ -212,7 +212,9 @@ export const ModeSelector = ({
|
|||
<span className="truncate">{selectedMode?.name || ""}</span>
|
||||
{selectedMode?.source && (
|
||||
<span className="text-[10px] px-1 py-0.5 rounded bg-vscode-badge-background text-vscode-badge-foreground">
|
||||
{selectedMode.source === "project" ? t("common:scope.project") : t("common:scope.global")}
|
||||
{selectedMode.source === "project"
|
||||
? t("common:customModes.scope.project")
|
||||
: t("common:customModes.scope.global")}
|
||||
</span>
|
||||
)}
|
||||
</PopoverTrigger>
|
||||
|
|
|
|||
|
|
@ -763,8 +763,8 @@ const ModesView = ({ onDone }: ModesViewProps) => {
|
|||
{findModeBySlug(visualMode, customModes)?.source && (
|
||||
<span className="text-[10px] px-1 py-0.5 rounded bg-vscode-badge-background text-vscode-badge-foreground">
|
||||
{findModeBySlug(visualMode, customModes)?.source === "project"
|
||||
? t("common:scope.project")
|
||||
: t("common:scope.global")}
|
||||
? t("common:customModes.scope.project")
|
||||
: t("common:customModes.scope.global")}
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue