mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
Translations update (#2786)
Co-authored-by: Velin92 <Velin92@users.noreply.github.com> Co-authored-by: Mauro Romito <mauro.romito@element.io>
This commit is contained in:
@@ -32,20 +32,11 @@ struct QRCodeLoginScreenViewState: BindableState {
|
||||
return finalString
|
||||
}()
|
||||
|
||||
private static let initialStateListItem4AttributedText = {
|
||||
let boldPlaceholder = "{bold}"
|
||||
var finalString = AttributedString(L10n.screenQrCodeLoginInitialStateItem4(boldPlaceholder))
|
||||
var boldString = AttributedString(L10n.screenQrCodeLoginInitialStateItem4Action)
|
||||
boldString.bold()
|
||||
finalString.replace(boldPlaceholder, with: boldString)
|
||||
return finalString
|
||||
}()
|
||||
|
||||
let initialStateListItems = [
|
||||
AttributedString(L10n.screenQrCodeLoginInitialStateItem1(InfoPlistReader.main.productionAppName)),
|
||||
AttributedString(L10n.screenQrCodeLoginInitialStateItem2),
|
||||
initialStateListItem3AttributedText,
|
||||
initialStateListItem4AttributedText
|
||||
AttributedString(L10n.screenQrCodeLoginInitialStateItem4)
|
||||
]
|
||||
|
||||
let connectionNotSecureListItems = [
|
||||
|
||||
Reference in New Issue
Block a user