Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS-2661 Update onboarding key screen #1211

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 11 additions & 14 deletions Anytype/Generated/Strings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -757,10 +757,11 @@ internal enum Loc {
}
}
internal enum Key {
/// It’s a novel way of authentication that gives you full ownership over your account and data.
internal static let description = Loc.tr("Localizable", "Auth.JoinFlow.Key.Description", fallback: "It’s a novel way of authentication that gives you full ownership over your account and data.")
/// Save your Recovery Phrase
internal static let title = Loc.tr("Localizable", "Auth.JoinFlow.Key.Title", fallback: "Save your Recovery Phrase")
/// It gives you full ownership over your vault.
/// It can not be recovered.
internal static let description = Loc.tr("Localizable", "Auth.JoinFlow.Key.Description", fallback: "It gives you full ownership over your vault.\nIt can not be recovered.")
/// This is your Key
internal static let title = Loc.tr("Localizable", "Auth.JoinFlow.Key.Title", fallback: "This is your Key")
internal enum Button {
internal enum Copy {
/// Copy to clipboard
Expand All @@ -775,16 +776,16 @@ internal enum Loc {
internal static let title = Loc.tr("Localizable", "Auth.JoinFlow.Key.Button.Later.Title", fallback: "Skip")
}
internal enum Saved {
/// Go to the app
internal static let title = Loc.tr("Localizable", "Auth.JoinFlow.Key.Button.Saved.Title", fallback: "Go to the app")
/// Enter my Vault
internal static let title = Loc.tr("Localizable", "Auth.JoinFlow.Key.Button.Saved.Title", fallback: "Enter my Vault")
}
internal enum Show {
/// Show Recovery Phrase
internal static let title = Loc.tr("Localizable", "Auth.JoinFlow.Key.Button.Show.Title", fallback: "Show Recovery Phrase")
/// Show my Key
internal static let title = Loc.tr("Localizable", "Auth.JoinFlow.Key.Button.Show.Title", fallback: "Show my Key")
}
internal enum Tip {
/// You can find Recovery Phrase later in Anytype settings
internal static let title = Loc.tr("Localizable", "Auth.JoinFlow.Key.Button.Tip.Title", fallback: "You can find Recovery Phrase later in Anytype settings")
/// You can find this key later in Anytype settings
internal static let title = Loc.tr("Localizable", "Auth.JoinFlow.Key.Button.Tip.Title", fallback: "You can find this key later in Anytype settings")
}
}
internal enum ReadMore {
Expand Down Expand Up @@ -815,10 +816,6 @@ internal enum Loc {
internal static let title = Loc.tr("Localizable", "Auth.JoinFlow.Key.ReadMore.Option3.Title", fallback: "That's why it's essential to keep Recovery Phrase safe. As the sole owner, nobody can help you if it's lost.")
}
}
internal enum TextField {
/// Type your recovery phrase
internal static let placeholder = Loc.tr("Localizable", "Auth.JoinFlow.Key.TextField.Placeholder", fallback: "Type your recovery phrase")
}
}
internal enum Setting {
internal enum Space {
Expand Down
11 changes: 5 additions & 6 deletions Anytype/Resources/Strings/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -243,15 +243,14 @@

// Auth - Join flow

"Auth.JoinFlow.Key.Title" = "Save your Recovery Phrase";
"Auth.JoinFlow.Key.Description" = "It’s a novel way of authentication that gives you full ownership over your account and data.";
"Auth.JoinFlow.Key.TextField.Placeholder" = "Type your recovery phrase";
"Auth.JoinFlow.Key.Button.Show.Title" = "Show Recovery Phrase";
"Auth.JoinFlow.Key.Button.Saved.Title" = "Go to the app";
"Auth.JoinFlow.Key.Title" = "This is your Key";
"Auth.JoinFlow.Key.Description" = "It gives you full ownership over your vault.\nIt can not be recovered.";
"Auth.JoinFlow.Key.Button.Show.Title" = "Show my Key";
"Auth.JoinFlow.Key.Button.Saved.Title" = "Enter my Vault";
"Auth.JoinFlow.Key.Button.Later.Title" = "Skip";
"Auth.JoinFlow.Key.Button.Copy.Title" = "Copy to clipboard";
"Auth.JoinFlow.Key.Button.Info.Title" = "Read more";
"Auth.JoinFlow.Key.Button.Tip.Title" = "You can find Recovery Phrase later in Anytype settings";
"Auth.JoinFlow.Key.Button.Tip.Title" = "You can find this key later in Anytype settings";

"Auth.JoinFlow.Key.ReadMore.Title" = "What is Recovery Phrase?";
"Auth.JoinFlow.Key.ReadMore.Option1.Title" = "Recovery Phrase is a random combination of 12 words from which your account is magically generated on this device.";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ struct KeyPhraseView: View {

AnytypeText(
Loc.Auth.JoinFlow.Key.description,
style: .calloutRegular
style: .bodyRegular
)
.foregroundColor(.Auth.body)
.multilineTextAlignment(.center)
Expand Down
Loading