Changeset 2584281
- Timestamp:
- 08/17/2021 02:40:42 PM (5 years ago)
- Location:
- wc-shipmendo-lite/trunk
- Files:
-
- 4 edited
-
ShipmendoLite.php (modified) (2 diffs)
-
lang/shipmendo-lite-tr_TR.mo (modified) (previous)
-
lang/shipmendo-lite-tr_TR.po (modified) (3 diffs)
-
shipmendo-lite.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wc-shipmendo-lite/trunk/ShipmendoLite.php
r2582860 r2584281 7 7 public function __construct() { 8 8 $this->plugin_file = dirname( __FILE__ ) . '/shipmendo-lite.php'; 9 register_activation_hook( $this->plugin_file, array( $this, 'plugin_activate' ) );10 9 register_deactivation_hook( $this->plugin_file, array( $this, 'plugin_deactivate' ) ); 11 10 add_action( 'admin_menu', array( $this, 'menu_init' ) ); … … 20 19 add_action( 'woocommerce_view_order', array( $this, 'add_shipping_details' ), 1, 100 ); 21 20 add_action( 'admin_enqueue_scripts', array( $this, 'load_assets' ) ); 22 }23 24 public function plugin_activate() {25 add_option( '_cargo_tracking_default_cargo_company', 'mng' );26 add_option( '_cargo_tracking_email_enabled', 'on' );27 add_option( '_cargo_tracking_sms_message', __( 'Dear {customer_name}, Your order(#{order_number}) shipped with {cargo_company_info}. To track your shipping: {url}', 'shipmendo-lite' ) );28 21 } 29 22 -
wc-shipmendo-lite/trunk/lang/shipmendo-lite-tr_TR.po
r2582395 r2584281 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/shipmendo-lite\n" 7 7 "POT-Creation-Date: 2021-08-06 18:49+0300\n" 8 "PO-Revision-Date: 2021-08- 06 18:51+0300\n"8 "PO-Revision-Date: 2021-08-17 17:36+0300\n" 9 9 "Last-Translator: \n" 10 10 "Language-Team: \n" … … 13 13 "Content-Type: text/plain; charset=UTF-8\n" 14 14 "Content-Transfer-Encoding: 8bit\n" 15 "X-Generator: Poedit 2.0.1\n"15 "X-Generator: Poedit 3.0\n" 16 16 "Plural-Forms: nplurals=2; plural=(n != 1);\n" 17 17 … … 200 200 "<strong>shipmendo</strong> must use with <a href=\"%s\">WooCommerce</a>!" 201 201 msgstr "" 202 "<strong>shipmendo</strong>, <a href= “%s”>WooCommerce</a> ile birlikte "202 "<strong>shipmendo</strong>, <a href=\"%s\">WooCommerce</a> ile birlikte " 203 203 "kullanılabilir. Lütfen WooCommerce’i aktif hale getirin!" 204 204 -
wc-shipmendo-lite/trunk/shipmendo-lite.php
r2582395 r2584281 21 21 return $base . 'assets' . $suffix; 22 22 } 23 register_activation_hook( __FILE__, function () { 24 add_option( '_cargo_tracking_default_cargo_company', 'mng' ); 25 add_option( '_cargo_tracking_email_enabled', 'on' ); 26 add_option( '_cargo_tracking_sms_message', __( 'Dear {customer_name}, Your order(#{order_number}) shipped with {cargo_company_info}. To track your shipping: {url}', 'shipmendo-lite' ) ); 27 } ); 23 28 24 29 function load_shipmendo_lite_plugin() {
Note: See TracChangeset
for help on using the changeset viewer.