Make URL available for translators in CORS message

This commit is contained in:
Yohan Boniface 2023-07-25 10:13:59 +02:00
parent cd49d11e5e
commit 831d09c6e1

View file

@ -95,7 +95,8 @@ L.U.Xhr = L.Evented.extend({
// 0 === request cut by user or CORS
self.ui.alert({
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',
})