Skip to content

Commit 52c44cc

Browse files
author
Kristan Kenney
committed
Merge branch 'ui-sshkey' into 1.2.0-rc-hotfix
2 parents a0e925d + 474f8b9 commit 52c44cc

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

web/inc/i18n/en.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -771,14 +771,15 @@
771771
'Avoid adding web domains on admin account' => 'It is strongly advised to create a standard user account before adding web domains to the server due to the increased privileges the admin account possesses and potential security risks involved.',
772772

773773
//SSH Key
774-
'Field SSH_KEY can not be blank.' => 'Field SSH Key may not be blank',
774+
'Field SSH_KEY can not be blank.' => 'Field SSH Key must not be blank',
775775
'SSH KEY is invalid' => 'SSH key is invalid',
776-
'SSH KEY already exists' => 'SSH key already exsits',
776+
'SSH KEY already exists' => 'SSH key already exists',
777777
'SSH KEY Added' => 'SSH key has been added',
778778
'Add SSH Key' => 'Add SSH key',
779779
'SSH KEY' => 'SSH Key',
780-
'DELETE_KEY_CONFIRM' => 'Are you sure you want to delete key %s?',
781-
'SSH_ID' => 'SSH Id',
780+
'DELETE_KEY_CONFIRM' => 'Are you sure you want to delete SSH key %s?',
781+
'SSH_ID' => 'SSH ID',
782+
'Manage SSH keys' => 'Manage SSH keys',
782783

783784
//Header
784785
'Fm' => 'Files',

web/templates/admin/edit_user.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="l-sort clearfix">
33
<div class="l-unit-toolbar__buttonstrip">
44
<a class="ui-button cancel" id="btn-back" href="/list/user/"><i class="fas fa-arrow-left status-icon blue"></i> <?=__('Back')?></a>
5-
<a href="/list/key" id="btn-create" class="ui-button cancel" title="<?=__('SSH_KEY');?>"><i class="fas fa-key status-icon green"></i><?=__('SSH KEY')?></a>
5+
<a href="/list/key" id="btn-create" class="ui-button cancel" title="<?=__('Manage SSH keys');?>"><i class="fas fa-key status-icon green"></i><?=__('Manage SSH keys')?></a>
66
</div>
77
<div class="l-unit-toolbar__buttonstrip float-right">
88
<a href="#" class="ui-button" title="<?=__('Save')?>" data-action="submit" data-id="vstobjects"><i class="fas fa-save status-icon purple"></i> <?=__('Save')?></a>

web/templates/admin/list_key.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<div class="l-center">
22
<div class="l-sort clearfix noselect">
33
<div class="l-unit-toolbar__buttonstrip">
4+
<a class="ui-button cancel" id="btn-back" href="javascript:history.back();"><i class="fas fa-arrow-left status-icon blue"></i> <?=__('Back')?></a>
45
<?php
56
echo '<a href="/add/key/" id="btn-create" class="ui-button cancel" title="'.__('Add SSH Key').'"><i class="fas fa-plus-circle status-icon green"></i>'.__('Add SSH Key').'</a>';
67
?>

0 commit comments

Comments
 (0)