Use static 'Profile' in editor title
This commit is contained in:
parent
07703fda9c
commit
b660c499af
|
@ -239,6 +239,8 @@ public enum Strings {
|
|||
public static let port = Strings.tr("Localizable", "global.port", fallback: "Port")
|
||||
/// Private key
|
||||
public static let privateKey = Strings.tr("Localizable", "global.private_key", fallback: "Private key")
|
||||
/// Profile
|
||||
public static let profile = Strings.tr("Localizable", "global.profile", fallback: "Profile")
|
||||
/// Protocol
|
||||
public static let `protocol` = Strings.tr("Localizable", "global.protocol", fallback: "Protocol")
|
||||
/// Public key
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
"global.password" = "Password";
|
||||
"global.port" = "Port";
|
||||
"global.private_key" = "Private key";
|
||||
"global.profile" = "Profile";
|
||||
"global.protocol" = "Protocol";
|
||||
"global.public_key" = "Public key";
|
||||
"global.purchase" = "Purchase";
|
||||
|
|
|
@ -68,7 +68,7 @@ struct ProfileEditView: View, Routable {
|
|||
)
|
||||
}
|
||||
.toolbar(content: toolbarContent)
|
||||
.navigationTitle(profileEditor.name)
|
||||
.navigationTitle(Strings.Global.profile)
|
||||
.navigationBarBackButtonHidden(true)
|
||||
.navigationDestination(for: NavigationRoute.self, destination: pushDestination)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue