Update strings and add productionAppName value for the new placeholder. (#2677)

* Update strings and add productionAppName value for the new placeholder.

* Fix snapshots.

* Fix more snapshots.
This commit is contained in:
Doug
2024-04-10 16:58:00 +01:00
committed by GitHub
parent e3bf8b83fd
commit eda7d59518
41 changed files with 641 additions and 150 deletions
@@ -77,7 +77,7 @@ struct AuthenticationStartScreen: View {
.font(.compound.headingLGBold)
.foregroundColor(.compound.textPrimary)
.multilineTextAlignment(.center)
Text(L10n.screenOnboardingWelcomeMessage)
Text(L10n.screenOnboardingWelcomeMessage(InfoPlistReader.main.productionAppName))
.font(.compound.bodyLG)
.foregroundColor(.compound.textSecondary)
.multilineTextAlignment(.center)
@@ -43,7 +43,7 @@ struct QRCodeLoginScreenViewState: BindableState {
var listItems: [AttributedString] {
[
AttributedString(L10n.screenQrCodeLoginInitialStateItem1),
AttributedString(L10n.screenQrCodeLoginInitialStateItem1(InfoPlistReader.main.productionAppName)),
AttributedString(L10n.screenQrCodeLoginInitialStateItem2),
listItem3AttributedText,
listItem4AttributedText
@@ -51,7 +51,7 @@ struct QRCodeLoginScreen: View {
VStack(spacing: 16) {
HeroImage(icon: \.computer, style: .subtle)
Text(L10n.screenQrCodeLoginInitialStateTitle)
Text(L10n.screenQrCodeLoginInitialStateTitle(InfoPlistReader.main.productionAppName))
.foregroundColor(.compound.textPrimary)
.font(.compound.headingMDBold)
.multilineTextAlignment(.center)
@@ -32,7 +32,7 @@ struct ResetRecoveryKeyScreenViewState: BindableState {
var listItems: [AttributedString] {
[
AttributedString(L10n.screenCreateNewRecoveryKeyListItem1),
AttributedString(L10n.screenCreateNewRecoveryKeyListItem1(InfoPlistReader.main.productionAppName)),
AttributedString(L10n.screenCreateNewRecoveryKeyListItem2),
listItem3AttributedText,
AttributedString(L10n.screenCreateNewRecoveryKeyListItem4),