adapt-authoring-ui 1.5.2 → 1.5.4

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.
@@ -81,11 +81,19 @@ define(function(require){
81
81
  this.listenToOnce(Origin, 'editorView:cancelRemoveItem:'+ this.model.get('_id'), this.cancelDeleteItem);
82
82
 
83
83
  var self = this;
84
-
84
+ const type = this.model.get('_type')
85
+
86
+ /**
87
+ * Lang string keys used (for at-langcheck):
88
+ * - app.confirmdeletemenu
89
+ * - app.confirmdeletepage
90
+ * - app.deleteitemmenu
91
+ * - app.deleteitempage
92
+ */
85
93
  Origin.Notify.confirm({
86
94
  type: 'warning',
87
- title: Origin.l10n.t('app.deleteitem'+ this.model.get('_type')),
88
- text: Origin.l10n.t('app.confirmdelete' + this.model.get('_type')) + '<br/><br/>' + Origin.l10n.t('app.confirmdeletewarning' + this.model.get('_type')),
95
+ title: Origin.l10n.t('app.deleteitem' + type),
96
+ text: `${Origin.l10n.t('app.confirmdelete' + type)}<br/><br/>${Origin.l10n.t('app.confirmdeletewarning' + type)}`,
89
97
  callback: result => self.onConfirmRemovePopup(result.isConfirmed)
90
98
  });
91
99
  },
@@ -9,6 +9,22 @@
9
9
  <div class="inner">
10
10
  <p>Find below a summary of the course being imported.</p>
11
11
  <div class="statusReport">
12
+ {{! Lang string keys used (for at-langcheck):
13
+ - app.import.status.ASSETS_IMPORTED_SUCCESSFULLY
14
+ - app.import.status.CONTENT_IMPORTED
15
+ - app.import.status.INSTALL_PLUGIN
16
+ - app.import.status.INSTALLED
17
+ - app.import.status.INVALID
18
+ - app.import.status.INVALID_PLUGIN_VERSION
19
+ - app.import.status.MANAGED_PLUGIN_UPDATE_DISABLED
20
+ - app.import.status.MIGRATE_CONTENT
21
+ - app.import.status.PLUGIN_INSTALL_MIGRATING
22
+ - app.import.status.NO_CHANGE
23
+ - app.import.status.OLDER
24
+ - app.import.status.TAGS_IMPORTED
25
+ - app.import.status.UPDATE_BLOCKED
26
+ - app.import.status.UPDATED
27
+ }}
12
28
  {{> part_frameworkImportStatusMessages type='error' messages=statusReport.error heading='Errors'}}
13
29
  {{> part_frameworkImportStatusMessages type='warn' messages=statusReport.warn heading='Warnings'}}
14
30
  {{> part_frameworkImportStatusMessages type='info' messages=statusReport.info heading='Information'}}
@@ -50,7 +50,7 @@ define(function(require) {
50
50
  return this.handleValidationError(this.model, [Origin.l10n.t('app.passwordnomatcherror')]);
51
51
  }
52
52
  try {
53
- await $.post('api/auth/local/changepass', { password, email: this.model.get('email'), token: this.model.get('token') });
53
+ await $.post('api/auth/local/changepass', { password, email: this.model.get('email'), token: this.model.get('token'), noAuth: true });
54
54
  this.$('.form-reset-password').addClass('display-none');
55
55
  this.$('.reset-introduction').addClass('display-none');
56
56
  this.$('.message .success').removeClass('display-none');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adapt-authoring-ui",
3
- "version": "1.5.2",
3
+ "version": "1.5.4",
4
4
  "description": "Front-end application for the Adapt authoring tool",
5
5
  "homepage": "https://github.com/adapt-security/adapt-authoring-ui",
6
6
  "license": "GPL-3.0",