File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -117,8 +117,9 @@ function () use ($request) {
117117 if (!setting ('language ' )) {
118118 setting ()?->set('language ' , 'en ' );
119119 }
120+
120121 if (!setting ('theme ' )) {
121- setting ()?->set('theme ' , $ website -> theme ?? 'itech ' );
122+ setting ()?->set('theme ' , 'itech ' );
122123 }
123124
124125 if (!setting ('sitename ' )) {
Original file line number Diff line number Diff line change @@ -153,6 +153,16 @@ protected function registerConfigs(): void
153153 'translator '
154154 );
155155
156+ $ this ->mergeConfigFrom (
157+ __DIR__ . '/../../config/locales.php ' ,
158+ 'locales '
159+ );
160+
161+ $ this ->mergeConfigFrom (
162+ __DIR__ . '/../../config/countries.php ' ,
163+ 'countries '
164+ );
165+
156166 $ this ->publishes ([
157167 __DIR__ . '/../../config/core.php ' => config_path ('core.php ' ),
158168 __DIR__ . '/../../config/media.php ' => config_path ('media.php ' ),
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ class ModelTranslateJob implements ShouldQueue
2727 public bool $ failOnTimeout = true ;
2828
2929 public function __construct (
30- protected Website $ website ,
3130 protected Translatable $ model ,
3231 protected string $ sourceLocale ,
3332 protected string $ targetLocale
You can’t perform that action at this time.
0 commit comments