Conversation
|
@codex[agent] review this |
|
@mojimoon The model is not available for your account. This can happen if the model was disabled by your organization's policy or if your Copilot plan doesn't include access to it. You can try again without specifying a model (just If you want to contact GitHub about this error, please mention the following identifier so they can better serve you: |
1 similar comment
|
@mojimoon The model is not available for your account. This can happen if the model was disabled by your organization's policy or if your Copilot plan doesn't include access to it. You can try again without specifying a model (just If you want to contact GitHub about this error, please mention the following identifier so they can better serve you: |
|
@copilot review this |
|
@mojimoon The model is not available for your account. This can happen if the model was disabled by your organization's policy or if your Copilot plan doesn't include access to it. You can try again without specifying a model (just If you want to contact GitHub about this error, please mention the following identifier so they can better serve you: |
|
@mojimoon The model is not available for your account. This can happen if the model was disabled by your organization's policy or if your Copilot plan doesn't include access to it. You can try again without specifying a model (just If you want to contact GitHub about this error, please mention the following identifier so they can better serve you: |
2 similar comments
|
@mojimoon The model is not available for your account. This can happen if the model was disabled by your organization's policy or if your Copilot plan doesn't include access to it. You can try again without specifying a model (just If you want to contact GitHub about this error, please mention the following identifier so they can better serve you: |
|
@mojimoon The model is not available for your account. This can happen if the model was disabled by your organization's policy or if your Copilot plan doesn't include access to it. You can try again without specifying a model (just If you want to contact GitHub about this error, please mention the following identifier so they can better serve you: |
I reviewed the current PR changes on this branch and didn’t find additional actionable issues to update in code at this time. If you want, I can do a focused pass on a specific file or behavior. |
This pull request significantly expands the codebase to support full multi-language output for all game data, not just English and Chinese. It introduces a new list of supported languages, updates all data structures and effect text generation to handle all languages, and adds utilities to prune data for per-language output. The changes ensure that every relevant text field (names, effect descriptions, UI strings, etc.) is now available in all supported languages and can be efficiently reduced to a single language for frontend consumption.
Multi-language support and data structure updates:
LANGS(list of supported languages) andLANG_META(native language names) at the top ofmain.pyfor consistent language handling throughout the codebase.LANGS, rather than just'en'and'zh'. This affects translation loading, merged translation handling, effect text dicts, and special-case metadata. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]Per-language pruning utilities:
_prune_*functions to reduce multi-language data structures to a single language, including effect texts, special metadata, weapons, items, characters, and sets. The main entry point isprune_data_for_lang, which produces a data dict containing only the selected language's text and UI strings for frontend use.UI strings and metadata:
load_ui_stringsto load per-language UI strings and integrate them into the per-language data output.Consistent multi-language naming:
name_fr,name_ja, etc.), and the pruning logic extracts only the relevant name for the selected language. [1] [2] [3] [4]Improved translation merging logic:
These changes lay the groundwork for robust multi-language support across the entire data pipeline and frontend.