Skip to content

Commit 9fc8572

Browse files
committed
Minor changes to language strings
1 parent 2e05ab4 commit 9fc8572

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

web/restart/service/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
}
2323
if ($return_var != 0) {
2424
$error = implode('<br>', $output);
25-
if (empty($error)) $error = __('SERVICE_ACTION_FAILED',__('restart'),$v_service);
25+
if (empty($error)) $error = __('Restart "%s" failed',$v_service);
2626
$_SESSION['error_msg'] = $error;
2727
}
2828
unset($output);

web/start/service/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
}
2323
if ($return_var != 0) {
2424
$error = implode('<br>', $output);
25-
if (empty($error)) $error = __('SERVICE_ACTION_FAILED',__('start'),$v_service);;
25+
if (empty($error)) $error = __('Start "%s" failed',$v_service);;
2626
$_SESSION['error_srv'] = $error;
2727
}
2828
unset($output);

web/stop/service/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
if ($return_var != 0) {
2525
$error = implode('<br>', $output);
2626
if (empty($error)) {
27-
$error = __('SERVICE_ACTION_FAILED', __('stop'), $v_service);
27+
$error = __('Stop "%s" failed', $v_service);
2828
}
2929

3030
$_SESSION['error_srv'] = $error;

web/templates/admin/add_web.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@
233233
</tr>
234234
<tr>
235235
<td class="vst-text input-label">
236-
<?php print( __('Folder'));?> <span class="optional">(<?php print __('optional');?>)</span>
236+
<?php print( __('Directory'));?> <span class="optional">(<?php print __('optional');?>)</span>
237237
</td>
238238
</tr>
239239
<tr>

web/templates/admin/edit_web.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@
281281
</tr>
282282
<tr>
283283
<td class="vst-text input-label">
284-
<?php print( __('Folder'));?> <span class="optional">(<?php print __('optional');?>)</span>
284+
<?php print( __('Directory'));?> <span class="optional">(<?php print __('optional');?>)</span>
285285
</td>
286286
</tr>
287287
<tr>

web/templates/admin/list_backup_detail.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
<div class="l-unit-toolbar__col l-unit-toolbar__col--right noselect">
7676
<div class="actions-panel clearfix">
7777
<div class="actions-panel__col actions-panel__list shortcut-enter" key-action="href">
78-
<a href="/schedule/restore/?backup=<?=$backup?>&type=web&object=<?=$key?>&token=<?=$_SESSION['token']?>" title="Restore">
78+
<a href="/schedule/restore/?backup=<?=$backup?>&type=web&object=<?=$key?>&token=<?=$_SESSION['token']?>" title="<?php print __('Restore');?>">
7979
<i class="fas fa-undo status-icon green status-icon dim"></i>
8080
</a>
8181
</div>

web/templates/user/edit_web.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@
294294
</tr>
295295
<tr>
296296
<td class="vst-text input-label">
297-
<?php print( __('Folder'));?> <span class="optional">(<?php print __('optional');?>)</span>
297+
<?php print( __('Directory'));?> <span class="optional">(<?php print __('optional');?>)</span>
298298
</td>
299299
</tr>
300300
<tr>

0 commit comments

Comments
 (0)