entcore 4.7.0 → 4.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,19 +1,19 @@
1
1
  <div drop-files="linker.resource.file"
2
2
  on-drop="linker.resource.title = linker.resource.file[0].name; linker.createResource()">
3
3
 
4
- <input type="button" value="Ajouter une pièce jointe" ng-click="attachments.display.pickFile = true" />
4
+ <input type="button" i18n-value="attachment.add" ng-click="attachments.display.pickFile = true" />
5
5
 
6
- <h2 ng-if="linker.resource.file.length">Pièces jointes</h2>
6
+ <h2 ng-if="linker.resource.file.length"><i18n>attachments</i18n></h2>
7
7
 
8
8
  <ul>
9
9
  <li ng-repeat="attachment in attachments.attachmentsList()">
10
- [[attachment.title]] - <a ng-click="attachments.removeAttachment(attachment)">Supprimer</a>
10
+ [[attachment.title]] - <a ng-click="attachments.removeAttachment(attachment)"><i18n>remove</i18n></a>
11
11
  </li>
12
12
  </ul>
13
13
 
14
14
  <lightbox show="attachments.display.pickFile" on-close="attachments.display.pickFile = false">
15
15
  <div class="linker">
16
- <h2>Ajouter une pièce jointe</h2>
16
+ <h2><i18n>attachment.add</i18n></h2>
17
17
 
18
18
  <div class="row">
19
19
  <div class="twelve cell vertical-spacing">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "entcore",
3
- "version": "4.7.0",
3
+ "version": "4.7.2",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "dev:watch": "npx gulp watch --springboard=../${SPRINGBOARD} 2>/dev/null",