Skip to content

Conversation

@stifskere
Copy link
Owner

@stifskere stifskere commented May 11, 2025

Pre-submission Checklist

  • I've checked existing issues and pull requests
  • I've read the Code of Conduct
  • Are tests implemented for my changes
  • I've listed all my changes in the Changes section

Changes

  • Refactor translation! to support context structs
  • Replaced #[translation_context] with a derive macro instantiated from translation!
  • Wrap quote! with inline_quote!
  • Add configuration support for fallback translation
  • Remove Result handling requirement if fallback translation is present
  • Change all translation resolving on parsing instead of on generating.
  • Refactored error system to merge spans and generate multiple errors at the same time.

Linked Issues

stifskere and others added 30 commits March 24, 2025 19:26
Macro basic handling and working
@stifskere stifskere requested a review from chikof May 11, 2025 16:47
@stifskere stifskere self-assigned this May 11, 2025
@stifskere stifskere added this to the 2.0 milestone May 11, 2025
@codecov
Copy link

codecov bot commented May 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@stifskere stifskere changed the title Feat/fallback languages Fallback languages improved error system May 23, 2025
@stifskere
Copy link
Owner Author

Closed in favor of #32

@stifskere stifskere closed this Jul 20, 2025
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.

[FEATURE] Improve error system prior 2.0 [FEATURE] Implement static fallback languages

4 participants