-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add enable link to Status > UPnP & NAT-PMP error message if disabled (Todo #6689) #3290
Conversation
@doktornotor please do not update .pot file manually. When it's required, just add a note on PR and I can run script to re-generate it after merge |
Oh, you have a script now? Great to know, I'd rather never touch the giant blob again, it's a big pain. |
@doktornotor yes, it's on ./tools/scripts/update_pot.sh :) |
@rbgarga - Grrrh... should have known earlier. Definitely will avoid touching the pot thing in future, thanks for the pointer. |
@@ -52,7 +52,7 @@ | |||
!$config['installedpackages']['miniupnpd']['config'][0]['iface_array'] || | |||
!$config['installedpackages']['miniupnpd']['config'][0]['enable']) { | |||
|
|||
print_info_box('UPnP is currently disabled.', 'danger'); | |||
print_info_box(gettext('UPnP is currently disabled. Go to <a href="pkg_edit.php?xml=miniupnpd.xml">Services > UPnP & NAT-PMP</a> to enable.'), 'danger'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove html content from gettext() string and use sprintf
No description provided.