Add untranslatable strings to translation
Strings "x comments" and "x replies"/"1 reply" were not translatable and are now added to the English base file as well as the German translation.
This commit is contained in:
Generated
+2
-2
@@ -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",
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
"donate": "Donate",
|
||||
"deleteAllHistory": "Delete all history",
|
||||
"skipping": "Skipping",
|
||||
"comments": "comments",
|
||||
"reply": "reply",
|
||||
"replies": "replies",
|
||||
"region": "Region",
|
||||
"noResult": "No results",
|
||||
|
||||
@@ -469,7 +469,7 @@
|
||||
<details>
|
||||
<summary id="comment-section" class="none bold">
|
||||
<nav>
|
||||
<div class="max">{numberWithCommas(comments.commentCount)} comments</div>
|
||||
<div class="max">{numberWithCommas(comments.commentCount)} {$_('comments')}</div>
|
||||
<i>expand_more</i>
|
||||
</nav>
|
||||
</summary>
|
||||
|
||||
Reference in New Issue
Block a user