Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: Do not activate i18n for now

Andras Bacsai5a227f70c671
diff --git a/src/routes/__layout.svelte b/src/routes/__layout.svelte
index 8fdcdb273b..7c302438c5 100644
--- a/src/routes/__layout.svelte
+++ b/src/routes/__layout.svelte
@@ -463,31 +463,33 @@
<path d="M21 21v-2a4 4 0 0 0 -3 -3.85" />
</svg>
</a>
- <a
- sveltekit:prefetch
- href="/settings"
- class="icons tooltip-yellow-500 tooltip-right bg-coolgray-200 hover:text-yellow-500"
- class:text-yellow-500={$page.url.pathname.startsWith('/settings')}
- class:bg-coolgray-500={$page.url.pathname.startsWith('/settings')}
- data-tooltip="Settings"
- >
- <svg
- xmlns="http://www.w3.org/2000/svg"
- class="h-8 w-8"
- viewBox="0 0 24 24"
- stroke-width="1.5"
- stroke="currentColor"
- fill="none"
- stroke-linecap="round"
- stroke-linejoin="round"
+ {#if $session.teamId === '0'}
+ <a
+ sveltekit:prefetch
+ href="/settings"
+ class="icons tooltip-yellow-500 tooltip-right bg-coolgray-200 hover:text-yellow-500"
+ class:text-yellow-500={$page.url.pathname.startsWith('/settings')}
+ class:bg-coolgray-500={$page.url.pathname.startsWith('/settings')}
+ data-tooltip="Settings"
>
- <path stroke="none" d="M0 0h24v24H0z" fill="none" />
- <path
- d="M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z"
- />
- <circle cx="12" cy="12" r="3" />
- </svg>
- </a>
+ <svg
+ xmlns="http://www.w3.org/2000/svg"
+ class="h-8 w-8"
+ viewBox="0 0 24 24"
+ stroke-width="1.5"
+ stroke="currentColor"
+ fill="none"
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ >
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
+ <path
+ d="M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z"
+ />
+ <circle cx="12" cy="12" r="3" />
+ </svg>
+ </a>
+ {/if}
<div
class="icons tooltip-red-500 tooltip-right bg-coolgray-200 hover:text-red-500"
diff --git a/src/routes/settings/index.svelte b/src/routes/settings/index.svelte
index 53606aced0..f52cab13f6 100644
--- a/src/routes/settings/index.svelte
+++ b/src/routes/settings/index.svelte
@@ -129,7 +129,7 @@
{/if}
</div>
<div class="grid grid-flow-row gap-2 px-10">
- <Language />
+ <!-- <Language /> -->
<div class="grid grid-cols-2 items-start">
<div class="flex-col">
<div class="pt-2 text-base font-bold text-stone-100">
@@ -233,6 +233,6 @@
</div>
{:else}
<div class="mx-auto max-w-4xl px-6">
- <Language />
+ <!-- <Language /> -->
</div>
{/if}