From 11718235337ded35d63e06f82bc3209f889d60fe Mon Sep 17 00:00:00 2001 From: ismay Date: Tue, 18 Apr 2023 17:30:37 +0200 Subject: [PATCH] fix(translations): add missing job types --- i18n/en.pot | 94 +++++++++++++++++-- .../server-translations/jobTypesMap.js | 34 ++++++- 2 files changed, 118 insertions(+), 10 deletions(-) diff --git a/i18n/en.pot b/i18n/en.pot index 5bd1bf149..5b3eaa447 100644 --- a/i18n/en.pot +++ b/i18n/en.pot @@ -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: 2023-02-20T11:19:50.904Z\n" -"PO-Revision-Date: 2023-02-20T11:19:50.904Z\n" +"POT-Creation-Date: 2023-04-18T15:34:57.333Z\n" +"PO-Revision-Date: 2023-04-18T15:34:57.333Z\n" msgid "Not authorized" msgstr "Not authorized" @@ -273,9 +273,21 @@ msgstr "Scheduled" msgid "Stopped" msgstr "Stopped" +msgid "Account expiry alert" +msgstr "Account expiry alert" + +msgid "Exchange aggregate data" +msgstr "Exchange aggregate data" + msgid "Analytics table" msgstr "Analytics table" +msgid "Analyticstable update" +msgstr "Analyticstable update" + +msgid "Complete data set registration import" +msgstr "Complete data set registration import" + msgid "Continuous analytics table" msgstr "Continuous analytics table" @@ -294,21 +306,66 @@ msgstr "Data statistics" msgid "Data synchronization" msgstr "Data synchronization" +msgid "Datavalue import" +msgstr "Datavalue import" + +msgid "Datavalue import internal" +msgstr "Datavalue import internal" + +msgid "Disable inactive users" +msgstr "Disable inactive users" + +msgid "Enrollment import" +msgstr "Enrollment import" + +msgid "Event import" +msgstr "Event import" + msgid "Event programs data sync" msgstr "Event programs data sync" msgid "File resource clean up" msgstr "File resource clean up" +msgid "GEOJSON import" +msgstr "GEOJSON import" + +msgid "GML import" +msgstr "GML import" + +msgid "Image processing" +msgstr "Image processing" + +msgid "Leader election" +msgstr "Leader election" + +msgid "Leader renewal" +msgstr "Leader renewal" + +msgid "Lock exception cleanup" +msgstr "Lock exception cleanup" + +msgid "Materialized sql view update" +msgstr "Materialized sql view update" + +msgid "Metadata import" +msgstr "Metadata import" + msgid "Metadata synchronization" msgstr "Metadata synchronization" +msgid "Mock" +msgstr "Mock" + msgid "Monitoring" msgstr "Monitoring" msgid "Predictor" msgstr "Predictor" +msgid "Program data sync" +msgstr "Program data sync" + msgid "Program notifications" msgstr "Program notifications" @@ -318,24 +375,45 @@ msgstr "Push analysis" msgid "Remove expired reserved values" msgstr "Remove expired reserved values" +msgid "Remove used or expired reserved values" +msgstr "Remove used or expired reserved values" + msgid "Resource table" msgstr "Resource table" msgid "Send scheduled message" msgstr "Send scheduled message" +msgid "SMS send" +msgstr "SMS send" + +msgid "System version update check" +msgstr "System version update check" + +msgid "TEI import" +msgstr "TEI import" + +msgid "Test" +msgstr "Test" + +msgid "Tracker import job" +msgstr "Tracker import job" + +msgid "Tracker import notification job" +msgstr "Tracker import notification job" + +msgid "Tracker import rule engine job" +msgstr "Tracker import rule engine job" + msgid "Tracker programs data sync" msgstr "Tracker programs data sync" +msgid "Tracker search optimization" +msgstr "Tracker search optimization" + msgid "Validation results notification" msgstr "Validation results notification" -msgid "Disable inactive users" -msgstr "Disable inactive users" - -msgid "Exchange aggregate data" -msgstr "Exchange aggregate data" - msgid "A CRON expression is required" msgstr "A CRON expression is required" diff --git a/src/services/server-translations/jobTypesMap.js b/src/services/server-translations/jobTypesMap.js index 813197050..db5269620 100644 --- a/src/services/server-translations/jobTypesMap.js +++ b/src/services/server-translations/jobTypesMap.js @@ -1,27 +1,57 @@ import i18n from '@dhis2/d2-i18n' const jobTypesMap = { + ACCOUNT_EXPIRY_ALERT: i18n.t('Account expiry alert'), + AGGREGATE_DATA_EXCHANGE: i18n.t('Exchange aggregate data'), ANALYTICS_TABLE: i18n.t('Analytics table'), + ANALYTICSTABLE_UPDATE: i18n.t('Analyticstable update'), + COMPLETE_DATA_SET_REGISTRATION_IMPORT: i18n.t( + 'Complete data set registration import' + ), CONTINUOUS_ANALYTICS_TABLE: i18n.t('Continuous analytics table'), CREDENTIALS_EXPIRY_ALERT: i18n.t('Credentials expiry alert'), DATA_INTEGRITY: i18n.t('Data integrity'), DATA_SET_NOTIFICATION: i18n.t('Dataset notification'), DATA_STATISTICS: i18n.t('Data statistics'), DATA_SYNC: i18n.t('Data synchronization'), + DATAVALUE_IMPORT: i18n.t('Datavalue import'), + DATAVALUE_IMPORT_INTERNAL: i18n.t('Datavalue import internal'), + DISABLE_INACTIVE_USERS: i18n.t('Disable inactive users'), + ENROLLMENT_IMPORT: i18n.t('Enrollment import'), + EVENT_IMPORT: i18n.t('Event import'), EVENT_PROGRAMS_DATA_SYNC: i18n.t('Event programs data sync'), FILE_RESOURCE_CLEANUP: i18n.t('File resource clean up'), + GEOJSON_IMPORT: i18n.t('GEOJSON import'), + GML_IMPORT: i18n.t('GML import'), + IMAGE_PROCESSING: i18n.t('Image processing'), + LEADER_ELECTION: i18n.t('Leader election'), + LEADER_RENEWAL: i18n.t('Leader renewal'), + LOCK_EXCEPTION_CLEANUP: i18n.t('Lock exception cleanup'), + MATERIALIZED_SQL_VIEW_UPDATE: i18n.t('Materialized sql view update'), + METADATA_IMPORT: i18n.t('Metadata import'), META_DATA_SYNC: i18n.t('Metadata synchronization'), + MOCK: i18n.t('Mock'), MONITORING: i18n.t('Monitoring'), PREDICTOR: i18n.t('Predictor'), + PROGRAM_DATA_SYNC: i18n.t('Program data sync'), PROGRAM_NOTIFICATIONS: i18n.t('Program notifications'), PUSH_ANALYSIS: i18n.t('Push analysis'), REMOVE_EXPIRED_RESERVED_VALUES: i18n.t('Remove expired reserved values'), + REMOVE_USED_OR_EXPIRED_RESERVED_VALUES: i18n.t( + 'Remove used or expired reserved values' + ), RESOURCE_TABLE: i18n.t('Resource table'), SEND_SCHEDULED_MESSAGE: i18n.t('Send scheduled message'), + SMS_SEND: i18n.t('SMS send'), + SYSTEM_VERSION_UPDATE_CHECK: i18n.t('System version update check'), + TEI_IMPORT: i18n.t('TEI import'), + TEST: i18n.t('Test'), + TRACKER_IMPORT_JOB: i18n.t('Tracker import job'), + TRACKER_IMPORT_NOTIFICATION_JOB: i18n.t('Tracker import notification job'), + TRACKER_IMPORT_RULE_ENGINE_JOB: i18n.t('Tracker import rule engine job'), TRACKER_PROGRAMS_DATA_SYNC: i18n.t('Tracker programs data sync'), + TRACKER_SEARCH_OPTIMIZATION: i18n.t('Tracker search optimization'), VALIDATION_RESULTS_NOTIFICATION: i18n.t('Validation results notification'), - DISABLE_INACTIVE_USERS: i18n.t('Disable inactive users'), - AGGREGATE_DATA_EXCHANGE: i18n.t('Exchange aggregate data'), } export default jobTypesMap