Skip to content

fix: keep the key when t from useLingui is used as a shorthand property - #281

Merged
andrii-bodnar merged 1 commit into
mainfrom
fix/use-lingui-shorthand-prop
Oct 8, 2026
Merged

andrii-bodnar merged 1 commit into
mainfrom
fix/use-lingui-shorthand-prop

fix: keep the key when `t` from `useLingui` is used as a shorthand pr…

a10b7f1
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Oct 8, 2026 in 1s

94.42% (-0.02%) compared to 32bb27a

View this Pull Request on Codecov

94.42% (-0.02%) compared to 32bb27a

Details

Codecov Report

❌ Patch coverage is 90.90909% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 94.42%. Comparing base (32bb27a) to head (a10b7f1).

Files with missing lines Patch % Lines
crates/lingui_macro/src/lib.rs 90.90% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #281      +/-   ##
==========================================
- Coverage   94.44%   94.42%   -0.02%     
==========================================
  Files          11       11              
  Lines        2518     2529      +11     
==========================================
+ Hits         2378     2388      +10     
- Misses        140      141       +1     
Files with missing lines Coverage Δ
crates/lingui_macro/src/lib.rs 91.45% <90.90%> (-0.02%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.