Skip to content

Commit 4e03f74

Browse files
committed
Release v0.7.1
1 parent 870f410 commit 4e03f74

File tree

10 files changed

+52
-60
lines changed

10 files changed

+52
-60
lines changed
File renamed without changes.

HISTORY.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## Change Log
22

3+
#### [v0.7.1](https://github.com/aplazame/woocommerce/tree/v0.7.1) (2017-12-21)
4+
5+
* Minor changes
6+
37
#### [v0.7.0](https://github.com/aplazame/woocommerce/tree/v0.7.0) (2017-12-21)
48

59
* [ADD] Private Key is automatically validated when set

Makefile

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# --- defaults
22
branch ?= dev
33
plugin_path ?= plugin
4-
l10n_path ?= l10n/es
5-
l10n_name ?= aplazame-es_ES
6-
version ?= v0.7.0
4+
i18n_path ?= i18n/languages
5+
i18n_name ?= aplazame-es_ES
6+
version ?= v0.7.1
77

88
# --- shell
99
errors = $(shell find . -type f -name "*.php" -exec php -l "{}" \;| grep "Errors parsing ";)
@@ -27,20 +27,20 @@ zip:
2727

2828
pot:
2929
@cd $(plugin_path); \
30-
xgettext -o $(l10n_path)/default.pot `find . -name "*.php"` --add-location --from-code=UTF-8 -k_e -k_x -k__ \
30+
xgettext -o $(i18n_path)/aplazame.pot `find . -name "*.php"` --add-location --from-code=UTF-8 -k_e -k_x -k__ \
3131
--package-name=Aplazame --package-version=$(version) \
3232
--msgid-bugs-address="https://github.com/aplazame/woocommerce"; \
33-
sed --in-place $(l10n_path)/default.pot --expression=s/CHARSET/UTF-8/; \
34-
sed --in-place $(l10n_path)/default.pot --expression="s#\"Language-Team.*#\"Language-Team: https://github.com/aplazame/woocommerce\\\n\"#"; \
35-
sed --in-place $(l10n_path)/default.pot --expression="s/\"Language:.*/\"Language: en_US\\\n\"/"
33+
sed --in-place $(i18n_path)/aplazame.pot --expression=s/CHARSET/UTF-8/; \
34+
sed --in-place $(i18n_path)/aplazame.pot --expression="s#\"Language-Team.*#\"Language-Team: https://github.com/aplazame/woocommerce\\\n\"#"; \
35+
sed --in-place $(i18n_path)/aplazame.pot --expression="s/\"Language:.*/\"Language: en_US\\\n\"/"
3636

3737
po:
38-
@cd $(plugin_path); msgmerge $(l10n_path)/default.po $(l10n_path)/default.pot --update --no-fuzzy-matching --backup=off
38+
@cd $(plugin_path); msgmerge $(i18n_path)/aplazame.po $(i18n_path)/aplazame.pot --update --no-fuzzy-matching --backup=off
3939

4040
mo:
41-
@cd $(plugin_path); msgfmt $(l10n_path)/default.po -o $(l10n_path)/$(l10n_name).mo
41+
@cd $(plugin_path); msgfmt $(i18n_path)/aplazame.po -o $(i18n_path)/$(i18n_name).mo
4242

43-
l10n: pot po mo
43+
i18n: pot po mo
4444

4545
push:
4646
@git push origin HEAD

README.md

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
[ ![Image](https://aplazame.com/static/img/banners/banner-728-white-woo.png "Aplazame") ](https://aplazame.com "Aplazame")
22

3-
[![Package version](https://img.shields.io/packagist/v/aplazame/woocommerce.svg)](https://packagist.org/packages/aplazame/woocommerce) [![Plugin version](https://img.shields.io/wordpress/plugin/v/aplazame.svg)](https://wordpress.org/plugins/aplazame/) [![Build Status](http://drone.aplazame.com/api/badges/aplazame/woocommerce/status.svg)](http://drone.aplazame.com/aplazame/woocommerce) [![Dependencies](https://www.versioneye.com/php/aplazame:woocommerce/badge.svg)](https://www.versioneye.com/php/aplazame:woocommerce)
4-
5-
63
### Install
74

85
1. **Download** the latest plugin from [here](https://s3.eu-central-1.amazonaws.com/aplazame/modules/woocommerce/wild-style/aplazame.latest.zip) to local directory as `aplazame.latest.zip`.
@@ -17,34 +14,19 @@
1714

1815
* **Sandbox**: Determines if the module is on Sandbox mode.
1916
* **Private API Key**: The Secret Key provided by Aplazame. You cannot share this key with anyone!!
20-
* **Public API Key**: The Public Key provided by Aplazame.
2117
* **Button**: The CSS Selector for Aplazame payment method. The default selector is `#payment ul li:has(input#payment_method_aplazame)`.
2218
* **Product quantity CSS selector**: The CSS Selector for retrieve the product quantity in the product page. The default value is empty.
2319
* **Product price CSS selector**: The CSS Selector for retrieve the product price in the product page. The default value is empty.
2420
* **Variable product price CSS selector**: The CSS Selector for retrieve the variable product calculated price in the product page. The default selector is `#main [itemtype="http://schema.org/Product"] .single_variation_wrap .amount`.
2521

2622
> Be sure that on all fields you don't keep any whitespace. Otherwise the module can generate unexpected results.
2723
28-
#### Live demo
29-
30-
This is the online demo for uses to test Aplazame and its features.
31-
32-
[http://woo.aplazame.com](http://woo.aplazame.com)
33-
34-
35-
#### Install WooCommerce
36-
37-
It is easy to deploy WooCommerce with [Ansible](http://www.ansible.com/home)!
38-
39-
[https://github.com/aplazame/ansible-wordpress](https://github.com/aplazame/ansible-wordpress)
40-
41-
42-
#### Release history
24+
### Release history
4325

4426
For new features check [this](HISTORY.md).
4527

4628

47-
#### Help
29+
### Help
4830

4931
**Have a question about Aplazame?**
5032

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ services:
2525
ports:
2626
- "3306:3306"
2727

28-
l10n:
28+
i18n:
2929
build:
30-
dockerfile: Dockerfile_l10n
30+
dockerfile: Dockerfile_i18n
3131
context: ./
3232
volumes:
3333
- ./:/var/www
3434
working_dir: /var/www
35-
entrypoint: make l10n
35+
entrypoint: make i18n

plugin/README.txt

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
=== Aplazame ===
22
Contributors: aplazame
3-
Donate link: https://aplazame.com?action=show-me-the-money
43
Tags: aplazame,api,rest,woocommerce,ecommerce,payment,checkout,credit,aplazar,financiar,financiera,financiación,pago aplazado,método de pago
54
Requires at least: 4.0.1
65
Tested up to: 4.9.1
7-
Stable tag: 0.6.2
6+
Requires PHP: 5.3.0
7+
Stable tag: 0.7.1
88
License: GPLv3 or later License
99
License URI: http://www.gnu.org/licenses/gpl-3.0.html
1010

@@ -41,7 +41,7 @@ For any support request please drop us an email at [[email protected]](mailto
4141

4242
= Feedback =
4343

44-
We are open to changes in the API documentation and our services. For any suggestions please send us an email to [dev@aplazame.com](mailto:dev@aplazame.com?subject=Hello).
44+
We are open to changes in the API documentation and our services. For any suggestions please send us an email to [soporte@aplazame.com](mailto:soporte@aplazame.com?subject=Hello).
4545

4646
*We hope you'll enjoy using Aplazame's WooCommerce plugin!*
4747

@@ -56,7 +56,7 @@ We are open to changes in the API documentation and our services. For any sugges
5656

5757
Automatic installation is the easiest option as WordPress handles the file transfers itself and you don't need to leave your web browser. To do an automatic install of Aplazame for WooCommerce, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.
5858

59-
In the search field type Aplazame for WooCommerce and click Search Plugins. Once you've found our plugin you can install it by simply clicking Install Now.
59+
In the search field type Aplazame for WooCommerce and click Search Plugins. Once you've found our plugin you can install it by simply clicking Install Now.
6060

6161
= Latest version =
6262

@@ -72,7 +72,6 @@ Automatic updates should work great for you.
7272

7373
* **Sandbox**: Determines if the module is on Sandbox mode.
7474
* **Private API Key**: The Secret Key provided by Aplazame. You cannot share this key with anyone!!
75-
* **Public API Key**: The Public Key provided by Aplazame.
7675
* **Button**: The CSS Selector for Aplazame payment method. The default selector is `#payment ul li:has(input#payment_method_aplazame)`.
7776
* **Product quantity CSS selector**: The CSS Selector for retrieve the product quantity in the product page. The default value is empty.
7877
* **Product price CSS selector**: The CSS Selector for retrieve the product price in the product page. The default value is empty.
@@ -108,6 +107,10 @@ Of course, simply select an *"Aplazame refund"* in the product detail.
108107

109108
== Changelog ==
110109

110+
#### [v0.7.1](https://github.com/aplazame/woocommerce/tree/v0.7.1) (2017-12-21)
111+
112+
* Minor changes
113+
111114
#### [v0.7.0](https://github.com/aplazame/woocommerce/tree/v0.7.0) (2017-12-21)
112115

113116
* [ADD] Private Key is automatically validated when set
@@ -227,6 +230,6 @@ Of course, simply select an *"Aplazame refund"* in the product detail.
227230

228231
== Upgrade Notice ==
229232

230-
= v0.7.0 =
233+
= v0.7.1 =
231234

232235
The latest release has passed all quality checks.

plugin/aplazame.php

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22
/*
33
* Plugin Name: Aplazame
44
* Plugin URI: https://github.com/aplazame/woocommerce
5-
* Version: 0.6.2
5+
* Version: 0.7.1
66
* Description: Aplazame offers a payment method to receive funding for the purchases.
77
* Author: Aplazame
88
* Author URI: https://aplazame.com
99
*
10-
* WC requires at least: 2.0
11-
* WC tested up to: 3.2.5
10+
* Text Domain: aplazame
11+
* Domain Path: /i18n/languages/
12+
*
13+
* WC requires at least: 2.1
14+
* WC tested up to: 3.2.6
1215
*
1316
* License: GNU General Public License v3.0
1417
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -22,7 +25,7 @@
2225
include_once( 'lib/Aplazame/Aplazame/autoload.php' );
2326

2427
class WC_Aplazame {
25-
const VERSION = '0.7.0';
28+
const VERSION = '0.7.1';
2629
const METHOD_ID = 'aplazame';
2730
const METHOD_TITLE = 'Aplazame';
2831

@@ -70,8 +73,8 @@ public function __construct($apiBaseUri) {
7073
add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), array( $this, 'plugin_action_links' ) );
7174
add_filter( 'woocommerce_payment_gateways', array( $this, 'add_gateway' ) );
7275

73-
// l10n
74-
load_plugin_textdomain( 'aplazame', false, dirname( plugin_basename( __FILE__ ) ) . '/l10n/es' );
76+
// i18n
77+
load_plugin_textdomain( 'aplazame', false, dirname( plugin_basename( __FILE__ ) ) . '/i18n/languages' );
7578

7679
// Settings
7780
register_activation_hook( __FILE__, 'WC_Aplazame_Install::resetSettings' );
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
11
msgid ""
22
msgstr ""
33
"Report-Msgid-Bugs-To: https://github.com/aplazame/woocommerce\n"
4-
"POT-Creation-Date: 2017-12-21 16:07+0000\n"
4+
"POT-Creation-Date: 2017-12-21 17:24+0000\n"
55
"Language: es_ES\n"
66
"MIME-Version: 1.0\n"
77
"Content-Type: text/plain; charset=UTF-8\n"
88
"Content-Transfer-Encoding: 8bit\n"
99

10-
#: aplazame.php:131
10+
#: aplazame.php:134
1111
msgid "Aplazame Campaigns"
1212
msgstr "Campañas Aplazame"
1313

14-
#: aplazame.php:149
14+
#: aplazame.php:152
1515
msgid "Settings"
1616
msgstr "Ajustes"
1717

18-
#: aplazame.php:245
18+
#: aplazame.php:248
1919
#, php-format
2020
msgid "%s ERROR: Order #%s cannot be confirmed. Reason: %s"
2121
msgstr ""
2222

23-
#: aplazame.php:256
23+
#: aplazame.php:259
2424
#, php-format
2525
msgid "Confirmed by %s."
2626
msgstr "Confirmado por %s."
2727

28-
#: aplazame.php:293
28+
#: aplazame.php:296
2929
#, php-format
3030
msgid "%s ERROR: Order #%s cannot be cancelled. Reason: %s"
3131
msgstr ""
3232

33-
#: aplazame.php:303
33+
#: aplazame.php:306
3434
#, php-format
3535
msgid "Order #%s has been successful cancelled by %s."
3636
msgstr "El pedido #%s ha sido cancelado correctamente por %s."
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
#, fuzzy
77
msgid ""
88
msgstr ""
9-
"Project-Id-Version: Aplazame v0.7.0\n"
9+
"Project-Id-Version: Aplazame v0.7.1\n"
1010
"Report-Msgid-Bugs-To: https://github.com/aplazame/woocommerce\n"
11-
"POT-Creation-Date: 2017-12-21 16:14+0000\n"
11+
"POT-Creation-Date: 2017-12-21 18:16+0000\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: https://github.com/aplazame/woocommerce\n"
@@ -17,30 +17,30 @@ msgstr ""
1717
"Content-Type: text/plain; charset=UTF-8\n"
1818
"Content-Transfer-Encoding: 8bit\n"
1919

20-
#: aplazame.php:131
20+
#: aplazame.php:134
2121
msgid "Aplazame Campaigns"
2222
msgstr ""
2323

24-
#: aplazame.php:149
24+
#: aplazame.php:152
2525
msgid "Settings"
2626
msgstr ""
2727

28-
#: aplazame.php:245
28+
#: aplazame.php:248
2929
#, php-format
3030
msgid "%s ERROR: Order #%s cannot be confirmed. Reason: %s"
3131
msgstr ""
3232

33-
#: aplazame.php:256
33+
#: aplazame.php:259
3434
#, php-format
3535
msgid "Confirmed by %s."
3636
msgstr ""
3737

38-
#: aplazame.php:293
38+
#: aplazame.php:296
3939
#, php-format
4040
msgid "%s ERROR: Order #%s cannot be cancelled. Reason: %s"
4141
msgstr ""
4242

43-
#: aplazame.php:303
43+
#: aplazame.php:306
4444
#, php-format
4545
msgid "Order #%s has been successful cancelled by %s."
4646
msgstr ""

0 commit comments

Comments
 (0)