locale for web app (#334)
* locale for web app * more translations * Rename profiles service to avoid locale conflict * More translation work * Lint fix --------- Co-authored-by: github-action linter <githubaction@githubaction.com>
This commit is contained in:
1 parent
019fde1e67
commit
42dadec020
54 files changed
+538
-151
No files matched your search
@@ -6,7 +6,7 @@
|
||||
import BookmarksIcon from "../assets/star-icon.svg.svelte";
|
||||
import RemoteIcon from "../assets/remote-control.svg.svelte";
|
||||
|
||||
import { appStateStore } from "lib/Stores";
|
||||
import { appStateStore, tr } from "lib/Stores";
|
||||
import { ScreenNames, type AppState } from "lib/Types";
|
||||
import { onMount } from "svelte";
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
<div class="h-6">
|
||||
<SearchIcon />
|
||||
</div>
|
||||
<span class="text-xs">Search</span>
|
||||
<span class="text-xs">{$tr("Search")}</span>
|
||||
</button>
|
||||
<button
|
||||
on:click={() => setScreen("home")}
|
||||
@@ -66,7 +66,7 @@
|
||||
<div class="h-6">
|
||||
<HomeIcon />
|
||||
</div>
|
||||
<span class="text-xs">Home</span>
|
||||
<span class="text-xs">{$tr("Home")}</span>
|
||||
</button>
|
||||
<button
|
||||
on:click={() => setScreen("bookmarks")}
|
||||
@@ -75,7 +75,7 @@
|
||||
<div class="h-6">
|
||||
<BookmarksIcon />
|
||||
</div>
|
||||
<span class="text-xs">Bookmarks</span>
|
||||
<span class="text-xs">{$tr("Bookmarks")}</span>
|
||||
</button>
|
||||
<button
|
||||
on:click={() => setScreen("settings")}
|
||||
@@ -84,7 +84,7 @@
|
||||
<div class="h-6">
|
||||
<SettingsIcon />
|
||||
</div>
|
||||
<span class="text-xs">Settings</span>
|
||||
<span class="text-xs">{$tr("Settings")}</span>
|
||||
</button>
|
||||
<button
|
||||
on:click={() => setScreen("remote")}
|
||||
@@ -93,7 +93,7 @@
|
||||
<div class="h-6">
|
||||
<RemoteIcon />
|
||||
</div>
|
||||
<span class="text-xs">Remote</span>
|
||||
<span class="text-xs">{$tr("Remote")}</span>
|
||||
</button>
|
||||
<button
|
||||
on:click={() => setScreen("info")}
|
||||
@@ -102,6 +102,6 @@
|
||||
<div class="h-6">
|
||||
<InfoIcon />
|
||||
</div>
|
||||
<span class="text-xs">Info</span>
|
||||
<span class="text-xs">{$tr("Info")}</span>
|
||||
</button>
|
||||
</div>
|
||||
Reference in new issue
Block a user