Web app to Svelte5 (#541)

* Web app to Svelte5

* ignore ds store

* npm install @rollup/rollup-linux-x64-gnu --save-optional
This commit is contained in:
Brahim Hadriche authored and GitHub committed 2025-01-10 09:15:04 -05:00
1 parent 66990cfd67
commit 68c8f12f9d
36 files changed
+1744 -2332

No files matched your search

@@ -1,6 +1,6 @@
<script lang="ts">
import { PlayletApi } from "lib/Api/PlayletApi";
import { tr, userPreferencesStore } from "lib/Stores";
import { translate, 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]}">{$tr(displayText)}</div>
<div class="label-text {textSizes[level]}">{$translate(displayText)}</div>
<input
type="checkbox"
name={key}
@@ -32,5 +32,5 @@
class="checkbox"
/>
</label>
<div class="text-xs text-gray-500">{@html $tr(description)}</div>
<div class="text-xs text-gray-500">{@html $translate(description)}</div>
</div>