Skip to content

Commit 0a6e29b

Browse files
authored
New translation strings + Changes to some strings (hestiacp#826)
* New translation strings + Changes to some strings * Changed Filemanager to Files
1 parent a418b84 commit 0a6e29b

File tree

4 files changed

+33
-4
lines changed

4 files changed

+33
-4
lines changed

web/inc/i18n/en.php

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -770,4 +770,33 @@
770770
'Please wait while php is installed or removed' => 'Adding or removing a version of PHP will take around 1 minute per version. Please wait until the process has completed and do not refresh the page.',
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

773+
//Header
774+
'Fm' => 'Files',
775+
//PHP Cli
776+
'PHP CLI Version' => 'PHP CLI Version',
777+
//Ipset Firewall rules
778+
'Adding Firewall Ipset List' => 'Adding Firewall Ipset List',
779+
'Ip List Name' => 'Ip List Name',
780+
'Data Source' => 'Data Source',
781+
'Ip Version' => 'Ip Version',
782+
'Autoupdate' => 'Autoupdate',
783+
'BLACKLIST' => 'BLACKLIST',
784+
'IPVERSE' => 'IPVERSE',
785+
'IPSET_CREATED_OK' => 'Ipset created',
786+
'DELETE_IPSET_CONFIRMATION' => 'Are you sure you want to delete Ipset %2',
787+
'1 Ipset list' => '1 Ipset list',
788+
'%s Ipset lists' => '%s Ipset lists'
789+
'There are currently no Ipset lists defined.' => 'There are currently no Ipset lists defined.',
790+
'list ipset' => 'Ipset',
791+
792+
//Backup
793+
'File Name' => 'File Name',
794+
'Size' => 'Size',
795+
'Runtime' => 'Runtime',
796+
//Logs
797+
'Refresh' => 'Refresh',
798+
//DNS
799+
'default' => 'default',
800+
//rrd
801+
'Bandwidth Usage' => 'Bandwidth Usage',
773802
);

web/templates/admin/add_firewall_ipset.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164

165165
// Blacklist
166166
var newEl = document.createElement("option");
167-
newEl.text="BLACKLIST";
167+
newEl.text="<?php print __('BLACKLIST') ?>";
168168
newEl.disabled=true;
169169
targetelement.appendChild(newEl);
170170

@@ -177,7 +177,7 @@
177177

178178
// IPVERSE
179179
var newEl = document.createElement("option");
180-
newEl.text="IPVERSE";
180+
newEl.text="<?php print __('IPVERSE') ?>";
181181
newEl.disabled=true;
182182
targetelement.appendChild(newEl);
183183

web/templates/admin/edit_user.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@
184184
</tr>
185185
<tr>
186186
<td class="vst-text input-label">
187-
<?php print __('PHP_CLI');?>
187+
<?php print __('PHP CLI Version');?>
188188
</td>
189189
</tr>
190190
<tr>

web/templates/admin/list_firewall_ipset.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
echo __('1 Ipset list');
109109
}
110110
if ( $i > 1) {
111-
echo __('%s Ipser lists',$i);
111+
echo __('%s Ipset lists',$i);
112112
}
113113
?>
114114
</div>

0 commit comments

Comments
 (0)