diff --git a/tools/codex-parallel-translate/.gitignore b/tools/codex-parallel-translate/.gitignore new file mode 100644 index 00000000..53353713 --- /dev/null +++ b/tools/codex-parallel-translate/.gitignore @@ -0,0 +1,2 @@ +target/ +.mooncakes/ \ No newline at end of file diff --git a/tools/codex-parallel-translate/README.md b/tools/codex-parallel-translate/README.md new file mode 100644 index 00000000..3b58efe3 --- /dev/null +++ b/tools/codex-parallel-translate/README.md @@ -0,0 +1,9 @@ +# Parallel Batch Example + +Run: + +```bash +moon run . +``` + +Adjust `parallelism` in `main.mbt` to control concurrency. diff --git a/tools/codex-parallel-translate/main.mbt b/tools/codex-parallel-translate/main.mbt new file mode 100644 index 00000000..c08bc6c8 --- /dev/null +++ b/tools/codex-parallel-translate/main.mbt @@ -0,0 +1,99 @@ +struct Task { + label : String + prompt : String +} +async fn run_task(codex : @codex.Codex, task : Task) -> String { + let thread = codex.start_thread( + options=@codex.ThreadOptions::new( + working_directory="/Users/yezihang/Documents/program/idea/moonbit-docs", + model?=@sys.get_env_vars().get("MODEL"), + ), + ) + let turn = thread.run(task.prompt) catch { + e => return "error: \{e}" + } + return "# \{task.label}\n\{turn.final_response}\n" +} + +async fn main { + let tasks : Array[Task] = [ + { label: "Batch 01", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language.po\n" }, + { label: "Batch 02", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/example.po\n" }, + { label: "Batch 03", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/toolchain.po\n" }, + { label: "Batch 04", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/fundamentals.po\n" }, + { label: "Batch 05", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/tutorial.po\n" }, + { label: "Batch 06", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/tutorial/for-go-programmers/index.po\n" }, + { label: "Batch 07", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/pilot.po\n" }, + { label: "Batch 08", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/example/gmachine/gmachine-1.po\n" }, + { label: "Batch 09", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/toolchain/moon/commands.po\n" }, + { label: "Batch 10", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/toolchain/moon/package.po\n" }, + { label: "Batch 11", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/ffi.po\n" }, + { label: "Batch 12", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/example/gmachine/gmachine-3.po\n" }, + { label: "Batch 13", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/methods.po\n" }, + { label: "Batch 14", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/packages.po\n" }, + { label: "Batch 15", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/tutorial/tour.po\n" }, + { label: "Batch 16", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/attributes.po\n" }, + { label: "Batch 17", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/example/myers-diff/myers-diff.po\n" }, + { label: "Batch 18", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/example/gmachine/gmachine-2.po\n" }, + { label: "Batch 19", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/example/sudoku/index.po\n" }, + { label: "Batch 20", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/example/lambda/index.po\n" }, + { label: "Batch 21", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/toolchain/moon/module.po\n" }, + { label: "Batch 22", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/example/segment-tree/segment-tree.po\n" }, + { label: "Batch 23", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/toolchain/wasm/component-model-tutorial.po\n- next/locales/zh_CN/LC_MESSAGES/example/segment-tree/segment-tree2.po\n" }, + { label: "Batch 24", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/pilot/moonbit-pilot/model-configuration.po\n- next/locales/zh_CN/LC_MESSAGES/language/derive.po\n" }, + { label: "Batch 25", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/toolchain/moon/tutorial.po\n- next/locales/zh_CN/LC_MESSAGES/example/myers-diff/myers-diff3.po\n" }, + { label: "Batch 26", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/pilot/moonbit-pilot/getting-started.po\n- next/locales/zh_CN/LC_MESSAGES/language/error-handling.po\n" }, + { label: "Batch 27", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/async-experimental.po\n- next/locales/zh_CN/LC_MESSAGES/toolchain/moon/package-manage-tour.po\n- next/locales/zh_CN/LC_MESSAGES/language/introduction.po\n" }, + { label: "Batch 28", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/toolchain/moon/coverage.po\n- next/locales/zh_CN/LC_MESSAGES/language/tests.po\n- next/locales/zh_CN/LC_MESSAGES/example/myers-diff/myers-diff2.po\n" }, + { label: "Batch 29", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/benchmarks.po\n- next/locales/zh_CN/LC_MESSAGES/pilot/moonbit-pilot/git-integration.po\n- next/locales/zh_CN/LC_MESSAGES/pilot/moonbit-pilot/commands.po\n- next/locales/zh_CN/LC_MESSAGES/pilot/moonbit-pilot/conversations.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0013.po\n" }, + { label: "Batch 30", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/toolchain/vscode/index.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4053.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4104.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4108.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4122.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E2000.po\n- next/locales/zh_CN/LC_MESSAGES/pilot/moonbit-pilot/configuration.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0006.po\n" }, + { label: "Batch 31", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0002.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4061.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4069.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0017.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0003.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4051.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4110.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4073.po\n" }, + { label: "Batch 32", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4094.po\n- next/locales/zh_CN/LC_MESSAGES/language/docs.po\n- next/locales/zh_CN/LC_MESSAGES/example/segment-tree/index.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4068.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0001.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4135.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4037.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0009.po\n" }, + { label: "Batch 33", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/index.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0018.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0012.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4095.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0007.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4106.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0004.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4087.po\n" }, + { label: "Batch 34", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4113.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4001.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4065.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0053.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4067.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4101.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0041.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0011.po\n" }, + { label: "Batch 35", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4130.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4121.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0036.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4141.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4074.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4059.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4120.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4145.po\n" }, + { label: "Batch 36", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4144.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4142.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4071.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4042.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4038.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0022.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0027.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4063.po\n" }, + { label: "Batch 37", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4133.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4018.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3800.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3018.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4103.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4125.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4081.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4102.po\n" }, + { label: "Batch 38", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4151.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0032.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0005.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0031.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4043.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0042.po\n- next/locales/zh_CN/LC_MESSAGES/toolchain/wasm/index.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4086.po\n" }, + { label: "Batch 39", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4136.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3012.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4013.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4100.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4080.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0052.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4131.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0026.po\n" }, + { label: "Batch 40", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4070.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4020.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4134.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4156.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4050.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4143.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3001.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4024.po\n" }, + { label: "Batch 41", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4085.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0056.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4017.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3009.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4036.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4114.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4148.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4002.po\n" }, + { label: "Batch 42", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0010.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0043.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4006.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4005.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4034.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4147.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4046.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4139.po\n" }, + { label: "Batch 43", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4084.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3019.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4107.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4089.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4146.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4138.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3002.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0049.po\n" }, + { label: "Batch 44", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/example/gmachine/index.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4010.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0021.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0050.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4007.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4040.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4118.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4044.po\n" }, + { label: "Batch 45", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4155.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3016.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3005.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4109.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4117.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3010.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4008.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4029.po\n" }, + { label: "Batch 46", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4033.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4021.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0055.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4163.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3014.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4159.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4119.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0019.po\n" }, + { label: "Batch 47", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4091.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4028.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4009.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0029.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0015.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4082.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4127.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4003.po\n" }, + { label: "Batch 48", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4160.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4077.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4132.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4140.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4153.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4164.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4039.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4064.po\n" }, + { label: "Batch 49", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4011.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4162.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4015.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4000.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3003.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4078.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4112.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4014.po\n" }, + { label: "Batch 50", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4019.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0046.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3017.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4111.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4137.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4041.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4027.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4056.po\n" }, + { label: "Batch 51", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4093.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4031.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3006.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3020.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4075.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4115.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4023.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4096.po\n" }, + { label: "Batch 52", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0035.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0057.po\n- next/locales/zh_CN/LC_MESSAGES/toolchain/index.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0037.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0051.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4012.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4154.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0030.po\n" }, + { label: "Batch 53", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0044.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4116.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4049.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3011.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4052.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0008.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0028.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4004.po\n" }, + { label: "Batch 54", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3008.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0023.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4158.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3004.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4149.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4124.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/index.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4099.po\n" }, + { label: "Batch 55", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4167.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3007.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4157.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0024.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4048.po\n- next/locales/zh_CN/LC_MESSAGES/tutorial/index.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4055.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4057.po\n" }, + { label: "Batch 56", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4128.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4047.po\n- next/locales/zh_CN/LC_MESSAGES/pilot/index.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E1001.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4092.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4054.po\n- next/locales/zh_CN/LC_MESSAGES/example/index.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4016.po\n" }, + { label: "Batch 57", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0020.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0016.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4032.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0033.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4066.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0039.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0038.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3015.po\n" }, + { label: "Batch 58", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4105.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0054.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0040.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0034.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0045.po\n- next/locales/zh_CN/LC_MESSAGES/toolchain/moon/index.po\n- next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0014.po\n- next/locales/zh_CN/LC_MESSAGES/pilot/moonbit-pilot/index.po\n" }, + { label: "Batch 59", prompt: "You are translating MoonBit docs .po files to zh_CN.\nRules:\n- For each entry with empty msgstr or with a fuzzy flag (the '#, fuzzy' line), provide a correct Chinese translation and remove the fuzzy line.\n- Do not change msgid, source references, or formatting.\n- Keep inline code, code identifiers, and URLs unchanged.\n- If msgid is a pure code block/diagram with no natural-language comments or labels, copy it into msgstr unchanged.\n- If code blocks/diagrams contain comments or natural-language labels, translate only those comments/labels while keeping code/structure unchanged.\n- Preserve escaping, punctuation, and line breaks.\n- Edit only the files listed below.\n\nFiles:\n- next/locales/zh_CN/LC_MESSAGES/example/myers-diff/index.po\n" }, + ] + let codex = @codex.Codex::new() + let results : Array[String] = [] + let parallelism = 4 + @async.with_task_group(fn(task_group) { + let semaphore = @semaphore.Semaphore::new(parallelism) + for task in tasks { + task_group.spawn_bg(allow_failure=true, fn() { + semaphore.acquire() + defer semaphore.release() + let output = run_task(codex, task) catch { + e => "error: \{e}" + } + results.push(output) + }) + } + }) + for item in results { + @stdio.stdout.write("\{item}\n") + } +} diff --git a/tools/codex-parallel-translate/moon.mod.json b/tools/codex-parallel-translate/moon.mod.json new file mode 100644 index 00000000..8155247c --- /dev/null +++ b/tools/codex-parallel-translate/moon.mod.json @@ -0,0 +1,10 @@ +{ + "name": "codex_parallel_batch", + "version": "0.1.0", + "deps": { + "peter-jerry-ye/codex": "0.47.2", + "moonbitlang/async": "0.14.3", + "moonbitlang/x": "0.4.38" + }, + "preferred-target": "native" +} diff --git a/tools/codex-parallel-translate/moon.pkg.json b/tools/codex-parallel-translate/moon.pkg.json new file mode 100644 index 00000000..7b3c0e80 --- /dev/null +++ b/tools/codex-parallel-translate/moon.pkg.json @@ -0,0 +1,10 @@ +{ + "is-main": true, + "import": [ + "peter-jerry-ye/codex", + "moonbitlang/async", + "moonbitlang/async/semaphore", + "moonbitlang/async/stdio", + "moonbitlang/x/sys" + ] +} diff --git a/tools/codex-parallel-translate/tasks.json b/tools/codex-parallel-translate/tasks.json new file mode 100644 index 00000000..34153c4c --- /dev/null +++ b/tools/codex-parallel-translate/tasks.json @@ -0,0 +1,394 @@ +[ + [ + "next/locales/zh_CN/LC_MESSAGES/language.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/example.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/toolchain.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/fundamentals.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/tutorial.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/tutorial/for-go-programmers/index.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/pilot.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/example/gmachine/gmachine-1.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/toolchain/moon/commands.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/toolchain/moon/package.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/ffi.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/example/gmachine/gmachine-3.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/methods.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/packages.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/tutorial/tour.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/attributes.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/example/myers-diff/myers-diff.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/example/gmachine/gmachine-2.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/example/sudoku/index.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/example/lambda/index.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/toolchain/moon/module.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/example/segment-tree/segment-tree.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/toolchain/wasm/component-model-tutorial.po", + "next/locales/zh_CN/LC_MESSAGES/example/segment-tree/segment-tree2.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/pilot/moonbit-pilot/model-configuration.po", + "next/locales/zh_CN/LC_MESSAGES/language/derive.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/toolchain/moon/tutorial.po", + "next/locales/zh_CN/LC_MESSAGES/example/myers-diff/myers-diff3.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/pilot/moonbit-pilot/getting-started.po", + "next/locales/zh_CN/LC_MESSAGES/language/error-handling.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/async-experimental.po", + "next/locales/zh_CN/LC_MESSAGES/toolchain/moon/package-manage-tour.po", + "next/locales/zh_CN/LC_MESSAGES/language/introduction.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/toolchain/moon/coverage.po", + "next/locales/zh_CN/LC_MESSAGES/language/tests.po", + "next/locales/zh_CN/LC_MESSAGES/example/myers-diff/myers-diff2.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/benchmarks.po", + "next/locales/zh_CN/LC_MESSAGES/pilot/moonbit-pilot/git-integration.po", + "next/locales/zh_CN/LC_MESSAGES/pilot/moonbit-pilot/commands.po", + "next/locales/zh_CN/LC_MESSAGES/pilot/moonbit-pilot/conversations.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0013.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/toolchain/vscode/index.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4053.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4104.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4108.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4122.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E2000.po", + "next/locales/zh_CN/LC_MESSAGES/pilot/moonbit-pilot/configuration.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0006.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0002.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4061.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4069.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0017.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0003.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4051.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4110.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4073.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4094.po", + "next/locales/zh_CN/LC_MESSAGES/language/docs.po", + "next/locales/zh_CN/LC_MESSAGES/example/segment-tree/index.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4068.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0001.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4135.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4037.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0009.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/index.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0018.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0012.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4095.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0007.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4106.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0004.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4087.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4113.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4001.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4065.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0053.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4067.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4101.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0041.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0011.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4130.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4121.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0036.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4141.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4074.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4059.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4120.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4145.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4144.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4142.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4071.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4042.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4038.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0022.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0027.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4063.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4133.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4018.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3800.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3018.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4103.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4125.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4081.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4102.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4151.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0032.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0005.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0031.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4043.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0042.po", + "next/locales/zh_CN/LC_MESSAGES/toolchain/wasm/index.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4086.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4136.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3012.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4013.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4100.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4080.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0052.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4131.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0026.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4070.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4020.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4134.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4156.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4050.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4143.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3001.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4024.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4085.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0056.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4017.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3009.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4036.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4114.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4148.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4002.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0010.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0043.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4006.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4005.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4034.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4147.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4046.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4139.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4084.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3019.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4107.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4089.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4146.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4138.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3002.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0049.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/example/gmachine/index.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4010.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0021.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0050.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4007.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4040.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4118.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4044.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4155.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3016.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3005.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4109.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4117.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3010.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4008.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4029.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4033.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4021.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0055.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4163.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3014.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4159.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4119.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0019.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4091.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4028.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4009.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0029.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0015.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4082.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4127.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4003.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4160.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4077.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4132.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4140.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4153.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4164.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4039.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4064.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4011.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4162.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4015.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4000.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3003.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4078.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4112.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4014.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4019.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0046.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3017.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4111.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4137.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4041.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4027.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4056.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4093.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4031.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3006.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3020.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4075.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4115.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4023.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4096.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0035.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0057.po", + "next/locales/zh_CN/LC_MESSAGES/toolchain/index.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0037.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0051.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4012.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4154.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0030.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0044.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4116.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4049.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3011.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4052.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0008.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0028.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4004.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3008.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0023.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4158.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3004.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4149.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4124.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/index.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4099.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4167.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3007.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4157.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0024.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4048.po", + "next/locales/zh_CN/LC_MESSAGES/tutorial/index.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4055.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4057.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4128.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4047.po", + "next/locales/zh_CN/LC_MESSAGES/pilot/index.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E1001.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4092.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4054.po", + "next/locales/zh_CN/LC_MESSAGES/example/index.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4016.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0020.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0016.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4032.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0033.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4066.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0039.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0038.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E3015.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E4105.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0054.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0040.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0034.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0045.po", + "next/locales/zh_CN/LC_MESSAGES/toolchain/moon/index.po", + "next/locales/zh_CN/LC_MESSAGES/language/error_codes/E0014.po", + "next/locales/zh_CN/LC_MESSAGES/pilot/moonbit-pilot/index.po" + ], + [ + "next/locales/zh_CN/LC_MESSAGES/example/myers-diff/index.po" + ] +] \ No newline at end of file