Skip to content

Commit

Permalink
Merge pull request #3267 from dzhw/sarnold/issue3263
Browse files Browse the repository at this point in the history
#3263 Fallback strategy for when DA|RA is not reachable
  • Loading branch information
SaCodematix authored Nov 29, 2023
2 parents 0117bc6 + 7e78307 commit 0abe703
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ angular.module('metadatamanagementApp').config([
}
},
'hint': {
'filename': 'Wählen Sie eine Datei aus, die sie hinzufügen wollen',
'filename': 'Wählen Sie eine Datei aus, die Sie hinzufügen wollen',
'language': 'Wählen Sie die Sprache, die in der Datei verwendet wurde, aus.',
'type': 'Wählen Sie den Typ der Datei aus.',
'title': 'Geben Sie den Titel der Datei in der Dokumentensprache ein.',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ angular.module('metadatamanagementApp').config([
},
'confirm-activate-user': {
'title': 'Nutzer:in aktivieren?',
'content': 'Bitte bestätigen Sie, dass sie die/den Nutzer:in aktivieren möchten.',
'content': 'Bitte bestätigen Sie, dass Sie die/den Nutzer:in aktivieren möchten.',
'yes': 'Aktivieren',
'no': 'Status beibehalten'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ angular.module('metadatamanagementApp').config([
'pin-to-start-page': 'Datenpaket auf Startseite anzeigen',
'pin-to-start-page-hint': 'Markieren Sie dieses Kästchen, wenn das Datenpaket auf der Startseite des MDMs angezeigt werden soll.',
'confirmed': {
'local': 'Dies ist ein lokales System. Sind sie sicher?',
'test': 'Dies ist das Test-System! Sind sie sicher?',
'dev': 'Dies ist das Dev-System! Sind sie sicher?',
'prod': 'ACHTUNG: Dies ist das PRODUKTIV-System! Sind sie sicher?',
'local': 'Dies ist ein lokales System. Sind Sie sicher?',
'test': 'Dies ist das Test-System! Sind Sie sicher?',
'dev': 'Dies ist das Dev-System! Sind Sie sicher?',
'prod': 'ACHTUNG: Dies ist das PRODUKTIV-System! Sind Sie sicher?',
},
'confirm-hint': 'Markieren Sie dieses Kästchen, wenn sie das Projekt wirklich auf diesem System freigeben wollen!'
'confirm-hint': 'Markieren Sie dieses Kästchen, wenn Sie das Projekt wirklich auf diesem System freigeben wollen!'
},
'home': {
'title': 'Datenaufnahmeprojekte',
Expand All @@ -47,7 +47,7 @@ angular.module('metadatamanagementApp').config([
'deleted-not-successfully-project': 'Das Datenaufnahmeprojekt "{{ id }}" konnte nicht gelöscht werden!',
'released-successfully': 'Die Metadaten des Projektes wurden bei da|ra gespeichert und die Daten des Projektes "{{ id }}" werden in ca. 10 Minuten für alle Benutzer:innen sichtbar sein.',
'released-beta-successfully': 'Die Daten des Projektes "{{ id }}" werden in ca. 10 Minuten für alle Benutzer:innen sichtbar sein. Es wurden keine Metadaten zu da|ra gesendet.',
'dara-released-not-successfully': 'Die Daten des Projektes "{{ id }}" können nicht veröffentlicht werden. Es trat ein Fehler beim Senden der Metadaten zu da|ra auf.',
'dara-released-not-successfully': 'Die Daten des Projektes "{{ id }}" können nicht veröffentlicht werden. Der da|ra-Service zur Registrierung der DOI ist aktuell nicht verfügbar. Kontaktieren Sie den Administrator ([email protected]) und versuchen Sie es später erneut.',
'unreleased-successfully': 'Die Daten des Projektes "{{ id }}" können jetzt bearbeitet werden.',
'unrelease-title': 'Freigabe für Projekt "{{ id }}" zurücknehmen?',
'unrelease': 'Möchten Sie wirklich die Freigabe zurücknehmen und die Metadaten des Projektes "{{ id }}" bearbeiten?',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ angular.module('metadatamanagementApp').config([
'released-successfully': 'The projects metadata has been sent to da|ra and the data of the project "{{ id }}" will be visible to all users in about 10 minutes.',
'released-beta-successfully': 'The data of the project "{{ id }}" will be visible to all users in about 10 minutes. No metadata has been sent to da|ra.',
'unreleased-successfully': 'The data of the project "{{ id }}" can now be edited by assigned Publishers and Data Providers.',
'dara-released-not-successfully': 'The data of the project "{{ id }}" could not be released. An error occured during sending metadata to da|ra.',
'dara-released-not-successfully': 'The data of the project "{{ id }}" could not be released. The da|ra service for registering the DOI is currently not available. Contact the administrator ([email protected]) and try again later.',
'unrelease-title': 'Unrelease Project "{{ id }}"?',
'unrelease': 'Do you really want to unrelease the project "{{ id }}" and edit its metadata?',
'release-not-possible-title': 'Project "{{ id }}" cannot be released!',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ angular.module('metadatamanagementApp')
i18nPrefix + 'dara-released-not-successfully', {
id: project.id
});
$mdDialog.hide();
});
} else {
//REGULAR RELEASE
Expand All @@ -98,6 +99,7 @@ angular.module('metadatamanagementApp')
i18nPrefix + 'dara-released-not-successfully', {
id: project.id
});
$mdDialog.hide();
});
}
}).catch(function() {
Expand Down

0 comments on commit 0abe703

Please sign in to comment.