Skip to content
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

Merged
merged 5 commits into from
Dec 21, 2016

Conversation

doktornotor
Copy link
Contributor

No description provided.

@rbgarga
Copy link
Member

rbgarga commented Dec 19, 2016

@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

@doktornotor
Copy link
Contributor Author

Oh, you have a script now? Great to know, I'd rather never touch the giant blob again, it's a big pain.

@rbgarga
Copy link
Member

rbgarga commented Dec 19, 2016

@doktornotor yes, it's on ./tools/scripts/update_pot.sh :)

@doktornotor
Copy link
Contributor Author

@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 &amp; NAT-PMP</a> to enable.'), 'danger');
Copy link
Member

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

@netgate-git-updates netgate-git-updates merged commit aaddb09 into pfsense:master Dec 21, 2016
@doktornotor doktornotor deleted the patch-3 branch December 21, 2016 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants