Skip to content

Commit

Permalink
Merge pull request #9 from mirko-pagliai/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
mirko-pagliai authored Oct 24, 2016
2 parents c14870a + 096525a commit e618525
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 16 deletions.
29 changes: 20 additions & 9 deletions src/Locale/it/thumber.po
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# LANGUAGE translation of cakephp-thumber plugin
# Copyright 2016 Mirko Pagliai <mirko.pagliai@gmail.com>
#
# Mirko Pagliai <mirko.pagliai@gmail.com>, 2016.
msgid ""
msgstr ""
"POT-Creation-Date: 2016-10-13 19:31+0200\n"
"PO-Revision-Date: 2016-10-13 19:33+0100\n"
"POT-Creation-Date: 2016-10-24 18:54+0200\n"
"PO-Revision-Date: 2016-10-24 18:58+0100\n"
"Last-Translator: Mirko Pagliai <mirko.pagliai@gmail.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand All @@ -14,20 +13,32 @@ msgstr ""
"Language-Team: Italian <>\n"
"Language: it\n"

#: /home/mirko/Libs/Plugins/cakephp-thumber/src/Utility/ThumbCreator.php:135
#: /home/mirko/Libs/Plugins/cakephp-thumber/src/Utility/ThumbCreator.php:143
msgid "File `{0}` not readable"
msgstr "File `{0}` non leggibile"

#: /home/mirko/Libs/Plugins/cakephp-thumber/src/Utility/ThumbCreator.php:159;195
#: /home/mirko/Libs/Plugins/cakephp-thumber/src/Utility/ThumbCreator.php:167;206;247
msgid "Missing parameters for the `{0}` method"
msgstr "Parametri mancanti per il metodo `{0}`"

#: /home/mirko/Libs/Plugins/cakephp-thumber/src/Utility/ThumbCreator.php:234
#: /home/mirko/Libs/Plugins/cakephp-thumber/src/Utility/ThumbCreator.php:291
msgid "No valid method called before the `{0}` method"
msgstr "Nessun metodo valido chiamato prima del metodo `{0}`"

#: /home/mirko/Libs/Plugins/cakephp-thumber/src/Utility/ThumbCreator.php:260
msgid "Can't write the file `{0}`"
msgstr "Impossibile scrivere il file `{0}`"
#: /home/mirko/Libs/Plugins/cakephp-thumber/src/Utility/ThumbCreator.php:315
msgid "Invalid `{0}` format"
msgstr "Formato `{0}` invalido"

#: /home/mirko/Libs/Plugins/cakephp-thumber/src/Utility/ThumbCreator.php:324
msgid "The {0} driver can't decode the `{1}` format"
msgstr "Il driver {0} non può decodificare il formato `{1}`"

#: /home/mirko/Libs/Plugins/cakephp-thumber/src/Utility/ThumbCreator.php:337
msgid "Unable to read image from file `{0}`"
msgstr "Impossibile leggere l'immagine dal file `{0}`"

#: /home/mirko/Libs/Plugins/cakephp-thumber/src/Utility/ThumbCreator.php:351
msgid "The directory `{0}` is not writeable"
msgstr "La directory `{0}` non è scrivibile"


25 changes: 18 additions & 7 deletions src/Locale/thumber.pot
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,39 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"POT-Creation-Date: 2016-10-13 19:31+0200\n"
"POT-Creation-Date: 2016-10-24 18:54+0200\n"
"PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n"
"Last-Translator: NAME <EMAIL@ADDRESS>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"

#: /home/mirko/Libs/Plugins/cakephp-thumber/src/Utility/ThumbCreator.php:135
#: /home/mirko/Libs/Plugins/cakephp-thumber/src/Utility/ThumbCreator.php:143
msgid "File `{0}` not readable"
msgstr ""

#: /home/mirko/Libs/Plugins/cakephp-thumber/src/Utility/ThumbCreator.php:159;195
#: /home/mirko/Libs/Plugins/cakephp-thumber/src/Utility/ThumbCreator.php:167;206;247
msgid "Missing parameters for the `{0}` method"
msgstr ""

#: /home/mirko/Libs/Plugins/cakephp-thumber/src/Utility/ThumbCreator.php:234
#: /home/mirko/Libs/Plugins/cakephp-thumber/src/Utility/ThumbCreator.php:291
msgid "No valid method called before the `{0}` method"
msgstr ""

#: /home/mirko/Libs/Plugins/cakephp-thumber/src/Utility/ThumbCreator.php:260
msgid "Can't write the file `{0}`"
#: /home/mirko/Libs/Plugins/cakephp-thumber/src/Utility/ThumbCreator.php:315
msgid "Invalid `{0}` format"
msgstr ""

#: /home/mirko/Libs/Plugins/cakephp-thumber/src/Utility/ThumbCreator.php:324
msgid "The {0} driver can't decode the `{1}` format"
msgstr ""

#: /home/mirko/Libs/Plugins/cakephp-thumber/src/Utility/ThumbCreator.php:337
msgid "Unable to read image from file `{0}`"
msgstr ""

#: /home/mirko/Libs/Plugins/cakephp-thumber/src/Utility/ThumbCreator.php:351
msgid "The directory `{0}` is not writeable"
msgstr ""

1 change: 1 addition & 0 deletions src/Utility/ThumbCreator.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ public function resize($width = null, $heigth = null, array $options = [])
* You can use `format`, `quality` and `target` options.
* @param array $options Options for saving
* @return string Thumbnail path
* @throws InternalErrorException
* @uses _getExtension()
* @uses $arguments
* @uses $callbacks
Expand Down

0 comments on commit e618525

Please sign in to comment.