From 543a79119970639d82f19ef15e20807d874e6562 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Sandvik?= Date: Mon, 25 Sep 2023 12:51:39 +0200 Subject: [PATCH] chore: temporary console log to avoid dynamic dep bug --- i18n/en.pot | 55 +++++++++++++++++++++--------------- src/components/map/MapApi.js | 2 ++ 2 files changed, 34 insertions(+), 23 deletions(-) diff --git a/i18n/en.pot b/i18n/en.pot index fae924601..1ce73548a 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-09-20T14:09:46.319Z\n" -"PO-Revision-Date: 2023-09-20T14:09:46.319Z\n" +"POT-Creation-Date: 2023-09-25T08:21:38.658Z\n" +"PO-Revision-Date: 2023-09-25T08:21:38.658Z\n" msgid "Untitled map, {{date}}" msgstr "Untitled map, {{date}}" @@ -307,15 +307,42 @@ msgstr "Source" msgid "Legend preview" msgstr "Legend preview" +msgid "Mean" +msgstr "Mean" + +msgid "Min" +msgstr "Min" + +msgid "Max" +msgstr "Max" + +msgid "Median" +msgstr "Median" + +msgid "Count" +msgstr "Count" + +msgid "Mode" +msgstr "Mode" + +msgid "Product" +msgstr "Product" + +msgid "Start date" +msgstr "Start date" + +msgid "Period reducer" +msgstr "Period reducer" + +msgid "Loading periods" +msgstr "Loading periods" + msgid "Year" msgstr "Year" msgid "Available periods are set by the source data" msgstr "Available periods are set by the source data" -msgid "Loading periods" -msgstr "Loading periods" - msgid "Min value is required" msgstr "Min value is required" @@ -331,12 +358,6 @@ msgstr "Valid steps are {{minSteps}} to {{maxSteps}}" msgid "Unit: {{ unit }}" msgstr "Unit: {{ unit }}" -msgid "Min" -msgstr "Min" - -msgid "Max" -msgstr "Max" - msgid "Steps" msgstr "Steps" @@ -841,9 +862,6 @@ msgstr "Timeline" msgid "Split map views" msgstr "Split map views" -msgid "Start date" -msgstr "Start date" - msgid "End date" msgstr "End date" @@ -868,9 +886,6 @@ msgstr "Tracked Entity Type" msgid "By data element" msgstr "By data element" -msgid "Count" -msgstr "Count" - msgid "Average" msgstr "Average" @@ -892,12 +907,6 @@ msgstr "Hectares" msgid "Acres" msgstr "Acres" -msgid "Mean" -msgstr "Mean" - -msgid "Median" -msgstr "Median" - msgid "Std dev" msgstr "Std dev" diff --git a/src/components/map/MapApi.js b/src/components/map/MapApi.js index 4a693d8cf..199a3df55 100644 --- a/src/components/map/MapApi.js +++ b/src/components/map/MapApi.js @@ -6,6 +6,8 @@ import MapApi, { } from '@dhis2/maps-gl' import getMapLocale from './mapLocale.js' +console.log('poleOfInaccessibility', poleOfInaccessibility) + // Returns a new map instance const map = (options) => { const glyphs = `${options.baseUrl}/dhis-web-maps/fonts/{fontstack}/{range}.pbf`