Просмотр исходного кода

Minor changes to language strings

Jaap Marcus 5 лет назад
Родитель
Сommit
9fc8572374

+ 1 - 1
web/restart/service/index.php

@@ -22,7 +22,7 @@ if ($_SESSION['user'] == 'admin') {
     }
     if ($return_var != 0) {
         $error = implode('<br>', $output);
-        if (empty($error)) $error =  __('SERVICE_ACTION_FAILED',__('restart'),$v_service);
+        if (empty($error)) $error =  __('Restart "%s" failed',$v_service);
             $_SESSION['error_msg'] = $error;
     }
     unset($output);

+ 1 - 1
web/start/service/index.php

@@ -22,7 +22,7 @@ if ($_SESSION['user'] == 'admin') {
     }
     if ($return_var != 0) {
         $error = implode('<br>', $output);
-        if (empty($error)) $error =  __('SERVICE_ACTION_FAILED',__('start'),$v_service);;
+        if (empty($error)) $error =  __('Start "%s" failed',$v_service);;
             $_SESSION['error_srv'] = $error;
     }
     unset($output);

+ 1 - 1
web/stop/service/index.php

@@ -24,7 +24,7 @@ if ($_SESSION['user'] == 'admin') {
     if ($return_var != 0) {
         $error = implode('<br>', $output);
         if (empty($error)) {
-            $error = __('SERVICE_ACTION_FAILED', __('stop'), $v_service);
+            $error = __('Stop "%s" failed', $v_service);
         }
         
         $_SESSION['error_srv'] = $error;

+ 1 - 1
web/templates/admin/add_web.html

@@ -233,7 +233,7 @@
                                         </tr>
                                         <tr>
                                             <td class="vst-text input-label">
-                                                <?php print( __('Folder'));?> <span class="optional">(<?php print __('optional');?>)</span>
+                                                <?php print( __('Directory'));?> <span class="optional">(<?php print __('optional');?>)</span>
                                             </td>
                                         </tr>
                                         <tr>

+ 1 - 1
web/templates/admin/edit_web.html

@@ -281,7 +281,7 @@
                                         </tr>
                                         <tr>
                                             <td class="vst-text input-label">
-                                                <?php print( __('Folder'));?> <span class="optional">(<?php print __('optional');?>)</span>
+                                                <?php print( __('Directory'));?> <span class="optional">(<?php print __('optional');?>)</span>
                                             </td>
                                         </tr>
                                         <tr>

+ 1 - 1
web/templates/admin/list_backup_detail.html

@@ -75,7 +75,7 @@
               <div class="l-unit-toolbar__col l-unit-toolbar__col--right noselect">
                 <div class="actions-panel clearfix">
                   <div class="actions-panel__col actions-panel__list shortcut-enter" key-action="href">
-                    <a href="/schedule/restore/?backup=<?=$backup?>&type=web&object=<?=$key?>&token=<?=$_SESSION['token']?>" title="Restore">
+                    <a href="/schedule/restore/?backup=<?=$backup?>&type=web&object=<?=$key?>&token=<?=$_SESSION['token']?>" title="<?php print __('Restore');?>">
                       <i class="fas fa-undo status-icon green status-icon dim"></i>
                     </a>
                   </div>

+ 1 - 1
web/templates/user/edit_web.html

@@ -294,7 +294,7 @@
                                         </tr>
                                         <tr>
                                             <td class="vst-text input-label">
-                                                <?php print( __('Folder'));?> <span class="optional">(<?php print __('optional');?>)</span>
+                                                <?php print( __('Directory'));?> <span class="optional">(<?php print __('optional');?>)</span>
                                             </td>
                                         </tr>
                                         <tr>