From: Paul Donald Date: Tue, 3 Feb 2026 07:40:43 +0000 (+0100) Subject: luci-app-olsr: fix i18n compile warn X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=128f5ef7a2c85d13a4887b5cbf82c1c8138551c9;p=project%2Fluci.git luci-app-olsr: fix i18n compile warn Message contains an embedded URL. Better move it out of the translatable string Signed-off-by: Paul Donald --- diff --git a/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrd.js b/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrd.js index 7a4e860661..fdabf1b6ff 100644 --- a/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrd.js +++ b/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrd.js @@ -1,8 +1,8 @@ -'use strict'; -'require view'; -'require form'; -'require fs'; -'require uci'; +'use strict'; +'require view'; +'require form'; +'require fs'; +'require uci'; 'require ui'; 'require rpc'; @@ -33,12 +33,10 @@ return view.extend({ m = new form.Map( 'olsrd', _('OLSR Daemon'), - _( - 'The OLSR daemon is an implementation of the Optimized Link State Routing protocol. ' + - 'As such it allows mesh routing for any network equipment. ' + - 'It runs on any wifi card that supports ad-hoc mode and of course on any ethernet device. ' + - 'Visit olsrd.org for help and documentation.' - ) + _('The OLSR daemon is an implementation of the Optimized Link State Routing protocol. ' + + 'As such it allows mesh routing for any network equipment.') + '
' + + _('It runs on any wifi card that supports ad-hoc mode and of course on any ethernet device. ' + + 'Visit %s for help and documentation.'.format('olsrd.org')) ); diff --git a/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrd6.js b/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrd6.js index 4eac0ca4f8..4c673320ce 100644 --- a/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrd6.js +++ b/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrd6.js @@ -1,8 +1,8 @@ -'use strict'; -'require view'; -'require form'; -'require fs'; -'require uci'; +'use strict'; +'require view'; +'require form'; +'require fs'; +'require uci'; 'require ui'; 'require rpc'; @@ -33,12 +33,10 @@ return view.extend({ m = new form.Map( 'olsrd6', _('OLSR Daemon'), - _( - 'The OLSR daemon is an implementation of the Optimized Link State Routing protocol. ' + - 'As such it allows mesh routing for any network equipment. ' + - 'It runs on any wifi card that supports ad-hoc mode and of course on any ethernet device. ' + - 'Visit olsrd.org for help and documentation.' - ) + _('The OLSR daemon is an implementation of the Optimized Link State Routing protocol. ' + + 'As such it allows mesh routing for any network equipment.') + '
' + + _('It runs on any wifi card that supports ad-hoc mode and of course on any ethernet device. ' + + 'Visit %s for help and documentation.'.format('olsrd.org')) ); diff --git a/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrdiface.js b/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrdiface.js index 74b5d2bc38..ee0c483906 100644 --- a/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrdiface.js +++ b/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrdiface.js @@ -1,7 +1,7 @@ 'use strict'; 'require view'; 'require form'; -'require uci'; +'require uci'; 'require ui'; 'require tools.widgets as widgets'; @@ -14,12 +14,10 @@ return view.extend({ var m = new form.Map( 'olsrd', _('OLSR Daemon - Interface'), - _( - 'The OLSR daemon is an implementation of the Optimized Link State Routing protocol. ' + - 'As such it allows mesh routing for any network equipment. ' + - 'It runs on any wifi card that supports ad-hoc mode and of course on any ethernet device. ' + - "Visit olsrd.org for help and documentation." - ) + _('The OLSR daemon is an implementation of the Optimized Link State Routing protocol. ' + + 'As such it allows mesh routing for any network equipment.') + '
' + + _('It runs on any wifi card that supports ad-hoc mode and of course on any ethernet device. ' + + 'Visit %s for help and documentation.'.format('olsrd.org')) ); var pathname = window.location.pathname; diff --git a/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrdiface6.js b/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrdiface6.js index cc4dc693e4..344ca504e9 100644 --- a/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrdiface6.js +++ b/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrdiface6.js @@ -1,7 +1,7 @@ 'use strict'; 'require view'; 'require form'; -'require uci'; +'require uci'; 'require ui'; 'require tools.widgets as widgets'; @@ -14,12 +14,10 @@ return view.extend({ var m = new form.Map( 'olsrd6', _('OLSR Daemon - Interface'), - _( - 'The OLSR daemon is an implementation of the Optimized Link State Routing protocol. ' + - 'As such it allows mesh routing for any network equipment. ' + - 'It runs on any wifi card that supports ad-hoc mode and of course on any ethernet device. ' + - "Visit olsrd.org for help and documentation." - ) + _('The OLSR daemon is an implementation of the Optimized Link State Routing protocol. ' + + 'As such it allows mesh routing for any network equipment.') + '
' + + _('It runs on any wifi card that supports ad-hoc mode and of course on any ethernet device. ' + + 'Visit %s for help and documentation.'.format('olsrd.org')) ); var pathname = window.location.pathname;