feat(frontend): profile media, files and links tabs speak russian and english
This commit is contained in:
1 parent
cff493f5dd
commit
0cd34f3037
4 files changed
+29
-14
No files matched your search
@@ -7,6 +7,7 @@
|
||||
import Spinner from "#lib/components/ui/Spinner.svelte";
|
||||
import { formatListDate } from "#lib/format/datetime.js";
|
||||
import { safeHref } from "#lib/format/url.js";
|
||||
import { t } from "#lib/i18n/locale.svelte.js";
|
||||
import { accounts } from "#lib/stores/accounts.svelte.js";
|
||||
import { ui } from "#lib/stores/ui.svelte.js";
|
||||
import { goto } from "$app/navigation";
|
||||
@@ -83,7 +84,7 @@
|
||||
{#if loading}
|
||||
<div class="center"><Spinner /></div>
|
||||
{:else}
|
||||
<EmptyState title="Нет ссылок" />
|
||||
<EmptyState title={t("social.links.empty")} />
|
||||
{/if}
|
||||
{:else}
|
||||
<ul class="list">
|
||||
@@ -122,7 +123,7 @@
|
||||
onclick={() => loadMore()}
|
||||
type="button"
|
||||
>
|
||||
{loading ? "Загрузка…" : "Показать ещё"}
|
||||
{loading ? t("ui.loading") : t("ui.showMore")}
|
||||
</button>
|
||||
{/if}
|
||||
|
||||
|
||||
Reference in new issue
Block a user