Skip to content

wrong behaviour when using replacements with same starting name  #70

Open
@sebsobseb

Description

@sebsobseb

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions