From 5277fd3a39d698f413730c30698a21ffe343c539 Mon Sep 17 00:00:00 2001 From: Juerg Hunziker Date: Wed, 20 Sep 2017 15:44:40 +0200 Subject: [PATCH] set version to 1.2.2 --- languages/rokka-integration-de_CH.po | 74 ++++++++++++------------ languages/rokka-integration-de_DE.po | 74 ++++++++++++------------ languages/rokka-integration.pot | 74 ++++++++++++------------ package.json | 2 +- readme.txt | 9 ++- rokka-integration.php | 6 +- scripts/translations/extract_messages.sh | 2 +- src/class-rokka-integration.php | 4 +- 8 files changed, 125 insertions(+), 120 deletions(-) diff --git a/languages/rokka-integration-de_CH.po b/languages/rokka-integration-de_CH.po index b55ab16..65b69cc 100644 --- a/languages/rokka-integration-de_CH.po +++ b/languages/rokka-integration-de_CH.po @@ -5,9 +5,9 @@ # msgid "" msgstr "" -"Project-Id-Version: rokka-integration 1.2.1\n" +"Project-Id-Version: rokka-integration 1.2.2\n" "Report-Msgid-Bugs-To: contact@liip.ch\n" -"POT-Creation-Date: 2017-07-12 09:19+0200\n" +"POT-Creation-Date: 2017-09-20 15:42+0200\n" "PO-Revision-Date: 2017-04-04 11:53+0200\n" "Last-Translator: Juerg Hunziker \n" "Language-Team: German\n" @@ -191,7 +191,7 @@ msgstr "" #: src/class-rokka-integration-settings.php:292 msgid "" "Stacks are a set of operations on rokka which represent the image sizes as " -"they are defined in Wordpress. If you change the image sizes in Wordpress, " +"they are defined in WordPress. If you change the image sizes in WordPress, " "execute this command again in order to reflect pass the size changes to the " "stacks on rokka." msgstr "" @@ -234,122 +234,122 @@ msgstr "" msgid "Stack will be deleted" msgstr "" -#: src/class-rokka-integration-settings.php:340 +#: src/class-rokka-integration-settings.php:337 msgid "Yes" msgstr "" -#: src/class-rokka-integration-settings.php:340 +#: src/class-rokka-integration-settings.php:337 msgid "No" msgstr "" -#: src/class-rokka-integration-settings.php:347 +#: src/class-rokka-integration-settings.php:344 msgid "Sync stacks with rokka" msgstr "" -#: src/class-rokka-integration-settings.php:350 +#: src/class-rokka-integration-settings.php:347 msgid "There are no image sizes defined in WordPress." msgstr "" -#: src/class-rokka-integration-settings.php:358 +#: src/class-rokka-integration-settings.php:355 #, php-format msgctxt "%s contains the error from rokka" msgid "There was an error listing the stacks from rokka. %s" msgstr "" -#: src/class-rokka-integration-settings.php:369 +#: src/class-rokka-integration-settings.php:366 msgid "Please enable rokka first (in main settings)." msgstr "" -#: src/class-rokka-integration-settings.php:375 +#: src/class-rokka-integration-settings.php:372 msgid "Mass upload images to rokka" msgstr "" -#: src/class-rokka-integration-settings.php:378 +#: src/class-rokka-integration-settings.php:375 msgid "The following images will be uploaded to rokka:" msgstr "" -#: src/class-rokka-integration-settings.php:383 -#: src/class-rokka-integration-settings.php:408 +#: src/class-rokka-integration-settings.php:380 +#: src/class-rokka-integration-settings.php:405 #, php-format msgctxt "%1$s contains image id. %2$s contains image path." msgid "ID: %1$s / Path: %2$s" msgstr "" -#: src/class-rokka-integration-settings.php:387 +#: src/class-rokka-integration-settings.php:384 msgid "Upload all images to rokka" msgstr "" -#: src/class-rokka-integration-settings.php:391 -#: src/class-rokka-integration-settings.php:416 +#: src/class-rokka-integration-settings.php:388 +#: src/class-rokka-integration-settings.php:413 msgid "Log:" msgstr "" -#: src/class-rokka-integration-settings.php:396 +#: src/class-rokka-integration-settings.php:393 msgid "All images are already uploaded to rokka. Nothing to do here." msgstr "" -#: src/class-rokka-integration-settings.php:400 +#: src/class-rokka-integration-settings.php:397 msgid "Danger zone - Mass delete images" msgstr "" -#: src/class-rokka-integration-settings.php:403 +#: src/class-rokka-integration-settings.php:400 msgid "The following images will be deleted from rokka:" msgstr "" -#: src/class-rokka-integration-settings.php:412 +#: src/class-rokka-integration-settings.php:409 msgid "Remove all images from rokka" msgstr "" -#: src/class-rokka-integration-settings.php:421 +#: src/class-rokka-integration-settings.php:418 msgid "There are no images on rokka yet. Please upload them first." msgstr "" -#: src/class-rokka-integration-settings.php:425 +#: src/class-rokka-integration-settings.php:422 msgid "Please enable rokka first (in main settings)" msgstr "" -#: src/class-rokka-integration-settings.php:438 +#: src/class-rokka-integration-settings.php:435 msgid "Check rokka crendentials" msgstr "" -#: src/class-rokka-integration-settings.php:455 +#: src/class-rokka-integration-settings.php:452 msgid "Liip Logo" msgstr "" -#: src/class-rokka-integration-settings.php:647 -#: src/class-rokka-integration-settings.php:683 -#: src/class-rokka-integration-settings.php:719 -#: src/class-rokka-integration-settings.php:746 +#: src/class-rokka-integration-settings.php:644 +#: src/class-rokka-integration-settings.php:680 +#: src/class-rokka-integration-settings.php:716 +#: src/class-rokka-integration-settings.php:743 msgid "Permission denied! There was something wrong with the nonce." msgstr "" -#: src/class-rokka-integration-settings.php:664 +#: src/class-rokka-integration-settings.php:661 msgid "This image is already on rokka. No need to upload it another time." msgstr "" -#: src/class-rokka-integration-settings.php:667 -#: src/class-rokka-integration-settings.php:703 +#: src/class-rokka-integration-settings.php:664 +#: src/class-rokka-integration-settings.php:700 msgid "image_id parameter missing." msgstr "" -#: src/class-rokka-integration-settings.php:700 +#: src/class-rokka-integration-settings.php:697 msgid "This image is not yet on rokka. No need to delete it." msgstr "" -#: src/class-rokka-integration-settings.php:731 +#: src/class-rokka-integration-settings.php:728 msgid "Could not process stacks." msgstr "" -#: src/class-rokka-integration-settings.php:751 +#: src/class-rokka-integration-settings.php:748 msgid "Yay! Your rokka credentials are valid." msgstr "" -#: src/class-rokka-integration-settings.php:754 +#: src/class-rokka-integration-settings.php:751 msgid "Whops! Something is wrong with your rokka credentials." msgstr "" -#: src/class-rokka-integration-settings.php:784 -#: src/class-rokka-integration-settings.php:793 +#: src/class-rokka-integration-settings.php:781 +#: src/class-rokka-integration-settings.php:790 #: src/class-rokka-integration.php:161 src/class-rokka-integration.php:168 msgid "Cheatin’ huh?" msgstr "" diff --git a/languages/rokka-integration-de_DE.po b/languages/rokka-integration-de_DE.po index 5d0cf42..12f9e0e 100644 --- a/languages/rokka-integration-de_DE.po +++ b/languages/rokka-integration-de_DE.po @@ -5,9 +5,9 @@ # msgid "" msgstr "" -"Project-Id-Version: rokka-integration 1.2.1\n" +"Project-Id-Version: rokka-integration 1.2.2\n" "Report-Msgid-Bugs-To: contact@liip.ch\n" -"POT-Creation-Date: 2017-07-12 09:19+0200\n" +"POT-Creation-Date: 2017-09-20 15:42+0200\n" "PO-Revision-Date: 2017-04-04 11:57+0200\n" "Last-Translator: Juerg Hunziker \n" "Language-Team: German\n" @@ -191,7 +191,7 @@ msgstr "" #: src/class-rokka-integration-settings.php:292 msgid "" "Stacks are a set of operations on rokka which represent the image sizes as " -"they are defined in Wordpress. If you change the image sizes in Wordpress, " +"they are defined in WordPress. If you change the image sizes in WordPress, " "execute this command again in order to reflect pass the size changes to the " "stacks on rokka." msgstr "" @@ -234,122 +234,122 @@ msgstr "" msgid "Stack will be deleted" msgstr "" -#: src/class-rokka-integration-settings.php:340 +#: src/class-rokka-integration-settings.php:337 msgid "Yes" msgstr "" -#: src/class-rokka-integration-settings.php:340 +#: src/class-rokka-integration-settings.php:337 msgid "No" msgstr "" -#: src/class-rokka-integration-settings.php:347 +#: src/class-rokka-integration-settings.php:344 msgid "Sync stacks with rokka" msgstr "" -#: src/class-rokka-integration-settings.php:350 +#: src/class-rokka-integration-settings.php:347 msgid "There are no image sizes defined in WordPress." msgstr "" -#: src/class-rokka-integration-settings.php:358 +#: src/class-rokka-integration-settings.php:355 #, php-format msgctxt "%s contains the error from rokka" msgid "There was an error listing the stacks from rokka. %s" msgstr "" -#: src/class-rokka-integration-settings.php:369 +#: src/class-rokka-integration-settings.php:366 msgid "Please enable rokka first (in main settings)." msgstr "" -#: src/class-rokka-integration-settings.php:375 +#: src/class-rokka-integration-settings.php:372 msgid "Mass upload images to rokka" msgstr "" -#: src/class-rokka-integration-settings.php:378 +#: src/class-rokka-integration-settings.php:375 msgid "The following images will be uploaded to rokka:" msgstr "" -#: src/class-rokka-integration-settings.php:383 -#: src/class-rokka-integration-settings.php:408 +#: src/class-rokka-integration-settings.php:380 +#: src/class-rokka-integration-settings.php:405 #, php-format msgctxt "%1$s contains image id. %2$s contains image path." msgid "ID: %1$s / Path: %2$s" msgstr "" -#: src/class-rokka-integration-settings.php:387 +#: src/class-rokka-integration-settings.php:384 msgid "Upload all images to rokka" msgstr "" -#: src/class-rokka-integration-settings.php:391 -#: src/class-rokka-integration-settings.php:416 +#: src/class-rokka-integration-settings.php:388 +#: src/class-rokka-integration-settings.php:413 msgid "Log:" msgstr "" -#: src/class-rokka-integration-settings.php:396 +#: src/class-rokka-integration-settings.php:393 msgid "All images are already uploaded to rokka. Nothing to do here." msgstr "" -#: src/class-rokka-integration-settings.php:400 +#: src/class-rokka-integration-settings.php:397 msgid "Danger zone - Mass delete images" msgstr "" -#: src/class-rokka-integration-settings.php:403 +#: src/class-rokka-integration-settings.php:400 msgid "The following images will be deleted from rokka:" msgstr "" -#: src/class-rokka-integration-settings.php:412 +#: src/class-rokka-integration-settings.php:409 msgid "Remove all images from rokka" msgstr "" -#: src/class-rokka-integration-settings.php:421 +#: src/class-rokka-integration-settings.php:418 msgid "There are no images on rokka yet. Please upload them first." msgstr "" -#: src/class-rokka-integration-settings.php:425 +#: src/class-rokka-integration-settings.php:422 msgid "Please enable rokka first (in main settings)" msgstr "" -#: src/class-rokka-integration-settings.php:438 +#: src/class-rokka-integration-settings.php:435 msgid "Check rokka crendentials" msgstr "" -#: src/class-rokka-integration-settings.php:455 +#: src/class-rokka-integration-settings.php:452 msgid "Liip Logo" msgstr "" -#: src/class-rokka-integration-settings.php:647 -#: src/class-rokka-integration-settings.php:683 -#: src/class-rokka-integration-settings.php:719 -#: src/class-rokka-integration-settings.php:746 +#: src/class-rokka-integration-settings.php:644 +#: src/class-rokka-integration-settings.php:680 +#: src/class-rokka-integration-settings.php:716 +#: src/class-rokka-integration-settings.php:743 msgid "Permission denied! There was something wrong with the nonce." msgstr "" -#: src/class-rokka-integration-settings.php:664 +#: src/class-rokka-integration-settings.php:661 msgid "This image is already on rokka. No need to upload it another time." msgstr "" -#: src/class-rokka-integration-settings.php:667 -#: src/class-rokka-integration-settings.php:703 +#: src/class-rokka-integration-settings.php:664 +#: src/class-rokka-integration-settings.php:700 msgid "image_id parameter missing." msgstr "" -#: src/class-rokka-integration-settings.php:700 +#: src/class-rokka-integration-settings.php:697 msgid "This image is not yet on rokka. No need to delete it." msgstr "" -#: src/class-rokka-integration-settings.php:731 +#: src/class-rokka-integration-settings.php:728 msgid "Could not process stacks." msgstr "" -#: src/class-rokka-integration-settings.php:751 +#: src/class-rokka-integration-settings.php:748 msgid "Yay! Your rokka credentials are valid." msgstr "" -#: src/class-rokka-integration-settings.php:754 +#: src/class-rokka-integration-settings.php:751 msgid "Whops! Something is wrong with your rokka credentials." msgstr "" -#: src/class-rokka-integration-settings.php:784 -#: src/class-rokka-integration-settings.php:793 +#: src/class-rokka-integration-settings.php:781 +#: src/class-rokka-integration-settings.php:790 #: src/class-rokka-integration.php:161 src/class-rokka-integration.php:168 msgid "Cheatin’ huh?" msgstr "" diff --git a/languages/rokka-integration.pot b/languages/rokka-integration.pot index 1bbdd4f..de66bd7 100644 --- a/languages/rokka-integration.pot +++ b/languages/rokka-integration.pot @@ -5,9 +5,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: rokka-integration 1.2.1\n" +"Project-Id-Version: rokka-integration 1.2.2\n" "Report-Msgid-Bugs-To: contact@liip.ch\n" -"POT-Creation-Date: 2017-07-12 09:19+0200\n" +"POT-Creation-Date: 2017-09-20 15:42+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -173,7 +173,7 @@ msgid "Mass upload/delete" msgstr "" #: src/class-rokka-integration-settings.php:292 -msgid "Stacks are a set of operations on rokka which represent the image sizes as they are defined in Wordpress. If you change the image sizes in Wordpress, execute this command again in order to reflect pass the size changes to the stacks on rokka." +msgid "Stacks are a set of operations on rokka which represent the image sizes as they are defined in WordPress. If you change the image sizes in WordPress, execute this command again in order to reflect pass the size changes to the stacks on rokka." msgstr "" #: src/class-rokka-integration-settings.php:303 @@ -214,122 +214,122 @@ msgstr "" msgid "Stack will be deleted" msgstr "" -#: src/class-rokka-integration-settings.php:340 +#: src/class-rokka-integration-settings.php:337 msgid "Yes" msgstr "" -#: src/class-rokka-integration-settings.php:340 +#: src/class-rokka-integration-settings.php:337 msgid "No" msgstr "" -#: src/class-rokka-integration-settings.php:347 +#: src/class-rokka-integration-settings.php:344 msgid "Sync stacks with rokka" msgstr "" -#: src/class-rokka-integration-settings.php:350 +#: src/class-rokka-integration-settings.php:347 msgid "There are no image sizes defined in WordPress." msgstr "" -#: src/class-rokka-integration-settings.php:358 +#: src/class-rokka-integration-settings.php:355 #, php-format msgctxt "%s contains the error from rokka" msgid "There was an error listing the stacks from rokka. %s" msgstr "" -#: src/class-rokka-integration-settings.php:369 +#: src/class-rokka-integration-settings.php:366 msgid "Please enable rokka first (in main settings)." msgstr "" -#: src/class-rokka-integration-settings.php:375 +#: src/class-rokka-integration-settings.php:372 msgid "Mass upload images to rokka" msgstr "" -#: src/class-rokka-integration-settings.php:378 +#: src/class-rokka-integration-settings.php:375 msgid "The following images will be uploaded to rokka:" msgstr "" -#: src/class-rokka-integration-settings.php:383 -#: src/class-rokka-integration-settings.php:408 +#: src/class-rokka-integration-settings.php:380 +#: src/class-rokka-integration-settings.php:405 #, php-format msgctxt "%1$s contains image id. %2$s contains image path." msgid "ID: %1$s / Path: %2$s" msgstr "" -#: src/class-rokka-integration-settings.php:387 +#: src/class-rokka-integration-settings.php:384 msgid "Upload all images to rokka" msgstr "" -#: src/class-rokka-integration-settings.php:391 -#: src/class-rokka-integration-settings.php:416 +#: src/class-rokka-integration-settings.php:388 +#: src/class-rokka-integration-settings.php:413 msgid "Log:" msgstr "" -#: src/class-rokka-integration-settings.php:396 +#: src/class-rokka-integration-settings.php:393 msgid "All images are already uploaded to rokka. Nothing to do here." msgstr "" -#: src/class-rokka-integration-settings.php:400 +#: src/class-rokka-integration-settings.php:397 msgid "Danger zone - Mass delete images" msgstr "" -#: src/class-rokka-integration-settings.php:403 +#: src/class-rokka-integration-settings.php:400 msgid "The following images will be deleted from rokka:" msgstr "" -#: src/class-rokka-integration-settings.php:412 +#: src/class-rokka-integration-settings.php:409 msgid "Remove all images from rokka" msgstr "" -#: src/class-rokka-integration-settings.php:421 +#: src/class-rokka-integration-settings.php:418 msgid "There are no images on rokka yet. Please upload them first." msgstr "" -#: src/class-rokka-integration-settings.php:425 +#: src/class-rokka-integration-settings.php:422 msgid "Please enable rokka first (in main settings)" msgstr "" -#: src/class-rokka-integration-settings.php:438 +#: src/class-rokka-integration-settings.php:435 msgid "Check rokka crendentials" msgstr "" -#: src/class-rokka-integration-settings.php:455 +#: src/class-rokka-integration-settings.php:452 msgid "Liip Logo" msgstr "" -#: src/class-rokka-integration-settings.php:647 -#: src/class-rokka-integration-settings.php:683 -#: src/class-rokka-integration-settings.php:719 -#: src/class-rokka-integration-settings.php:746 +#: src/class-rokka-integration-settings.php:644 +#: src/class-rokka-integration-settings.php:680 +#: src/class-rokka-integration-settings.php:716 +#: src/class-rokka-integration-settings.php:743 msgid "Permission denied! There was something wrong with the nonce." msgstr "" -#: src/class-rokka-integration-settings.php:664 +#: src/class-rokka-integration-settings.php:661 msgid "This image is already on rokka. No need to upload it another time." msgstr "" -#: src/class-rokka-integration-settings.php:667 -#: src/class-rokka-integration-settings.php:703 +#: src/class-rokka-integration-settings.php:664 +#: src/class-rokka-integration-settings.php:700 msgid "image_id parameter missing." msgstr "" -#: src/class-rokka-integration-settings.php:700 +#: src/class-rokka-integration-settings.php:697 msgid "This image is not yet on rokka. No need to delete it." msgstr "" -#: src/class-rokka-integration-settings.php:731 +#: src/class-rokka-integration-settings.php:728 msgid "Could not process stacks." msgstr "" -#: src/class-rokka-integration-settings.php:751 +#: src/class-rokka-integration-settings.php:748 msgid "Yay! Your rokka credentials are valid." msgstr "" -#: src/class-rokka-integration-settings.php:754 +#: src/class-rokka-integration-settings.php:751 msgid "Whops! Something is wrong with your rokka credentials." msgstr "" -#: src/class-rokka-integration-settings.php:784 -#: src/class-rokka-integration-settings.php:793 +#: src/class-rokka-integration-settings.php:781 +#: src/class-rokka-integration-settings.php:790 #: src/class-rokka-integration.php:161 src/class-rokka-integration.php:168 msgid "Cheatin’ huh?" msgstr "" diff --git a/package.json b/package.json index dde6fe1..a36b2b0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rokka-wordpress-plugin", - "version": "1.2.1", + "version": "1.2.2", "description": "Rokka integration plugin for WordPress", "main": "index.js", "scripts": { diff --git a/readme.txt b/readme.txt index aae7dce..7134fa9 100644 --- a/readme.txt +++ b/readme.txt @@ -3,8 +3,8 @@ Contributors: liip, tschortsch Donate link: https://rokka.io/ Tags: rokka, image, service, cdn, integration Requires at least: 4.0 -Tested up to: 4.8 -Stable tag: 1.2.1 +Tested up to: 4.8.2 +Stable tag: 1.2.2 License: GPLv2 License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -67,6 +67,11 @@ Please create a new GitHub issue and let us know: [https://github.com/rokka-io/r == Changelog == += 1.2.2 = + +* [UPDATE] Updated rokka-client-php to v0.10.0 +* [CHANGE] Improved generation of prefixed stack names. + = 1.2.1 = * [FEATURE] Add autoformat option. If autoformat is enabled, rokka will deliver an image in the usually smaller WebP format instead of PNG or JPG, if the client supports it. diff --git a/rokka-integration.php b/rokka-integration.php index ecfbcd8..71dcfab 100644 --- a/rokka-integration.php +++ b/rokka-integration.php @@ -1,7 +1,7 @@ is_rokka_enabled() ) { diff --git a/scripts/translations/extract_messages.sh b/scripts/translations/extract_messages.sh index 8d75800..bf69fcd 100755 --- a/scripts/translations/extract_messages.sh +++ b/scripts/translations/extract_messages.sh @@ -10,7 +10,7 @@ find "." \ -not -path "tests/*" \ -not -path "vendor/*" \ -type f \( -name "*.php" \) \ - | xargs xgettext --language=PHP --add-comments=TRANSLATORS: --force-po --from-code=UTF-8 --no-wrap --foreign-user --package-name="rokka-integration" --package-version=1.2.1 --msgid-bugs-address=contact@liip.ch \ + | xargs xgettext --language=PHP --add-comments=TRANSLATORS: --force-po --from-code=UTF-8 --no-wrap --foreign-user --package-name="rokka-integration" --package-version=1.2.2 --msgid-bugs-address=contact@liip.ch \ --keyword=__ \ --keyword=_e \ --keyword=__ngettext:1,2 \ diff --git a/src/class-rokka-integration.php b/src/class-rokka-integration.php index 73e4aa5..845f868 100644 --- a/src/class-rokka-integration.php +++ b/src/class-rokka-integration.php @@ -76,7 +76,7 @@ class Rokka_Integration { * @param string $file Main plugin file path. * @param string $version Version number. */ - public function __construct( $file = '', $version = '1.2.1' ) { + public function __construct( $file = '', $version = '1.2.2' ) { $this->_version = $version; $this->_token = 'rokka-integration'; @@ -146,7 +146,7 @@ public function load_plugin_textdomain() { * * @return Rokka_Integration Rokka_Integration instance */ - public static function instance( $file = '', $version = '1.2.1' ) { + public static function instance( $file = '', $version = '1.2.2' ) { if ( is_null( self::$_instance ) ) { self::$_instance = new self( $file, $version ); }