mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Update localization
This commit is contained in:
parent
383ab9e479
commit
d7a8f0dcc3
@ -3703,6 +3703,18 @@ Unused sets are archived when you add more.";
|
|||||||
"NotificationsSound.Pulse" = "Pulse";
|
"NotificationsSound.Pulse" = "Pulse";
|
||||||
"NotificationsSound.Synth" = "Synth";
|
"NotificationsSound.Synth" = "Synth";
|
||||||
|
|
||||||
|
"NotificationsSound.Rebound" = "Rebound";
|
||||||
|
"NotificationsSound.Antic" = "Antic";
|
||||||
|
"NotificationsSound.Cheers" = "Cheers";
|
||||||
|
"NotificationsSound.Droplet" = "Droplet";
|
||||||
|
"NotificationsSound.Handoff" = "Handoff";
|
||||||
|
"NotificationsSound.Milestone" = "Milestone";
|
||||||
|
"NotificationsSound.Passage" = "Passage";
|
||||||
|
"NotificationsSound.Portal" = "Portal";
|
||||||
|
"NotificationsSound.Rattle" = "Rattle";
|
||||||
|
"NotificationsSound.Slide" = "Slide";
|
||||||
|
"NotificationsSound.Welcome" = "Welcome";
|
||||||
|
|
||||||
"NotificationsSound.Tritone" = "Tri-tone";
|
"NotificationsSound.Tritone" = "Tri-tone";
|
||||||
"NotificationsSound.Tremolo" = "Tremolo";
|
"NotificationsSound.Tremolo" = "Tremolo";
|
||||||
"NotificationsSound.Alert" = "Alert";
|
"NotificationsSound.Alert" = "Alert";
|
||||||
@ -9813,10 +9825,6 @@ Sorry for the inconvenience.";
|
|||||||
"Premium.Stories.Format.Title" = "Links and Formatting";
|
"Premium.Stories.Format.Title" = "Links and Formatting";
|
||||||
"Premium.Stories.Format.Text" = "Add links and formatting in captions to your stories.";
|
"Premium.Stories.Format.Text" = "Add links and formatting in captions to your stories.";
|
||||||
|
|
||||||
"Premium.MaxExpiringStoriesText" = "You can post **%@** stories in **24** hours. Subscribe to **Telegram Premium** to increase this limit to **%@**.";
|
|
||||||
"Premium.MaxExpiringStoriesNoPremiumText" = "You have reached the limit of **%@** stories per **24** hours.";
|
|
||||||
"Premium.MaxExpiringStoriesFinalText" = "You have reached the limit of **%@** stories per **24** hours.";
|
|
||||||
|
|
||||||
"Premium.MaxStoriesWeeklyText" = "You can post **%@** stories in a week. Upgrade to **Telegram Premium** to increase this limit to **%@**.";
|
"Premium.MaxStoriesWeeklyText" = "You can post **%@** stories in a week. Upgrade to **Telegram Premium** to increase this limit to **%@**.";
|
||||||
"Premium.MaxStoriesWeeklyNoPremiumText" = "You have reached the limit of **%@** stories per week.";
|
"Premium.MaxStoriesWeeklyNoPremiumText" = "You have reached the limit of **%@** stories per week.";
|
||||||
"Premium.MaxStoriesWeeklyFinalText" = "You have reached the limit of **%@** stories per week.";
|
"Premium.MaxStoriesWeeklyFinalText" = "You have reached the limit of **%@** stories per week.";
|
||||||
@ -13992,3 +14000,17 @@ Sorry for the inconvenience.";
|
|||||||
"Conversation.VideoTimeLinkCopied" = "Link with start time at %@ copied to clipboard.";
|
"Conversation.VideoTimeLinkCopied" = "Link with start time at %@ copied to clipboard.";
|
||||||
"Share.VideoStartAt" = "Start at %@";
|
"Share.VideoStartAt" = "Start at %@";
|
||||||
"SendStarReactions.SubtitleFrom" = "from %@";
|
"SendStarReactions.SubtitleFrom" = "from %@";
|
||||||
|
|
||||||
|
"Premium.MaxExpiringStoriesTextNumberFormat_1" = "**%d** story";
|
||||||
|
"Premium.MaxExpiringStoriesTextNumberFormat_any" = "**%d** stories";
|
||||||
|
"Premium.MaxExpiringStoriesTextPremiumNumberFormat_1" = "**%d** story";
|
||||||
|
"Premium.MaxExpiringStoriesTextPremiumNumberFormat_any" = "**%d** stories";
|
||||||
|
"Premium.MaxExpiringStoriesTextFormat" = "You can post %@ in **24** hours. Subscribe to **Telegram Premium** to increase this limit to **%@**.";
|
||||||
|
|
||||||
|
"Premium.MaxExpiringStoriesNoPremiumTextNumberFormat_1" = "**%d** story";
|
||||||
|
"Premium.MaxExpiringStoriesNoPremiumTextNumberFormat_any" = "**%d** stories";
|
||||||
|
"Premium.MaxExpiringStoriesNoPremiumTextFormat" = "You have reached the limit of %@ per **24** hours.";
|
||||||
|
|
||||||
|
"Premium.MaxExpiringStoriesFinalTextNumberFormat_1" = "**%d** story";
|
||||||
|
"Premium.MaxExpiringStoriesFinalTextNumberFormat_any" = "**%d** stories";
|
||||||
|
"Premium.MaxExpiringStoriesFinalTextFormat" = "You have reached the limit of %@ stories per **24** hours.";
|
||||||
|
@ -1088,7 +1088,14 @@ private final class LimitSheetContent: CombinedComponent {
|
|||||||
let premiumLimit = state.premiumLimits.maxExpiringStoriesCount
|
let premiumLimit = state.premiumLimits.maxExpiringStoriesCount
|
||||||
iconName = "Premium/Stories"
|
iconName = "Premium/Stories"
|
||||||
badgeText = "\(limit)"
|
badgeText = "\(limit)"
|
||||||
string = component.count >= premiumLimit ? strings.Premium_MaxExpiringStoriesFinalText("\(premiumLimit)").string : strings.Premium_MaxExpiringStoriesText("\(limit)", "\(premiumLimit)").string
|
if component.count >= premiumLimit {
|
||||||
|
let limitNumberString = strings.Premium_MaxExpiringStoriesFinalTextNumberFormat(Int32(premiumLimit))
|
||||||
|
string = strings.Premium_MaxExpiringStoriesFinalTextFormat(limitNumberString).string
|
||||||
|
} else {
|
||||||
|
let limitNumberString = strings.Premium_MaxExpiringStoriesTextNumberFormat(Int32(limit))
|
||||||
|
let premiumLimitNumberString = strings.Premium_MaxExpiringStoriesTextPremiumNumberFormat(Int32(premiumLimit))
|
||||||
|
string = strings.Premium_MaxExpiringStoriesTextFormat(limitNumberString, premiumLimitNumberString).string
|
||||||
|
}
|
||||||
defaultValue = ""
|
defaultValue = ""
|
||||||
premiumValue = component.count >= premiumLimit ? "" : "\(premiumLimit)"
|
premiumValue = component.count >= premiumLimit ? "" : "\(premiumLimit)"
|
||||||
badgePosition = max(0.32, CGFloat(component.count) / CGFloat(premiumLimit))
|
badgePosition = max(0.32, CGFloat(component.count) / CGFloat(premiumLimit))
|
||||||
@ -1096,7 +1103,8 @@ private final class LimitSheetContent: CombinedComponent {
|
|||||||
|
|
||||||
if isPremiumDisabled {
|
if isPremiumDisabled {
|
||||||
badgeText = "\(limit)"
|
badgeText = "\(limit)"
|
||||||
string = strings.Premium_MaxExpiringStoriesNoPremiumText("\(limit)").string
|
let numberString = strings.Premium_MaxExpiringStoriesNoPremiumTextNumberFormat(Int32(limit))
|
||||||
|
string = strings.Premium_MaxExpiringStoriesNoPremiumTextFormat(numberString).string
|
||||||
}
|
}
|
||||||
buttonAnimationName = nil
|
buttonAnimationName = nil
|
||||||
case .storiesWeekly:
|
case .storiesWeekly:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user