mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 03:20:48 +00:00
Fix missing localization
This commit is contained in:
parent
8845e78fba
commit
ef227505dc
@ -5489,3 +5489,6 @@ Any member of this group will be able to see messages in the channel.";
|
||||
|
||||
"Conversation.ContextMenuDiscuss" = "Discuss";
|
||||
|
||||
"CreatePoll.ExplanationHeader" = "EXPLANATION";
|
||||
"CreatePoll.Explanation" = "Add a Comment (Optional)";
|
||||
"CreatePoll.ExplanationInfo" = "Users will see this comment after choosing a wrong answer, good for educational purposes.";
|
||||
|
@ -476,10 +476,9 @@ private func createPollControllerEntries(presentationData: PresentationData, pee
|
||||
}
|
||||
|
||||
if isQuiz {
|
||||
//TODO:localize
|
||||
entries.append(.quizSolutionHeader("EXPLANATION"))
|
||||
entries.append(.quizSolutionText(placeholder: "Add a Comment (Optional)", text: state.solutionText))
|
||||
entries.append(.quizSolutionInfo("Users will see this comment after choosing a wrong answer, good for educational purposes."))
|
||||
entries.append(.quizSolutionHeader(presentationData.strings.CreatePoll_ExplanationHeader))
|
||||
entries.append(.quizSolutionText(placeholder: presentationData.strings.CreatePoll_Explanation, text: state.solutionText))
|
||||
entries.append(.quizSolutionInfo(presentationData.strings.CreatePoll_ExplanationInfo))
|
||||
}
|
||||
|
||||
return entries
|
||||
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -219,12 +219,6 @@ private func pollResultsControllerEntries(presentationData: PresentationData, po
|
||||
|
||||
entries.append(.text(poll.text))
|
||||
|
||||
/*if let solution = poll.results.solution, !solution.isEmpty {
|
||||
//TODO:localize
|
||||
entries.append(.solutionHeader("EXPLANATION"))
|
||||
entries.append(.solutionText(solution))
|
||||
}*/
|
||||
|
||||
var optionVoterCount: [Int: Int32] = [:]
|
||||
let totalVoterCount = poll.results.totalVoters ?? 0
|
||||
var optionPercentage: [Int] = []
|
||||
|
Binary file not shown.
@ -449,12 +449,12 @@ public final class WalletStrings: Equatable {
|
||||
public var Wallet_SecureStorageReset_Title: String { return self._s[219]! }
|
||||
public var Wallet_Receive_CommentHeader: String { return self._s[220]! }
|
||||
public var Wallet_Info_ReceiveGrams: String { return self._s[221]! }
|
||||
public func Wallet_Updated_MinutesAgo(_ value: Int32) -> String {
|
||||
public func Wallet_Updated_HoursAgo(_ value: Int32) -> String {
|
||||
let form = getPluralizationForm(self.lc, value)
|
||||
let stringValue = walletStringsFormattedNumber(value, self.groupingSeparator)
|
||||
return String(format: self._ps[0 * 6 + Int(form.rawValue)]!, stringValue)
|
||||
}
|
||||
public func Wallet_Updated_HoursAgo(_ value: Int32) -> String {
|
||||
public func Wallet_Updated_MinutesAgo(_ value: Int32) -> String {
|
||||
let form = getPluralizationForm(self.lc, value)
|
||||
let stringValue = walletStringsFormattedNumber(value, self.groupingSeparator)
|
||||
return String(format: self._ps[1 * 6 + Int(form.rawValue)]!, stringValue)
|
||||
|
Loading…
x
Reference in New Issue
Block a user