Make URL available for translators in CORS message
This commit is contained in:
parent
cd49d11e5e
commit
831d09c6e1
1 changed files with 2 additions and 1 deletions
|
@ -95,7 +95,8 @@ L.U.Xhr = L.Evented.extend({
|
||||||
// 0 === request cut by user or CORS
|
// 0 === request cut by user or CORS
|
||||||
self.ui.alert({
|
self.ui.alert({
|
||||||
content: L._(
|
content: L._(
|
||||||
'Issue reaching that URL (network problem or CORS protection)' + ` ${settings.uri}`
|
'Issue reaching that URL (network problem or CORS protection): {url}',
|
||||||
|
{ url: settings.uri }
|
||||||
),
|
),
|
||||||
level: 'error',
|
level: 'error',
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue