Skip to content

Commit

Permalink
add localized translation to apple pay not available
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-techcombine committed Mar 4, 2025
1 parent 242554b commit 4115996
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions OmiseSDK/Resources/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,6 @@

// Authorizing Payment
"AuthorizingPayment.title" = "Authorizing Payment";

// Apple Pay
"ApplePay.not.available.text" = "Apple Pay is not available on this device";
3 changes: 3 additions & 0 deletions OmiseSDK/Resources/ja.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,6 @@

// Authorizing Payment
"AuthorizingPayment.title" = "決済の認可";

// Apple Pay
"ApplePay.not.available.text" = "この端末ではApple Payはご利用いただけません";
3 changes: 3 additions & 0 deletions OmiseSDK/Resources/th.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,6 @@

// Authorizing Payment
"AuthorizingPayment.title" = "กำลังอนุมัติวงเงิน";

// Apple Pay
"ApplePay.not.available.text" = "ไม่สามารถใช้งาน Apple Pay ได้บนอุปกรณ์นี้";
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class ApplePayViewController: UIViewController {
/// A label displayed when Apple Pay is not available on the device.
lazy var errorLabel: UILabel = {
let label = UILabel()
label.text = "Apple Pay not available on this device"
label.text = "ApplePay.not.available.text".localized()
return label
}()

Expand Down

0 comments on commit 4115996

Please sign in to comment.