Skip to content

Commit fdc0c18

Browse files
committed
Fix incorrect localization references for "App on"/"Developer on"
1 parent aeb7ae6 commit fdc0c18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/LinksKit/Model/Link.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ extension Link {
145145
/// ```
146146
public static func developerOn(socialPlatform: SocialPlatform, handle: String) -> Self {
147147
Link(
148-
title: String(localized: "Developer on \(socialPlatform.description)"),
148+
title: String(localized: "Developer on \(socialPlatform.description)", bundle: .module),
149149
systemImage: socialPlatform.systemImage,
150150
url: socialPlatform.url(handle: handle)
151151
)
@@ -164,7 +164,7 @@ extension Link {
164164
/// ```
165165
public static func appOn(socialPlatform: SocialPlatform, handle: String) -> Self {
166166
Link(
167-
title: String(localized: "App on \(socialPlatform.description)"),
167+
title: String(localized: "App on \(socialPlatform.description)", bundle: .module),
168168
systemImage: socialPlatform.systemImage,
169169
url: socialPlatform.url(handle: handle)
170170
)

0 commit comments

Comments
 (0)