translate via i18next
This commit is contained in:
parent
a8c9bf0c6d
commit
f54d72644b
20 changed files with 1410 additions and 155 deletions
|
|
@ -37,7 +37,7 @@ BR.Message = L.Class.extend({
|
|||
|
||||
showError: function (err) {
|
||||
if (err == 'Error: target island detected for section 0\n') {
|
||||
err = 'Error: cannot find a route for given points. Maybe try to move them closer to roads?';
|
||||
err = i18next.t('warning.no-route-found');
|
||||
}
|
||||
this._show(err, 'error');
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue