Переглянути джерело

Added some translation text I had missed

Andrew Collington 3 роки тому
батько
коміт
bedd520711
3 змінених файлів з 11 додано та 5 видалено
  1. 5 2
      build/_languages/example.json
  2. 5 2
      build/_languages/fr.json
  3. 1 1
      src/Opcache/Service.php

+ 5 - 2
build/_languages/example.json

@@ -98,7 +98,10 @@
   "wasted memory": "",
   "You have <i>opcache.file_cache_only<\/i> turned on.  As a result, the memory information is not available.  Statistics and file list may also not be returned by <i>opcache_get_statistics()<\/i>.": "",
   "{0} files cached": "",
-  "{0} files cached`, {1} showing due to filter '{2}'": "",
+  "{0} files cached, {1} showing due to filter '{2}'": "",
   "{0} ignore file locations": "",
-  "{0} preloaded files": ""
+  "{0} preloaded files": "",
+  "Last reset": "",
+  "Start time": "",
+  "never": ""
 }

+ 5 - 2
build/_languages/fr.json

@@ -98,7 +98,10 @@
     "wasted memory": "mémoire perdue",
     "You have <i>opcache.file_cache_only<\/i> turned on. As a result, the memory information is not available. Statistics and file list may also not be returned by <i>opcache_get_statistics()<\/i>.": "Vous avez <i>opcache.file_cache_only<\/i> activé. Par conséquent, les informations sur la mémoire ne sont pas disponibles. Les statistiques et la liste de fichiers peuvent également ne pas être renvoyées par <i>opcache_get_statistics()<\/i>.",
     "{0} files cached": "{0} fichiers mis en cache",
-    "{0} files cached`, {1} showing due to filter '{2}'": "{0} fichiers mis en cache`, {1} s'affichent en raison du filtre '{2}'",
+    "{0} files cached, {1} showing due to filter '{2}'": "{0} fichiers mis en cache, {1} s'affichent en raison du filtre '{2}'",
     "{0} ignore file locations": "{0} ignore les fichiers en fonction de l'emplacement",
-    "{0} preloaded files": "{0} fichiers préchargés"
+    "{0} preloaded files": "{0} fichiers préchargés",
+    "Last reset": "",
+    "Start time": "",
+    "never": ""
 }

+ 1 - 1
src/Opcache/Service.php

@@ -337,7 +337,7 @@ class Service
                             ->setTimezone($this->tz)
                             ->format($this->getOption('datetime_format')),
                         'last_restart_time' => ($status['opcache_statistics']['last_restart_time'] === 0
-                            ? 'never'
+                            ? $this->txt('never')
                             : (new DateTimeImmutable("@{$status['opcache_statistics']['last_restart_time']}"))
                                 ->setTimezone($this->tz)
                                 ->format($this->getOption('datetime_format'))