From d1b5b9fc98e8b32dc43809cb5e9ff8c4a526814c Mon Sep 17 00:00:00 2001 From: Nathan Mattes Date: Tue, 2 Jan 2024 15:36:26 +0100 Subject: [PATCH] Localize button-title for blocked domains (IOS-192) --- .../View/Control/ProfileRelationshipActionButton.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MastodonSDK/Sources/MastodonUI/View/Control/ProfileRelationshipActionButton.swift b/MastodonSDK/Sources/MastodonUI/View/Control/ProfileRelationshipActionButton.swift index 053bc72d4..5e9d098a4 100644 --- a/MastodonSDK/Sources/MastodonUI/View/Control/ProfileRelationshipActionButton.swift +++ b/MastodonSDK/Sources/MastodonUI/View/Control/ProfileRelationshipActionButton.swift @@ -71,8 +71,7 @@ extension ProfileRelationshipActionButton { } else if relationship.blocking { title = L10n.Common.Controls.Friendship.blocked } else if relationship.domainBlocking { - #warning("Wait for #1198 (Domain Block, IOS-5) to be merged") - title = "Unblock domain" + title = L10n.Common.Controls.Friendship.domainBlocked } else if relationship.requested { title = L10n.Common.Controls.Friendship.pending } else if relationship.muting {