wip
This commit is contained in:
@@ -63,7 +63,7 @@ class LocaleManagerRepo
|
||||
*/
|
||||
public function localeAppTranslationsDirectory(): string
|
||||
{
|
||||
return $this->localeAppPath . DIRECTORY_SEPARATOR . 'lang';
|
||||
return $this->localeAppPath.DIRECTORY_SEPARATOR.'lang';
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -82,8 +82,8 @@ class LocaleManagerRepo
|
||||
public function syncTranslationsWithLocaleApp(): self
|
||||
{
|
||||
$response = Http::acceptJson()->withHeaders([
|
||||
'Api-Token' => $this->localeAppApiToken,
|
||||
])
|
||||
'Api-Token' => $this->localeAppApiToken,
|
||||
])
|
||||
->retry(
|
||||
times: 3,
|
||||
sleepMilliseconds: 50,
|
||||
@@ -92,7 +92,7 @@ class LocaleManagerRepo
|
||||
return true;
|
||||
})
|
||||
->post(
|
||||
url: $this->localeAppUrl . '/api/import-translations',
|
||||
url: $this->localeAppUrl.'/api/import-translations',
|
||||
data: []
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user