From 547a3bf4e7dced6d720beec77fc492d3e33e6ed8 Mon Sep 17 00:00:00 2001 From: Rogan Date: Tue, 24 Oct 2017 19:58:54 -0500 Subject: [PATCH] Fix the ISO code description of region/province/department (#3685) * Fix the ISO code description of region/province/department * Missing the data of one province and two regions of China * Revert " Missing the data of one province and two regions of China" This reverts commit abff4555cdcaa5b8c2bb0f47dbc8a1b05b7e8565. --- babel/messages.pot | 6 +++--- superset/assets/javascripts/explore/stores/visTypes.js | 4 ++-- superset/translations/en/LC_MESSAGES/messages.po | 6 +++--- superset/translations/es/LC_MESSAGES/messages.po | 6 +++--- superset/translations/fr/LC_MESSAGES/messages.po | 6 +++--- superset/translations/it/LC_MESSAGES/messages.po | 6 +++--- superset/translations/zh/LC_MESSAGES/messages.po | 6 +++--- 7 files changed, 20 insertions(+), 20 deletions(-) diff --git a/babel/messages.pot b/babel/messages.pot index 0634bee8a..1324c3a17 100755 --- a/babel/messages.pot +++ b/babel/messages.pot @@ -2477,13 +2477,13 @@ msgid "Choose a target" msgstr "" #: superset/assets/javascripts/explore/stores/visTypes.js:828 -msgid "ISO 3166-1 codes of region/province/department" +msgid "ISO 3166-2 codes of region/province/department" msgstr "" #: superset/assets/javascripts/explore/stores/visTypes.js:829 msgid "" -"It's ISO 3166-1 of your region/province/department in your table. (see " -"documentation for list of ISO 3166-1)" +"It's ISO 3166-2 of your region/province/department in your table. (see " +"documentation for list of ISO 3166-2)" msgstr "" #: superset/assets/javascripts/explore/stores/visTypes.js:863 diff --git a/superset/assets/javascripts/explore/stores/visTypes.js b/superset/assets/javascripts/explore/stores/visTypes.js index ef8078fc1..94115bb07 100644 --- a/superset/assets/javascripts/explore/stores/visTypes.js +++ b/superset/assets/javascripts/explore/stores/visTypes.js @@ -852,8 +852,8 @@ export const visTypes = { ], controlOverrides: { entity: { - label: t('ISO 3166-1 codes of region/province/department'), - description: t('It\'s ISO 3166-1 of your region/province/department in your table. (see documentation for list of ISO 3166-1)'), + label: t('ISO 3166-2 codes of region/province/department'), + description: t('It\'s ISO 3166-2 of your region/province/department in your table. (see documentation for list of ISO 3166-2)'), }, metric: { label: t('Metric'), diff --git a/superset/translations/en/LC_MESSAGES/messages.po b/superset/translations/en/LC_MESSAGES/messages.po index 77a1d75a1..80f9112cc 100644 --- a/superset/translations/en/LC_MESSAGES/messages.po +++ b/superset/translations/en/LC_MESSAGES/messages.po @@ -2478,13 +2478,13 @@ msgid "Choose a target" msgstr "" #: superset/assets/javascripts/explore/stores/visTypes.js:828 -msgid "ISO 3166-1 codes of region/province/department" +msgid "ISO 3166-2 codes of region/province/department" msgstr "" #: superset/assets/javascripts/explore/stores/visTypes.js:829 msgid "" -"It's ISO 3166-1 of your region/province/department in your table. (see " -"documentation for list of ISO 3166-1)" +"It's ISO 3166-2 of your region/province/department in your table. (see " +"documentation for list of ISO 3166-2)" msgstr "" #: superset/assets/javascripts/explore/stores/visTypes.js:863 diff --git a/superset/translations/es/LC_MESSAGES/messages.po b/superset/translations/es/LC_MESSAGES/messages.po index 0fc0fb8ad..f2050dc9d 100644 --- a/superset/translations/es/LC_MESSAGES/messages.po +++ b/superset/translations/es/LC_MESSAGES/messages.po @@ -2478,13 +2478,13 @@ msgid "Choose a target" msgstr "" #: superset/assets/javascripts/explore/stores/visTypes.js:828 -msgid "ISO 3166-1 codes of region/province/department" +msgid "ISO 3166-2 codes of region/province/department" msgstr "" #: superset/assets/javascripts/explore/stores/visTypes.js:829 msgid "" -"It's ISO 3166-1 of your region/province/department in your table. (see " -"documentation for list of ISO 3166-1)" +"It's ISO 3166-2 of your region/province/department in your table. (see " +"documentation for list of ISO 3166-2)" msgstr "" #: superset/assets/javascripts/explore/stores/visTypes.js:863 diff --git a/superset/translations/fr/LC_MESSAGES/messages.po b/superset/translations/fr/LC_MESSAGES/messages.po index e0476b20f..33ce07e9a 100644 --- a/superset/translations/fr/LC_MESSAGES/messages.po +++ b/superset/translations/fr/LC_MESSAGES/messages.po @@ -2478,13 +2478,13 @@ msgid "Choose a target" msgstr "" #: superset/assets/javascripts/explore/stores/visTypes.js:828 -msgid "ISO 3166-1 codes of region/province/department" +msgid "ISO 3166-2 codes of region/province/department" msgstr "" #: superset/assets/javascripts/explore/stores/visTypes.js:829 msgid "" -"It's ISO 3166-1 of your region/province/department in your table. (see " -"documentation for list of ISO 3166-1)" +"It's ISO 3166-2 of your region/province/department in your table. (see " +"documentation for list of ISO 3166-2)" msgstr "" #: superset/assets/javascripts/explore/stores/visTypes.js:863 diff --git a/superset/translations/it/LC_MESSAGES/messages.po b/superset/translations/it/LC_MESSAGES/messages.po index 4ab797fe9..7b998be1b 100644 --- a/superset/translations/it/LC_MESSAGES/messages.po +++ b/superset/translations/it/LC_MESSAGES/messages.po @@ -2479,13 +2479,13 @@ msgid "Choose a target" msgstr "" #: superset/assets/javascripts/explore/stores/visTypes.js:828 -msgid "ISO 3166-1 codes of region/province/department" +msgid "ISO 3166-2 codes of region/province/department" msgstr "" #: superset/assets/javascripts/explore/stores/visTypes.js:829 msgid "" -"It's ISO 3166-1 of your region/province/department in your table. (see " -"documentation for list of ISO 3166-1)" +"It's ISO 3166-2 of your region/province/department in your table. (see " +"documentation for list of ISO 3166-2)" msgstr "" #: superset/assets/javascripts/explore/stores/visTypes.js:863 diff --git a/superset/translations/zh/LC_MESSAGES/messages.po b/superset/translations/zh/LC_MESSAGES/messages.po index bff00786a..adfa62c5b 100644 --- a/superset/translations/zh/LC_MESSAGES/messages.po +++ b/superset/translations/zh/LC_MESSAGES/messages.po @@ -2478,13 +2478,13 @@ msgid "Choose a target" msgstr "" #: superset/assets/javascripts/explore/stores/visTypes.js:828 -msgid "ISO 3166-1 codes of region/province/department" +msgid "ISO 3166-2 codes of region/province/department" msgstr "" #: superset/assets/javascripts/explore/stores/visTypes.js:829 msgid "" -"It's ISO 3166-1 of your region/province/department in your table. (see " -"documentation for list of ISO 3166-1)" +"It's ISO 3166-2 of your region/province/department in your table. (see " +"documentation for list of ISO 3166-2)" msgstr "" #: superset/assets/javascripts/explore/stores/visTypes.js:863