Skip to content

Commit a70da24

Browse files
committed
fix: address PR feedback - fix Korean translation typo and add missing German translation
1 parent 6a564fb commit a70da24

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

src/core/webview/webviewMessageHandler.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1507,9 +1507,9 @@ export const webviewMessageHandler = async (
15071507
rulesFolderPath = path.join(".roo", `rules-${message.slug}`)
15081508
}
15091509
} else {
1510-
// Global scope - use home directory
1511-
const homeDir = process.env.HOME || process.env.USERPROFILE || ""
1512-
rulesFolderPath = path.join(homeDir, ".roo", `rules-${message.slug}`)
1510+
// Global scope - use VSCode's environment variables
1511+
const homeDir = vscode.env.userHome
1512+
rulesFolderPath = vscode.Uri.joinPath(homeDir, ".roo", `rules-${message.slug}`).fsPath
15131513
}
15141514

15151515
// Check if the rules folder exists

src/i18n/locales/ko/common.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"delete_custom_mode_with_rules": "이 {scope} 모드를 삭제하시겠습니까?\n\n이렇게 하면 연결된 규칙 폴더도 다음 위치에서 삭제됩니다:\n{rulesFolderPath}",
2121
"delete_message": "무엇을 삭제하시겠습니까?",
2222
"just_this_message": "이 메시지만",
23-
"this_and_subsequent": "이 메시지와 모든 후seq 메시지"
23+
"this_and_subsequent": "이 메시지와 모든 후속 메시지"
2424
},
2525
"errors": {
2626
"invalid_data_uri": "잘못된 데이터 URI 형식",

src/i18n/locales/vi/common.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,13 @@
158158
"deleteMode": {
159159
"title": "Xóa chế độ tùy chỉnh",
160160
"description": "Bạn có chắc chắn muốn xóa chế độ {{scope}} này không? Thao tác này cũng θα xóa thư mục quy tắc liên quan tại {{rulesFolderPath}}",
161+
"translations": {
162+
"title": "Xóa chế độ",
163+
"description": "Bạn có chắc chắn muốn xóa chế độ này không?",
164+
"deleteMessage": "Chỉ chế độ này",
165+
"rulesFolderMessage": "Thư mục quy tắc cũng sẽ bị xóa nếu tồn tại.",
166+
"deleteConfirmation": "Chắc chắn xóa chế độ này?"
167+
},
161168
"descriptionNoRules": "Bạn có chắc chắn muốn xóa chế độ tùy chỉnh này không?",
162169
"cancel": "Hủy",
163170
"confirm": "Xóa"

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@
169169
"title": "Modus löschen",
170170
"message": "Möchten Sie den Modus \"{{modeName}}\" wirklich löschen?",
171171
"rulesFolder": "Dieser Modus hat einen Regelordner unter {{folderPath}}, der ebenfalls gelöscht wird.",
172+
"descriptionNoRules": "Möchten Sie diesen benutzerdefinierten Modus wirklich löschen?",
172173
"confirm": "Löschen",
173174
"cancel": "Abbrechen"
174175
}

0 commit comments

Comments
 (0)