mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix localization
This commit is contained in:
parent
d046176912
commit
6ce70fe59b
@ -9008,6 +9008,10 @@ Sorry for the inconvenience.";
|
|||||||
"PowerSaving.BatteryLevelLimit.AlwaysOff" = "Always Off";
|
"PowerSaving.BatteryLevelLimit.AlwaysOff" = "Always Off";
|
||||||
"PowerSaving.BatteryLevelLimit.WhenBelow" = "When Below %@%";
|
"PowerSaving.BatteryLevelLimit.WhenBelow" = "When Below %@%";
|
||||||
|
|
||||||
|
"PowerSaving.AllDescriptionNever" = "Don’t disable all resource-intensive processes even when the battery is low.";
|
||||||
|
"PowerSaving.AllDescriptionAlways" = "Always disable all resource-intensive processes, regardless of the battery charge level.";
|
||||||
|
"PowerSaving.AllDescriptionLimit" = "Automatically disable all resource-intensive processes when your battery is below %@%.";
|
||||||
|
|
||||||
"AppearanceSettings.Animations" = "Animations";
|
"AppearanceSettings.Animations" = "Animations";
|
||||||
|
|
||||||
"SendInviteLink.SkipAction" = "Skip";
|
"SendInviteLink.SkipAction" = "Skip";
|
||||||
|
@ -221,11 +221,11 @@ private func energeSavingSettingsScreenEntries(
|
|||||||
|
|
||||||
let allText: String
|
let allText: String
|
||||||
if settings.energyUsageSettings.activationThreshold <= 4 {
|
if settings.energyUsageSettings.activationThreshold <= 4 {
|
||||||
allText = "Don’t disable all resource-intensive processes even when the battery is low."
|
allText = presentationData.strings.PowerSaving_AllDescriptionNever
|
||||||
} else if settings.energyUsageSettings.activationThreshold >= 96 {
|
} else if settings.energyUsageSettings.activationThreshold >= 96 {
|
||||||
allText = "Always disable all resource-intensive processes, regardless of the battery charge level."
|
allText = presentationData.strings.PowerSaving_AllDescriptionAlways
|
||||||
} else {
|
} else {
|
||||||
allText = "Automatically disable all resource-intensive processes when your battery is below \(settings.energyUsageSettings.activationThreshold)%."
|
allText = presentationData.strings.PowerSaving_AllDescriptionLimit("\(settings.energyUsageSettings.activationThreshold)")
|
||||||
}
|
}
|
||||||
entries.append(.allFooter(allText))
|
entries.append(.allFooter(allText))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user