Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

translations: update catalogs #226

Merged
merged 1 commit into from
Jul 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -388,13 +388,13 @@ export class EditorComponent implements OnInit, OnChanges, OnDestroy {
action = 'update';
recordAction$ = this._recordService.update(this.recordType, this.preUpdateRecord(data)).pipe(
map(record => {
return { record, action: 'update', message: 'Record Updated!' };
return { record, action: 'update', message: this._translateService.instant('Record updated.') };
})
);
} else {
recordAction$ = this._recordService.create(this.recordType, this.preCreateRecord(data)).pipe(
map(record => {
return { record, action: 'create', message: 'Resource created' };
return { record, action: 'create', message: this._translateService.instant('Record created.') };
})
);
}
Expand Down
5 changes: 3 additions & 2 deletions projects/rero/ng-core/src/lib/translate/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@
"Delete": "Löschen",
"Do you really want to delete this record?": "Möchten Sie diesen Datensatz wirklich löschen?",
"Edit": "Bearbeiten",
"Export as": "Export as",
"Help": "Hilfe",
"Information": "Information",
"Jump to": "Gehe zu",
"OK": "OK",
"Press space for all.": "Drücken Sie die Leertaste für alle.",
"Record Updated!": "Datensatz aktualisiert!",
"Record created.": "Record created.",
"Record deleted.": "Datensatz gelöscht.",
"Resource created": "Ressource erstellt",
"Record updated.": "Record updated.",
"Save": "Speichern",
"Show": "Anzeigen",
"This field is required": "Dieses Feld ist erforderlich",
Expand Down
5 changes: 3 additions & 2 deletions projects/rero/ng-core/src/lib/translate/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@
"Delete": "Delete",
"Do you really want to delete this record?": "Do you really want to delete this record?",
"Edit": "Edit",
"Export as": "Export as",
"Help": "Help",
"Information": "Information",
"Jump to": "Jump to",
"OK": "OK",
"Press space for all.": "Press space for all.",
"Record Updated!": "Record Updated!",
"Record created.": "Record created.",
"Record deleted.": "Record deleted.",
"Resource created": "Resource created",
"Record updated.": "Record updated.",
"Save": "Save",
"Show": "Show",
"This field is required": "This field is required",
Expand Down
5 changes: 3 additions & 2 deletions projects/rero/ng-core/src/lib/translate/i18n/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@
"Delete": "Delete",
"Do you really want to delete this record?": "Do you really want to delete this record?",
"Edit": "Edit",
"Export as": "Export as",
"Help": "Help",
"Information": "Information",
"Jump to": "Jump to",
"OK": "OK",
"Press space for all.": "Press space for all.",
"Record Updated!": "Record Updated!",
"Record created.": "Record created.",
"Record deleted.": "Record deleted.",
"Resource created": "Resource created",
"Record updated.": "Record updated.",
"Save": "Save",
"Show": "Show",
"This field is required": "This field is required",
Expand Down
5 changes: 3 additions & 2 deletions projects/rero/ng-core/src/lib/translate/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@
"Delete": "Supprimer",
"Do you really want to delete this record?": "Voulez-vous vraiment supprimer cet enregistrement ?",
"Edit": "Éditer",
"Export as": "Export as",
"Help": "Aide",
"Information": "Information",
"Jump to": "Aller à",
"OK": "OK",
"Press space for all.": "Taper sur la barre d'espace pour lister tous les champs",
"Record Updated!": "La ressource a été modifiée.",
"Record created.": "Record created.",
"Record deleted.": "La ressource a été effacée.",
"Resource created": "Ressource créée",
"Record updated.": "Record updated.",
"Save": "Sauver",
"Show": "Afficher",
"This field is required": "Ce champ est obligatoire",
Expand Down
5 changes: 3 additions & 2 deletions projects/rero/ng-core/src/lib/translate/i18n/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@
"Delete": "Elimina",
"Do you really want to delete this record?": "Vuoi davvero eliminare questo record ?",
"Edit": "Modifica",
"Export as": "Export as",
"Help": "Aiuto",
"Information": "Informazione",
"Jump to": "Andare a",
"OK": "OK",
"Press space for all.": "Premere spazio per tutti.",
"Record Updated!": "Il record è stato aggiornato!",
"Record created.": "Record created.",
"Record deleted.": "Record eliminato.",
"Resource created": "Risorsa creata",
"Record updated.": "Record updated.",
"Save": "Salvare",
"Show": "Mostra",
"This field is required": "Il campo è richiesto",
Expand Down