Permalink
Browse files

change textdomain from 'wpsc' to 'wp-e-commerce'

  • Loading branch information...
1 parent 88174c4 commit 16d9d45da11d9cc2ccdc4444649b2e39b9d7284d @JustinSainton JustinSainton committed Oct 28, 2015
Showing with 3,547 additions and 3,547 deletions.
  1. +5 −5 wp-shopping-cart.php
  2. +39 −39 wpsc-admin/admin-form-functions.php
  3. +112 −112 wpsc-admin/admin.php
  4. +13 −13 wpsc-admin/ajax.php
  5. +25 −25 wpsc-admin/db-upgrades/routines/1.php
  6. +3 −3 wpsc-admin/db-upgrades/routines/10.php
  7. +5 −5 wpsc-admin/db-upgrades/routines/11.php
  8. +1 −1 wpsc-admin/db-upgrades/routines/13.php
  9. +4 −4 wpsc-admin/db-upgrades/routines/14.php
  10. +104 −104 wpsc-admin/db-upgrades/routines/2.php
  11. +5 −5 wpsc-admin/db-upgrades/routines/3.php
  12. +1 −1 wpsc-admin/db-upgrades/routines/8.php
  13. +4 −4 wpsc-admin/db-upgrades/upgrade.php
  14. +3 −3 wpsc-admin/db-upgrades/views/main.php
  15. +36 −36 wpsc-admin/display-coupon-add.php
  16. +38 −38 wpsc-admin/display-coupon-edit.php
  17. +3 −3 wpsc-admin/display-coupons.php
  18. +18 −18 wpsc-admin/display-items.page.php
  19. +8 −8 wpsc-admin/display-options-settings.page.php
  20. +42 −42 wpsc-admin/display-sales-logs.php
  21. +17 −17 wpsc-admin/display-update.page.php
  22. +24 −24 wpsc-admin/includes/coupon-list-table-class.php
  23. +113 −113 wpsc-admin/includes/display-items-functions.php
  24. +1 −1 wpsc-admin/includes/duplicate-product-class.php
  25. +1 −1 wpsc-admin/includes/product-functions.php
  26. +16 −16 wpsc-admin/includes/product-variation-list-table.class.php
  27. +2 −2 wpsc-admin/includes/product-variations-manage.page.php
  28. +2 −2 wpsc-admin/includes/product-variations-page.class.php
  29. +8 −8 wpsc-admin/includes/product-variations-setup.page.php
  30. +1 −1 wpsc-admin/includes/product-variations.page.php
  31. +5 −5 wpsc-admin/includes/purchase-log-action-links.php
  32. +33 −33 wpsc-admin/includes/purchase-log-list-table-class.php
  33. +3 −3 wpsc-admin/includes/purchase-logs-page/bulk-delete-confirm.php
  34. +32 −32 wpsc-admin/includes/purchase-logs-page/item-details.php
  35. +5 −5 wpsc-admin/includes/purchase-logs-page/list-table.php
  36. +13 −13 wpsc-admin/includes/purchase-logs-page/packing-slip.php
  37. +4 −4 wpsc-admin/includes/purchase-logs-page/upgrade.php
  38. +55 −55 wpsc-admin/includes/save-data.functions.php
  39. +24 −24 wpsc-admin/includes/settings-tabs/admin.php
  40. +39 −39 wpsc-admin/includes/settings-tabs/checkout.php
  41. +12 −12 wpsc-admin/includes/settings-tabs/gateway.php
  42. +28 −28 wpsc-admin/includes/settings-tabs/general.php
  43. +44 −44 wpsc-admin/includes/settings-tabs/import.php
  44. +31 −31 wpsc-admin/includes/settings-tabs/marketing.php
  45. +41 −41 wpsc-admin/includes/settings-tabs/shipping.php
  46. +27 −27 wpsc-admin/includes/settings-tabs/taxes.php
  47. +9 −9 wpsc-admin/includes/tax_and_shipping.php
  48. +7 −7 wpsc-admin/includes/updating-functions.php
  49. +1 −1 wpsc-admin/includes/walker-variation-checklist.php
  50. +31 −31 wpsc-admin/init.php
  51. +6 −6 wpsc-admin/media.php
  52. +9 −9 wpsc-admin/settings-page.php
  53. +1 −1 wpsc-admin/users.php
  54. +1 −1 wpsc-components/marketplace-core-v1/library/Sputnik/API.php
  55. +68 −68 wpsc-components/marketplace-core-v1/library/Sputnik/Admin.php
  56. +7 −7 wpsc-components/marketplace-core-v1/library/Sputnik/List/Account.php
  57. +41 −41 wpsc-components/marketplace-core-v1/library/Sputnik/List/Install.php
  58. +2 −2 wpsc-components/marketplace-core-v1/library/Sputnik/Pointers.php
  59. +5 −5 wpsc-components/marketplace-core-v1/library/Sputnik/Upgrader/Skin.php
  60. +3 −3 wpsc-components/marketplace-core-v1/library/Sputnik/View.php
  61. +13 −13 wpsc-components/marketplace-core-v1/library/Sputnik/View/Account.php
  62. +1 −1 wpsc-components/marketplace-core-v1/library/Sputnik/View/Auth.php
  63. +8 −8 wpsc-components/marketplace-core-v1/library/Sputnik/View/Browser.php
  64. +23 −23 wpsc-components/marketplace-core-v1/library/Sputnik/View/Browser/Grid.php
  65. +13 −13 wpsc-components/marketplace-core-v1/library/Sputnik/View/Browser/List.php
  66. +24 −24 wpsc-components/marketplace-core-v1/library/Sputnik/View/Info.php
  67. +3 −3 wpsc-components/marketplace-core-v1/library/Sputnik/View/Install.php
  68. +5 −5 wpsc-components/marketplace-core-v1/library/Sputnik/View/Install/Skin.php
  69. +4 −4 wpsc-components/marketplace-core-v1/library/Sputnik/View/Upgrade.php
  70. +6 −6 wpsc-components/merchant-core-v2/helpers/admin.php
  71. +9 −9 wpsc-components/merchant-core-v2/helpers/gateways.php
  72. +10 −10 wpsc-components/merchant-core-v3/classes/payment-gateway.php
  73. +94 −94 wpsc-components/merchant-core-v3/gateways/amazon-payments.php
  74. +4 −4 wpsc-components/merchant-core-v3/gateways/manual.php
  75. +38 −38 wpsc-components/merchant-core-v3/gateways/paypal-digital-goods.php
  76. +33 −33 wpsc-components/merchant-core-v3/gateways/paypal-express-checkout.php
  77. +23 −23 wpsc-components/merchant-core-v3/gateways/paypal-pro.php
  78. +1 −1 wpsc-components/merchant-core-v3/gateways/php-merchant/gateways/paypal-express-checkout.php
  79. +1 −1 wpsc-components/merchant-core-v3/gateways/php-merchant/gateways/paypal-pro.php
  80. +3 −3 wpsc-components/merchant-core-v3/helpers/admin.php
  81. +3 −3 wpsc-components/theme-engine-v1/classes/checkout-ajax.php
  82. +3 −3 wpsc-components/theme-engine-v1/classes/checkout-localization.php
  83. +1 −1 wpsc-components/theme-engine-v1/classes/hide-subcatsprods-in-cat.php
  84. +172 −172 wpsc-components/theme-engine-v1/classes/settings-tab-presentation.php
  85. +2 −2 wpsc-components/theme-engine-v1/classes/wpsc-products-by-category.php
  86. +1 −1 wpsc-components/theme-engine-v1/helpers/admin.php
  87. +19 −19 wpsc-components/theme-engine-v1/helpers/ajax.php
  88. +2 −2 wpsc-components/theme-engine-v1/helpers/checkout.php
  89. +1 −1 wpsc-components/theme-engine-v1/helpers/form.php
  90. +5 −5 wpsc-components/theme-engine-v1/helpers/page.php
  91. +11 −11 wpsc-components/theme-engine-v1/helpers/product.php
  92. +28 −28 wpsc-components/theme-engine-v1/helpers/template-tags.php
  93. +4 −4 wpsc-components/theme-engine-v1/helpers/template.php
  94. +1 −1 wpsc-components/theme-engine-v1/rss/rss.php
  95. +2 −2 wpsc-components/theme-engine-v1/templates/functions/wpsc-transaction_results_functions.php
  96. +24 −24 wpsc-components/theme-engine-v1/templates/functions/wpsc-user_log_functions.php
  97. +4 −4 wpsc-components/theme-engine-v1/templates/wpsc-account-downloads.php
  98. +1 −1 wpsc-components/theme-engine-v1/templates/wpsc-account-edit-profile.php
  99. +6 −6 wpsc-components/theme-engine-v1/templates/wpsc-account-purchase-history.php
  100. +10 −10 wpsc-components/theme-engine-v1/templates/wpsc-cart_widget.php
  101. +9 −9 wpsc-components/theme-engine-v1/templates/wpsc-featured_product.php
  102. +13 −13 wpsc-components/theme-engine-v1/templates/wpsc-grid_view.php
  103. +10 −10 wpsc-components/theme-engine-v1/templates/wpsc-list_view.php
  104. +17 −17 wpsc-components/theme-engine-v1/templates/wpsc-products_page.php
  105. +41 −41 wpsc-components/theme-engine-v1/templates/wpsc-shopping_cart_page.php
  106. +15 −15 wpsc-components/theme-engine-v1/templates/wpsc-single_product.php
  107. +5 −5 wpsc-components/theme-engine-v1/templates/wpsc-user-log.php
  108. +7 −7 wpsc-components/theme-engine-v1/widgets/admin_menu_widget.php
  109. +11 −11 wpsc-components/theme-engine-v1/widgets/category_widget.php
  110. +7 −7 wpsc-components/theme-engine-v1/widgets/donations_widget.php
  111. +9 −9 wpsc-components/theme-engine-v1/widgets/latest_product_widget.php
  112. +7 −7 wpsc-components/theme-engine-v1/widgets/price_range_widget.php
  113. +4 −4 wpsc-components/theme-engine-v1/widgets/product_tag_widget.php
  114. +8 −8 wpsc-components/theme-engine-v1/widgets/shopping_cart_widget.php
  115. +10 −10 wpsc-components/theme-engine-v1/widgets/specials_widget.php
  116. +2 −2 wpsc-components/theme-engine-v1/widgets/tagging_functions.php
  117. +1 −1 wpsc-components/theme-engine-v2/admin.php
  118. +1 −1 wpsc-components/theme-engine-v2/classes/cart-item-table-form.php
  119. +2 −2 wpsc-components/theme-engine-v2/classes/cart-item-table-order.php
  120. +2 −2 wpsc-components/theme-engine-v2/classes/cart-item-table-widget-form.php
  121. +5 −5 wpsc-components/theme-engine-v2/classes/cart-item-table.php
  122. +1 −1 wpsc-components/theme-engine-v2/classes/controller.php
  123. +3 −3 wpsc-components/theme-engine-v2/classes/digital-contents-table.php
  124. +6 −6 wpsc-components/theme-engine-v2/classes/orders-table.php
  125. +2 −2 wpsc-components/theme-engine-v2/classes/product-variations.php
  126. +1 −1 wpsc-components/theme-engine-v2/classes/router.php
  127. +1 −1 wpsc-components/theme-engine-v2/classes/settings-form.php
  128. +34 −34 wpsc-components/theme-engine-v2/classes/settings-pages.php
  129. +22 −22 wpsc-components/theme-engine-v2/classes/settings-presentation.php
  130. +8 −8 wpsc-components/theme-engine-v2/classes/settings.php
  131. +5 −5 wpsc-components/theme-engine-v2/classes/widgets/cart.php
  132. +11 −11 wpsc-components/theme-engine-v2/classes/widgets/category-drill-down.php
  133. +3 −3 wpsc-components/theme-engine-v2/classes/widgets/latest-products.php
  134. +3 −3 wpsc-components/theme-engine-v2/classes/widgets/on-sale.php
  135. +7 −7 wpsc-components/theme-engine-v2/classes/widgets/price-range.php
  136. +3 −3 wpsc-components/theme-engine-v2/classes/widgets/product-categories.php
  137. +4 −4 wpsc-components/theme-engine-v2/classes/widgets/tag-cloud.php
  138. +1 −1 wpsc-components/theme-engine-v2/helpers/checkout-results.php
  139. +12 −12 wpsc-components/theme-engine-v2/helpers/customer.php
  140. +15 −15 wpsc-components/theme-engine-v2/helpers/form-validation.php
  141. +11 −11 wpsc-components/theme-engine-v2/helpers/form.php
  142. +3 −3 wpsc-components/theme-engine-v2/helpers/js.php
  143. +2 −2 wpsc-components/theme-engine-v2/helpers/settings-page.php
  144. +1 −1 wpsc-components/theme-engine-v2/helpers/shortcodes.php
  145. +25 −25 wpsc-components/theme-engine-v2/helpers/template-tags/form.php
  146. +16 −16 wpsc-components/theme-engine-v2/helpers/template-tags/general.php
  147. +17 −17 wpsc-components/theme-engine-v2/helpers/template-tags/product.php
  148. +1 −1 wpsc-components/theme-engine-v2/helpers/template-tags/taxonomy.php
  149. +21 −21 wpsc-components/theme-engine-v2/mvc/controllers/cart.php
  150. +11 −11 wpsc-components/theme-engine-v2/mvc/controllers/checkout.php
  151. +2 −2 wpsc-components/theme-engine-v2/mvc/controllers/customer-account.php
  152. +2 −2 wpsc-components/theme-engine-v2/mvc/controllers/login.php
  153. +12 −12 wpsc-components/theme-engine-v2/mvc/controllers/password-reminder.php
  154. +1 −1 wpsc-components/theme-engine-v2/mvc/controllers/register.php
  155. +1 −1 wpsc-components/theme-engine-v2/snippets/cart-item-table/column_items.php
  156. +9 −9 wpsc-components/theme-engine-v2/snippets/cart-item-table/display.php
  157. +10 −10 wpsc-components/theme-engine-v2/snippets/widgets/latest-products/form.php
  158. +14 −14 wpsc-components/theme-engine-v2/snippets/widgets/on-sale/form.php
  159. +3 −3 wpsc-components/theme-engine-v2/snippets/widgets/on-sale/widget.php
  160. +17 −17 wpsc-components/theme-engine-v2/snippets/widgets/product-categories/form.php
  161. +1 −1 wpsc-components/theme-engine-v2/snippets/widgets/product-categories/widget-list.php
  162. +1 −1 wpsc-components/theme-engine-v2/theming/template-parts/cart.php
  163. +6 −6 wpsc-components/theme-engine-v2/theming/template-parts/checkout-login-prompt.php
  164. +7 −7 wpsc-components/theme-engine-v2/theming/template-parts/checkout-login-required.php
  165. +2 −2 wpsc-components/theme-engine-v2/theming/template-parts/checkout-payment.php
  166. +3 −3 wpsc-components/theme-engine-v2/theming/template-parts/checkout-review-order.php
  167. +2 −2 wpsc-components/theme-engine-v2/theming/template-parts/checkout-shipping-method.php
  168. +2 −2 wpsc-components/theme-engine-v2/theming/template-parts/customer-account-order.php
  169. +1 −1 wpsc-components/theme-engine-v2/theming/template-parts/feedback-no-products.php
  170. +5 −5 wpsc-components/theme-engine-v2/theming/template-parts/login.php
  171. +1 −1 wpsc-components/theme-engine-v2/theming/template-parts/password-reminder-reset.php
  172. +5 −5 wpsc-components/theme-engine-v2/theming/template-parts/product-excerpt.php
  173. +4 −4 wpsc-components/theme-engine-v2/theming/template-parts/single.php
  174. +37 −37 wpsc-core/js/tinymce3/window.php
  175. +64 −64 wpsc-core/wpsc-deprecated.php
  176. +88 −88 wpsc-core/wpsc-functions.php
  177. +43 −43 wpsc-core/wpsc-installer.php
  178. +8 −8 wpsc-includes/ajax.functions.php
  179. +1 −1 wpsc-includes/cart-template-api.php
  180. +1 −1 wpsc-includes/cart.class.php
  181. +1 −1 wpsc-includes/checkout-form.class.php
  182. +10 −10 wpsc-includes/checkout.class.php
  183. +4 −4 wpsc-includes/country-region-tax-util.php
  184. +1 −1 wpsc-includes/country.class.php
  185. +11 −11 wpsc-includes/customer-ajax.php
  186. +1 −1 wpsc-includes/customer-private.php
  187. +13 −13 wpsc-includes/form-display.functions.php
  188. +1 −1 wpsc-includes/mimetype.php
  189. +17 −17 wpsc-includes/misc.functions.php
  190. +6 −6 wpsc-includes/processing.functions.php
  191. +6 −6 wpsc-includes/productfeed.php
  192. +35 −35 wpsc-includes/purchase-log-notification.class.php
  193. +2 −2 wpsc-includes/purchase-log.class.php
  194. +1 −1 wpsc-includes/purchase-log.helpers.php
  195. +6 −6 wpsc-includes/purchaselogs.class.php
  196. +8 −8 wpsc-includes/shopping_cart_functions.php
  197. +3 −3 wpsc-includes/upgrades.php
  198. +4 −4 wpsc-includes/variations.class.php
  199. +4 −4 wpsc-includes/wpsc-checkout-ajax.php
  200. +4 −4 wpsc-includes/wpsc-checkout-localization.php
  201. +3 −3 wpsc-includes/wpsc-countries.class.php
  202. +5 −5 wpsc-includes/wpsc-country.class.php
  203. +1 −1 wpsc-includes/wpsc-data-map.class.php
  204. +1 −1 wpsc-includes/wpsc-logging.class.php
  205. +2 −2 wpsc-includes/wpsc-region.class.php
  206. +2 −2 wpsc-includes/wpsc-theme-engine-bootstrap.php
  207. +27 −27 wpsc-merchants/chronopay.php
  208. +32 −32 wpsc-merchants/paypal-express.merchant.php
  209. +24 −24 wpsc-merchants/paypal-pro.merchant.php
  210. +35 −35 wpsc-merchants/paypal-standard.merchant.php
  211. +6 −6 wpsc-merchants/testmode.merchant.php
  212. +17 −17 wpsc-shipping/australiapost.php
  213. +21 −21 wpsc-shipping/flatrate.php
  214. +19 −19 wpsc-shipping/library/shipwire_functions.php
  215. +5 −5 wpsc-shipping/shipwire.php
  216. +9 −9 wpsc-shipping/tablerate.php
  217. +63 −63 wpsc-shipping/ups_20.php
  218. +31 −31 wpsc-shipping/usps_20.php
  219. +11 −11 wpsc-shipping/weightrate.php
  220. +9 −9 wpsc-taxes/controllers/taxes_controller.class.php
  221. +4 −4 wpsc-taxes/models/taxes.class.php
  222. +2 −2 wpsc-theme/functions/wpsc-transaction_results_functions.php
  223. +40 −40 wpsc-theme/functions/wpsc-user_log_functions.php
  224. +4 −4 wpsc-theme/wpsc-account-downloads.php
  225. +1 −1 wpsc-theme/wpsc-account-edit-profile.php
  226. +6 −6 wpsc-theme/wpsc-account-purchase-history.php
  227. +10 −10 wpsc-theme/wpsc-cart_widget.php
  228. +9 −9 wpsc-theme/wpsc-featured_product.php
  229. +12 −12 wpsc-theme/wpsc-grid_view.php
  230. +9 −9 wpsc-theme/wpsc-list_view.php
  231. +17 −17 wpsc-theme/wpsc-products_page.php
  232. +41 −41 wpsc-theme/wpsc-shopping_cart_page.php
  233. +15 −15 wpsc-theme/wpsc-single_product.php
  234. +5 −5 wpsc-theme/wpsc-user-log.php
  235. +250 −250 wpsc-updates/currency_list.php
  236. +6 −6 wpsc-updates/updating_tasks.php
  237. +7 −7 wpsc-widgets/admin_menu_widget.php
  238. +2 −2 wpsc-widgets/tagging_functions.php
View
@@ -69,19 +69,19 @@ public function init() {
*/
public function _register_core_components( $components ) {
$components['merchant']['core-v2'] = array(
- 'title' => __( 'WP eCommerce Merchant API v2', 'wpsc' ),
+ 'title' => __( 'WP eCommerce Merchant API v2', 'wp-e-commerce' ),
'includes' =>
WPSC_FILE_PATH . '/wpsc-components/merchant-core-v2/merchant-core-v2.php'
);
$components['merchant']['core-v3'] = array(
- 'title' => __( 'WP eCommerce Merchant API v3', 'wpsc' ),
+ 'title' => __( 'WP eCommerce Merchant API v3', 'wp-e-commerce' ),
'includes' =>
WPSC_FILE_PATH . '/wpsc-components/merchant-core-v3/merchant-core-v3.php'
);
$components['marketplace']['core-v1'] = array(
- 'title' => __( 'WP eCommerce Marketplace API v1', 'wpsc' ),
+ 'title' => __( 'WP eCommerce Marketplace API v1', 'wp-e-commerce' ),
'includes' =>
WPSC_FILE_PATH . '/wpsc-components/marketplace-core-v1/marketplace-core-v1.php'
);
@@ -110,8 +110,8 @@ public function start() {
define( 'WPSC_URL', plugins_url( '', __FILE__ ) );
//load text domain
- if ( ! load_plugin_textdomain( 'wpsc', false, '../languages/' ) ) {
- load_plugin_textdomain( 'wpsc', false, dirname( WPSC_PLUGIN_BASENAME ) . '/wpsc-languages/' );
+ if ( ! load_plugin_textdomain( 'wp-e-commerce', false, '../languages/' ) ) {
+ load_plugin_textdomain( 'wp-e-commerce', false, dirname( WPSC_PLUGIN_BASENAME ) . '/wpsc-languages/' );
}
// Finished starting
@@ -17,13 +17,13 @@ function coupon_edit_form($coupon) {
$output .= "<form name='edit_coupon' id='".$coupon['coupon_code']."' method='post' action=''>\n\r";
$output .= "<table class='add-coupon'>\n\r";
$output .= " <tr>\n\r";
- $output .= " <th>".esc_html__('Coupon Code', 'wpsc')."</th>\n\r";
- $output .= " <th>".esc_html__('Discount', 'wpsc')."</th>\n\r";
- $output .= " <th>".esc_html__('Start', 'wpsc')."</th>\n\r";
- $output .= " <th>".esc_html__('Expiry', 'wpsc')."</th>\n\r";
- $output .= " <th>".esc_html__('Use Once', 'wpsc')."</th>\n\r";
- $output .= " <th>".esc_html__('Active', 'wpsc')."</th>\n\r";
- $output .= " <th>".esc_html__('Apply On All Products', 'wpsc')."</th>\n\r";
+ $output .= " <th>".esc_html__('Coupon Code', 'wp-e-commerce')."</th>\n\r";
+ $output .= " <th>".esc_html__('Discount', 'wp-e-commerce')."</th>\n\r";
+ $output .= " <th>".esc_html__('Start', 'wp-e-commerce')."</th>\n\r";
+ $output .= " <th>".esc_html__('Expiry', 'wp-e-commerce')."</th>\n\r";
+ $output .= " <th>".esc_html__('Use Once', 'wp-e-commerce')."</th>\n\r";
+ $output .= " <th>".esc_html__('Active', 'wp-e-commerce')."</th>\n\r";
+ $output .= " <th>".esc_html__('Apply On All Products', 'wp-e-commerce')."</th>\n\r";
$output .= " <th></th>\n\r";
$output .= " </tr>\n\r";
$output .= " <tr>\n\r";
@@ -37,7 +37,7 @@ function coupon_edit_form($coupon) {
$output .= " <select name='edit_coupon[".$id."][is-percentage]'>";
$output .= " <option value='0' ".(($coupon['is-percentage'] == 0) ? "selected='true'" : '')." >$</option>\n\r";//
$output .= " <option value='1' ".(($coupon['is-percentage'] == 1) ? "selected='true'" : '')." >%</option>\n\r";
- $output .= " <option value='2' ".(($coupon['is-percentage'] == 2) ? "selected='true'" : '')." >" . esc_html__( 'Free shipping', 'wpsc' ) . "</option>\n\r";
+ $output .= " <option value='2' ".(($coupon['is-percentage'] == 2) ? "selected='true'" : '')." >" . esc_html__( 'Free shipping', 'wp-e-commerce' ) . "</option>\n\r";
$output .= " </select>\n\r";
$output .= " </td>\n\r";
$output .= " <td>\n\r";
@@ -68,20 +68,20 @@ function coupon_edit_form($coupon) {
if($conditions != null){
$output .= "<tr>";
$output .= "<th>";
- $output .= esc_html__("Conditions", 'wpsc');
+ $output .= esc_html__("Conditions", 'wp-e-commerce');
$output .= "</th>";
$output .= "</tr>";
$output .= "<th>";
- $output .= esc_html__("Delete", 'wpsc');
+ $output .= esc_html__("Delete", 'wp-e-commerce');
$output .= "</th>";
$output .= "<th>";
- $output .= esc_html__("Property", 'wpsc');
+ $output .= esc_html__("Property", 'wp-e-commerce');
$output .= "</th>";
$output .= "<th>";
- $output .= esc_html__("Logic", 'wpsc');
+ $output .= esc_html__("Logic", 'wp-e-commerce');
$output .= "</th>";
$output .= "<th>";
- $output .= esc_html__("Value", 'wpsc');
+ $output .= esc_html__("Value", 'wp-e-commerce');
$output .= "</th>";
$output .= " </tr>\n\r";
@@ -90,7 +90,7 @@ function coupon_edit_form($coupon) {
$output .= "<td>";
$output .= "<input type='hidden' name='coupon_id' value='".$id."' />";
$output .= "<input type='submit' id='delete_condition".$i."' style='display:none;' value='".$i."' name='delete_condition' />";
- $output .= "<span style='cursor:pointer;' class='delete_button' onclick='jQuery(\"#delete_condition".$i."\").click()'>" . esc_html__('Delete', 'wpsc' ) . "</span>";
+ $output .= "<span style='cursor:pointer;' class='delete_button' onclick='jQuery(\"#delete_condition".$i."\").click()'>" . esc_html__('Delete', 'wp-e-commerce' ) . "</span>";
$output .= "</td>";
$output .= "<td>";
$output .= $condition['property'];
@@ -121,25 +121,25 @@ function wpsc_coupons_conditions($id){
$output ='
<input type="hidden" name="coupon_id" value="'.$id.'" />
-<tr><td colspan="3"><b>' . esc_html__( 'Add Conditions', 'wpsc') . '</b></td></tr>
+<tr><td colspan="3"><b>' . esc_html__( 'Add Conditions', 'wp-e-commerce') . '</b></td></tr>
<tr><td colspan="6">
<div class="coupon_condition">
<div>
<select class="ruleprops" name="rules[property][]">
- <option value="item_name" rel="order">' . esc_html__( 'Item name', 'wpsc') . '</option>
- <option value="item_quantity" rel="order">' . esc_html__( 'Item quantity', 'wpsc') . '</option>
- <option value="total_quantity" rel="order">' . esc_html__( 'Total quantity', 'wpsc') . '</option>
- <option value="subtotal_amount" rel="order">' . esc_html__( 'Subtotal amount', 'wpsc') . '</option>
+ <option value="item_name" rel="order">' . esc_html__( 'Item name', 'wp-e-commerce') . '</option>
+ <option value="item_quantity" rel="order">' . esc_html__( 'Item quantity', 'wp-e-commerce') . '</option>
+ <option value="total_quantity" rel="order">' . esc_html__( 'Total quantity', 'wp-e-commerce') . '</option>
+ <option value="subtotal_amount" rel="order">' . esc_html__( 'Subtotal amount', 'wp-e-commerce') . '</option>
' . apply_filters( 'wpsc_coupon_rule_property_options', '' ) . '
</select>
<select name="rules[logic][]">
- <option value="equal">' . esc_html__( 'Is equal to', 'wpsc') . '</option>
- <option value="greater">' . esc_html__( 'Is greater than', 'wpsc') . '</option>
- <option value="less">' . esc_html__( 'Is less than', 'wpsc') . '</option>
- <option value="contains">' . esc_html__( 'Contains', 'wpsc') . '</option>
- <option value="not_contain">' . esc_html__( 'Does not contain', 'wpsc') . '</option>
- <option value="begins">' . esc_html__( 'Begins with', 'wpsc') . '</option>
- <option value="ends">' . esc_html__( 'Ends with', 'wpsc') . '</option>
+ <option value="equal">' . esc_html__( 'Is equal to', 'wp-e-commerce') . '</option>
+ <option value="greater">' . esc_html__( 'Is greater than', 'wp-e-commerce') . '</option>
+ <option value="less">' . esc_html__( 'Is less than', 'wp-e-commerce') . '</option>
+ <option value="contains">' . esc_html__( 'Contains', 'wp-e-commerce') . '</option>
+ <option value="not_contain">' . esc_html__( 'Does not contain', 'wp-e-commerce') . '</option>
+ <option value="begins">' . esc_html__( 'Begins with', 'wp-e-commerce') . '</option>
+ <option value="ends">' . esc_html__( 'Ends with', 'wp-e-commerce') . '</option>
</select>
<span>
<input type="text" name="rules[value][]"/>
@@ -152,7 +152,7 @@ function wpsc_coupons_conditions($id){
<td>
</td>
<td colspan="3">
- <input type="submit" value="'.esc_attr__("Update Coupon", "wpsc").'" class="button-primary" name="edit_coupon['.$id.'][submit_coupon]" />';
+ <input type="submit" value="'.esc_attr__("Update Coupon", 'wp-e-commerce').'" class="button-primary" name="edit_coupon['.$id.'][submit_coupon]" />';
$nonced_url = admin_url( 'admin.php' );
$nonced_url = add_query_arg(
@@ -165,7 +165,7 @@ function wpsc_coupons_conditions($id){
);
$nonced_url = wp_nonce_url( $nonced_url, 'delete-coupon' );
- $output.= "<a class='delete_button' style='text-decoration:none;' href=" .$nonced_url.">" . esc_html__( 'Delete', 'wpsc' ) . "</a>";
+ $output.= "<a class='delete_button' style='text-decoration:none;' href=" .$nonced_url.">" . esc_html__( 'Delete', 'wp-e-commerce' ) . "</a>";
$output.='
</td>
@@ -178,13 +178,13 @@ function setting_button(){
$next_url = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']."?page=wpsc-edit-products";
$output = '';
- $output .= "<div style='float: right; margin-top: 0px; position: relative;'> | <a href='#' onclick='display_settings_button(); return false;' style='text-decoration: underline;'>".esc_html__('Settings', 'wpsc')." &raquo;</a>";
+ $output .= "<div style='float: right; margin-top: 0px; position: relative;'> | <a href='#' onclick='display_settings_button(); return false;' style='text-decoration: underline;'>".esc_html__('Settings', 'wp-e-commerce')." &raquo;</a>";
$output .= "<span id='settings_button' style='width:180px;background-color:#f1f1f1;position:absolute; right: 10px; border:1px solid black; display:none;'>";
$output .= "<ul class='settings_button'>";
- $output .= "<li><a href='admin.php?page=wpsc-settings'>".__('Shop Settings', 'wpsc')."</a></li>";
- $output .= "<li><a href='admin.php?page=wpsc-settings&amp;tab=gateway'>".__('Money and Payment', 'wpsc')."</a></li>";
- $output .= "<li><a href='admin.php?page=wpsc-settings&amp;tab=checkout'>".__('Checkout Page Settings', 'wpsc')."</a></li>";
+ $output .= "<li><a href='admin.php?page=wpsc-settings'>".__('Shop Settings', 'wp-e-commerce')."</a></li>";
+ $output .= "<li><a href='admin.php?page=wpsc-settings&amp;tab=gateway'>".__('Money and Payment', 'wp-e-commerce')."</a></li>";
+ $output .= "<li><a href='admin.php?page=wpsc-settings&amp;tab=checkout'>".__('Checkout Page Settings', 'wp-e-commerce')."</a></li>";
$output .= "</ul>";
$output .= "</span>&emsp;&emsp;</div>";
@@ -212,48 +212,48 @@ function wpsc_right_now() {
$theme = get_option('wpsc_selected_theme');
?>
<div class='table'>
- <p class='sub'><?php esc_html_e( 'At a Glance', 'wpsc' ); ?></p>
+ <p class='sub'><?php esc_html_e( 'At a Glance', 'wp-e-commerce' ); ?></p>
<table style='border-top:1px solid #ececec;'>
<tr class='first'>
<td class='first b'>
<?php echo $product_count; ?>
</td>
<td class='t'>
- <?php echo _nx( 'Product', 'Products', $product_count, 'dashboard widget', 'wpsc' ); ?>
+ <?php echo _nx( 'Product', 'Products', $product_count, 'dashboard widget', 'wp-e-commerce' ); ?>
</td>
<td class='b'>
<?php echo $sales_count; ?>
</td>
<td class='last'>
- <?php echo _nx( 'Sale', 'Sales', $sales_count, 'dashboard widget', 'wpsc' ); ?>
+ <?php echo _nx( 'Sale', 'Sales', $sales_count, 'dashboard widget', 'wp-e-commerce' ); ?>
</td>
</tr>
<tr>
<td class='first b'>
<?php echo $group_count; ?>
</td>
<td class='t'>
- <?php echo _nx( 'Category', 'Categories', $group_count, 'dashboard widget', 'wpsc' ); ?>
+ <?php echo _nx( 'Category', 'Categories', $group_count, 'dashboard widget', 'wp-e-commerce' ); ?>
</td>
<td class='b'>
<?php echo $pending_sales; ?>
</td>
<td class='last t waiting'>
- <?php echo _n( 'Pending sale', 'Pending sales', $pending_sales, 'wpsc' ); ?>
+ <?php echo _n( 'Pending sale', 'Pending sales', $pending_sales, 'wp-e-commerce' ); ?>
</td>
</tr>
<tr>
<td class='first b'>
<?php echo $variation_count; ?>
</td>
<td class='t'>
- <?php echo _nx( 'Variation', 'Variations', $variation_count, 'dashboard widget', 'wpsc' ); ?>
+ <?php echo _nx( 'Variation', 'Variations', $variation_count, 'dashboard widget', 'wp-e-commerce' ); ?>
</td>
<td class='b'>
<?php echo $accept_sales; ?>
</td>
<td class='last t approved'>
- <?php echo _n( 'Closed sale', 'Closed sales', $accept_sales, 'wpsc'); ?>
+ <?php echo _n( 'Closed sale', 'Closed sales', $accept_sales, 'wp-e-commerce'); ?>
</td>
</tr>
</table>
Oops, something went wrong.

0 comments on commit 16d9d45

Please sign in to comment.