Skip to content

Commit

Permalink
Text changes on Maintenance and Backup pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhishek Kumar committed Apr 26, 2022
1 parent 62ba9be commit c5f8558
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
<button data-dismiss="alert" class="close" type="button">×</button>
<p>{l s='Disclaimer before creating a new backup'}</p>
<ol>
<li>{l s='PrestaShop is not responsible for your database, its backups and/or recovery.'}</li>
<li>{l s='PrestaShop is open-source software. You are using it at your own risk under the license agreement.'}</li>
<li>{l s='QloApps is not responsible for your database, its backups and/or recovery.'}</li>
<li>{l s='QloApps is open-source software. You are using it at your own risk under the license agreement.'}</li>
<li>{l s='You should back up your data on a regular basis (both files and database).'}</li>
<li>{l s='This function only backs up your database, not your files.'}</li>
<li>{l s='By default, your existing database tables will be dropped during the backup recovery (see "Backup options" below).'}</li>
Expand All @@ -68,7 +68,7 @@
<div class="alert alert-info">
<p>{l s='How to restore a database backup in 10 easy steps:'}</p>
<ol>
<li>{l s='Set "Enable Shop" to "No" in the "Maintenance" page under the "Preferences" menu.'}</li>
<li>{l s='Set "Enable Site" to "No" in the "Maintenance" page under the "Preferences" menu.'}</li>
<li>{l s='Download the backup from the list below or from your FTP server (in the folder "admin/backups").'}</li>
<li>{l s='Check the backup integrity: Look for errors, incomplete file, etc... Be sure to verify all of your data.'}</li>
<li>{l s='Please ask your hosting provider for "phpMyAdmin" access to your database.'}</li>
Expand Down
2 changes: 1 addition & 1 deletion controllers/admin/AdminMaintenanceController.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function __construct()
),
'PS_MAINTENANCE_IP' => array(
'title' => $this->l('Maintenance IP'),
'hint' => $this->l('IP addresses allowed to access the front office even if the shop is disabled. Please use a comma to separate them (e.g. 42.24.4.2,127.0.0.1,99.98.97.96)'),
'hint' => $this->l('IP addresses allowed to access the front office even if the site is disabled. Please use a comma to separate them (e.g. 42.24.4.2,127.0.0.1,99.98.97.96)'),
'validation' => 'isGenericName',
'type' => 'maintenance_ip',
'default' => ''
Expand Down

0 comments on commit c5f8558

Please sign in to comment.