Revert "Web app to Svelte5 (#540)"

This reverts commit c534c27ae3.
This commit is contained in:
Brahim Hadriche committed 2025-01-09 21:54:08 -05:00
1 parent f987558884
commit aab20f2364
35 files changed
+2336 -1729

No files matched your search

@@ -1,6 +1,6 @@
<script lang="ts">
import { PlayletApi } from "lib/Api/PlayletApi";
import { translate, userPreferencesStore } from "lib/Stores";
import { tr, userPreferencesStore } from "lib/Stores";
const textSizes = ["text-2xl", "text-lg", "text-base", "text-sm", "text-xs"];
@@ -23,7 +23,7 @@
<div class="form-control m-5">
<label class="label p-0 cursor-pointer">
<div class="label-text {textSizes[level]}">{$translate(displayText)}</div>
<div class="label-text {textSizes[level]}">{$tr(displayText)}</div>
<input
type="checkbox"
name={key}
@@ -32,5 +32,5 @@
class="checkbox"
/>
</label>
<div class="text-xs text-gray-500">{@html $translate(description)}</div>
<div class="text-xs text-gray-500">{@html $tr(description)}</div>
</div>