From 05831ec6439222f89f840a82e808801c9d0b2a58 Mon Sep 17 00:00:00 2001 From: Ben Guaraldi Date: Mon, 4 Nov 2024 09:31:18 -0500 Subject: [PATCH] fix(analyticstablehooks): Slightly better UI and label language (#2969) --- src/config/field-rules.js | 4 ++-- src/i18n/i18n_module_en.properties | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/config/field-rules.js b/src/config/field-rules.js index fb61ca9b8..a359f059c 100644 --- a/src/config/field-rules.js +++ b/src/config/field-rules.js @@ -945,7 +945,7 @@ export default new Map([ when: { field: 'phase', operator: 'PREDICATE', - value: (phase) => phase === 'ANALYTICS_TABLE_POPULATED' + value: (phase) => phase != 'RESOURCE_TABLE_POPULATED' }, operations: [{ type: 'HIDE_FIELD', @@ -961,7 +961,7 @@ export default new Map([ when: { field: 'phase', operator: 'PREDICATE', - value: (phase) => phase === 'RESOURCE_TABLE_POPULATED' + value: (phase) => phase != 'ANALYTICS_TABLE_POPULATED' }, operations: [{ type: 'HIDE_FIELD', diff --git a/src/i18n/i18n_module_en.properties b/src/i18n/i18n_module_en.properties index 7e2a03067..2c879f7a0 100644 --- a/src/i18n/i18n_module_en.properties +++ b/src/i18n/i18n_module_en.properties @@ -2377,17 +2377,17 @@ skip_in_analytics=Skip in analytics analytics_table_hook=Analytics table hooks intro_analytics_table_hook=Configure hooks in SQL that run during the analytics process analytics_table_hook_management=Analytics table hooks management -phase=Phase that the SQL script should be invoked -resource_table_populated=After the temporary resource tables have been populated -analytics_table_populated=After the temporary analytics tables have been populated -resource_table_type=Resource table +phase=After population of which temporary tables should the SQL script be invoked? +resource_table_populated=Resource tables +analytics_table_populated=Analytics tables +resource_table_type=Which resource table org_unit_structure=Organisation unit structure data_set_org_unit_category=Data set organisation unit category category_option_combo_name=Category option combo name org_unit_group_set_structure=Organisation unit group set structure data_approval_remap_level=Data approval remap level data_approval_min_level=Data approval minimum level -analytics_table_type=Analytics table +analytics_table_type=Which analytics table data_value=Data value completeness=Completeness completeness_target=Completeness target