Skip to content

Fix metric parsing in localized versions#51

Open
tekkamanendless wants to merge 1 commit intojackpal:masterfrom
threatmate:fix-parsing-default-metric
Open

Fix metric parsing in localized versions#51
tekkamanendless wants to merge 1 commit intojackpal:masterfrom
threatmate:fix-parsing-default-metric

Conversation

@tekkamanendless
Copy link
Copy Markdown
Contributor

In English, route will print On-link for an on-link route. Conveniently, On-link is a single token with no spaces. However, in Spanish, the phrase is En vínculo, which has a space in it.

This updates the field logic when parsing routes to combine any consecutive tokens that start with a letter to work around this.

In English, `route` will print `On-link` for an on-link route.
Conveniently, `On-link` is a single token with no spaces.  However,
in Spanish, the phrase is `En vínculo`, which has a space in it.

This updates the field logic when parsing routes to combine any
consecutive tokens that start with a letter to work around this.
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.

2 participants