From 6d86dc09b070e2e9b200565b8ba6a345d22dfbcc Mon Sep 17 00:00:00 2001 From: Stephan Gambke Date: Tue, 7 Jun 2016 01:08:47 +0200 Subject: [PATCH] Release notes; fix i18n; Release 1.0.1 --- extension.json | 2 +- i18n/de.json | 5 +++++ i18n/en.json | 5 +++-- i18n/qqq.json | 3 ++- release-notes.md | 17 +++++++++++++++++ src/SpecialBatchUpload.php | 2 +- 6 files changed, 29 insertions(+), 5 deletions(-) create mode 100644 i18n/de.json create mode 100644 release-notes.md diff --git a/extension.json b/extension.json index a53312f..e586048 100644 --- a/extension.json +++ b/extension.json @@ -1,6 +1,6 @@ { "name": "SimpleBatchUpload", - "version": "1.0.1-alpha", + "version": "1.0.1", "author": [ "[http://www.mediawiki.org/wiki/User:F.trott Stephan Gambke]" ], diff --git a/i18n/de.json b/i18n/de.json new file mode 100644 index 0000000..d0e7cd2 --- /dev/null +++ b/i18n/de.json @@ -0,0 +1,5 @@ +{ + "simplebatchupload-desc": "Einfaches Hochladen mehrerer Dateien", + "batchupload": "Mehrere Dateien hochladen", + "simplebatchupload-buttonlabel": "Wähle Dateien (oder ziehe sie hierher)..." +} diff --git a/i18n/en.json b/i18n/en.json index 523ee56..9de0414 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -1,4 +1,5 @@ { - "simplebatchupload-desc": "Simplified batch upload of files", - "batchupload": "Upload multiple files" + "simplebatchupload-desc": "Simple batch upload of files", + "batchupload": "Upload multiple files", + "simplebatchupload-buttonlabel": "Select files (or drop them here)..." } diff --git a/i18n/qqq.json b/i18n/qqq.json index 1c12552..704bbaa 100644 --- a/i18n/qqq.json +++ b/i18n/qqq.json @@ -1,4 +1,5 @@ { "simplebatchupload-desc": "{{desc|name=SimpleBatchUpload|url=https://www.mediawiki.org/wiki/Extension:SimpleBatchUpload}}", - "batchupload": "{{doc-special|BatchUpload}}" + "batchupload": "{{doc-special|BatchUpload}}", + "simplebatchupload-buttonlabel": "The label for the upload button" } diff --git a/release-notes.md b/release-notes.md new file mode 100644 index 0000000..cbca2de --- /dev/null +++ b/release-notes.md @@ -0,0 +1,17 @@ +## Release Notes + +### SimpleBatchUpload 1.0.1 + +Released on 07-Jun-2016 + +Changes: +* Add documentration +* Fix error handling +* Fix minimum MW version to 1.26 +* Fix i18n of upload button label + +### SimpleBatchUpload 1.0.0 + +Released on 06-Jun-2016 + +First version diff --git a/src/SpecialBatchUpload.php b/src/SpecialBatchUpload.php index 4e73ed0..bd074c6 100644 --- a/src/SpecialBatchUpload.php +++ b/src/SpecialBatchUpload.php @@ -67,7 +67,7 @@ public function execute( $par ) { $html = ' - Select files (or drop them here)... + ' . \Message::newFromKey( 'simplebatchupload-buttonlabel' )->escaped() . ' ';