mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-02 00:17:02 +00:00
Various fixes
This commit is contained in:
parent
d85b4493ff
commit
6a71c6ccad
@ -10215,9 +10215,9 @@ Sorry for the inconvenience.";
|
||||
"ReassignBoost.ExpiresOn" = "Boost expires on %@";
|
||||
"ReassignBoost.WaitForCooldown" = "Wait until the boost is available or get **%1$@** more boosts by gifting a **Telegram Premium** subscription.";
|
||||
|
||||
"ReassignBoost.Success" = "%1$@ are reassigned from %2$@.";
|
||||
"ReassignBoost.Boosts_1" = "%@ boost";
|
||||
"ReassignBoost.Boosts_any" = "%@ boosts";
|
||||
"ReassignBoost.Success" = "%1$@ from %2$@.";
|
||||
"ReassignBoost.Boosts_1" = "%@ boost is reassigned";
|
||||
"ReassignBoost.Boosts_any" = "%@ boosts are reassigned";
|
||||
"ReassignBoost.OtherChannels_1" = "%@ other channel";
|
||||
"ReassignBoost.OtherChannels_any" = "%@ other channels";
|
||||
|
||||
@ -10433,6 +10433,10 @@ Sorry for the inconvenience.";
|
||||
"CountriesList.SaveCountries" = "Save Countries";
|
||||
"CountriesList.SelectUpTo_1" = "select up to %@ country";
|
||||
"CountriesList.SelectUpTo_any" = "select up to %@ countries";
|
||||
"CountriesList.Search" = "Search";
|
||||
"CountriesList.MaximumReached" = "You can select up to %@.";
|
||||
"CountriesList.MaximumReached.Countries_1" = "%@ country";
|
||||
"CountriesList.MaximumReached.Countries_any" = "%@ countries";
|
||||
|
||||
"Message.GiveawayOngoing" = "Giveaway: %1$@ on %2$@";
|
||||
"Message.GiveawayOngoing.Winners_1" = "%@ winner to be selected";
|
||||
|
@ -468,7 +468,8 @@ final class CountriesMultiselectionScreenComponent: Component {
|
||||
self.hapticFeedback.error()
|
||||
|
||||
let presentationData = component.context.sharedContext.currentPresentationData.with { $0 }
|
||||
controller.present(UndoOverlayController(presentationData: presentationData, content: .info(title: nil, text: "You can select maximum \(limit) countries.", timeout: nil, customUndoText: nil), elevatedLayout: false, position: .bottom, animateInAsReplacement: false, action: { _ in return false }), in: .current)
|
||||
let countriesValue = environment.strings.CountriesList_MaximumReached_Countries(limit)
|
||||
controller.present(UndoOverlayController(presentationData: presentationData, content: .info(title: nil, text: environment.strings.CountriesList_MaximumReached(countriesValue).string, timeout: nil, customUndoText: nil), elevatedLayout: false, position: .bottom, animateInAsReplacement: false, action: { _ in return false }), in: .current)
|
||||
return
|
||||
}
|
||||
toggleCountry()
|
||||
@ -721,7 +722,7 @@ final class CountriesMultiselectionScreenComponent: Component {
|
||||
))
|
||||
}
|
||||
|
||||
let placeholder: String = "Search"
|
||||
let placeholder: String = environment.strings.CountriesList_Search
|
||||
self.navigationTextField.parentState = state
|
||||
let navigationTextFieldSize = self.navigationTextField.update(
|
||||
transition: transition,
|
||||
|
Loading…
x
Reference in New Issue
Block a user