From ba786eb987946f1fbed07f640b6f41e3434afa0c Mon Sep 17 00:00:00 2001 From: Tomasz Kane Date: Sun, 26 Nov 2023 17:05:02 +0100 Subject: [PATCH] Add Polish translation (#12) --- README.md | 1 + config/messages.php | 2 +- resource/message/pl/yii.filepond.php | 30 ++++++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 resource/message/pl/yii.filepond.php diff --git a/README.md b/README.md index 502ce9c..f4c4b51 100644 --- a/README.md +++ b/README.md @@ -154,6 +154,7 @@ for default the extension supports the following languages: - English - French - German +- Poland - Portuguese - Russian - Spanish diff --git a/config/messages.php b/config/messages.php index 60eb54b..d1b4a37 100644 --- a/config/messages.php +++ b/config/messages.php @@ -16,7 +16,7 @@ 'sourcePath' => dirname(__DIR__) . '/src', // array, required, list of language codes that the extracted messages // should be translated to. For example, ['zh-CN', 'de']. - 'languages' => ['de', 'es', 'fr', 'pt', 'ru', 'zh'], + 'languages' => ['de', 'es', 'fr', 'pl', 'pt', 'ru', 'zh'], // string, the name of the function for translating messages. // Defaults to 'Yii::t'. This is used as a mark to find the messages to be // translated. You may use a string for single function name or an array for diff --git a/resource/message/pl/yii.filepond.php b/resource/message/pl/yii.filepond.php new file mode 100644 index 0000000..305bd59 --- /dev/null +++ b/resource/message/pl/yii.filepond.php @@ -0,0 +1,30 @@ + Browse ' => 'Przeciągnij i upuść pliki lub Przeglądaj ', + 'Expects {allButLastType} or {lastType}' => 'Oczekuje {allButLastType} lub {lastType}', + 'File is too large' => 'Rozmiar pliku jest za duży', + 'File type not allowed' => 'Niedozwolony typ pliku', + 'Maximum file size is {filesize}' => 'Maksymalny rozmiar pliku to {filesize}', + 'Maximum total file size is {filesize}' => 'Maksymalny całkowity rozmiar plików to {filesize}', + 'Maximum total size exceeded' => 'Przekroczono maksymalny łączny rozmiar plików', +];