cannot reassigned interface or modify interface

Started by shproto, July 31, 2022, 03:53:12 PM

Previous topic - Next topic
hi,

since version 22.7 , interface's menu not working well

if i activate new network port to interface OPT1 or OPT2, interface s configuration IPV4 or IPV6 ( or lock ) is not visible or possible to be save


Quote[31-Jul-2022 15:33:18 Europe/Paris] PHP Fatal error:  Uncaught ValueError: Unknown format specifier "D" in /usr/local/www/interfaces.php:2315[/size]Stack trace: #0 /usr/local/www/interfaces.php(2315): sprintf('Les valeurs de ...', '


another symptom, may be same issue as https://forum.opnsense.org/index.php?topic=29559.0
cannot change any thing in interface menu, save button is not visible



same pb with translate field :

Services => HAProxy => Parameters



[04-Aug-2022 17:25:14 Europe/Paris] ValueError: Missing format specifier at end of string in /usr/local/opnsense/mvc/app/cache/_usr_local_opnsense_mvc_app_views_opnsense_haproxy_index.volt.php:674
Stack trace:
#0 /usr/local/opnsense/mvc/app/cache/_usr_local_opnsense_mvc_app_views_opnsense_haproxy_index.volt.php(674): sprintf('Plus d'inf...', '', '', '')



Quote<p><?= sprintf($lang->_('Further information is available in our %sHAProxy plugin documentation%s and of course in the %sofficial

changed to

Quote<p><?= sprintf($lang->_('Further information is available in our %sHAProxy plugin documentation%s and of course in the %s official

Thanks but I fixed this and a lot of other things in Italian already.

https://github.com/opnsense/lang/commit/830bb0fad0f

It has to wait for 22.7.1 to come out.


Cheers,
Franco


thx a lot,

another fix if service was not enabled
( same syntax fix , line 674 )

diff /usr/local/opnsense/mvc/app/cache/_usr_local_opnsense_mvc_app_views_opnsense_haproxy_index.volt.php /usr/local/opnsense/mvc/app/cache/_usr_local_opnsense_mvc_app_views_opnsense_haproxy_index.volt.php.DEFO

Quote
674c674
<             <p><?= sprintf($lang->_('Further information is available in our %sHAProxy plugin documentation%s and of course in the %s official HAProxy documentation%s . Be sure to report bugs and request features on our %sGitHub issue page%s . Code contributions are also very welcome!'), '<a href="https://docs.opnsense.org/manual/how-tos/haproxy.html" target="_blank">', '</a>', '<a href="http://cbonte.github.io/haproxy-dconv/2.4/configuration.html" target="_blank">', '</a>', '<a href="https://github.com/opnsense/plugins/issues/" target="_blank">', '</a>') ?></p>
---
>             <p><?= sprintf($lang->_('Further information is available in our %sHAProxy plugin documentation%s and of course in the %sofficial HAProxy documentation%s. Be sure to report bugs and request features on our %sGitHub issue page%s. Code contributions are also very welcome!'), '<a href="https://docs.opnsense.org/manual/how-tos/haproxy.html" target="_blank">', '</a>', '<a href="http://cbonte.github.io/haproxy-dconv/2.4/configuration.html" target="_blank">', '</a>', '<a href="https://github.com/opnsense/plugins/issues/" target="_blank">', '</a>') ?></p>

ok thx for lot of other :)
sry, I didn't see your other message

You can try the latest changes via:

# pkg install -A gettext-tools
# opnsense-code -u lang


Cheers,
Franco