Skip to content

Add Spanish locale and Euro PDF test coverage - #57

Closed
hugoarbones wants to merge 2 commits into
by-cx:masterfrom
hugoarbones:copilot/create-euros-and-spanish-support
Closed

hugoarbones wants to merge 2 commits into
by-cx:masterfrom
hugoarbones:copilot/create-euros-and-spanish-support

Conversation

@hugoarbones

Copy link
Copy Markdown

No description provided.

Co-authored-by: hugoarbones <32848906+hugoarbones@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings September 1, 2026 09:37

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The new test mutates process-wide environment and creates a persistent temp file without cleanup, which can leak state/artifacts across the test suite.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Adds Spanish (es) localization support and validates Euro-formatted output in generated PDFs, improving multi-locale invoice generation confidence.

Changes:

  • Added a Spanish/Euro-focused PDF generation test.
  • Documented how to enable Spanish language and Euro formatting in the README.
  • Introduced Spanish gettext translations (messages.po) for invoice/PDF labels.
File summaries
File Description
tests/test_pdf.py Adds a new test asserting Spanish labels and EUR formatting appear in the generated PDF text.
README.rst Documents environment and invoice settings for Spanish + Euro formatting.
InvoiceGenerator/locale/es/LC_MESSAGES/messages.po Adds Spanish translations for invoice/PDF UI strings.
Review details
  • Files reviewed: 3/4 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread tests/test_pdf.py Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@hugoarbones
hugoarbones marked this pull request as draft September 1, 2026 10:09
@hugoarbones hugoarbones closed this Sep 1, 2026
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.

3 participants