Browse Source

chore: move glossary

adamelmore 6 months ago
parent
commit
b368181ac9

+ 4 - 4
.github/workflows/docs-locale-sync.yml

@@ -65,9 +65,9 @@ jobs:
                   "packages/web/src/content/docs/*/*.mdx": "allow",
                   ".opencode": "allow",
                   ".opencode/agent": "allow",
-                  ".opencode/agent/glossary": "allow",
+                  ".opencode/glossary": "allow",
                   ".opencode/agent/translator.md": "allow",
-                  ".opencode/agent/glossary/*.md": "allow"
+                  ".opencode/glossary/*.md": "allow"
                 },
                 "edit": {
                   "*": "deny",
@@ -76,7 +76,7 @@ jobs:
                 "glob": {
                   "*": "deny",
                   "packages/web/src/content/docs*": "allow",
-                  ".opencode/agent/glossary*": "allow"
+                  ".opencode/glossary*": "allow"
                 },
                 "task": {
                   "*": "deny",
@@ -90,7 +90,7 @@ jobs:
                     "read": {
                       "*": "deny",
                       ".opencode/agent/translator.md": "allow",
-                      ".opencode/agent/glossary/*.md": "allow"
+                      ".opencode/glossary/*.md": "allow"
                     }
                   }
                 }

+ 1 - 1
.opencode/agent/translator.md

@@ -13,7 +13,7 @@ Requirements:
 - Preserve meaning, intent, tone, and formatting (including Markdown/MDX structure).
 - Preserve all technical terms and artifacts exactly: product/company names, API names, identifiers, code, commands/flags, file paths, URLs, versions, error messages, config keys/values, and anything inside inline code or code blocks.
 - Also preserve every term listed in the Do-Not-Translate glossary below.
-- Also apply locale-specific guidance from `.opencode/agent/glossary/<locale>.md` when available (for example, `zh-cn.md`).
+- Also apply locale-specific guidance from `.opencode/glossary/<locale>.md` when available (for example, `zh-cn.md`).
 - Do not modify fenced code blocks.
 - Output ONLY the translation (no commentary).
 

+ 0 - 0
.opencode/agent/glossary/README.md → .opencode/glossary/README.md


+ 0 - 0
.opencode/agent/glossary/ar.md → .opencode/glossary/ar.md


+ 0 - 0
.opencode/agent/glossary/br.md → .opencode/glossary/br.md


+ 0 - 0
.opencode/agent/glossary/bs.md → .opencode/glossary/bs.md


+ 0 - 0
.opencode/agent/glossary/da.md → .opencode/glossary/da.md


+ 0 - 0
.opencode/agent/glossary/de.md → .opencode/glossary/de.md


+ 0 - 0
.opencode/agent/glossary/es.md → .opencode/glossary/es.md


+ 0 - 0
.opencode/agent/glossary/fr.md → .opencode/glossary/fr.md


+ 0 - 0
.opencode/agent/glossary/ja.md → .opencode/glossary/ja.md


+ 0 - 0
.opencode/agent/glossary/ko.md → .opencode/glossary/ko.md


+ 0 - 0
.opencode/agent/glossary/no.md → .opencode/glossary/no.md


+ 0 - 0
.opencode/agent/glossary/pl.md → .opencode/glossary/pl.md


+ 0 - 0
.opencode/agent/glossary/ru.md → .opencode/glossary/ru.md


+ 0 - 0
.opencode/agent/glossary/th.md → .opencode/glossary/th.md


+ 0 - 0
.opencode/agent/glossary/zh-cn.md → .opencode/glossary/zh-cn.md


+ 0 - 0
.opencode/agent/glossary/zh-tw.md → .opencode/glossary/zh-tw.md