diff --git a/TIUIElements/Sources/Views/Placeholder/Localization/DefaultPlaceholderLocalizationProvider.swift b/TIUIElements/Sources/Views/Placeholder/Localization/DefaultPlaceholderLocalizationProvider.swift index 4a554825..ade64dec 100644 --- a/TIUIElements/Sources/Views/Placeholder/Localization/DefaultPlaceholderLocalizationProvider.swift +++ b/TIUIElements/Sources/Views/Placeholder/Localization/DefaultPlaceholderLocalizationProvider.swift @@ -37,8 +37,8 @@ open class DefaultPlaceholderLocalizationProvider: PlaceholderLocalizationProvid "common_placeholder_title_empty_state" } - public static var repeateKey: String { - "common_global_repeate" + public static var repeatKey: String { + "common_global_repeat" } } @@ -59,8 +59,8 @@ open class DefaultPlaceholderLocalizationProvider: PlaceholderLocalizationProvid bundle.localizedString(forKey: Defaults.emptyStateKey, value: "The list is empty.", table: tableName) } - open var repeateButtonTitle: String { - bundle.localizedString(forKey: Defaults.repeateKey, value: "Repeate", table: tableName) + open var repeatButtonTitle: String { + bundle.localizedString(forKey: Defaults.repeatKey, value: "Repeat", table: tableName) } // MARK: - Init diff --git a/TIUIElements/Sources/Views/Placeholder/Localization/PlaceholderLocalizationProvider.swift b/TIUIElements/Sources/Views/Placeholder/Localization/PlaceholderLocalizationProvider.swift index bf054156..b25faba5 100644 --- a/TIUIElements/Sources/Views/Placeholder/Localization/PlaceholderLocalizationProvider.swift +++ b/TIUIElements/Sources/Views/Placeholder/Localization/PlaceholderLocalizationProvider.swift @@ -24,5 +24,5 @@ public protocol PlaceholderLocalizationProvider { var errorTitle: String { get } var loadingDataErrorTitle: String { get } var emptyStateTitle: String { get } - var repeateButtonTitle: String { get } + var repeatButtonTitle: String { get } } diff --git a/TIUIElements/Sources/Views/Placeholder/PlaceholderFactory.swift b/TIUIElements/Sources/Views/Placeholder/PlaceholderFactory.swift index 015b8087..3027b9ab 100644 --- a/TIUIElements/Sources/Views/Placeholder/PlaceholderFactory.swift +++ b/TIUIElements/Sources/Views/Placeholder/PlaceholderFactory.swift @@ -72,7 +72,7 @@ open class PlaceholderFactory { } } .withButton { buttonStyle in - buttonStyle.titles = [.normal: localizationProvider.repeateButtonTitle] + buttonStyle.titles = [.normal: localizationProvider.repeatButtonTitle] buttonStyle.appearance = [.normal: Self.defaultButtonAppearance] } }