File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -147,12 +147,12 @@ public static function flush(): void
147147
148148 private static function registerCatalog (string $ locale ): I18nCatalog
149149 {
150- return self ::$ catalogs [$ locale ] = I18nCatalog::new ((new Config )
151- -> set ( 'translation.locale ' , $ locale)
152- -> set ( 'translation.dir ' , self ::$ directory)
153- -> set ( 'translation.formatter ' , self ::$ formatter)
154- -> set ( 'translation.catalog ' , self ::$ catalog)
155- );
150+ return self ::$ catalogs [$ locale ] = I18nCatalog::new ((new Config )-> import ([
151+ 'translation.locale ' => $ locale,
152+ 'translation.dir ' => self ::$ directory,
153+ 'translation.formatter ' => self ::$ formatter,
154+ 'translation.catalog ' => self ::$ catalog,
155+ ]) );
156156 }
157157
158158 private static function setDefaultLocale (string $ locale ): void
Original file line number Diff line number Diff line change 1- 0.9.0
1+ 0.9.1
You can’t perform that action at this time.
0 commit comments