Explorar o código

_System_Grammar_Term_my_

visuddhinanda %!s(int64=2) %!d(string=hai) anos
pai
achega
8d993a0092
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      app/Console/Commands/InitSystemChannel.php

+ 6 - 0
app/Console/Commands/InitSystemChannel.php

@@ -47,6 +47,11 @@ class InitSystemChannel extends Command
             'type'=>'translation',
             'lang'=>'en',
         ],
+        [
+            "name"=>'_System_Grammar_Term_my_',
+            'type'=>'translation',
+            'lang'=>'my',
+        ],
         [
             "name"=>'_community_term_zh-hans_',
             'type'=>'translation',
@@ -120,6 +125,7 @@ class InitSystemChannel extends Command
             $channel->owner_uid = config("mint.admin.root_uuid");
             $channel->create_time = time()*1000;
             $channel->modify_time = time()*1000;
+            $channel->is_system = true;
             $channel->save();
             $this->info("created". $value['name']);
         }