Skip to content

Commit 8e230e6

Browse files
committed
[FIX] Translate Synchronizing the session.
1 parent ef3bf84 commit 8e230e6

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

plugins/sMultisitePlugin.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -439,12 +439,9 @@ function ms_run_del(string $id): void {
439439
$jsStart = json_encode($start, JSON_UNESCAPED_SLASHES);
440440
echo <<<HTML
441441
<div style="position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:99999;display:flex;align-items:center;justify-content:center;font:14px/1.4 system-ui,Segoe UI,Arial;color:#fff">
442-
<div style="background:#111;padding:14px 18px;border-radius:10px;box-shadow:0 10px 24px rgba(0,0,0,.35)">Синхронізуємо сесію на інших доменах…</div>
442+
<div style="background:#111;padding:14px 18px;border-radius:10px;box-shadow:0 10px 24px rgba(0,0,0,.35)">Synchronizing the session on other domains…</div>
443443
</div>
444-
<script>
445-
// Top-level redirect avoids popup blockers
446-
location.replace($jsStart);
447-
</script>
444+
<script>location.replace($jsStart);</script>
448445
HTML;
449446
});
450447

src/sMultisiteServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class_alias(sMultisiteFacade::class, 'sMultisite');
6767
try {
6868
Console::call('smultisite:publish');
6969
} catch (\Throwable $e) {
70-
Log::info('sMultisite auto-publish failed: ' . $e->getMessage(), 'sMultisite');
70+
Log::log('sMultisite auto-publish failed: ' . $e->getMessage());
7171
}
7272
}
7373
}

0 commit comments

Comments
 (0)