Add missing comments to localized strings, reorder buttons, mark destructive buttons
This commit is contained in:
@@ -16,7 +16,7 @@ struct EULAView: View {
|
||||
DamusGradient()
|
||||
|
||||
ScrollView {
|
||||
Text("EULA")
|
||||
Text("EULA", comment: "Label indicating that the below text is the EULA, an acronym for End User License Agreement.")
|
||||
.font(.title.bold())
|
||||
.foregroundColor(.white)
|
||||
|
||||
@@ -72,11 +72,11 @@ By using our Application, you signify your acceptance of this EULA. If you do no
|
||||
NavigationLink(destination: CreateAccountView(), isActive: $creating_account) {
|
||||
EmptyView()
|
||||
}
|
||||
DamusWhiteButton("Accept") {
|
||||
DamusWhiteButton(NSLocalizedString("Accept", comment: "Button to accept the end user license agreement before being allowed into the app.")) {
|
||||
creating_account = true
|
||||
}
|
||||
|
||||
DamusWhiteButton("Reject") {
|
||||
|
||||
DamusWhiteButton(NSLocalizedString("Reject", comment: "Button to reject the end user license agreement, which disallows the user from being let into the app.")) {
|
||||
dismiss()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user