diff --git a/src/components/GrampsjsRepository.js b/src/components/GrampsjsRepository.js index 404afc73..eee9e12d 100644 --- a/src/components/GrampsjsRepository.js +++ b/src/components/GrampsjsRepository.js @@ -14,7 +14,8 @@ export class GrampsjsRepository extends GrampsjsObject { renderProfile() { return html` -
${JSON.stringify(this.data, null, 2)}
+

${this.data.name}

+ ${this.data?.type ? html`

${this._("Type")}: ${this._(this.data.type)}

` : ''} `; } diff --git a/src/strings.js b/src/strings.js index 1f282ba2..6880e847 100644 --- a/src/strings.js +++ b/src/strings.js @@ -32,6 +32,7 @@ export const grampsStrings = [ "Citation", "Citations", "City", + "Collection", "Country", "County", "Custom", @@ -63,6 +64,7 @@ export const grampsStrings = [ "Home Page", "in", "LDS Note", + "Library", "Locality", "Map", "Marriage Date", diff --git a/src/views/GrampsjsViewRepositories.js b/src/views/GrampsjsViewRepositories.js index 79a9db1f..8d68d071 100644 --- a/src/views/GrampsjsViewRepositories.js +++ b/src/views/GrampsjsViewRepositories.js @@ -30,7 +30,7 @@ export class GrampsjsViewRepositories extends GrampsjsViewObjectsBase { const formattedRow = { grampsId: row.gramps_id, name: row.name, - type: row.type + type: this._(row.type) } return formattedRow }