Skip to content

Commit

Permalink
Release notes; fix i18n; Release 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
s7eph4n committed Jun 6, 2016
1 parent 57ded3b commit 6d86dc0
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 5 deletions.
2 changes: 1 addition & 1 deletion extension.json
Original file line number Diff line number Diff line change
@@ -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]"
],
Expand Down
5 changes: 5 additions & 0 deletions i18n/de.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"simplebatchupload-desc": "Einfaches Hochladen mehrerer Dateien",
"batchupload": "Mehrere Dateien hochladen",
"simplebatchupload-buttonlabel": "Wähle Dateien (oder ziehe sie hierher)..."
}
5 changes: 3 additions & 2 deletions i18n/en.json
Original file line number Diff line number Diff line change
@@ -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)..."
}
3 changes: 2 additions & 1 deletion i18n/qqq.json
Original file line number Diff line number Diff line change
@@ -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"
}
17 changes: 17 additions & 0 deletions release-notes.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion src/SpecialBatchUpload.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function execute( $par ) {

$html = '<span id="fileupload-dropzone" class="fileinput-button">
<i class="glyphicon glyphicon-plus"></i>
<span>Select files (or drop them here)...</span>
<span>' . \Message::newFromKey( 'simplebatchupload-buttonlabel' )->escaped() . '</span>
<!-- The file input field used as target for the file upload widget -->
<input id="fileupload" type="file" name="file" data-url="' . wfScript( 'api' ) . '" data-token="' . $this->getUser()->getEditToken() . '" multiple>
</span><ul id="fileupload-results"></ul>';
Expand Down

0 comments on commit 6d86dc0

Please sign in to comment.