Skip to content

Commit

Permalink
Manually added temporary placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
goergisn committed Jan 12, 2024
1 parent 4342618 commit 7b1becb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Adyen/Assets/Generated/LocalizationKey.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
//
// Copyright (c) 2023 Adyen N.V.
// Copyright (c) 2024 Adyen N.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
// This file is autogenerated. Please do not modify it.
//

// swiftlint:disable all
Expand Down Expand Up @@ -185,6 +184,8 @@ public struct LocalizationKey {
public static let billingAddressPlaceholder = LocalizationKey(key: "adyen.billingAddress.placeholder")
/// Delivery Address
public static let deliveryAddressSectionTitle = LocalizationKey(key: "adyen.deliveryAddressSection.title")
/// Your delivery address
public static let deliveryAddressPlaceholder = LocalizationKey(key: "adyen.deliveryAddress.placeholder")
/// Country
public static let countryFieldTitle = LocalizationKey(key: "adyen.countryField.title")
/// Country
Expand Down
1 change: 1 addition & 0 deletions Adyen/Assets/en-US.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
"adyen.billingAddressSection.title" = "Billing address";
"adyen.billingAddress.placeholder" = "Your billing address";
"adyen.deliveryAddressSection.title" = "Delivery Address";
"adyen.deliveryAddress.placeholder" = "Your delivery address";
"adyen.countryField.title" = "Country";
"adyen.countryField.placeholder" = "Country";
"adyen.countryField.invalid" = "Invalid country";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public extension FormAddressPickerItem.AddressType {
func placeholder(with localizationParameters: LocalizationParameters?) -> String {
switch self {
case .billing: return localizedString(.billingAddressPlaceholder, localizationParameters)
case .delivery: return "DELIVERY" // localizedString(.deliveryAddressPlaceholder, localizationParameters) // TODO: Get translations
case .delivery: return localizedString(.deliveryAddressPlaceholder, localizationParameters)
}
}

Expand Down

0 comments on commit 7b1becb

Please sign in to comment.