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

Update banner message #479

Merged
merged 4 commits into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion includes/blocks/gateways/abstract-omise-block-apm.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function is_active() {
*/
public function get_payment_method_script_handles() {
if ( ! wp_script_is( 'wc-omise-one-click-apms-payments-blocks', 'enqueued' ) ) {
$script_asset = require_once __DIR__ . '/../assets/js/build/omise-one-click-apms.asset.php';
$script_asset = require __DIR__ . '/../assets/js/build/omise-one-click-apms.asset.php';
wp_enqueue_script(
"wc-omise-one-click-apms-payments-blocks",
plugin_dir_url( __DIR__ ) . 'assets/js/build/omise-one-click-apms.js',
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/gateways/omise-block-credit-card.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function get_payment_method_script_handles() {
if ($this->is_active()) {
$script_asset_path = __DIR__ . '/../assets/js/build/credit_card.asset.php';
$script_asset = file_exists( $script_asset_path )
? require_once( $script_asset_path )
? require $script_asset_path
: [
'dependencies' => [],
'version' => '1.0.0'
Expand Down
Binary file modified languages/omise-ja.mo
Binary file not shown.
4 changes: 2 additions & 2 deletions languages/omise-ja.po
Original file line number Diff line number Diff line change
Expand Up @@ -587,5 +587,5 @@ msgid "Please select bank below"
msgstr "以下から銀行をお選びください"

#: omise-woocommerce.php:66
msgid "Update your plugin to the latest version to enable Secure Form and maximize the security of your customers’ information. You will need to re-customize the credit card checkout form after the upgrade. <a target='_blank' href='https://www.omise.co/woocommerce-plugin'>Learn how to enable Secure Form</a>."
msgstr "プラグインを最新バージョンにアップデートし、顧客情報の安全な管理に必要なSecure Formを有効にしてください。アップデート後、クレジットカードの決済フォームを再度カスタマイズする必要があります。<a target='_blank' href='https://www.omise.co/woocommerce-plugin'>Secure Formを有効にする方法はこちらをご確認ください</a>。"
msgid "Critical plugin update released: Now compatible with WooCommerce block, and enforces mandatory secure form checkout. Upgrade immediately and re-customize your credit card form to ensure compliance and enhanced customer data protection."
msgstr "重要なプラグインのアップデートがリリースされました:WooCommerce Blockと互換性があり、セキュアなフォームでの決済が必須になりました。すぐに更新し、クレジットカードのフォームを再設定することで、コンプライアンスと顧客データ保護を強化しましょう。"
2 changes: 1 addition & 1 deletion omise-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function embedded_form_notice()

// hide if user enables the embedded form.
if (!(bool)$secure_form_enabled) {
$translation = __('Update your plugin to the latest version to enable Secure Form and maximize the security of your customers’ information. You will need to re-customize the credit card checkout form after the upgrade. <a target="_blank" href="https://www.omise.co/woocommerce-plugin">Learn how to enable Secure Form</a>.', 'omise');
$translation = __('Critical plugin update released: Now compatible with WooCommerce block, and enforces mandatory secure form checkout. Upgrade immediately and re-customize your credit card form to ensure compliance and enhanced customer data protection.', 'omise');
echo "<div class='notice notice-warning is-dismissible'><p><strong>Opn Payments:</strong> $translation</p></div>";
}
}
Expand Down
Loading