mirror of
https://github.com/maxgoedjen/secretive.git
synced 2025-04-10 17:47:19 +00:00
Empty.
This commit is contained in:
parent
27d96a0845
commit
0f7f16d6cb
@ -69,9 +69,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"Create a new one by clicking here." : {
|
|
||||||
|
|
||||||
},
|
},
|
||||||
"create_secret_cancel_button" : {
|
"create_secret_cancel_button" : {
|
||||||
"localizations" : {
|
"localizations" : {
|
||||||
@ -241,6 +238,66 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"empty_store_modifiable_click_here_description" : {
|
||||||
|
"localizations" : {
|
||||||
|
"en" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Create a new one by clicking here."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"empty_store_modifiable_click_here_title" : {
|
||||||
|
"localizations" : {
|
||||||
|
"en" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "No Secrets"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"empty_store_modifiable_title" : {
|
||||||
|
"localizations" : {
|
||||||
|
"en" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "No Secrets"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"empty_store_nonmodifiable_description" : {
|
||||||
|
"localizations" : {
|
||||||
|
"en" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Use your Smart Card's management tool to create a secret."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"empty_store_nonmodifiable_supported_key_types" : {
|
||||||
|
"localizations" : {
|
||||||
|
"en" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Secretive supports EC256, EC384, RSA1024, and RSA2048 keys."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"empty_store_nonmodifiable_title" : {
|
||||||
|
"localizations" : {
|
||||||
|
"en" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "No Secrets"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"Help" : {
|
"Help" : {
|
||||||
|
|
||||||
},
|
},
|
||||||
@ -263,9 +320,6 @@
|
|||||||
},
|
},
|
||||||
"New Secret" : {
|
"New Secret" : {
|
||||||
|
|
||||||
},
|
|
||||||
"No Secrets" : {
|
|
||||||
|
|
||||||
},
|
},
|
||||||
"no_secure_storage_description" : {
|
"no_secure_storage_description" : {
|
||||||
"localizations" : {
|
"localizations" : {
|
||||||
@ -378,9 +432,6 @@
|
|||||||
},
|
},
|
||||||
"Secretive %@" : {
|
"Secretive %@" : {
|
||||||
|
|
||||||
},
|
|
||||||
"Secretive supports EC256, EC384, RSA1024, and RSA2048 keys." : {
|
|
||||||
|
|
||||||
},
|
},
|
||||||
"Setup Secretive" : {
|
"Setup Secretive" : {
|
||||||
|
|
||||||
@ -539,9 +590,6 @@
|
|||||||
},
|
},
|
||||||
"Update" : {
|
"Update" : {
|
||||||
|
|
||||||
},
|
|
||||||
"Use your Smart Card's management tool to create a secret." : {
|
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version" : "1.0"
|
"version" : "1.0"
|
||||||
|
@ -9,11 +9,11 @@ struct EmptyStoreView: View {
|
|||||||
var body: some View {
|
var body: some View {
|
||||||
if store is AnySecretStoreModifiable {
|
if store is AnySecretStoreModifiable {
|
||||||
NavigationLink(destination: EmptyStoreModifiableView(), tag: Constants.emptyStoreModifiableTag, selection: $activeSecret) {
|
NavigationLink(destination: EmptyStoreModifiableView(), tag: Constants.emptyStoreModifiableTag, selection: $activeSecret) {
|
||||||
Text("No Secrets")
|
Text("empty_store_modifiable_title")
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
NavigationLink(destination: EmptyStoreImmutableView(), tag: Constants.emptyStoreTag, selection: $activeSecret) {
|
NavigationLink(destination: EmptyStoreImmutableView(), tag: Constants.emptyStoreTag, selection: $activeSecret) {
|
||||||
Text("No Secrets")
|
Text("empty_store_nonmodifiable_title")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -23,7 +23,7 @@ extension EmptyStoreView {
|
|||||||
|
|
||||||
enum Constants {
|
enum Constants {
|
||||||
static let emptyStoreModifiableTag: AnyHashable = "emptyStoreModifiableTag"
|
static let emptyStoreModifiableTag: AnyHashable = "emptyStoreModifiableTag"
|
||||||
static let emptyStoreTag: AnyHashable = "emptyStoreModifiableTag"
|
static let emptyStoreTag: AnyHashable = "emptyStoreTag"
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -32,9 +32,9 @@ struct EmptyStoreImmutableView: View {
|
|||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
VStack {
|
VStack {
|
||||||
Text("No Secrets").bold()
|
Text("empty_store_nonmodifiable_title").bold()
|
||||||
Text("Use your Smart Card's management tool to create a secret.")
|
Text("empty_store_nonmodifiable_description")
|
||||||
Text("Secretive supports EC256, EC384, RSA1024, and RSA2048 keys.")
|
Text("empty_store_nonmodifiable_supported_key_types")
|
||||||
}.frame(maxWidth: .infinity, maxHeight: .infinity)
|
}.frame(maxWidth: .infinity, maxHeight: .infinity)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -63,8 +63,8 @@ struct EmptyStoreModifiableView: View {
|
|||||||
path.addLine(to: CGPoint(x: g.size.width - 3, y: 0))
|
path.addLine(to: CGPoint(x: g.size.width - 3, y: 0))
|
||||||
}.fill()
|
}.fill()
|
||||||
}.frame(height: (windowGeometry.size.height/2) - 20).padding()
|
}.frame(height: (windowGeometry.size.height/2) - 20).padding()
|
||||||
Text("No Secrets").bold()
|
Text("empty_store_modifiable_click_here_title").bold()
|
||||||
Text("Create a new one by clicking here.")
|
Text("empty_store_modifiable_click_here_description")
|
||||||
Spacer()
|
Spacer()
|
||||||
}.frame(maxWidth: .infinity, maxHeight: .infinity)
|
}.frame(maxWidth: .infinity, maxHeight: .infinity)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user