Skip to content

Commit d3d6c93

Browse files
committed
Restart confirmation window
1 parent 9be5087 commit d3d6c93

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

web/inc/i18n/en.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
'Add Package' => 'Add Package',
3939
'Add IP' => 'Add IP',
4040
'Search' => 'Search',
41+
'Add one more FTP Account' => 'Add one more FTP Account',
4142
'Overall Statistics' => 'Overall Statistics',
4243
'Daily' => 'Daily',
4344
'Weekly' => 'Weekly',
@@ -392,6 +393,7 @@
392393
'DELETE_EXCLUSION_CONFIRMATION' => 'Are you sure you want to delete %s exclusion?',
393394
'DELETE_PACKAGE_CONFIRMATION' => 'Are you sure you want to delete package %s?',
394395
'DELETE_IP_CONFIRMATION' => 'Are you sure you want to delete IP address %s?',
396+
'RESTART_CONFIRMATION' => 'Are you sure you want to restart %s?',
395397
'Welcome' => 'Welcome',
396398
'LOGGED_IN_AS' => 'Logged in as user %s',
397399
'Error' => 'Error',

web/templates/admin/list_services.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<?php print __('restart');?>
4141
<input type="hidden" name="delete_url" value="/restart/system/?hostname=<?php echo $sys['sysinfo']['HOSTNAME']?>" />
4242
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="<?php print __('Confirmation');?>">
43-
<p class="counter-value"><?php print __('RESTART_SERVER_CONFIRMATION');?></p>
43+
<p class="counter-value"><?php print __('RESTART_CONFIRMATION',$sys['sysinfo']['HOSTNAME']);?></p>
4444
</div>
4545
</span>
4646
</a>

0 commit comments

Comments
 (0)