Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the generated project template’s i18n coverage for the CLI by adding missing locale strings and wiring CLI help/output to translated message keys (notably for the Insights event logging options and the Payment CLI).
Changes:
- Added new i18n keys for Insights (
opt_lookback_days, event date/category options, date-format validation, “today”, and a dated event log message) across locales. - Added comprehensive Payment CLI i18n keys (command help, option help, table labels, and runtime messages) across locales.
- Updated the template CLI commands (
insights.py.jinja,payment.py.jinja) to uselazy_t(...)for help text andt(...)for runtime strings.
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| aegis/templates/copier-aegis-project/{{ project_slug }}/app/i18n/locales/en.py | Adds new Insights/Payment translation keys used by CLI templates. |
| aegis/templates/copier-aegis-project/{{ project_slug }}/app/i18n/locales/de.py | Adds new Insights/Payment translation keys used by CLI templates. |
| aegis/templates/copier-aegis-project/{{ project_slug }}/app/i18n/locales/es.py | Adds new Insights/Payment translation keys used by CLI templates. |
| aegis/templates/copier-aegis-project/{{ project_slug }}/app/i18n/locales/fr.py | Adds new Insights/Payment translation keys used by CLI templates. |
| aegis/templates/copier-aegis-project/{{ project_slug }}/app/i18n/locales/ja.py | Adds new Insights/Payment translation keys used by CLI templates. |
| aegis/templates/copier-aegis-project/{{ project_slug }}/app/i18n/locales/ko.py | Adds new Insights/Payment translation keys used by CLI templates. |
| aegis/templates/copier-aegis-project/{{ project_slug }}/app/i18n/locales/ru.py | Adds new Insights/Payment translation keys used by CLI templates. |
| aegis/templates/copier-aegis-project/{{ project_slug }}/app/i18n/locales/zh.py | Adds missing Insights options + Payment translation keys used by CLI templates. |
| aegis/templates/copier-aegis-project/{{ project_slug }}/app/i18n/locales/zh_hant.py | Adds new Insights/Payment translation keys used by CLI templates. |
| aegis/templates/copier-aegis-project/{{ project_slug }}/app/cli/insights.py.jinja | Replaces hardcoded English option/help/error strings with i18n keys. |
| aegis/templates/copier-aegis-project/{{ project_slug }}/app/cli/payment.py.jinja | Switches command/option help + runtime CLI output to i18n keys. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.