Skip to content

Commit 6d86dc0

Browse files
committed
Release notes; fix i18n; Release 1.0.1
1 parent 57ded3b commit 6d86dc0

File tree

6 files changed

+29
-5
lines changed

6 files changed

+29
-5
lines changed

extension.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "SimpleBatchUpload",
3-
"version": "1.0.1-alpha",
3+
"version": "1.0.1",
44
"author": [
55
"[http://www.mediawiki.org/wiki/User:F.trott Stephan Gambke]"
66
],

i18n/de.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"simplebatchupload-desc": "Einfaches Hochladen mehrerer Dateien",
3+
"batchupload": "Mehrere Dateien hochladen",
4+
"simplebatchupload-buttonlabel": "Wähle Dateien (oder ziehe sie hierher)..."
5+
}

i18n/en.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2-
"simplebatchupload-desc": "Simplified batch upload of files",
3-
"batchupload": "Upload multiple files"
2+
"simplebatchupload-desc": "Simple batch upload of files",
3+
"batchupload": "Upload multiple files",
4+
"simplebatchupload-buttonlabel": "Select files (or drop them here)..."
45
}

i18n/qqq.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"simplebatchupload-desc": "{{desc|name=SimpleBatchUpload|url=https://www.mediawiki.org/wiki/Extension:SimpleBatchUpload}}",
3-
"batchupload": "{{doc-special|BatchUpload}}"
3+
"batchupload": "{{doc-special|BatchUpload}}",
4+
"simplebatchupload-buttonlabel": "The label for the upload button"
45
}

release-notes.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## Release Notes
2+
3+
### SimpleBatchUpload 1.0.1
4+
5+
Released on 07-Jun-2016
6+
7+
Changes:
8+
* Add documentration
9+
* Fix error handling
10+
* Fix minimum MW version to 1.26
11+
* Fix i18n of upload button label
12+
13+
### SimpleBatchUpload 1.0.0
14+
15+
Released on 06-Jun-2016
16+
17+
First version

src/SpecialBatchUpload.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function execute( $par ) {
6767

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

0 commit comments

Comments
 (0)