Skip to content

Update i18n#647

Merged
lbedner merged 1 commit intomainfrom
update-i18n
Apr 28, 2026
Merged

Update i18n#647
lbedner merged 1 commit intomainfrom
update-i18n

Conversation

@lbedner
Copy link
Copy Markdown
Owner

@lbedner lbedner commented Apr 28, 2026

No description provided.

Copilot AI review requested due to automatic review settings April 28, 2026 18:33
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 use lazy_t(...) for help text and t(...) 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.

@lbedner lbedner merged commit d81fcca into main Apr 28, 2026
8 checks passed
@lbedner lbedner deleted the update-i18n branch April 28, 2026 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants