diff options
author | Renato Botelho <renato@netgate.com> | 2017-02-06 13:53:19 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-02-06 13:53:19 -0200 |
commit | 73c8e3e67a2ae9959ed0ac07169e4f9b0f3203d4 (patch) | |
tree | a2c7f7535bdb74555111090d9a6207546c083f1f /src/usr/local/www/head.inc | |
parent | ef7cf05a87ebb26e357d3cc1742c794ea3abc622 (diff) | |
parent | f8a1be5601179398cb8a0ee80cff2fdd93c709d6 (diff) | |
download | pfsense-73c8e3e67a2ae9959ed0ac07169e4f9b0f3203d4.zip pfsense-73c8e3e67a2ae9959ed0ac07169e4f9b0f3203d4.tar.gz |
Merge pull request #3490 from phil-davis/sethelp-review3
Diffstat (limited to 'src/usr/local/www/head.inc')
-rw-r--r-- | src/usr/local/www/head.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/local/www/head.inc b/src/usr/local/www/head.inc index 0b9e197..a7b4b0d 100644 --- a/src/usr/local/www/head.inc +++ b/src/usr/local/www/head.inc @@ -638,11 +638,11 @@ if (('' != ($link = get_shortcut_log_link($shortcut_section, false))) && (isAllo /* if upgrade in progress, alert user */ if (is_subsystem_dirty('packagelock') || (file_exists('/conf/needs_package_sync') && platform_booting())) { if (file_exists('/conf/needs_package_sync') && platform_booting()) { - $warning_text = sprintf(gettext("<p>%s is booting, then packages will be reinstalled in the background.</p><p>Do not make changes in the GUI until this is complete.</p>"), $g['product_name']); + $warning_text = sprintf(gettext('%1$s%3$s is booting, then packages will be reinstalled in the background.%2$s%1$sDo not make changes in the GUI until this is complete.%2$s'), '<p>', '</p>', $g['product_name']); } else { $pgtitle = array(gettext("System"), gettext("Package Manager")); - $warning_text = gettext("<p>Packages are currently being reinstalled in the background.</p><p>Do not make changes in the GUI until this is complete.</p>"); - $warning_text .= sprintf(gettext('<p>If the above message is still displayed after a couple of hours, use the \'Clear Package Lock\' button on the <a href="diag_backup.php" title="%1$s > %2$s">%1$s > %2$s</a> page and reinstall packages manually.</p>'), gettext('Diagnostics'), htmlspecialchars(gettext('Backup & Restore'))); + $warning_text = sprintf(gettext('%1$sPackages are currently being reinstalled in the background.%2$s%1$sDo not make changes in the GUI until this is complete.%2$s'), '<p>', '</p>'); + $warning_text .= sprintf(gettext('%1$sIf the above message is still displayed after a couple of hours, use the \'Clear Package Lock\' button on the %3$s page and reinstall packages manually.%2$s'), '<p>', '</p>', sprintf('<a href="diag_backup.php" title="%1$s > %2$s">%1$s > %2$s</a>', gettext('Diagnostics'), htmlspecialchars(gettext('Backup & Restore')))); } print_info_box($warning_text); |