From fdc0c18810d645e9fd2a4952d438ccd60d580895 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cihat=20Gu=CC=88ndu=CC=88z?= Date: Wed, 2 Oct 2024 11:42:57 +0200 Subject: [PATCH] Fix incorrect localization references for "App on"/"Developer on" --- Sources/LinksKit/Model/Link.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/LinksKit/Model/Link.swift b/Sources/LinksKit/Model/Link.swift index 3d2eb9e..b053de7 100644 --- a/Sources/LinksKit/Model/Link.swift +++ b/Sources/LinksKit/Model/Link.swift @@ -145,7 +145,7 @@ extension Link { /// ``` public static func developerOn(socialPlatform: SocialPlatform, handle: String) -> Self { Link( - title: String(localized: "Developer on \(socialPlatform.description)"), + title: String(localized: "Developer on \(socialPlatform.description)", bundle: .module), systemImage: socialPlatform.systemImage, url: socialPlatform.url(handle: handle) ) @@ -164,7 +164,7 @@ extension Link { /// ``` public static func appOn(socialPlatform: SocialPlatform, handle: String) -> Self { Link( - title: String(localized: "App on \(socialPlatform.description)"), + title: String(localized: "App on \(socialPlatform.description)", bundle: .module), systemImage: socialPlatform.systemImage, url: socialPlatform.url(handle: handle) )