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
16 changes: 14 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: 2025-09-24T08:44:28.347Z\n"
"PO-Revision-Date: 2025-09-24T08:44:28.348Z\n"
"POT-Creation-Date: 2025-11-17T22:16:03.463Z\n"
"PO-Revision-Date: 2025-11-17T22:16:03.464Z\n"

msgid "Failed to load: {{error}}"
msgstr "Failed to load: {{error}}"
Expand Down Expand Up @@ -909,6 +909,18 @@ msgstr "Enable Gist Overview"
msgid "Clean idle jobs after (in milliseconds)"
msgstr "Clean idle jobs after (in milliseconds)"

msgid "Use centroids for organisation unit polygons in event analytics"
msgstr "Use centroids for organisation unit polygons in event analytics"

msgid ""
"When enabled, event analytics requests that normally return polygons for "
"organisation units will return centroids instead. Improves performance for "
"large datasets."
msgstr ""
"When enabled, event analytics requests that normally return polygons for "
"organisation units will return centroids instead. Improves performance for "
"large datasets."

msgctxt "Application title"
msgid "__MANIFEST_APP_TITLE"
msgstr "System Settings"
Expand Down
3 changes: 3 additions & 0 deletions src/settingsCategories.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ export const categories = {
{
setting: 'keyDashboardContextMenuItemViewFullscreen',
},
{
setting: 'orgUnitCentroidsInEventsAnalytics',
},
{
setting: 'facilityOrgUnitGroupSet',
},
Expand Down
7 changes: 7 additions & 0 deletions src/settingsKeyMapping.js
Original file line number Diff line number Diff line change
Expand Up @@ -832,6 +832,13 @@ const settingsKeyMapping = {
type: 'textfield',
},

orgUnitCentroidsInEventsAnalytics: {
label: i18n.t(
'Use centroids for organisation unit polygons in event analytics'
),
type: 'checkbox',
},

/* ============================================================================================================ */
// The following keys are present in the demo database but are not managed by dhis-web-maintenance-settings
//
Expand Down
Loading