Repository navigation
Translate remaining UI strings - #92
Conversation
|
Confidence Score: 4 Issues1. Hardcoded "Merge" button in The <GitMerge className="size-4" />
MergeThe key 2. Multiple untranslated strings in Several strings remain hardcoded even though
function getPromptMessage(isLocalWorkspace: boolean) {
if (isLocalWorkspace) {
return "Open a local project folder for this window. You can also paste an absolute path manually.";
}
return "This window is connected to a remote server, so choose a project by entering the path on that server.";
}
These strings also need corresponding keys added to all three locale files. 3. Hidden refactor in The component was substantially rewritten from a multi-modal pattern to a single state-machine pattern. This is a net improvement but the scope is larger than the PR title suggests. The intermediate return statements for each |
Confidence Score: 4Issues1. Hardcoded "Merge" button in The <GitMerge className="size-4" />
MergeThe key 2. Multiple untranslated strings in Several strings remain hardcoded even though
These strings also need corresponding keys in 3. Hardcoded strings in The {revertedCount} message{revertedCount !== 1 ? "s" : ""} revertedRestore4. No guard against double-merge execution ( const handleMerge = useCallback(async () => {
setMergeState({ step: "merging" });
try {
const res = await client.git.merge(mainDirectory, branch);If the user clicks "Merge" rapidly, 5. MergeDialog refactor scope ( The component was substantially rewritten from individual |
Confidence Score: 5Issues DetectedThe PR's initial commit ( 1. No guard against double-merge execution (CRITICAL — fixed)
2. No The 3.
4. Permission panel untranslated — 4 hardcoded strings (MODERATE — fixed)
5.
6. Locale files missing keys (MAJOR — fixed)
Remaining Minor Observation (not a bug)
|
Fix provider icons from sprite manifest
|
Confidence Score: 3 Issues Detected1. CRITICAL: 90+ provider SVG icons added — unrelated to PR title (scope creep) Commit These ~464 lines should be in a separate PR or the title/description must be updated to reflect them. 2. All three locale files ( "questionPanel": {
"title": "The assistant has a question",
"customAnswerPlaceholder": "Type a custom answer...",
"submit": "Submit",
"dismiss": "Dismiss"
}No 3. Initial commit ( The initial commit added
These were only caught and fixed in the follow-up commit 4. Unrelated bugfix in
- finalFocus={() =>
- document.querySelector<HTMLTextAreaElement>('[data-slot="prompt-box-textarea"]')
- }
+ onCloseAutoFocus={(e) => {
+ e.preventDefault();
+ document.querySelector<HTMLTextAreaElement>('[data-slot="prompt-box-textarea"]')?.focus();
+ }}5. MergeDialog refactor exceeds PR scope
6. Fragile early-return pattern in MergeDialog MergeDialog renders state-specific content via early returns after all hooks. Valid today since hooks precede all returns, but any future addition of a hook call after these returns will silently break the Rules of Hooks ( 7.
Despite these issues, the core translation work is solid: all keys are properly added to all three locales, i18next plural forms are correctly used for |




Summary
Checks