diff --git a/materialious/package-lock.json b/materialious/package-lock.json index 4d8a99b6..d27176be 100644 --- a/materialious/package-lock.json +++ b/materialious/package-lock.json @@ -1,12 +1,12 @@ { "name": "materialious", - "version": "1.9.18", + "version": "1.9.19", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "materialious", - "version": "1.9.18", + "version": "1.9.19", "hasInstallScript": true, "dependencies": { "@capacitor-community/electron": "^5.0.1", diff --git a/materialious/src/lib/components/Comment.svelte b/materialious/src/lib/components/Comment.svelte index f5832f49..400c609b 100644 --- a/materialious/src/lib/components/Comment.svelte +++ b/materialious/src/lib/components/Comment.svelte @@ -7,6 +7,7 @@ import { onMount } from 'svelte'; import CommentSelf from './Comment.svelte'; import { insecureRequestImageHandler } from '$lib/misc'; + import { _ } from '$lib/i18n'; interface Props { comment: Comment; @@ -17,7 +18,7 @@ let replies: Comments | undefined = $state(undefined); - const replyText: string = comment.replies?.replyCount > 1 ? 'replies' : 'reply'; + const replyText: string = comment.replies?.replyCount > 1 ? $_('replies') : $_('reply'); async function loadReplies(continuation: string) { try { diff --git a/materialious/src/lib/i18n/locales/de.json b/materialious/src/lib/i18n/locales/de.json index 83ee1fdf..2ab9c5cd 100644 --- a/materialious/src/lib/i18n/locales/de.json +++ b/materialious/src/lib/i18n/locales/de.json @@ -13,7 +13,9 @@ "donate": "Spenden", "deleteAllHistory": "Gesamten Verlauf löschen", "skipping": "Überspringen", - "replies": "antworten", + "comments": "Kommentare", + "reply": "Antwort", + "replies": "Antworten", "region": "Region", "noResult": "Keine Ergebnisse", "language": "Sprache", diff --git a/materialious/src/lib/i18n/locales/en.json b/materialious/src/lib/i18n/locales/en.json index 1e1f9beb..001824f9 100644 --- a/materialious/src/lib/i18n/locales/en.json +++ b/materialious/src/lib/i18n/locales/en.json @@ -19,6 +19,8 @@ "donate": "Donate", "deleteAllHistory": "Delete all history", "skipping": "Skipping", + "comments": "comments", + "reply": "reply", "replies": "replies", "region": "Region", "noResult": "No results", diff --git a/materialious/src/routes/(app)/watch/[slug]/+page.svelte b/materialious/src/routes/(app)/watch/[slug]/+page.svelte index 3edcfc25..b6e98a0d 100644 --- a/materialious/src/routes/(app)/watch/[slug]/+page.svelte +++ b/materialious/src/routes/(app)/watch/[slug]/+page.svelte @@ -469,7 +469,7 @@