diff --git a/src/Models/ThemeConfig/DeleteConfig.ts b/src/Models/ThemeConfig/DeleteConfig.ts index 4abcdfa16..c97a706c2 100644 --- a/src/Models/ThemeConfig/DeleteConfig.ts +++ b/src/Models/ThemeConfig/DeleteConfig.ts @@ -58,14 +58,13 @@ export default class DeleteConfig { } else if (json.omitDefaultDeleteReasons) { const forbidden = json.omitDefaultDeleteReasons deleteReasons = deleteReasons.filter( - (dl) => forbidden.indexOf(dl.changesetMessage) < 0 + (dl) => forbidden.indexOf(dl.changesetMessage) < 0, ) } for (const defaultDeleteReason of deleteReasons) { this.deleteReasons.push({ changesetMessage: defaultDeleteReason.changesetMessage, - explanation: - defaultDeleteReason.explanation.Clone(/*Must clone, hides translation otherwise*/), + explanation: defaultDeleteReason.explanation, }) } } @@ -91,7 +90,7 @@ export default class DeleteConfig { if (json.softDeletionTags !== undefined) { this.softDeletionTags = TagUtils.Tag( json.softDeletionTags, - `${context}.softDeletionTags` + `${context}.softDeletionTags`, ) } diff --git a/src/UI/BigComponents/ContactLink.svelte b/src/UI/BigComponents/ContactLink.svelte index 2cd12366b..43f7725b0 100644 --- a/src/UI/BigComponents/ContactLink.svelte +++ b/src/UI/BigComponents/ContactLink.svelte @@ -6,6 +6,7 @@ import ToSvelte from "../Base/ToSvelte.svelte" import * as native from "../../assets/language_native.json" import { TypedTranslation } from "../i18n/Translation" + import Tr from "../Base/Tr.svelte" const availableTranslationTyped: TypedTranslation<{ native: string }> = Translations.t.communityIndex.available @@ -46,7 +47,7 @@ {resource.resolved?.description} {#if resource.languageCodes?.indexOf($language) >= 0}
- availableTranslation.Clone()} /> +
{/if} diff --git a/src/UI/Popup/SplitRoadWizard.svelte b/src/UI/Popup/SplitRoadWizard.svelte index 48017e175..8df605659 100644 --- a/src/UI/Popup/SplitRoadWizard.svelte +++ b/src/UI/Popup/SplitRoadWizard.svelte @@ -108,7 +108,7 @@ {:else if step === "has_been_split"} - +