andywer / andywer/laravel-js-localization
wrong behaviour when using replacements with same starting name
Open
bug
- Dominant language
- PHP
- Stars
- 143
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
I have a translation message like this:
`'items_from_to' => ':from - :to of :total'`
When translating...
```
Lang.get('items_from_to', {
from: 1,
to: 10,
total: 34
})
```
I see:
_1 - 10 of 10tal_
instead of
1 - 10 of 100
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.