diff --git a/projects/admin/src/app/document-editor/document-editor.component.html b/projects/admin/src/app/document-editor/document-editor.component.html index bc2a11a16..5ae610bbc 100644 --- a/projects/admin/src/app/document-editor/document-editor.component.html +++ b/projects/admin/src/app/document-editor/document-editor.component.html @@ -22,7 +22,7 @@

{{ recordType|translate }}

- +
diff --git a/projects/admin/src/app/menu/menu.component.ts b/projects/admin/src/app/menu/menu.component.ts index 4b9296c45..78e0379ab 100644 --- a/projects/admin/src/app/menu/menu.component.ts +++ b/projects/admin/src/app/menu/menu.component.ts @@ -17,9 +17,10 @@ import { Component, OnInit } from '@angular/core'; import { UserService } from '../service/user.service'; -import { CoreConfigService, TranslateService } from '@rero/ng-core'; +import { CoreConfigService } from '@rero/ng-core'; +import { TranslateService as CoreTranslateService} from '@rero/ng-core'; import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker'; -import { TranslateService as NgxTranslateService } from '@ngx-translate/core'; +import { TranslateService } from '@ngx-translate/core'; @Component({ selector: 'admin-menu', @@ -59,8 +60,8 @@ export class MenuComponent implements OnInit { private activeLanguagesMenuItem; constructor( - private appTranslateService: TranslateService, - private translateService: NgxTranslateService, + private appTranslateService: CoreTranslateService, + private translateService: TranslateService, private configService: CoreConfigService, private userService: UserService ) { } diff --git a/projects/admin/src/app/service/record-routing.service.ts b/projects/admin/src/app/service/record-routing.service.ts index f4b237b23..7e48f6df3 100644 --- a/projects/admin/src/app/service/record-routing.service.ts +++ b/projects/admin/src/app/service/record-routing.service.ts @@ -72,24 +72,24 @@ export class RecordRoutingService { showSearchInput: false, types: [ { - key: 'documents', - label: 'Documents', + key: _('documents'), + label: _('Documents'), component: DocumentsBriefViewComponent, detailComponent: DocumentDetailViewComponent, canUpdate: (record: any) => this.canUpdate(record), canDelete: (record: any) => this.canDelete(record), aggregations: (aggregations: any) => this.filter(aggregations), aggregationsOrder: [ - 'document_type', - 'author__fr', - 'author__de', - 'author__en', - 'author__it', - 'library', - 'organisation', - 'language', - 'subject', - 'status' + _('document_type'), + _('author__fr'), + _('author__en'), + _('author__de'), + _('author__it'), + _('library'), + _('organisation'), + _('language'), + _('subject'), + _('status') ], aggregationsExpand: ['document_type'], aggregationsBucketSize: 10 @@ -108,8 +108,8 @@ export class RecordRoutingService { linkPrefix: 'records', types: [ { - key: 'libraries', - label: 'Libraries', + key: _('libraries'), + label: _('Libraries'), component: LibrariesBriefViewComponent, detailComponent: LibraryDetailViewComponent, canAdd: () => this.canAddLibrary(), @@ -131,8 +131,8 @@ export class RecordRoutingService { linkPrefix: 'records', types: [ { - key: 'patrons', - label: 'Patrons', + key: _('patrons'), + label: _('Patrons'), component: PatronsBriefViewComponent, canUpdate: (record: any) => this.canUpdate(record), canDelete: (record: any) => this.canDelete(record) @@ -150,8 +150,8 @@ export class RecordRoutingService { adminMode: false, types: [ { - key: 'persons', - label: 'Persons', + key: _('persons'), + label: _('Persons'), component: PersonsBriefViewComponent, detailComponent: PersonDetailViewComponent, canUpdate: (record: any) => this.canUpdate(record), @@ -171,8 +171,8 @@ export class RecordRoutingService { linkPrefix: 'records', types: [ { - key: 'item_types', - label: 'Item Types', + key: _('item_types'), + label: _('Item types'), component: ItemTypesBriefViewComponent, detailComponent: ItemTypeDetailViewComponent, canAdd: () => this.canAddItemType(), @@ -193,8 +193,8 @@ export class RecordRoutingService { linkPrefix: 'records', types: [ { - key: 'items', - label: 'Items', + key: _('items'), + label: _('Items'), detailComponent: ItemDetailViewComponent, canRead: (record: any) => this.canReadItem(record), canUpdate: (record: any) => this.canUpdate(record), @@ -214,8 +214,8 @@ export class RecordRoutingService { linkPrefix: 'records', types: [ { - key: 'locations', - label: 'Locations', + key: _('locations'), + label: _('Locations'), detailComponent: LocationDetailViewComponent, canAdd: () => this.canAddLocation(), canUpdate: (record: any) => this.canUpdate(record), @@ -236,8 +236,8 @@ export class RecordRoutingService { linkPrefix: 'records', types: [ { - key: 'patron_types', - label: 'Patron Types', + key: _('patron_types'), + label: _('Patron types'), component: PatronTypesBriefViewComponent, detailComponent: PatronTypesDetailViewComponent, canAdd: () => this.canAddPatronType(), @@ -259,8 +259,8 @@ export class RecordRoutingService { linkPrefix: 'records', types: [ { - key: 'circ_policies', - label: 'Circulation Policies', + key: _('circ_policies') , + label: _('Circulation policies'), component: CircPoliciesBriefViewComponent, detailComponent: CircPolicyDetailViewComponent, canAdd: () => this.canAddCiculationPolicy(), diff --git a/projects/admin/src/app/translate/i18n/de.json b/projects/admin/src/app/translate/i18n/de.json index 5a9dbb9bb..c5503daf0 100644 --- a/projects/admin/src/app/translate/i18n/de.json +++ b/projects/admin/src/app/translate/i18n/de.json @@ -6,6 +6,7 @@ "Additional Materials": "Zusätzliche Materialien", "Address": "Adresse", "Address must be at least 4 characters long.": "Die Adresse muss mindestens 4 Zeichen lang sein.", + "Admin & Monitoring": "Admin & Monitoring", "Allow checkout": "Allow checkout", "Allow requests": "Allow requests", "Application": "Application", @@ -21,6 +22,7 @@ "Borrowed by": "Ausgeliehen von", "Call number": "Signatur", "Cancel": "Abbrechen", + "Catalog": "Catalog", "Change the default closing hours for this day": "Standardmessig Schließzeiten für diesen Tag ändern", "Change the default opening hours for this day": "Standardmessig Öffnungszeiten für diesen Tag ändern", "Checkin/Checkout": "Rückgabe/Ausleihe", @@ -32,7 +34,8 @@ "Circulation": "Ausleihe", "Circulation Policy": "Ausleihpolitik", "Circulation categories": "Ausleihkategorien", - "Circulation settings": "Circulation settings", + "Circulation policies": "Ausleihpolitiken", + "Circulation settings": "Ausleiheinstellungen", "City": "Stadt", "Close": "Geschlossen", "Closed": "Geschlossen", @@ -40,6 +43,7 @@ "Code is already taken.": "Der Code ist bereits vergeben.", "Confirmation": "Bestätigung", "Copyright date": "Copyright-Datum", + "Create a bibliographic record": "Create a bibliographic record", "Date": "Datum", "Date is invalid.": "Das Datum ist ungültig.", "Date is required.": "Datum ist erforderlich.", @@ -54,6 +58,7 @@ "Description": "Beschreibung", "Developed by": "Entwickelt bei", "Document": "Dokument", + "Documents": "Documents", "Due date": "Fälligkeit", "EAN not found!": "EAN nicht gefunden!", "Edit": "Bearbeiten", @@ -63,6 +68,7 @@ "End time format is not correct.": "Das Endzeitformat ist nicht korrekt.", "End time is less than start time.": "Die Endzeit ist kleiner als die Startzeit.", "End time is required.": "Endzeit ist erforderlich.", + "Enter an EAN": "Enter an EAN", "Exception": "Ausnahme", "Exceptions (holidays, etc.)": "Ausnahmen (Feiertage, usw.)", "Exit without saving changes?": "Verlassen, ohne die Veränderungen zu speichern?", @@ -72,6 +78,7 @@ "First reminder days is required.": "Anzahl von Tagen vor der ersten Erinnerung erforderlich", "First reminder days must be greater than 0.": "Anzahl von Tagen vor der ersten Erinnerung muss grösser oder gleich 0 sein.", "Gender": "Geschlecht", + "Help": "Hilfe", "Holdings": "Bestände", "Id": "Id", "Identifier": "Identifier", @@ -85,36 +92,46 @@ "Is pickup": "Ist Abholort", "Item": "Exemplar", "Item infos": "Informationen", + "Item types": "Exemplartypen", + "Items": "Exemplare", "Language": "Sprache", "Language of person": "Sprache der Person", "Level": "Ebene", + "Libraries": "Bibliotheken", "Library": "Bibliothek", "Library will be closed during this period.": "Die Bibliothek wird in diesem Zeitraum geschlossen sein.", "Loading…": "Wird geladen...", "Location": "Standort", + "Locations": "Standorten", + "Logout": "Logout", "MEF ID": "MEF ID", + "Menu": "Menu", + "My Library": "My Library", "Name": "Name", "Name is already taken.": "Name ist bereits vergeben.", "Name is required.": "Name ist erforderlich.", "Name must be at least 2 characters long.": "Der Name muss mindestens 2 Zeichen lang sein.", "Name must be at least 4 characters long.": "Der Name muss mindestens 4 Zeichen lang sein.", "No loan for the current patron.": "Keine Ausleihe bei diesem Leser", - "No request corresponding to the given item has been found.": "No request corresponding to the given item has been found.", + "No request corresponding to the given item has been found.": "Keine Bestellung, die dem angegebenen Exemplar entspricht, wurde gefunden.", "Notes": "Anmerkung", - "Notifications and fees": "Notifications and fees", - "Number of days after due date": "Number of days after due date", - "Number of days before due date": "Number of days before due date", + "Notifications and fees": "Benachrichtigungen und Gebühren", + "Number of days after due date": "Anzahl an Tagen nach Rückgabetermin", + "Number of days before due date": "Anzahl an Tagen vor Rückgabetermin", "Number of renewals": "Anzahl von Verlängerungen", "OK": "OK", "Online Access": "Online Zugang", "Open": "Offen", "Opening Hours": "Öffnungszeiten", "Organisation": "Organisation", - "Overdue amount is required.": "Overdue amount is required.", - "Overdue amount must be great than 0.": "Overdue amount must be great than 0.", + "Overdue amount is required.": "Betrag der Erinnerungsgebühr ist erforderlich.", + "Overdue amount must be great than 0.": "Betrag der Erinnerungsgebühr muss grösser als 0 sein.", "Patron": "Benutzer", + "Patron types": "Lesertypen", + "Patrons": "Leser", "Period": "Zeitraum", "Permission required": "Permission required", + "Persons": "Personen", "Phone": "Telefon", "Physical description": "Physikalische Beschreibung", "Pick-up Location": "Abholort", @@ -162,6 +179,7 @@ "Title is required.": "Titel ist erforderlich.", "Type": "Typ", "Uniform title": "Einheitstitel", + "User services": "User services", "Validating…": "Validierung…", "Variant name": "Abweichender Name", "You cannot delete the record for the following reason:": "Aus folgendem Grund können Sie den Datensatz nicht löschen:", @@ -171,10 +189,10 @@ "article": "Artikel", "at_desk": "an der Ausleihe", "author": "Autoren", - "author__de": "author__de", - "author__en": "author__en", - "author__fr": "author__fr", - "author__it": "author__it", + "author__de": "Autoren", + "author__en": "Autoren", + "author__fr": "Autoren", + "author__it": "Autoren", "available": "verfügbar", "bf:Distribution": "Vertrieb", "bf:Manufacture": "Herstellung", @@ -183,12 +201,13 @@ "book": "Buch", "checkin": "Rückgabe", "checkout": "Ausleihe", - "circ_policies": "circ_policies", + "circ_policies": "Ausleihpolitiken", "date_at": "at", + "direct links": "direkte Links", "document_type": "Dokumenttyp", - "documents": "documents", + "documents": "dokumente", "ebook": "e-book", - "excluded": "excluded", + "excluded": "ausgeschlossen", "friday": "Freitag", "has # circulation policies attached": "hat # Ausleihpolitiken angefügt", "has # documents attached": "hat # Dokumente angefügt", @@ -215,6 +234,7 @@ "item is unavailable!": "Exemplar nicht verfügbar!", "item not found!": "Exemplar nicht gefunden!", "item or patron not found!": "item or patron not found!", + "item_types": "Exemplartypen", "items": "Exemplare", "journal": "Zeitschrift", "language": "Sprache", @@ -233,13 +253,16 @@ "organisation": "Organisation", "other": "anderes", "patron not found!": "Leser nicht gefunden!", + "patron_types": "Lesertypen", + "patrons": "Leser", "period": "Zeitraum", + "persons": "Personen", "renewals": "Verlängerungen", "request": "Bestellung", "requests": "Bestellungen", "saturday": "Samstag", "score": "Partitur", - "search": "search", + "search": "Suche", "sound": "Ton", "status": "Status", "subject": "Schlagwort", diff --git a/projects/admin/src/app/translate/i18n/en.json b/projects/admin/src/app/translate/i18n/en.json index 22cdbf308..c18118049 100644 --- a/projects/admin/src/app/translate/i18n/en.json +++ b/projects/admin/src/app/translate/i18n/en.json @@ -6,6 +6,7 @@ "Additional Materials": "Additional Materials", "Address": "Address", "Address must be at least 4 characters long.": "Address must be at least 4 characters long.", + "Admin & Monitoring": "Admin & Monitoring", "Allow checkout": "Allow checkout", "Allow requests": "Allow requests", "Application": "Application", @@ -21,6 +22,7 @@ "Borrowed by": "Borrowed by", "Call number": "Call number", "Cancel": "Cancel", + "Catalog": "Catalog", "Change the default closing hours for this day": "Change the default closing hours for this day", "Change the default opening hours for this day": "Change the default opening hours for this day", "Checkin/Checkout": "Checkin/Checkout", @@ -32,6 +34,7 @@ "Circulation": "Circulation", "Circulation Policy": "Circulation Policy", "Circulation categories": "Circulation categories", + "Circulation policies": "Circulation policies", "Circulation settings": "Circulation settings", "City": "City", "Close": "Close", @@ -40,6 +43,7 @@ "Code is already taken.": "Code is already taken.", "Confirmation": "Confirmation", "Copyright date": "Copyright date", + "Create a bibliographic record": "Create a bibliographic record", "Date": "Date", "Date is invalid.": "Date is invalid.", "Date is required.": "Date is required.", @@ -54,6 +58,7 @@ "Description": "Description", "Developed by": "Developed by", "Document": "Document", + "Documents": "Documents", "Due date": "Due date", "EAN not found!": "EAN not found!", "Edit": "Edit", @@ -63,6 +68,7 @@ "End time format is not correct.": "End date format is incorrect.", "End time is less than start time.": "End date is before start date.", "End time is required.": "End date is required.", + "Enter an EAN": "Enter an EAN", "Exception": "Exception", "Exceptions (holidays, etc.)": "Exceptions (holidays, etc.)", "Exit without saving changes?": "Exit without saving changes?", @@ -72,6 +78,7 @@ "First reminder days is required.": "First reminder days is required.", "First reminder days must be greater than 0.": "First reminder days must be greater than 0.", "Gender": "Gender", + "Help": "Help", "Holdings": "Holdings", "Id": "Id", "Identifier": "Identifier", @@ -85,14 +92,21 @@ "Is pickup": "Is pickup", "Item": "Item", "Item infos": "Item information", + "Item types": "Item types", + "Items": "Items", "Language": "Language", "Language of person": "Language of person", "Level": "Level", + "Libraries": "Libraries", "Library": "Library", "Library will be closed during this period.": "Library will be closed during this period.", "Loading…": "Loading…", "Location": "Location", + "Locations": "Locations", + "Logout": "Logout", "MEF ID": "MEF ID", + "Menu": "Menu", + "My Library": "My Library", "Name": "Name", "Name is already taken.": "Name is already taken.", "Name is required.": "Name is required.", @@ -113,8 +127,11 @@ "Overdue amount is required.": "Overdue amount is required.", "Overdue amount must be great than 0.": "Overdue amount must be great than 0.", "Patron": "Patron", + "Patron types": "Patron types", + "Patrons": "Patrons", "Period": "Period", "Permission required": "Permission required", + "Persons": "Persons", "Phone": "Phone", "Physical description": "Physical description", "Pick-up Location": "Pick-up Location", @@ -162,6 +179,7 @@ "Title is required.": "Title is required.", "Type": "Type", "Uniform title": "Uniform title", + "User services": "User services", "Validating…": "Validating…", "Variant name": "Variant name", "You cannot delete the record for the following reason:": "You cannot delete the record for the following reason:", @@ -185,6 +203,7 @@ "checkout": "checkout", "circ_policies": "circulation policies", "date_at": "at", + "direct links": "direct links", "document_type": "document type", "documents": "documents", "ebook": "ebook", @@ -215,6 +234,7 @@ "item is unavailable!": "item is unavailable!", "item not found!": "item not found!", "item or patron not found!": "item or patron not found!", + "item_types": "Item types", "items": "items", "journal": "journal", "language": "language", @@ -233,7 +253,10 @@ "organisation": "organisation", "other": "other", "patron not found!": "patron not found!", + "patron_types": "Patron types", + "patrons": "Patrons", "period": "period", + "persons": "Persons", "renewals": "renewals", "request": "request", "requests": "requests", @@ -254,4 +277,4 @@ "wednesday": "Wednesday", "week": "week", "year": "year" -} +} \ No newline at end of file diff --git a/projects/admin/src/app/translate/i18n/en_US.json b/projects/admin/src/app/translate/i18n/en_US.json index d332e9cdc..ed2cb3a8a 100644 --- a/projects/admin/src/app/translate/i18n/en_US.json +++ b/projects/admin/src/app/translate/i18n/en_US.json @@ -6,6 +6,7 @@ "Additional Materials": "Additional Materials", "Address": "Address", "Address must be at least 4 characters long.": "Address must be at least 4 characters long.", + "Admin & Monitoring": "Admin & Monitoring", "Allow checkout": "Allow checkout", "Allow requests": "Allow requests", "Application": "Application", @@ -21,6 +22,7 @@ "Borrowed by": "Borrowed by", "Call number": "Call number", "Cancel": "Cancel", + "Catalog": "Catalog", "Change the default closing hours for this day": "Change the default closing hours for this day", "Change the default opening hours for this day": "Change the default opening hours for this day", "Checkin/Checkout": "Checkin/Checkout", @@ -32,6 +34,7 @@ "Circulation": "Circulation", "Circulation Policy": "Circulation Policy", "Circulation categories": "Circulation categories", + "Circulation policies": "Circulation policies", "Circulation settings": "Circulation settings", "City": "City", "Close": "Close", @@ -40,6 +43,7 @@ "Code is already taken.": "Code is already taken.", "Confirmation": "Confirmation", "Copyright date": "Copyright date", + "Create a bibliographic record": "Create a bibliographic record", "Date": "Date", "Date is invalid.": "Date is invalid.", "Date is required.": "Date is required.", @@ -54,6 +58,7 @@ "Description": "Description", "Developed by": "Developed by", "Document": "Document", + "Documents": "Documents", "Due date": "Due date", "EAN not found!": "EAN not found!", "Edit": "Edit", @@ -63,6 +68,7 @@ "End time format is not correct.": "End time format is not correct.", "End time is less than start time.": "End time is less than start time.", "End time is required.": "End time is required.", + "Enter an EAN": "Enter an EAN", "Exception": "Exception", "Exceptions (holidays, etc.)": "Exceptions (holidays, etc.)", "Exit without saving changes?": "Exit without saving changes?", @@ -72,6 +78,7 @@ "First reminder days is required.": "First reminder days is required.", "First reminder days must be greater than 0.": "First reminder days must be greater than 0.", "Gender": "Gender", + "Help": "Help", "Holdings": "Holdings", "Id": "Id", "Identifier": "Identifier", @@ -85,14 +92,21 @@ "Is pickup": "Is pickup", "Item": "Item", "Item infos": "Item infos", + "Item types": "Item types", + "Items": "Items", "Language": "Language", "Language of person": "Language of person", "Level": "Level", + "Libraries": "Libraries", "Library": "Library", "Library will be closed during this period.": "Library will be closed during this period.", "Loading…": "Loading…", "Location": "Location", + "Locations": "Locations", + "Logout": "Logout", "MEF ID": "MEF ID", + "Menu": "Menu", + "My Library": "My Library", "Name": "Name", "Name is already taken.": "Name is already taken.", "Name is required.": "Name is required.", @@ -113,8 +127,11 @@ "Overdue amount is required.": "Overdue amount is required.", "Overdue amount must be great than 0.": "Overdue amount must be great than 0.", "Patron": "Patron", + "Patron types": "Patron types", + "Patrons": "Patrons", "Period": "Period", "Permission required": "Permission required", + "Persons": "Persons", "Phone": "Phone", "Physical description": "Physical description", "Pick-up Location": "Pick-up Location", @@ -162,6 +179,7 @@ "Title is required.": "Title is required.", "Type": "Type", "Uniform title": "Uniform title", + "User services": "User services", "Validating…": "Validating…", "Variant name": "Variant name", "You cannot delete the record for the following reason:": "You cannot delete the record for the following reason:", @@ -185,6 +203,7 @@ "checkout": "checkout", "circ_policies": "circ_policies", "date_at": "date_at", + "direct links": "direct links", "document_type": "document_type", "documents": "documents", "ebook": "ebook", @@ -215,6 +234,7 @@ "item is unavailable!": "item is unavailable!", "item not found!": "item not found!", "item or patron not found!": "item or patron not found!", + "item_types": "item_types", "items": "items", "journal": "journal", "language": "language", @@ -233,7 +253,10 @@ "organisation": "organisation", "other": "other", "patron not found!": "patron not found!", + "patron_types": "patron_types", + "patrons": "patrons", "period": "period", + "persons": "persons", "renewals": "renewals", "request": "request", "requests": "requests", @@ -254,4 +277,4 @@ "wednesday": "wednesday", "week": "week", "year": "year" -} \ No newline at end of file +} diff --git a/projects/admin/src/app/translate/i18n/fr.json b/projects/admin/src/app/translate/i18n/fr.json index e532367ec..bbeb4a961 100644 --- a/projects/admin/src/app/translate/i18n/fr.json +++ b/projects/admin/src/app/translate/i18n/fr.json @@ -6,8 +6,9 @@ "Additional Materials": "Matériel d'accompagnement", "Address": "Adresse", "Address must be at least 4 characters long.": "L'adresse doit comporter au moins 4 caractères.", - "Allow checkout": "Allow checkout", - "Allow requests": "Allow requests", + "Admin & Monitoring": "Admin & Monitoring", + "Allow checkout": "Prêt possible", + "Allow requests": "Demande possible", "Application": "Application", "Applies to patron types": "Appliquer aux types de lecteur", "Apply": "Appliquer", @@ -21,6 +22,7 @@ "Borrowed by": "Emprunté par", "Call number": "Cote", "Cancel": "Annuler", + "Catalog": "Catalogue", "Change the default closing hours for this day": "Changer les heures de fermeture par défaut pour ce jour", "Change the default opening hours for this day": "Changer les heures d'ouverture par défaut pour ce jour", "Checkin/Checkout": "Retour/Prêt", @@ -32,6 +34,7 @@ "Circulation": "Prêt", "Circulation Policy": "Politique de prêt", "Circulation categories": "Catégories de circulation", + "Circulation policies": "Politiques de prêt", "Circulation settings": "Circulation settings", "City": "Ville", "Close": "Fermé", @@ -40,6 +43,7 @@ "Code is already taken.": "Le code est déjà utilisé.", "Confirmation": "Confirmation", "Copyright date": "Date de copyright", + "Create a bibliographic record": "Créer une notice bibliographique", "Date": "Date", "Date is invalid.": "La date est incorrecte.", "Date is required.": "La date est obligatoire.", @@ -54,6 +58,7 @@ "Description": "Description", "Developed by": "Réalisé par", "Document": "Document", + "Documents": "Documents", "Due date": "Date de retour", "EAN not found!": "L'EAN n'a pas été trouvé !", "Edit": "Editer", @@ -63,6 +68,7 @@ "End time format is not correct.": "Le format de la date de fin est incorrect.", "End time is less than start time.": "La date de fin est inférieure à la date de début.", "End time is required.": "La date de fin est obligatoire.", + "Enter an EAN": "Entrer un EAN", "Exception": "Exception", "Exceptions (holidays, etc.)": "Exceptions (vacances, etc.)", "Exit without saving changes?": "Quitter sans enregistrer les modifications?", @@ -72,6 +78,7 @@ "First reminder days is required.": "Le nombre de jours pour le premier rappel est obligatoire.", "First reminder days must be greater than 0.": "Le nombre de jours pour le premier rappel doit être supérieur à 0.", "Gender": "Sexe", + "Help": "Aide", "Holdings": "États de collection", "Id": "Id", "Identifier": "Identifier", @@ -85,36 +92,46 @@ "Is pickup": "Est un bureau de prêt", "Item": "Exemplaire", "Item infos": "Informations de l'exemplaire", + "Item types": "Types d'exemplaires", + "Items": "Exemplaires", "Language": "Langue", "Language of person": "Langue de la personne", "Level": "Niveau", + "Libraries": "Bibliothèques", "Library": "Bibliothèque", "Library will be closed during this period.": "La bibliothèque est fermée durant cette période.", "Loading…": "Chargement en cours...", "Location": "Dépôt", + "Locations": "Dépôts", + "Logout": "Se déconnecter", "MEF ID": "MEF ID", + "Menu": "Menu", + "My Library": "Ma Bibliothèque", "Name": "Nom", "Name is already taken.": "Le nom est déjà pris.", "Name is required.": "Le nom est obligatoire.", "Name must be at least 2 characters long.": "Le nom doit comporter au moins 2 caractères.", "Name must be at least 4 characters long.": "Le nom doit comporter au moins 4 caractères.", "No loan for the current patron.": "Pas de prêt pour ce lecteur.", - "No request corresponding to the given item has been found.": "No request corresponding to the given item has been found.", + "No request corresponding to the given item has been found.": "Aucune requête correspondant à l'exemplaire n'a été trouvée.", "Notes": "Notes", - "Notifications and fees": "Notifications and fees", - "Number of days after due date": "Number of days after due date", - "Number of days before due date": "Number of days before due date", + "Notifications and fees": "Notifications et frais", + "Number of days after due date": "Nombre de jours après l'échéance", + "Number of days before due date": "Nombre de jours avant l'échéance", "Number of renewals": "Nombre de prolongations", "OK": "OK", "Online Access": "Accès en ligne", "Open": "Ouvert", "Opening Hours": "Heures d'ouverture", "Organisation": "Organisation", - "Overdue amount is required.": "Overdue amount is required.", - "Overdue amount must be great than 0.": "Overdue amount must be great than 0.", + "Overdue amount is required.": "Le montant des frais de rappel est obligatoire.", + "Overdue amount must be great than 0.": "Le montant des frais de rappel doit être supérieur à 0.", "Patron": "Lecteur", + "Patron types": "Types de lecteurs", + "Patrons": "Lecteurs", "Period": "Période", "Permission required": "Permission required", + "Persons": "Personnes", "Phone": "Téléphone", "Physical description": "Description matérielle", "Pick-up Location": "Lieu de retrait", @@ -126,11 +143,11 @@ "Please insert a name": "Veuillez introduire un nom", "Please insert a title": "Veuillez introduire un titre", "RERO ILS administration": "RERO ILS administration", - "Record Updated!": "Record Updated!", - "Record created!": "Record created!", + "Record Updated!": "La ressource a été mise à jour!", + "Record created!": "La ressource a été créée!", "Record deleted": "Enregistrement supprimé", - "Reminder fee amount": "Reminder fee amount", - "Renewal": "Prolongation", + "Reminder fee amount": "Montant des frais de rappel", + "Renewal": "Renouvellement", "Renewal duration": "Durée du renouvellement", "Renewal duration is required.": "La durée du renouvellement est obligatoire.", "Repeat each": "Répéter chaque", @@ -162,6 +179,7 @@ "Title is required.": "Le titre est obligatoire.", "Type": "Type", "Uniform title": "Titre uniforme", + "User services": "User services", "Validating…": "Validation en cours…", "Variant name": "Variante de nom", "You cannot delete the record for the following reason:": "Vous ne pouvez pas supprimer l'enregistrement pour la raison suivante : ", @@ -183,8 +201,9 @@ "book": "livre", "checkin": "retour", "checkout": "prêt", - "circ_policies": "circ_policies", + "circ_policies": "politiques de prêt", "date_at": "au", + "direct links": "liens directs", "document_type": "type de document", "documents": "Document", "ebook": "e-book", @@ -214,7 +233,8 @@ "item": "exemplaire", "item is unavailable!": "exemplaire indisponible!", "item not found!": "exemplaire non trouvé!", - "item or patron not found!": "item or patron not found!", + "item or patron not found!": "exemplaire ou lecteur non trouvé!", + "item_types": "Types d'exemplaires", "items": "exemplaires", "journal": "journal", "language": "langue", @@ -233,13 +253,16 @@ "organisation": "organisation", "other": "autre", "patron not found!": "aucun lecteur trouvé !", + "patron_types": "Types de lecteurs", + "patrons": "Lecteurs", "period": "Période", - "renewals": "renewals", + "persons": "Personnes", + "renewals": "prolongations", "request": "demande", "requests": "demandes", "saturday": "samedi", "score": "partition", - "search": "search", + "search": "recherche", "sound": "son", "status": "statut", "subject": "Sujets", diff --git a/projects/admin/src/app/translate/i18n/it.json b/projects/admin/src/app/translate/i18n/it.json index c5382836f..8757d9f69 100644 --- a/projects/admin/src/app/translate/i18n/it.json +++ b/projects/admin/src/app/translate/i18n/it.json @@ -6,6 +6,7 @@ "Additional Materials": "Materiale di accompagnamento", "Address": "Indirizzo", "Address must be at least 4 characters long.": "L'indirizzo deve essere lungo almeno 4 caratteri.", + "Admin & Monitoring": "Admin & Monitoring", "Allow checkout": "Allow checkout", "Allow requests": "Allow requests", "Application": "Application", @@ -21,6 +22,7 @@ "Borrowed by": "In prestito da", "Call number": "Call number", "Cancel": "Annulla", + "Catalog": "Catalog", "Change the default closing hours for this day": "Modificare gli orari di chiusura predefiniti per questo giorno", "Change the default opening hours for this day": "Modificare gli orari di apertura predefiniti per questo giorno", "Checkin/Checkout": "Ritorno/Prestito", @@ -32,7 +34,8 @@ "Circulation": "Prestito", "Circulation Policy": "Politica di prestito", "Circulation categories": "Categorie di prestito", - "Circulation settings": "Circulation settings", + "Circulation policies": "Politiche di prestito", + "Circulation settings": "Impostazioni per il prestito", "City": "Città", "Close": "Chiuso", "Closed": "Chiuso", @@ -40,6 +43,7 @@ "Code is already taken.": "Il codice è già utilizzato.", "Confirmation": "Conferma", "Copyright date": "Data di copyright", + "Create a bibliographic record": "Create a bibliographic record", "Date": "Data", "Date is invalid.": "La data non è valida.", "Date is required.": "La data è richiesta.", @@ -54,6 +58,7 @@ "Description": "Descrizione", "Developed by": "Realizzato da", "Document": "Documento", + "Documents": "Documenti", "Due date": "Data di scadenza", "EAN not found!": "EAN non trovato!", "Edit": "Modifica", @@ -63,6 +68,7 @@ "End time format is not correct.": "Il formato dell'ora di fine non è corretto.", "End time is less than start time.": "L'ora di fine è prima dell'ora di inizio.", "End time is required.": "L'ora di fine è richiesta.", + "Enter an EAN": "Enter an EAN", "Exception": "Eccezione", "Exceptions (holidays, etc.)": "Eccezioni (vacanze, ecc.)", "Exit without saving changes?": "Uscire senza salvare le modifiche?", @@ -72,6 +78,7 @@ "First reminder days is required.": "Il numero di giorni per il primo richiamo è obbligatorio.", "First reminder days must be greater than 0.": "Il numero di giorni per il primo richiamo deve essere superiore a 0.", "Gender": "Genere", + "Help": "Help", "Holdings": "Posseduti", "Id": "Id", "Identifier": "Identifier", @@ -85,36 +92,46 @@ "Is pickup": "È punto di ritiro", "Item": "Esemplare", "Item infos": "Informazioni sull'esemplare", + "Item types": "Item types", + "Items": "Esemplari", "Language": "Lingua", "Language of person": "Lingua della persona", "Level": "Livello", + "Libraries": "Biblioteche", "Library": "Biblioteca", "Library will be closed during this period.": "La biblioteca rimarrà chiusa durante questo periodo.", "Loading…": "Caricamento...", "Location": "Localizzazione", + "Locations": "Localizzazioni", + "Logout": "Logout", "MEF ID": "MEF ID", + "Menu": "Menu", + "My Library": "My Library", "Name": "Nome", "Name is already taken.": "Il nome è già utilizzato.", "Name is required.": "Il nome è richiesto.", "Name must be at least 2 characters long.": "Il nome deve essere lungo almeno 2 caratteri.", "Name must be at least 4 characters long.": "Il nome deve essere lungo almeno 4 caratteri.", "No loan for the current patron.": "Nessuno prestito da questo lettore.", - "No request corresponding to the given item has been found.": "No request corresponding to the given item has been found.", + "No request corresponding to the given item has been found.": "Nessuna richiesta relativa al esemplare è stata trovata.", "Notes": "Nota", - "Notifications and fees": "Notifications and fees", + "Notifications and fees": "Notifiche e tasse", "Number of days after due date": "Number of days after due date", - "Number of days before due date": "Number of days before due date", + "Number of days before due date": "Il numero di giorni prima della scadenza", "Number of renewals": "Numero di proroghe", "OK": "OK", "Online Access": "accesso online", "Open": "Aperto", "Opening Hours": "Orari di apertura", "Organisation": "Organizzazione", - "Overdue amount is required.": "Overdue amount is required.", - "Overdue amount must be great than 0.": "Overdue amount must be great than 0.", + "Overdue amount is required.": "Importo della tassa di richiamo è richiesto.", + "Overdue amount must be great than 0.": "Importo della tassa di richiamo deve essere superiore a 0.", "Patron": "Lettore", + "Patron types": "Tipi di lettori", + "Patrons": "Lettori", "Period": "Periodo", "Permission required": "Permission required", + "Persons": "Persone", "Phone": "Telephono", "Physical description": "Descrizione fisica", "Pick-up Location": "Luogo di ritiro", @@ -162,6 +179,7 @@ "Title is required.": "Il titolo è richiesto.", "Type": "Typo", "Uniform title": "Titolo uniforme", + "User services": "User services", "Validating…": "Validazione...", "Variant name": "Variant name", "You cannot delete the record for the following reason:": "Non è possibile eliminare il record per il seguente motivo:", @@ -171,11 +189,11 @@ "article": "articolo", "at_desk": "al banco prestiti", "author": "autore", - "author__de": "author__de", - "author__en": "author__en", - "author__fr": "author__fr", - "author__it": "author__it", - "available": "available", + "author__de": "autore", + "author__en": "autore", + "author__fr": "autore", + "author__it": "autore", + "available": "disponibile", "bf:Distribution": "Distribuzione", "bf:Manufacture": "Manifattura", "bf:Production": "Produzione", @@ -185,6 +203,7 @@ "checkout": "prestare", "circ_policies": "politiche di prestito", "date_at": "at", + "direct links": "links diretti", "document_type": "tipo di documento", "documents": "documenti", "ebook": "e-book", @@ -215,6 +234,7 @@ "item is unavailable!": "L'esemplare non è disponibile!", "item not found!": "esemplare non trovato!", "item or patron not found!": "item or patron not found!", + "item_types": "Tipi di esemplari", "items": "esemplari", "journal": "giornale", "language": "lingua", @@ -233,13 +253,16 @@ "organisation": "Ente", "other": "altro", "patron not found!": "lettore non trovato!", + "patron_types": "Tipi di lettore", + "patrons": "Lettore", "period": "periodo", - "renewals": "renewals", + "persons": "Persone", + "renewals": "proroghe", "request": "richiesta", "requests": "richiesti", "saturday": "sabato", "score": "partitura", - "search": "search", + "search": "ricerca", "sound": "audio", "status": "Stato", "subject": "Oggetti", @@ -247,11 +270,11 @@ "the item has been returned from missing": "l'esemplare mancante è di nuovo disponibile", "thursday": "giovedì", "tuesday": "martedì", - "unavailable": "unavailable", + "unavailable": "non è disponibile", "undefined": "Indefinito", "using": "utilizzando", "video": "video", "wednesday": "mercoledì", "week": "settimana", "year": "anno" -} \ No newline at end of file +} diff --git a/projects/public-search/src/app/app-routing.module.ts b/projects/public-search/src/app/app-routing.module.ts index ddd3e2ba7..d5930adf4 100644 --- a/projects/public-search/src/app/app-routing.module.ts +++ b/projects/public-search/src/app/app-routing.module.ts @@ -21,6 +21,8 @@ import { DocumentBriefComponent } from './document-brief/document-brief.componen import { PersonBriefComponent } from './person-brief/person-brief.component'; import { TranslateService } from '@ngx-translate/core'; import { AggregationFilter } from './record/aggregation-filter'; +import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker'; + const routes: Routes = [ { @@ -37,21 +39,21 @@ const routes: Routes = [ detailUrl: '/global/:type/:pid', types: [ { - key: 'documents', + key: _('documents'), component: DocumentBriefComponent, - label: 'Documents', + label: _('Documents'), aggregations: AggregationFilter.filter, aggregationsOrder: [ - 'document_type', - 'author__fr', - 'author__de', - 'author__en', - 'author__it', - 'library', - 'organisation', - 'language', - 'subject', - 'status' + _('document_type'), + _('author__fr'), + _('author__en'), + _('author__de'), + _('author__it'), + _('library'), + _('organisation'), + _('language'), + _('subject'), + _('status') ], aggregationsExpand: ['document_type'], aggregationsBucketSize: 10, @@ -63,9 +65,9 @@ const routes: Routes = [ } }, { - key: 'persons', + key: _('persons'), component: PersonBriefComponent, - label: 'Persons' + label: _('Persons') } ] } @@ -83,9 +85,9 @@ const routes: Routes = [ detailUrl: '/highlands/:type/:pid', types: [ { - key: 'documents', + key: _('documents'), component: DocumentBriefComponent, - label: 'Documents', + label: _('Documents'), aggregations: AggregationFilter.filter, preFilters: { view: 'highlands' @@ -95,9 +97,9 @@ const routes: Routes = [ } }, { - key: 'persons', + key: _('persons'), component: PersonBriefComponent, - label: 'Persons' + label: _('Persons') } ] } @@ -115,8 +117,8 @@ const routes: Routes = [ detailUrl: '/aoste/:type/:pid', types: [ { - key: 'documents', - label: 'Documents', + key: _('documents'), + label: _('Documents'), aggregations: AggregationFilter.filter, component: DocumentBriefComponent, preFilters: { @@ -127,9 +129,9 @@ const routes: Routes = [ } }, { - key: 'persons', + key: _('persons'), component: PersonBriefComponent, - label: 'Persons' + label: _('Persons') } ] } @@ -147,8 +149,8 @@ const routes: Routes = [ detailUrl: '/fictive/:type/:pid', types: [ { - key: 'documents', - label: 'Documents', + key: _('documents'), + label: _('Documents'), aggregations: AggregationFilter.filter, component: DocumentBriefComponent, preFilters: { @@ -159,9 +161,9 @@ const routes: Routes = [ } }, { - key: 'persons', + key: _('persons'), component: PersonBriefComponent, - label: 'Persons' + label: _('Persons') } ] } diff --git a/projects/public-search/src/app/manual_translations.ts b/projects/public-search/src/app/manual_translations.ts index d6f6333b2..2fac82ff9 100644 --- a/projects/public-search/src/app/manual_translations.ts +++ b/projects/public-search/src/app/manual_translations.ts @@ -20,16 +20,6 @@ import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker'; // _('Your string'); // Facets _('author'); -_('author__fr'); -_('author__en'); -_('author__de'); -_('author__it'); -_('document_type'); -_('language'); -_('library'); -_('organisation'); -_('status'); -_('subject'); // Document type _('article'); diff --git a/projects/public-search/src/app/translate/i18n/de.json b/projects/public-search/src/app/translate/i18n/de.json index 68d54669e..d139b5665 100644 --- a/projects/public-search/src/app/translate/i18n/de.json +++ b/projects/public-search/src/app/translate/i18n/de.json @@ -1,17 +1,19 @@ { + "Documents": "Dokument", + "Persons": "Personen", "Search": "Search", "article": "Artikel", "at_desk": "an der Ausleihe", "author": "author", - "author__de": "author__de", - "author__en": "author__en", - "author__fr": "author__fr", - "author__it": "author__it", + "author__de": "author", + "author__en": "author", + "author__fr": "author", + "author__it": "author", "available": "verfügbar", "book": "Buch", "direct links": "direct links", "document_type": "Dokumenttyp", - "documents": "documents", + "documents": "dokument", "ebook": "E-Book", "excluded": "excluded", "in_transit": "in Transit", @@ -24,6 +26,7 @@ "on_shelf": "im Regal", "organisation": "organisation", "other": "anderes", + "persons": "personen", "score": "Partitur", "sound": "Ton", "status": "Status", diff --git a/projects/public-search/src/app/translate/i18n/en.json b/projects/public-search/src/app/translate/i18n/en.json index aa3b2468f..4aa2f1b00 100644 --- a/projects/public-search/src/app/translate/i18n/en.json +++ b/projects/public-search/src/app/translate/i18n/en.json @@ -1,4 +1,6 @@ { + "Documents": "Documents", + "Persons": "Persons", "Search": "Search", "article": "article", "at_desk": "at desk", @@ -24,9 +26,10 @@ "on_shelf": "on shelf", "organisation": "organisation", "other": "other", + "persons": "persons", "score": "score", "sound": "sound", "status": "status", "subject": "subject", "video": "video" -} +} \ No newline at end of file diff --git a/projects/public-search/src/app/translate/i18n/en_US.json b/projects/public-search/src/app/translate/i18n/en_US.json index 859f20474..1028760dd 100644 --- a/projects/public-search/src/app/translate/i18n/en_US.json +++ b/projects/public-search/src/app/translate/i18n/en_US.json @@ -1,4 +1,6 @@ { + "Documents": "Documents", + "Persons": "Persons", "Search": "Search", "article": "article", "at_desk": "at_desk", @@ -24,6 +26,7 @@ "on_shelf": "on_shelf", "organisation": "organisation", "other": "other", + "persons": "persons", "score": "score", "sound": "sound", "status": "status", diff --git a/projects/public-search/src/app/translate/i18n/fr.json b/projects/public-search/src/app/translate/i18n/fr.json index 4630df23e..455de11df 100644 --- a/projects/public-search/src/app/translate/i18n/fr.json +++ b/projects/public-search/src/app/translate/i18n/fr.json @@ -1,12 +1,14 @@ { + "Documents": "Documents", + "Persons": "Personnes", "Search": "Search", "article": "article", "at_desk": "au bureau de prêt", - "author": "auteurs", - "author__de": "auteurs", - "author__en": "auteurs", - "author__fr": "auteurs", - "author__it": "auteurs", + "author": "auteur", + "author__de": "auteur", + "author__en": "auteur", + "author__fr": "auteur", + "author__it": "auteur", "available": "disponible", "book": "livre", "direct links": "direct links", @@ -24,9 +26,10 @@ "on_shelf": "en rayon", "organisation": "organisation", "other": "autre", + "persons": "persons", "score": "partition", "sound": "son", "status": "statut", "subject": "Sujet", "video": "vidéo" -} +} \ No newline at end of file diff --git a/projects/public-search/src/app/translate/i18n/it.json b/projects/public-search/src/app/translate/i18n/it.json index 60e3cb78d..84decb7eb 100644 --- a/projects/public-search/src/app/translate/i18n/it.json +++ b/projects/public-search/src/app/translate/i18n/it.json @@ -1,17 +1,19 @@ { + "Documents": "Documenti", + "Persons": "Persone", "Search": "Search", "article": "articolo", "at_desk": "al banco prestiti", "author": "autore", - "author__de": "author__de", - "author__en": "author__en", - "author__fr": "author__fr", - "author__it": "author__it", + "author__de": "autore", + "author__en": "autore", + "author__fr": "autore", + "author__it": "autore", "available": "disponibile", "book": "libro", "direct links": "direct links", "document_type": "tipo di documento", - "documents": "documents", + "documents": "documenti", "ebook": "e-book", "excluded": "excluded", "in_transit": "in transito", @@ -24,6 +26,7 @@ "on_shelf": "su scaffale", "organisation": "Ente", "other": "altro", + "persons": "persone", "score": "partitura", "sound": "suono", "status": "Stato",