translations fix

This commit is contained in:
brownrw8 2025-01-27 13:24:59 -10:00
parent 2521607a5e
commit 30d6b0e223
5 changed files with 35 additions and 14 deletions

View file

@ -3,6 +3,7 @@ import deepEqual from "fast-deep-equal"
import React, { memo, useCallback, useEffect, useMemo, useRef, useState } from "react"
import { useEvent, useSize } from "react-use"
import { useTranslation } from "react-i18next"
import { Trans } from "react-i18next"
import styled from "styled-components"
import {
ClineApiReqInfo,
@ -786,7 +787,21 @@ export const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifi
<>
<br />
<br />
{t("troubleshootingGuide")}
<Trans
i18nKey="chatRow.troubleshootingGuide"
components={{
Link: (
<a
href="https://github.com/cline/cline/wiki/TroubleShooting-%E2%80%90-%22PowerShell-is-not-recognized-as-an-internal-or-external-command%22"
style={{
color: "inherit",
textDecoration: "underline",
}}>
PowerShell
</a>
),
}}
/>
</>
)}
</p>
@ -1032,6 +1047,12 @@ export const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifi
{t("response")}
</a>
</div>
<CodeAccordian
code={message.text}
language="json"
isExpanded={true}
onToggleExpand={onToggleExpand}
/>
</div>
</>
)

View file

@ -87,8 +87,8 @@
},
"chatRow": {
"error": "Error",
"mistakeLimitReached": "Mistake limit reached",
"autoApprovalMaxReqReached": "Auto approval max request reached",
"mistakeLimitReached": "Cline is having trouble...",
"autoApprovalMaxReqReached": "Maximum Requests Reached",
"command": {
"ask": "Cline wants to execute this command:",
"say": "Cline executed this command:"
@ -99,13 +99,13 @@
"tool": "tool",
"resource": "resource"
},
"completionResult": "Completion result",
"apiReqCancelled": "API request cancelled",
"apiStreamingFailed": "API streaming failed",
"apiRequest": "API request",
"apiRequestFailed": "API request failed",
"apiRequestInProgress": "API request in progress",
"followup": "Follow-up",
"completionResult": "Task Completed",
"apiReqCancelled": "API Request Cancelled",
"apiStreamingFailed": "API Streaming Failed",
"apiRequest": "API Request",
"apiRequestFailed": "API Request Failed",
"apiRequestInProgress": "API Request...",
"followup": "Cline has a question:",
"tool": {
"editedExistingFile": {
"ask": "Cline wants to edit this file:",
@ -129,7 +129,7 @@
"planModeResponse": "Plan Mode Response",
"seeNewChanges": "See new changes",
"commandRequiresApproval": "The model has determined this command requires explicit approval.",
"troubleshootingGuide": "troubleshooting guide",
"troubleshootingGuide": "It seems like you're having Windows PowerShell issues, please see this <Link>troubleshooting guide</Link>",
"clineWantsToViewTopLevelFiles": "Cline wants to view the top level files in this directory:",
"clineViewedTopLevelFiles": "Cline viewed the top level files in this directory:",
"clineWantsToRecursivelyViewFiles": "Cline wants to recursively view all files in this directory:",

View file

@ -129,7 +129,7 @@
"planModeResponse": "計画モード応答",
"seeNewChanges": "新しい変更を見る",
"commandRequiresApproval": "このコマンドは明示的な承認が必要です。",
"troubleshootingGuide": "トラブルシューティングガイド",
"troubleshootingGuide": "Windows PowerShellの問題が発生しているようです。この<Link>トラブルシューティングガイド</Link>をご覧ください。",
"clineWantsToViewTopLevelFiles": "クラインがこのディレクトリのトップレベルファイルを表示したいと考えています:",
"clineViewedTopLevelFiles": "クラインがこのディレクトリのトップレベルファイルを表示しました:",
"clineWantsToRecursivelyViewFiles": "クラインがこのディレクトリのすべてのファイルを再帰的に表示したいと考えています:",

View file

@ -124,7 +124,7 @@
"planModeResponse": "计划模式响应",
"seeNewChanges": "查看新更改",
"commandRequiresApproval": "模型已确定此命令需要明确批准。",
"troubleshootingGuide": "故障排除指南",
"troubleshootingGuide": "看起来你遇到了 Windows PowerShell 问题,请参阅此 <Link>故障排除指南</Link>",
"clineWantsToViewTopLevelFiles": "Cline 想查看此目录中的顶级文件:",
"clineViewedTopLevelFiles": "Cline 查看了此目录中的顶级文件:",
"clineWantsToRecursivelyViewFiles": "Cline 想递归查看此目录中的所有文件:",

View file

@ -124,7 +124,7 @@
"planModeResponse": "計劃模式響應",
"seeNewChanges": "查看新變更",
"commandRequiresApproval": "模型已確定此命令需要明確批准。",
"troubleshootingGuide": "故障排除指南",
"troubleshootingGuide": "看起來您遇到了 Windows PowerShell 問題,請參閱此 <Link>故障排除指南</Link>",
"clineWantsToViewTopLevelFiles": "Cline 想要查看此目錄中的頂層文件:",
"clineViewedTopLevelFiles": "Cline 查看了此目錄中的頂層文件:",
"clineWantsToRecursivelyViewFiles": "Cline 想要遞歸查看此目錄中的所有文件:",