diff --git a/plugins/Stripe/Lang/en/common.php b/plugins/Stripe/Lang/en/common.php new file mode 100644 index 00000000..6296e95a --- /dev/null +++ b/plugins/Stripe/Lang/en/common.php @@ -0,0 +1,21 @@ + + * @created 2022-07-28 16:19:06 + * @modified 2022-07-28 16:19:06 + */ + +return [ + 'title_info' => 'Card information', + 'cardnum' => 'Cardnum', + 'expiration_date' => 'Expiration Date', + 'year' => 'Year', + 'month' => 'Month', + 'cvv' => 'Cvv', + 'remenber' => 'Keep this card in mind for future use', + 'btn_submit' => 'Submit', +]; diff --git a/plugins/Stripe/Lang/zh_cn/common.php b/plugins/Stripe/Lang/zh_cn/common.php new file mode 100644 index 00000000..c12504f2 --- /dev/null +++ b/plugins/Stripe/Lang/zh_cn/common.php @@ -0,0 +1,21 @@ + + * @created 2022-07-28 16:19:06 + * @modified 2022-07-28 16:19:06 + */ + +return [ + 'title_info' => '卡信息', + 'cardnum' => '卡号', + 'expiration_date' => '截止日期', + 'year' => '选择年', + 'month' => '选择月', + 'cvv' => '安全码', + 'remenber' => '记住这张卡以便将来使用', + 'btn_submit' => '提交支付', +]; diff --git a/plugins/Stripe/Views/checkout/payment.blade.php b/plugins/Stripe/Views/checkout/payment.blade.php index 0b9fe2cc..be1feccb 100644 --- a/plugins/Stripe/Views/checkout/payment.blade.php +++ b/plugins/Stripe/Views/checkout/payment.blade.php @@ -7,37 +7,37 @@

-
卡信息
+
{{ __('Stripe::common.title_info') }}
- + - +
+ type="year" placeholder="{{ __('Stripe::common.year') }}"> + placeholder="{{ __('Stripe::common.month') }}">
- + - 記住這張卡以備將來使用 + {{ __('Stripe::common.remenber') }} - +