luci-app-olsr: fix i18n compile warn
authorPaul Donald <newtwen+github@gmail.com>
Tue, 3 Feb 2026 07:40:43 +0000 (08:40 +0100)
committerPaul Donald <newtwen+github@gmail.com>
Tue, 3 Feb 2026 07:49:04 +0000 (08:49 +0100)
Message contains an embedded URL.
Better move it out of the translatable string

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrd.js
applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrd6.js
applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrdiface.js
applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrdiface6.js

index 7a4e8606613a1542b9264066d5834508f637252b..fdabf1b6ffed90181329c53abdd6d6a31c3532bd 100644 (file)
@@ -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 <a href="http://www.olsr.org">olsrd.org</a> 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.') + '<br/>' +
+                       _('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('<a href="http://www.olsr.org">olsrd.org</a>'))
                );
 
 
index 4eac0ca4f8daf9b9fcec9ff7b07d36ffe04cc04d..4c673320ce4abe20f7b2953f37766f817bffd49c 100644 (file)
@@ -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 <a href="http://www.olsr.org">olsrd.org</a> 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.') + '<br/>' +
+                       _('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('<a href="http://www.olsr.org">olsrd.org</a>'))
                );
 
 
index 74b5d2bc38d42484f0fcd26242641f2c143a954c..ee0c4839068ebf825ec4af76c658bb1f51ef8c9f 100644 (file)
@@ -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 <a href='http://www.olsr.org'>olsrd.org</a> 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.') + '<br/>' +
+                       _('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('<a href="http://www.olsr.org">olsrd.org</a>'))
                );
 
                var pathname = window.location.pathname;
index cc4dc693e4f9dad1ce477cc85d9e5df7de7636cb..344ca504e9544cd420ab86da2c6d44cdcce2fc2b 100644 (file)
@@ -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 <a href='http://www.olsr.org'>olsrd.org</a> 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.') + '<br/>' +
+                       _('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('<a href="http://www.olsr.org">olsrd.org</a>'))
                );
 
                var pathname = window.location.pathname;