فهرست منبع

_System_Grammar_Term_my_

visuddhinanda 2 سال پیش
والد
کامیت
8d993a0092
1فایلهای تغییر یافته به همراه6 افزوده شده و 0 حذف شده
  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',
             'type'=>'translation',
             'lang'=>'en',
             'lang'=>'en',
         ],
         ],
+        [
+            "name"=>'_System_Grammar_Term_my_',
+            'type'=>'translation',
+            'lang'=>'my',
+        ],
         [
         [
             "name"=>'_community_term_zh-hans_',
             "name"=>'_community_term_zh-hans_',
             'type'=>'translation',
             'type'=>'translation',
@@ -120,6 +125,7 @@ class InitSystemChannel extends Command
             $channel->owner_uid = config("mint.admin.root_uuid");
             $channel->owner_uid = config("mint.admin.root_uuid");
             $channel->create_time = time()*1000;
             $channel->create_time = time()*1000;
             $channel->modify_time = time()*1000;
             $channel->modify_time = time()*1000;
+            $channel->is_system = true;
             $channel->save();
             $channel->save();
             $this->info("created". $value['name']);
             $this->info("created". $value['name']);
         }
         }