Localize strings in code

This commit is contained in:
Danny Moesch 2019-01-14 20:57:45 +01:00 committed by Mingshen Sun
parent 2d5ca58bd9
commit 1b4040135e
36 changed files with 626 additions and 334 deletions

View file

@ -51,7 +51,7 @@ class LabelTableViewCell: UITableViewCell {
}
}
contentLabel.font = Globals.passwordFont
} else if title.caseInsensitiveCompare("hmac-based") == .orderedSame {
} else if title.caseInsensitiveCompare("HmacBased".localize()) == .orderedSame {
type = .HOTP
if isReveal {
contentLabel.text = content