From 64860084c680999777a21310fe3a43be9cf1926c Mon Sep 17 00:00:00 2001 From: boomwwww Date: Sat, 29 Aug 2026 18:46:37 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=95=B4=E7=90=86=20.gitignore=20?= =?UTF-8?q?=E5=B9=B6=E7=A7=BB=E9=99=A4=E5=A4=B1=E6=95=88=E7=9A=84=20.vscod?= =?UTF-8?q?e=20=E4=BB=A3=E7=A0=81=E7=89=87=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删除 .vscode/translation.code-snippets(内含已失效的 useTrans 片段及模板残留) - 根 .gitignore:移除已失效的 yarn.lock 忽略规则,新增 .vscode/ 忽略规则 - 将 locales 生成文件规则从根 .gitignore 移至 packages/origine2/.gitignore - terre-android/.gitignore:移除重复的 local.properties 规则 --- .gitignore | 8 +++++--- .vscode/translation.code-snippets | 27 --------------------------- packages/origine2/.gitignore | 3 +++ packages/terre-android/.gitignore | 2 +- 4 files changed, 9 insertions(+), 31 deletions(-) delete mode 100644 .vscode/translation.code-snippets diff --git a/.gitignore b/.gitignore index ccbfa0a7c..ce82c8542 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,7 @@ node_modules .idea /release/ /bundle/ -yarn.lock + package-lock.json .DS_Store /terre-electron/ @@ -12,6 +12,8 @@ package-lock.json /steam/depot_build_*.vdf !/steam/app_build_TEMPLATE.vdf !/steam/depot_build_TEMPLATE.vdf -packages/origine2/src/locales/*.js -packages/origine2/src/locales/*.ts + .claude + +.vscode/* +!.vscode/extensions.json diff --git a/.vscode/translation.code-snippets b/.vscode/translation.code-snippets deleted file mode 100644 index ea394193d..000000000 --- a/.vscode/translation.code-snippets +++ /dev/null @@ -1,27 +0,0 @@ -{ - // Place your WebGAL_Terre 工作区 snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and - // description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope - // is left empty or omitted, the snippet gets applied to all languages. The prefix is what is - // used to trigger the snippet and the body will be expanded and inserted. Possible variables are: - // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. - // Placeholders with the same ids are connected. - // Example: - // "Print to console": { - // "scope": "javascript,typescript", - // "prefix": "log", - // "body": [ - // "console.log('$1');", - // "$2" - // ], - // "description": "Log output to console" - // } - "useTrans": { - "prefix": "uts", - "body": "const t = useTrans($0);" - }, - - "trans": { - "prefix": "t", - "body": "t($0)" - } -} \ No newline at end of file diff --git a/packages/origine2/.gitignore b/packages/origine2/.gitignore index a547bf36d..8adf7eea6 100644 --- a/packages/origine2/.gitignore +++ b/packages/origine2/.gitignore @@ -12,6 +12,9 @@ dist dist-ssr *.local +src/locales/*.js +src/locales/*.ts + # Editor directories and files .vscode/* !.vscode/extensions.json diff --git a/packages/terre-android/.gitignore b/packages/terre-android/.gitignore index d72a167d2..2b7d653a4 100644 --- a/packages/terre-android/.gitignore +++ b/packages/terre-android/.gitignore @@ -13,7 +13,7 @@ .externalNativeBuild .cxx .kotlin -local.properties + app/src/main/assets/* app/src/main/jniLibs