diff --git a/apple/OmnivoreKit/Sources/Views/LocalText.swift b/apple/OmnivoreKit/Sources/Views/LocalText.swift index 148be5252..811426c7b 100644 --- a/apple/OmnivoreKit/Sources/Views/LocalText.swift +++ b/apple/OmnivoreKit/Sources/Views/LocalText.swift @@ -2,7 +2,9 @@ import Foundation public enum LocalText { public static func localText(key: String, comment: String? = nil) -> String { - NSLocalizedString(key, bundle: .module, comment: comment ?? "no comment provided by developer") + let string = NSLocalizedString(key, bundle: .module, comment: comment ?? "no comment provided by developer") + print(string) + return string } // Share extension diff --git a/apple/OmnivoreKit/Sources/Views/Resources/en.lproj/Localizable.strings b/apple/OmnivoreKit/Sources/Views/Resources/en.lproj/Localizable.strings index 77c6164c4..daabd3fa9 100644 --- a/apple/OmnivoreKit/Sources/Views/Resources/en.lproj/Localizable.strings +++ b/apple/OmnivoreKit/Sources/Views/Resources/en.lproj/Localizable.strings @@ -55,7 +55,7 @@ "clubsName" = "Club Name"; "clubsCreate" = "Create a new club"; "clubsYours" = "Your clubs"; -"clubsNotAMemberMessage" = "You are not a member of any clubs.\nCreate a new club and send the invite link to your friends get started.\n\nDuring the beta you are limited to creating three clubs, and each club\ncan have a maximum of twelve users." +"clubsNotAMemberMessage" = "You are not a member of any clubs.\nCreate a new club and send the invite link to your friends get started.\n\nDuring the beta you are limited to creating three clubs, and each club\ncan have a maximum of twelve users."; "clubsErrorCopying" = "Error copying invite URL"; "clubsAdminDenyViewing" = "The admin of this club does not allow viewing all members."; "clubsNoMembers" = "This club does not have any members. Add users to your club by sending\nthem the invite link."; diff --git a/apple/OmnivoreKit/Sources/Views/Resources/zh-Hans.lproj/Localizable.strings b/apple/OmnivoreKit/Sources/Views/Resources/zh-Hans.lproj/Localizable.strings index 21d6270cc..6f62d6537 100644 --- a/apple/OmnivoreKit/Sources/Views/Resources/zh-Hans.lproj/Localizable.strings +++ b/apple/OmnivoreKit/Sources/Views/Resources/zh-Hans.lproj/Localizable.strings @@ -55,7 +55,7 @@ "clubsName" = "读书俱乐部名称"; "clubsCreate" = "创建新读书俱乐部"; "clubsYours" = "您的读书俱乐部"; -"clubsNotAMemberMessage" = "您不是任何读书俱乐部的成员.\n创建新读书俱乐部并将邀请链接发送给您的朋友开始使用.\n\n在测试期间您只能创建三个读书俱乐部, 且每个读书俱乐部\n最多可以有 12 个用户." +"clubsNotAMemberMessage" = "您不是任何读书俱乐部的成员.\n创建新读书俱乐部并将邀请链接发送给您的朋友开始使用.\n\n在测试期间您只能创建三个读书俱乐部, 且每个读书俱乐部\n最多可以有 12 个用户."; "clubsErrorCopying" = "复制邀请 URL 时出错"; "clubsAdminDenyViewing" = "此读书俱乐部的管理员不允许查看所有成员."; "clubsNoMembers" = "此读书俱乐部没有任何成员. 通过向用户发送邀请链接\n将用户添加到您的读书俱乐部.";