Skip to content

Commit d5c8f00

Browse files
authored
Fix typo and improve i18n strings (hestiacp#2123)
* Fix typo in /templates/pages/edit_web.html * Fix and improve i18n strings
1 parent cd7431c commit d5c8f00

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

web/templates/pages/edit_server.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,7 @@
946946
<table style="<?php if (empty($v_security_adv)) echo 'display:none;';?>" id="security">
947947
<tr>
948948
<td class="section-title" onclick="javascript:elementHideShow('security-system-table',this);">
949-
<?=('System');?>
949+
<?=_('System');?>
950950
<i class="fas fa-plus-square status-icon dim maroon section-hide-button"></i>
951951
</td>
952952
</tr>
@@ -1055,7 +1055,7 @@
10551055
<?php if (($_SESSION['userContext'] === "admin") && ($_SESSION['user'] === 'admin')) {?>
10561056
<tr>
10571057
<td class="section-title" onclick="javascript:elementHideShow('security-sysadminprotect-table',this);">
1058-
<?=('System Protection');?>
1058+
<?=_('System Protection');?>
10591059
<i class="fas fa-plus-square status-icon dim maroon section-hide-button"></i>
10601060
</td>
10611061
</tr>
@@ -1116,7 +1116,7 @@
11161116
<?php } ?>
11171117
<tr>
11181118
<td class="section-title" onclick="javascript:elementHideShow('security-policies-table',this);">
1119-
<?=('Policies');?>
1119+
<?=_('Policies');?>
11201120
<i class="fas fa-plus-square status-icon dim maroon section-hide-button"></i>
11211121
</td>
11221122
</tr>
@@ -1131,7 +1131,7 @@
11311131
<?php if ($_SESSION['POLICY_SYSTEM_ENABLE_BACON'] === 'true') { ?>
11321132
<tr>
11331133
<td class="vst-text input-label">
1134-
<?=_('Allow suspended users to log in with read-only access');?> <span class="hint">(Preview)</span>
1134+
<?=_('Allow suspended users to log in with read-only access');?> <span class="hint">(<?=_('Preview');?>)</span>
11351135
</td>
11361136
</tr>
11371137
<tr>

web/templates/pages/edit_web.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@
351351
</td>
352352
</tr>
353353
<tr id="letsinfo" style="display:<?php if ($v_letsencrypt == 'yes' || $v_letencrypt == 'on' ) { echo 'block';} else {echo 'none';} ?>">
354-
<td><a href="#" onclick="elementHideShow('ssl-details'); return false;" class="generate"><?=_('Show Certifcate');?></a></td>
354+
<td><a href="#" onclick="elementHideShow('ssl-details'); return false;" class="generate"><?=_('Show Certificate');?></a></td>
355355
</tr>
356356
</table>
357357
</td>

0 commit comments

Comments
 (0)