add missing i18n for post view

This commit is contained in:
ari melody 2025-07-13 18:49:49 +01:00
parent 30f3aadeaa
commit b74b19cc73
Signed by: ari
GPG key ID: CF99829C92678188
13 changed files with 27 additions and 16 deletions

View file

@ -1,4 +1,4 @@
import Lang from '$lib/lang.js';
import Lang from '$lib/lang';
const lang = Lang('en_GB');
const denoms = [

View file

@ -7,7 +7,7 @@
import { timeline } from '$lib/timeline.js';
import { createEventDispatcher } from 'svelte';
import { playSound } from '$lib/sound';
import Lang from '$lib/lang.js'
import Lang from '$lib/lang'
import Button from '@cf/ui/Button.svelte';
import PostIcon from '@cf/icons/post.svg';

View file

@ -3,7 +3,7 @@
import { server, createServer } from '$lib/client/server.js';
import { app } from '$lib/client/app.js';
import { get } from 'svelte/store';
import Lang from '$lib/lang.js';
import Lang from '$lib/lang';
import Logo from '$lib/../img/campfire-logo.svg';

View file

@ -10,7 +10,7 @@
import { page } from '$app/stores';
import { createEventDispatcher } from 'svelte';
import { notifications, unread_notif_count } from '$lib/notifications.js';
import Lang from '$lib/lang.js';
import Lang from '$lib/lang';
import Logo from '$lib/../img/campfire-logo.svg';
import Button from './Button.svelte';

View file

@ -9,7 +9,7 @@
// import QuoteIcon from '$lib/../img/icons/quote.svg';
import ReactionBar from '$lib/ui/post/ReactionBar.svelte';
import ActionBar from '$lib/ui/post/ActionBar.svelte';
import Lang from '$lib/lang.js';
import Lang from '$lib/lang';
const lang = Lang('en_GB');

View file

@ -1,5 +1,5 @@
<script>
import Lang from '$lib/lang.js';
import Lang from '$lib/lang';
const lang = Lang('en_GB');
</script>

View file

@ -1,6 +1,6 @@
<script>
import { shorthand as short_time } from '$lib/time.js';
import Lang from '$lib/lang.js';
import Lang from '$lib/lang';
const lang = Lang('en_GB');

View file

@ -1,6 +1,6 @@
<script>
import { shorthand as short_time } from '$lib/time.js';
import Lang from '$lib/lang.js';
import Lang from '$lib/lang';
const lang = Lang('en_GB');