Skip to content
Snippets Groups Projects
Commit f1452905 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

dev #42624 fix message for pending git pull

parent 4698017e
Branches
Tags
3 merge requests!1659Master,!1639Dev#42624 skin update button,!1638Dev#42624 skin update button
......@@ -21,7 +21,8 @@
class Class_Profil_SkinUpdateReader {
use Trait_StaticFileWriter;
use Trait_StaticFileWriter,
Trait_Translator;
public static $skins_update_log = 'skins_update_log.json';
......@@ -31,7 +32,7 @@ class Class_Profil_SkinUpdateReader {
public static function askGitPull($skins) {
$json = [];
foreach($skins as $skin)
$json[$skin->getLabel()] = ['UpdateTime' => 'git pull --rebase'];
$json[$skin->getLabel()] = ['UpdateTime' => (new static())->_('En attente d\'execution de la commande : %s', 'git pull --rebase')];
$json = json_encode($json);
return static::getFileWriter()->putContents(static::getLogPath(), $json);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment