mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Update localization
This commit is contained in:
parent
7ea47b8105
commit
c1d8b98fda
2 changed files with 8 additions and 4 deletions
|
|
@ -8771,6 +8771,7 @@ Sorry for the inconvenience.";
|
|||
"Premium.CurrentPlan" = "your current plan";
|
||||
"Premium.UpgradeFor" = "Upgrade for %@ / month";
|
||||
"Premium.UpgradeForAnnual" = "Upgrade for %@ / year";
|
||||
"Premium.UpgradeForBiannual" = "Upgrade for %@ / 2 years";
|
||||
|
||||
"ChatList.PremiumAnnualDiscountTitle" = "Telegram Premium with a discount of %@";
|
||||
"ChatList.PremiumAnnualDiscountText" = "Sign up for the annual payment plan for Telegram Premium now to get the discount.";
|
||||
|
|
|
|||
|
|
@ -3792,7 +3792,13 @@ private final class PremiumIntroScreenComponent: CombinedComponent {
|
|||
} else if isUnusedGift {
|
||||
buttonTitle = environment.strings.Premium_Gift_ApplyLink
|
||||
} else if state.isPremium == true && state.canUpgrade {
|
||||
buttonTitle = state.isAnnual ? environment.strings.Premium_UpgradeForAnnual(state.price ?? "—").string : environment.strings.Premium_UpgradeFor(state.price ?? "—").string
|
||||
if state.isAnnual {
|
||||
buttonTitle = environment.strings.Premium_UpgradeForAnnual(state.price ?? "—").string
|
||||
} else if state.isBiannual {
|
||||
buttonTitle = environment.strings.Premium_UpgradeForBiannual(state.price ?? "—").string
|
||||
} else {
|
||||
buttonTitle = environment.strings.Premium_UpgradeFor(state.price ?? "—").string
|
||||
}
|
||||
} else {
|
||||
if state.isAnnual {
|
||||
buttonTitle = environment.strings.Premium_SubscribeForAnnual(state.price ?? "—").string
|
||||
|
|
@ -3803,9 +3809,6 @@ private final class PremiumIntroScreenComponent: CombinedComponent {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
let controller = environment.controller
|
||||
let button = button.update(
|
||||
component: SolidRoundedButtonComponent(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue