mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-17 23:18:27 +02:00
MESSENGER-3304 string in separate files
This commit is contained in:
@@ -38,39 +38,39 @@ struct DeveloperSettingsView: View {
|
||||
var body: some View {
|
||||
List {
|
||||
Button(action: { showAlert = createNewPersonalNotesRoom(mxSession: session) }) {
|
||||
Text(NSLocalizedString("bwi_settings_developer_create_new_personal_notes_room", tableName: "Vector", comment: ""))
|
||||
Text(BWIL10n.bwiSettingsDeveloperCreateNewPersonalNotesRoom)
|
||||
.foregroundColor(Color(ThemeService.shared().theme.tintColor))
|
||||
.font(.system(size: 17))
|
||||
}
|
||||
.alert(isPresented: $showAlert) {
|
||||
Alert(title: Text(NSLocalizedString("bwi_settings_developer", tableName: "Vector", comment: "")), message: Text(NSLocalizedString("bwi_settings_developer_new_personal_notes_room_created", tableName: "Vector", comment: "")), dismissButton: .default(Text("Ok")))
|
||||
Alert(title: Text(BWIL10n.bwiSettingsDeveloper), dismissButton: .default(Text("Ok")))
|
||||
}
|
||||
|
||||
Button(action: { showAlert = resetMatomoInfoScreen() }) {
|
||||
Text(NSLocalizedString("bwi_settings_developer_reset_matomo_info", tableName: "Vector", comment: ""))
|
||||
Text(BWIL10n.bwiSettingsDeveloperResetMatomoInfo)
|
||||
.foregroundColor(Color(ThemeService.shared().theme.tintColor))
|
||||
.font(.system(size: 17))
|
||||
}
|
||||
.alert(isPresented: $showAlert) {
|
||||
Alert(title: Text(NSLocalizedString("bwi_settings_developer", tableName: "Vector", comment: "")), message: Text(NSLocalizedString("bwi_settings_developer_show_matomo_privacy_notes_resetted", tableName: "Vector", comment: "")), dismissButton: .default(Text("Ok")))
|
||||
Alert(title: Text(BWIL10n.bwiSettingsDeveloperShowMatomoPrivacyNotesResetted), message: Text(BWIL10n.bwiSettingsDeveloperShowMatomoPrivacyNotesResetted), dismissButton: .default(Text("Ok")))
|
||||
}
|
||||
Button(action: { _ = restrictUser(mxSession: session) }) {
|
||||
Text(NSLocalizedString("bwi_settings_developer_restrict_user", tableName: "Bwi", comment: ""))
|
||||
Text(BWIL10n.bwiSettingsDeveloperRestrictUser)
|
||||
.foregroundColor(Color(ThemeService.shared().theme.tintColor))
|
||||
.font(.system(size: 17))
|
||||
}
|
||||
Button(action: { _ = unrestrictUser(mxSession: session) }) {
|
||||
Text(NSLocalizedString("bwi_settings_developer_unrestrict_user", tableName: "Bwi", comment: ""))
|
||||
Text(BWIL10n.bwiSettingsDeveloperUnrestrictUser)
|
||||
.foregroundColor(Color(ThemeService.shared().theme.tintColor))
|
||||
.font(.system(size: 17))
|
||||
}
|
||||
Button(action: { _ = unmarkBannerVersion(mxSession: session) }) {
|
||||
Text(NSLocalizedString("bwi_settings_developer_unmark_banner", tableName: "Bwi", comment: ""))
|
||||
Text(BWIL10n.bwiSettingsDeveloperUnmarkBanner)
|
||||
.foregroundColor(Color(ThemeService.shared().theme.tintColor))
|
||||
.font(.system(size: 17))
|
||||
}
|
||||
}
|
||||
.navigationTitle(NSLocalizedString("bwi_settings_developer", tableName: "Vector", comment: ""))
|
||||
.navigationTitle(BWIL10n.bwiSettingsDeveloper)
|
||||
.navigationBarTitleDisplayMode(.inline)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user