Skip to content
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
100 changes: 98 additions & 2 deletions i18n/en.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"POT-Creation-Date: 2026-04-13T07:00:14.840Z\n"
"PO-Revision-Date: 2026-04-13T07:00:14.840Z\n"
"POT-Creation-Date: 2026-04-14T15:22:40.054Z\n"
"PO-Revision-Date: 2026-04-14T15:22:40.054Z\n"

msgid "Select a row to view relationships."
msgstr ""
Expand Down Expand Up @@ -43,6 +43,12 @@ msgstr ""
msgid "Load more category option combos"
msgstr ""

msgid "Open API"
msgstr ""

msgid "Focus in graph"
msgstr ""

msgid "Colors"
msgstr ""

Expand All @@ -52,12 +58,102 @@ msgstr ""
msgid "Click to focus - Right click opens the API"
msgstr ""

msgid "Resource type"
msgstr ""

msgid "Fields"
msgstr ""

msgid "Filters (one per line or separated by ;)"
msgstr ""

msgid "Page"
msgstr ""

msgid "Page size"
msgstr ""

msgid "Fetch all (paging=false)"
msgstr ""

msgid "Fetch"
msgstr ""

msgid "No results"
msgstr ""

msgid "Avatar"
msgstr ""

msgid "Back"
msgstr ""

msgid "Help"
msgstr ""

msgid "Metadata Visualizer"
msgstr ""

msgid "Login {{baseUrl}}"
msgstr ""

msgid "Base URL not found in manifest.webapp (see DHIS2-19708)"
msgstr ""

msgid "Unknown JSON parsing error"
msgstr ""

msgid "Metadata package JSON"
msgstr ""

msgid "Metadata type"
msgstr ""

msgid "Search"
msgstr ""

msgid "Filter by id or name"
msgstr ""

msgid "Select a metadata package JSON file to start"
msgstr ""

msgid "Loading package..."
msgstr ""

msgid "{{types}} types"
msgstr ""

msgid "{{items}} items"
msgstr ""

msgid "No results for this type/filter"
msgstr ""

msgid "Relationships"
msgstr ""

msgid "Direct only"
msgstr ""

msgid "Expanded"
msgstr ""

msgid "Select a row to view dependencies"
msgstr ""

msgid "Selected metadata JSON"
msgstr ""

msgid "Metadata views"
msgstr ""

msgid "Instance Metadata"
msgstr ""

msgid "JSON Package"
msgstr ""

msgid "Loading results..."
msgstr ""

Expand Down
98 changes: 97 additions & 1 deletion i18n/es.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: i18next-conv\n"
"POT-Creation-Date: 2026-04-13T07:00:14.840Z\n"
"POT-Creation-Date: 2026-04-14T15:22:40.054Z\n"
"PO-Revision-Date: 2018-10-25T09:02:35.143Z\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -43,6 +43,12 @@ msgstr ""
msgid "Load more category option combos"
msgstr ""

msgid "Open API"
msgstr ""

msgid "Focus in graph"
msgstr ""

msgid "Colors"
msgstr "Colores"

Expand All @@ -52,12 +58,102 @@ msgstr "Texturas"
msgid "Click to focus - Right click opens the API"
msgstr "Click para enfocar - Boton derecho abre la API"

msgid "Resource type"
msgstr ""

msgid "Fields"
msgstr ""

msgid "Filters (one per line or separated by ;)"
msgstr ""

msgid "Page"
msgstr ""

msgid "Page size"
msgstr ""

msgid "Fetch all (paging=false)"
msgstr ""

msgid "Fetch"
msgstr ""

msgid "No results"
msgstr ""

msgid "Avatar"
msgstr ""

msgid "Back"
msgstr "Volver"

msgid "Help"
msgstr "Ayuda"

msgid "Metadata Visualizer"
msgstr ""

msgid "Login {{baseUrl}}"
msgstr ""

msgid "Base URL not found in manifest.webapp (see DHIS2-19708)"
msgstr ""

msgid "Unknown JSON parsing error"
msgstr ""

msgid "Metadata package JSON"
msgstr ""

msgid "Metadata type"
msgstr ""

msgid "Search"
msgstr ""

msgid "Filter by id or name"
msgstr ""

msgid "Select a metadata package JSON file to start"
msgstr ""

msgid "Loading package..."
msgstr ""

msgid "{{types}} types"
msgstr ""

msgid "{{items}} items"
msgstr ""

msgid "No results for this type/filter"
msgstr ""

msgid "Relationships"
msgstr ""

msgid "Direct only"
msgstr ""

msgid "Expanded"
msgstr ""

msgid "Select a row to view dependencies"
msgstr ""

msgid "Selected metadata JSON"
msgstr ""

msgid "Metadata views"
msgstr ""

msgid "Instance Metadata"
msgstr ""

msgid "JSON Package"
msgstr ""

msgid "Loading results..."
msgstr ""

Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<meta name="theme-color" content="#000000" />

<meta name="dhis2-base-url" content="__DHIS2_BASE_URL__" />
<title>Vite + React + TS</title>
<title>%APP_TITLE%</title>
</head>

<body>
Expand Down
2 changes: 2 additions & 0 deletions src/CompositionRoot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { UserTestRepository } from "$/data/repositories/UserTestRepository";
import { MetadataRepository } from "$/domain/repositories/MetadataRepository";
import { SystemRepository } from "$/domain/repositories/SystemRepository";
import { UserRepository } from "$/domain/repositories/UserRepository";
import { BuildJsonPackageDependencyGraphUseCase } from "$/domain/usecases/metadata/BuildJsonPackageDependencyGraphUseCase";
import { BuildMetadataGraphUseCase } from "$/domain/usecases/metadata/BuildMetadataGraphUseCase";
import { ListCategoryOptionCombosUseCase } from "$/domain/usecases/metadata/ListCategoryOptionCombosUseCase";
import { ListMetadataUseCase } from "$/domain/usecases/metadata/ListMetadataUseCase";
Expand All @@ -33,6 +34,7 @@ function getCompositionRoot(repositories: Repositories) {
metadata: {
list: new ListMetadataUseCase(repositories),
graph: new BuildMetadataGraphUseCase(repositories),
jsonPackageGraph: new BuildJsonPackageDependencyGraphUseCase(),
listCategoryOptionCombos: new ListCategoryOptionCombosUseCase(repositories),
},
};
Expand Down
3 changes: 1 addition & 2 deletions src/domain/metadata/Identicon.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { ResourceType } from "$/domain/metadata/ResourceType";
import { sha256 } from "@noble/hashes/sha256";
import { bytesToHex } from "@noble/hashes/utils";

Expand Down Expand Up @@ -26,7 +25,7 @@ export type IdenticonResult = Readonly<{
background: string;
}>;

export function identiconSeed(type: ResourceType, uid: string): string {
export function identiconSeed(type: string, uid: string): string {
return `${type}:${uid}:v1`;
}

Expand Down
Loading
Loading