Skip to content
This repository was archived by the owner on Jul 27, 2023. It is now read-only.

Commit bf02854

Browse files
committed
2 parents e7aab45 + 9e24da0 commit bf02854

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
}
2222
],
2323
"require": {
24-
"yiisoft/yii2": "~2.0.0",
25-
"yiisoft/yii2-bootstrap": "~2.0.0",
26-
"2amigos/yii2-gallery-widget": "~1.0",
27-
"bower-asset/blueimp-file-upload": "~9.9"
24+
"yiisoft/yii2": "^2.0.0",
25+
"yiisoft/yii2-bootstrap": "^2.0.0",
26+
"2amigos/yii2-gallery-widget": "^1.0",
27+
"bower-asset/blueimp-file-upload": "^9.9"
2828
},
2929
"require-dev": {
3030
"phpunit/phpunit": "~4.0"

src/messages/fr/fileupload.php

+1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@
2525
'Error' => 'Erreur',
2626
'Delete' => 'Supprimer',
2727
'Processing' => 'Chargement',
28+
'Select file...' => 'Sélectionner un fichier...',
2829
];

tests/data/test-file-upload-ui.bin

+3-3
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
<!-- The file upload form used as target for the file upload widget -->
8686
<div id="model-test-fileupload" data-upload-template-id="template-upload" data-download-template-id="template-download"> <!-- The fileupload-buttonbar contains buttons to add/delete files and start/cancel the upload -->
8787
<div class="row fileupload-buttonbar">
88-
<div class="col-lg-7">
88+
<div class="col-lg-12">
8989
<!-- The fileinput-button span is used to style the file input field as button -->
9090
<span class="btn btn-success fileinput-button">
9191
<i class="glyphicon glyphicon-plus"></i>
@@ -209,7 +209,7 @@
209209
<!-- The file upload form used as target for the file upload widget -->
210210
<div id="w2-fileupload" data-upload-template-id="template-upload" data-download-template-id="template-download"> <!-- The fileupload-buttonbar contains buttons to add/delete files and start/cancel the upload -->
211211
<div class="row fileupload-buttonbar">
212-
<div class="col-lg-7">
212+
<div class="col-lg-12">
213213
<!-- The fileinput-button span is used to style the file input field as button -->
214214
<span class="btn btn-success fileinput-button">
215215
<i class="glyphicon glyphicon-plus"></i>
@@ -333,7 +333,7 @@
333333
<!-- The file upload form used as target for the file upload widget -->
334334
<div id="custom-id-fileupload" data-upload-template-id="template-upload" data-download-template-id="template-download"> <!-- The fileupload-buttonbar contains buttons to add/delete files and start/cancel the upload -->
335335
<div class="row fileupload-buttonbar">
336-
<div class="col-lg-7">
336+
<div class="col-lg-12">
337337
<!-- The fileinput-button span is used to style the file input field as button -->
338338
<span class="btn btn-success fileinput-button">
339339
<i class="glyphicon glyphicon-plus"></i>

0 commit comments

Comments
 (0)