mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
fix typo & translate mustache msg
This commit is contained in:
@@ -95,7 +95,7 @@ class Language implements ControllerProviderInterface
|
||||
$out['Recept'] = _('Accuse de reception');
|
||||
$out['nFieldsChanged'] = _('%d fields have been updated');
|
||||
$out['FeedBackNoUsersSelected'] = _('No users selected');
|
||||
$out['errorFileApi'] = _('an error occurred reading this file');
|
||||
$out['errorFileApi'] = _('An error occurred reading this file');
|
||||
|
||||
$Serializer = $app['Core']['Serializer'];
|
||||
|
||||
|
@@ -1,9 +1,9 @@
|
||||
<div class='upload-record'>
|
||||
<div>{{name}}</div>
|
||||
<div>{{size}}</div>
|
||||
<div>{{type}}</div>
|
||||
<div>{{ name }}</div>
|
||||
<div>{{ size }}</div>
|
||||
<div>{{ type }}</div>
|
||||
<div class='error'></div>
|
||||
<div class='progress-bar'></div>
|
||||
<div class='bitrate-box'></div>
|
||||
<button class="cancel" type="button">cancel</button>
|
||||
<button class="cancel" type="button">{{ button.cancel }}</button>
|
||||
</div>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<div class='upload-record'>
|
||||
<div class='error'>{{error}}</div>
|
||||
<div>{{name}}</div>
|
||||
<div class='error'>{{ error }}</div>
|
||||
<div>{{ name }}</div>
|
||||
</div>
|
||||
|
@@ -1,10 +1,10 @@
|
||||
<li>
|
||||
<div class='upload-record'>
|
||||
<div class='preview-img'></div>
|
||||
<div>{{name}}</div>
|
||||
<div>{{size}}</div>
|
||||
<div>{{type}}</div>
|
||||
<button type='button' class='remove-element'>remove</button>
|
||||
<div>{{ name }}</div>
|
||||
<div>{{ size }}</div>
|
||||
<div>{{ type }}</div>
|
||||
<button type='button' class='remove-element'>{{ button.cancel }}</button>
|
||||
<input type='hidden' name='uploadIndex' value='{{uploadIndex}}'/>
|
||||
</div>
|
||||
</li>
|
||||
|
@@ -147,7 +147,10 @@ $(document).ready(function () {
|
||||
size: UploaderManager.Formater.size(file.size),
|
||||
name: file.name,
|
||||
type: file.type,
|
||||
uploadIndex: UploaderManager.getUploadIndex()
|
||||
uploadIndex: UploaderManager.getUploadIndex(),
|
||||
button: {
|
||||
cancel: language.cancel
|
||||
}
|
||||
}
|
||||
|
||||
//Set context in upload-box
|
||||
|
Reference in New Issue
Block a user