Skip to content

Commit 837e426

Browse files
author
lorisadmin
committed
Fixes duplicates/inconsistencies in .pot files.
1 parent 905186b commit 837e426

3 files changed

Lines changed: 39 additions & 11 deletions

File tree

locale/es/LC_MESSAGES/loris.po

Lines changed: 34 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -281,15 +281,6 @@ msgstr "Vistas"
281281
msgid "NEW"
282282
msgstr "Nuevo"
283283

284-
msgid "Update"
285-
msgstr "Actualizar"
286-
287-
msgid "Update Successful!"
288-
msgstr "Actualización Exitosa!"
289-
290-
msgid "Failed to update!"
291-
msgstr "Actualización Fallida!"
292-
293284
msgid "Updated"
294285
msgstr "Actualizado"
295286

@@ -376,3 +367,37 @@ msgstr "{{years}} años"
376367
msgid "File to upload"
377368
msgstr "Archivo para subir"
378369

370+
# Other generic terms
371+
msgid "Loading..."
372+
msgstr ""
373+
374+
msgid "Permission denied"
375+
msgstr ""
376+
377+
msgid "Unauthorized"
378+
msgstr ""
379+
380+
msgid "File to upload"
381+
msgstr ""
382+
383+
msgid "Please make sure files are not larger than {{maxFileSize}}"
384+
msgstr ""
385+
386+
msgid "Submit"
387+
msgstr ""
388+
389+
msgid "Clear"
390+
msgstr ""
391+
392+
msgid "Add"
393+
msgstr ""
394+
395+
msgid "Update"
396+
msgstr "Actualizar"
397+
398+
msgid "Dataset"
399+
msgstr ""
400+
401+
# For react-select <Select> noOptionsMessage prop
402+
msgid "No options"
403+
msgstr ""

locale/loris.pot

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,9 @@ msgstr ""
561561
msgid "Add"
562562
msgstr ""
563563

564+
msgid "Update"
565+
msgstr ""
566+
564567
msgid "Dataset"
565568
msgstr ""
566569

modules/candidate_parameters/jsx/ParticipantStatus.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,13 @@ class ParticipantStatus extends Component {
210210
if (this.state.updateResult) {
211211
if (this.state.updateResult === 'success') {
212212
alertClass = 'alert alert-success text-center';
213-
alertMessage = t('Update Successful!', {ns: 'loris'});
213+
alertMessage = t('Update Successful!', {ns: 'candidate_parameters'});
214214
} else if (this.state.updateResult === 'error') {
215215
let errorMessage = this.state.errorMessage;
216216
alertClass = 'alert alert-danger text-center';
217217
alertMessage = errorMessage ?
218218
errorMessage :
219-
t('Failed to update!', {ns: 'loris'});
219+
t('Failed to update!', {ns: 'candidate_parameters'});
220220
}
221221
}
222222

0 commit comments

Comments
 (0)