mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-05 23:47:44 +02:00
MESSENGER-3304 string in separate files
This commit is contained in:
@@ -44,7 +44,7 @@ struct OnboardingBwiSplashScreen: View {
|
||||
if isFetchingDowntime {
|
||||
ProgressView()
|
||||
} else {
|
||||
Text(VectorL10n.splashScreenStart)
|
||||
Text(BWIL10n.splashScreenStart)
|
||||
.font(theme.fonts.body.bold())
|
||||
.frame(minWidth: 0, maxWidth: .infinity, minHeight: 32)
|
||||
}
|
||||
@@ -75,23 +75,23 @@ struct OnboardingBwiSplashScreen: View {
|
||||
.navigationTitle("")
|
||||
.navigationBarHidden(true)
|
||||
.alert(isPresented: $showServerMaintananceAlert) {
|
||||
Alert(title: Text(NSLocalizedString("downtime_title", tableName: "Bwi", comment: "")),
|
||||
Alert(title: Text(BWIL10n.downtimeTitle),
|
||||
message: Text(ServerDowntimeDefaultService().downtimeText()),
|
||||
dismissButton: .destructive(Text(NSLocalizedString("downtime_alert_dismiss_button", tableName: "Bwi", comment: ""))) {
|
||||
dismissButton: .destructive(Text(BWIL10n.downtimeAlertDismissButton)) {
|
||||
viewModel.send(viewAction: .login)
|
||||
})
|
||||
}
|
||||
.alert(isPresented: $showServerMaintananceDefaultAlert) {
|
||||
Alert(title: Text(NSLocalizedString("downtime_title", tableName: "Bwi", comment: "")),
|
||||
message: Text(NSLocalizedString("downtime_default_message", tableName: "Bwi", comment: "")),
|
||||
dismissButton: .destructive(Text(NSLocalizedString("downtime_alert_dismiss_button", tableName: "Bwi", comment: ""))) {
|
||||
Alert(title: Text(BWIL10n.downtimeTitle),
|
||||
message: Text(BWIL10n.downtimeDefaultMessage),
|
||||
dismissButton: .destructive(Text(BWIL10n.downtimeAlertDismissButton)) {
|
||||
viewModel.send(viewAction: .login)
|
||||
})
|
||||
}
|
||||
.alert(isPresented: $showInvalidAppVersionAlert) {
|
||||
Alert(title: Text(VectorL10n.bwiOutdatedVersionWarningTitle),
|
||||
message: Text(VectorL10n.bwiOutdatedVersionWarningMessage(AppInfo.current.displayName)),
|
||||
dismissButton: .destructive(Text(VectorL10n.bwiOutdatedVersionAppstoreButton), action: {
|
||||
Alert(title: Text(BWIL10n.bwiOutdatedVersionWarningTitle),
|
||||
message: Text(BWIL10n.bwiOutdatedVersionWarningMessage(AppInfo.current.displayName)),
|
||||
dismissButton: .destructive(Text(BWIL10n.bwiOutdatedVersionAppstoreButton), action: {
|
||||
let iTunesLink = "itms://itunes.apple.com/app/BwMessenger/id1518548153?mt=8"
|
||||
UIApplication.shared.open(URL(string: iTunesLink)!, options: [:], completionHandler: nil)
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user