Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
Merge branch 'i18n'
Browse files Browse the repository at this point in the history
  • Loading branch information
tangrufus committed Mar 5, 2017
2 parents 2b7c239 + 4176079 commit 4167cf8
Show file tree
Hide file tree
Showing 12 changed files with 67 additions and 39 deletions.
2 changes: 1 addition & 1 deletion .github_changelog_generator
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
unreleased=true
future-release=0.1.1
future-release=0.1.2
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
# Change Log

## [0.1.2](https://github.com/TypistTech/wp-cloudflare-guard/tree/0.1.2) (2017-03-05)
[Full Changelog](https://github.com/TypistTech/wp-cloudflare-guard/compare/0.1.1...0.1.2)

**Merged pull requests:**

- Composer Script: build before deploy [\#9](https://github.com/TypistTech/wp-cloudflare-guard/pull/9) ([TangRufus](https://github.com/TangRufus))

## [0.1.1](https://github.com/TypistTech/wp-cloudflare-guard/tree/0.1.1) (2017-03-05)
[Full Changelog](https://github.com/TypistTech/wp-cloudflare-guard/compare/0.1.0...0.1.1)

**Merged pull requests:**

- Version bump 0.1.1 [\#8](https://github.com/TypistTech/wp-cloudflare-guard/pull/8) ([TangRufus](https://github.com/TangRufus))
- i18n: Translate vendor files [\#7](https://github.com/TypistTech/wp-cloudflare-guard/pull/7) ([TangRufus](https://github.com/TangRufus))
- Add grunt-wp-deploy [\#6](https://github.com/TypistTech/wp-cloudflare-guard/pull/6) ([TangRufus](https://github.com/TangRufus))

Expand Down
18 changes: 6 additions & 12 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,10 @@ module.exports = function ( grunt ) {
target: {
options: {
include: [
'*.php',
'**/*.php',
'*.phtml',
'**/*.phtml',
'*.html',
'**/*.html',
'!assets/**',
'!build/**',
'!node_modules/**',
'!release/**',
'!tests/**'
'src/.*',
'vendor/.*',
'uninstall.php',
'<%= pkg.name %>.php'
],
mainFile: '<%= pkg.name %>.php',
potHeaders: {
Expand All @@ -71,7 +64,8 @@ module.exports = function ( grunt ) {
'report-msgid-bugs-to': '<%= pkg.pot.reportmsgidbugsto %>'
},
type: 'wp-plugin',
updateTimestamp: true
updateTimestamp: true,
updatePoFiles: true
}
}
},
Expand Down
14 changes: 11 additions & 3 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://www.typist.tech/donate/wp-cloudflare-guard/
Tags: cloudflare, firewall, security, spam
Requires at least: 4.6
Tested up to: 4.7.2
Stable tag: 0.1.1
Stable tag: 0.1.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -145,11 +145,19 @@ Shoot me an email at [[email protected]](mailto:[email protected]) or use this [co

Full change log available at [GitHub](https://github.com/TangRufus/wp-cloudflare-guard/blob/master/CHANGELOG.md)

= 0.1.2 =

* Better translation support

= 0.1.1 =

* Better translation support

= 0.1.0 =
* First release

== Upgrade Notice ==

= 0.1.0 =
= 0.1.2 =

* First release
* Better translation support
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "typisttech/wp-cloudflare-guard",
"description": "Connecting WordPress with Cloudflare firewall, protect your WordPress site at DNS level. Automatically create firewall rules to block dangerous IPs",
"version": "0.1.1",
"version": "0.1.2",
"keywords": [
"wordpress",
"wp",
Expand Down
Binary file modified languages/wp-cloudflare-guard-zh_HK.mo
Binary file not shown.
24 changes: 15 additions & 9 deletions languages/wp-cloudflare-guard-zh_HK.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@
# This file is distributed under the GPL-2.0+.
msgid ""
msgstr ""
"Project-Id-Version: wp-cloudflare-guard 0.1.0\n"
"Project-Id-Version: wp-cloudflare-guard 0.1.2\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-cloudflare-"
"guard\n"
"POT-Creation-Date: 2017-03-05 09:57+0800\n"
"POT-Creation-Date: 2017-03-05 15:50+0800\n"
"PO-Revision-Date: 2017-03-05 15:51+0800\n"
"Last-Translator: \n"
"Language-Team: Typist Tech <[email protected]>\n"
"Language: zh_HK\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2017-03-05 10:07+0800\n"
"Language-Team: Typist Tech <[email protected]>\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;"
"_n_noop:1,2;_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;"
"esc_attr_x:1,2c;esc_html_x:1,2c\n"
"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
"_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
"esc_html_x:1,2c\n"
"X-Poedit-Basepath: ..\n"
"X-Textdomain-Support: yes\n"
"X-Generator: Poedit 1.8.12\n"
"Last-Translator: \n"
"Language: zh_HK\n"
"X-Poedit-SearchPath-0: .\n"

#: src/bad-login/class-admin.php:78
Expand Down Expand Up @@ -72,6 +72,12 @@ msgstr "Zone ID"
msgid "Zone identifier for this domain"
msgstr "此網域的 Zone identifier"

#: vendor/typisttech/wp-better-settings/src/wp-better-settings/class-sanitizer.php:59
msgid ""
"The email address entered did not appear to be a valid email address. Please "
"enter a valid email address."
msgstr "這不是正確的電郵地址。請輸入正確電郵地址。"

#. Plugin Name of the plugin/theme
msgid "WP CloudFlare Guard"
msgstr "WP CloudFlare Guard"
Expand Down
Binary file modified languages/wp-cloudflare-guard-zh_TW.mo
Binary file not shown.
24 changes: 15 additions & 9 deletions languages/wp-cloudflare-guard-zh_TW.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@
# This file is distributed under the GPL-2.0+.
msgid ""
msgstr ""
"Project-Id-Version: wp-cloudflare-guard 0.1.0\n"
"Project-Id-Version: wp-cloudflare-guard 0.1.2\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-cloudflare-"
"guard\n"
"POT-Creation-Date: 2017-03-05 09:57+0800\n"
"POT-Creation-Date: 2017-03-05 07:44:04+00:00\n"
"PO-Revision-Date: 2017-03-05 15:51+0800\n"
"Last-Translator: \n"
"Language-Team: Typist Tech <[email protected]>\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2017-03-05 10:07+0800\n"
"Language-Team: Typist Tech <[email protected]>\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;"
"_n_noop:1,2;_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;"
"esc_attr_x:1,2c;esc_html_x:1,2c\n"
"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
"_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
"esc_html_x:1,2c\n"
"X-Poedit-Basepath: ..\n"
"X-Textdomain-Support: yes\n"
"X-Generator: Poedit 1.8.12\n"
"Last-Translator: \n"
"Language: zh_TW\n"
"X-Poedit-SearchPath-0: .\n"

#: src/bad-login/class-admin.php:78
Expand Down Expand Up @@ -72,6 +72,12 @@ msgstr "Zone ID"
msgid "Zone identifier for this domain"
msgstr "此網域的 Zone identifier"

#: vendor/typisttech/wp-better-settings/src/wp-better-settings/class-sanitizer.php:59
msgid ""
"The email address entered did not appear to be a valid email address. Please "
"enter a valid email address."
msgstr "這不是正確的電郵地址。請輸入正確電郵地址。"

#. Plugin Name of the plugin/theme
msgid "WP CloudFlare Guard"
msgstr "WP CloudFlare Guard"
Expand Down
10 changes: 8 additions & 2 deletions languages/wp-cloudflare-guard.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# This file is distributed under the GPL-2.0+.
msgid ""
msgstr ""
"Project-Id-Version: wp-cloudflare-guard 0.1.0\n"
"Project-Id-Version: wp-cloudflare-guard 0.1.2\n"
"Report-Msgid-Bugs-To: "
"https://wordpress.org/support/plugin/wp-cloudflare-guard\n"
"POT-Creation-Date: 2017-03-05 04:12:27+00:00\n"
"POT-Creation-Date: 2017-03-05 07:51:28+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down Expand Up @@ -73,6 +73,12 @@ msgstr ""
msgid "Zone identifier for this domain"
msgstr ""

#: vendor/typisttech/wp-better-settings/src/wp-better-settings/class-sanitizer.php:59
msgid ""
"The email address entered did not appear to be a valid email address. "
"Please enter a valid email address."
msgstr ""

#. Plugin Name of the plugin/theme
msgid "WP CloudFlare Guard"
msgstr ""
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wp-cloudflare-guard",
"version": "0.1.1",
"version": "0.1.2",
"description": "Connecting WordPress with Cloudflare firewall, protect your WordPress site at DNS level. Automatically create firewall rules to block dangerous IPs",
"keywords": [
"wordpress",
Expand Down
2 changes: 1 addition & 1 deletion wp-cloudflare-guard.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* Plugin Name: WP CloudFlare Guard
* Plugin URI: https://www.typist.tech/
* Description: Connecting WordPress with Cloudflare firewall.
* Version: 0.1.1
* Version: 0.1.2
* Author: Typist Tech
* Author URI: https://www.typist.tech/
* License: GPL-2.0+
Expand Down

0 comments on commit 4167cf8

Please sign in to comment.