woocommerce/assets/js/admin/editor_plugin_lang.php

25 lines
1.6 KiB
PHP

<?php
$strings = 'tinyMCE.addI18n({' . _WP_Editors::$mce_locale . ':{
woocommerce:{
insert: "' . esc_js( __( 'Insert Shortcode', 'woocommerce' ) ) . '",
price_button: "' . esc_js( __( 'Product price/cart button', 'woocommerce' ) ) . '",
product_by_sku: "' . esc_js( __( 'Product by SKU/ID', 'woocommerce' ) ) . '",
products_by_sku: "' . esc_js( __( 'Products by SKU/ID', 'woocommerce' ) ) . '",
product_categories: "' . esc_js( __( 'Product categories', 'woocommerce' ) ) . '",
products_by_cat_slug: "' . esc_js( __( 'Products by category slug', 'woocommerce' ) ) . '",
recent_products: "' . esc_js( __( 'Recent products', 'woocommerce' ) ) . '",
featured_products: "' . esc_js( __( 'Featured products', 'woocommerce' ) ) . '",
shop_messages: "' . esc_js( __( 'Shop Messages', 'woocommerce' ) ) . '",
pages: "' . esc_js( __( 'Pages', 'woocommerce' ) ) . '",
cart: "' . esc_js( __( 'Cart', 'woocommerce' ) ) . '",
checkout: "' . esc_js( __( 'Checkout', 'woocommerce' ) ) . '",
order_tracking: "' . esc_js( __( 'Order tracking', 'woocommerce' ) ) . '",
my_account: "' . esc_js( __( 'My Account', 'woocommerce' ) ) . '",
edit_address: "' . esc_js( __( 'Edit Address', 'woocommerce' ) ) . '",
change_password: "' . esc_js( __( 'Change Password', 'woocommerce' ) ) . '",
view_order: "' . esc_js( __( 'View Order', 'woocommerce' ) ) . '",
pay: "' . esc_js( __( 'Pay', 'woocommerce' ) ) . '",
thankyou: "' . esc_js( __( 'Thankyou', 'woocommerce' ) ) . '",
}
}})';