Added some translation text I had missed

This commit is contained in:
Andrew Collington 2022-07-18 21:20:53 +01:00
parent cd3952322c
commit bedd520711
3 changed files with 11 additions and 5 deletions

View file

@ -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": ""
}

View file

@ -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": ""
}

View file

@ -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'))