diff --git a/Telegram/Telegram-iOS/en.lproj/Localizable.strings b/Telegram/Telegram-iOS/en.lproj/Localizable.strings index 21a92a0a1d..1a858d3864 100644 --- a/Telegram/Telegram-iOS/en.lproj/Localizable.strings +++ b/Telegram/Telegram-iOS/en.lproj/Localizable.strings @@ -13041,8 +13041,8 @@ Sorry for the inconvenience."; "Gift.Send.HideMyName.Info" = "Hide my name and message from visitors to %1$@'s profile. %2$@ will still see your name and message."; "Gift.Send.Send" = "Send a Gift for"; "Gift.Send.Limited" = "Limited"; -"Gift.Send.Left_1" = "left"; -"Gift.Send.Left_any" = "left"; +"Gift.Send.Remains_1" = "%@ left"; +"Gift.Send.Remains_any" = "%@ left"; "Gift.Send.ErrorUnknown" = "An error occurred. Please try again."; "Gift.Send.ErrorOutOfStock" = "Sorry, this gift is sold out. Please choose another gift."; diff --git a/submodules/TelegramUI/Components/Gifts/GiftSetupScreen/Sources/GiftSetupScreen.swift b/submodules/TelegramUI/Components/Gifts/GiftSetupScreen/Sources/GiftSetupScreen.swift index 9f8c221c98..e503f27700 100644 --- a/submodules/TelegramUI/Components/Gifts/GiftSetupScreen/Sources/GiftSetupScreen.swift +++ b/submodules/TelegramUI/Components/Gifts/GiftSetupScreen/Sources/GiftSetupScreen.swift @@ -626,7 +626,7 @@ final class GiftSetupScreenComponent: Component { badgePosition: position, badgeGraphPosition: position, invertProgress: true, - leftString: environment.strings.Gift_Send_Left(remains), + leftString: environment.strings.Gift_Send_Remains(remains).replacingOccurrences(of: remainsString, with: "").trimmingCharacters(in: .whitespacesAndNewlines), groupingSeparator: environment.dateTimeFormat.groupingSeparator )), environment: {},