Changeset 2850871
- Timestamp:
- 01/19/2023 06:36:20 AM (3 years ago)
- Location:
- sargapay/trunk
- Files:
-
- 7 edited
-
admin/class-sargapay-admin.php (modified) (2 diffs)
-
includes/class-sargapay-i18n.php (modified) (1 diff)
-
includes/class-sargapay.php (modified) (1 diff)
-
paymentGateway/cardano/functions/sargapay-cardano-currency.php (modified) (1 diff)
-
paymentGateway/cardano/functions/sargapay-settings.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
sargapay.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sargapay/trunk/admin/class-sargapay-admin.php
r2850853 r2850871 337 337 } else { 338 338 $api_call = $gateway->check_API_KEY(1, $blockfrost_test_key); 339 if ($api_call === 1) return __('Error: blockforst testnet api call failed >>>' . $api_call, 'sargapay');339 if ($api_call === 1) return __('Error: blockforst testnet api call failed', 'sargapay'); 340 340 } 341 341 } else { … … 344 344 $blockfrost_key = $request->get_param('blockfrost_key'); 345 345 if (empty($blockfrost_key)) { 346 return __('Error: blockforst mainnet api key can\'t be empty', 'sargapay -pro-plugin');346 return __('Error: blockforst mainnet api key can\'t be empty', 'sargapay'); 347 347 } else { 348 348 $api_call = $gateway->check_API_KEY(0, $blockfrost_key); -
sargapay/trunk/includes/class-sargapay-i18n.php
r2850853 r2850871 39 39 'sargapay', 40 40 false, 41 dirname(plugin_basename(__FILE__)) . '/languages'41 plugin_dir_path( dirname(__FILE__) ) . 'languages/' 42 42 ); 43 43 } -
sargapay/trunk/includes/class-sargapay.php
r2850853 r2850871 198 198 $plugin_i18n = new Sargapay_i18n(); 199 199 200 $this->loader->add_action(' plugins_loaded', $plugin_i18n, 'load_plugin_textdomain', 100);200 $this->loader->add_action('init', $plugin_i18n, 'load_plugin_textdomain', 100); 201 201 } 202 202 -
sargapay/trunk/paymentGateway/cardano/functions/sargapay-cardano-currency.php
r2850807 r2850871 26 26 27 27 function add_sarga_cardano_currency( $currencies ) { 28 $currencies['SARGACARDANO'] = __( 'Cardano', ' woocommerce' );28 $currencies['SARGACARDANO'] = __( 'Cardano', 'sargapay' ); 29 29 return $currencies; 30 30 } -
sargapay/trunk/paymentGateway/cardano/functions/sargapay-settings.php
r2827431 r2850871 55 55 )); 56 56 // Create the link. 57 $settings_link = "<a href='$url'>" . __('Settings' ) . '</a>';57 $settings_link = "<a href='$url'>" . __('Settings', "sargapay") . '</a>'; 58 58 // Adds the link to the end of the array. 59 59 array_push( -
sargapay/trunk/readme.txt
r2850806 r2850871 5 5 Requires at least: 4.7 6 6 Tested up to: 6.1 7 Stable tag: 2. 0.07 Stable tag: 2.1.0 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later -
sargapay/trunk/sargapay.php
r2850840 r2850871 55 55 * Current plugin url. 56 56 * Current plugin version. 57 *58 * Rename these constants for your plugin59 * Update version as you release new versions.60 57 */ 61 58
Note: See TracChangeset
for help on using the changeset viewer.