This is an automated email from the ASF dual-hosted git repository.

michaelsmolina pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 2c4629a77d fix: Fixing untranslated FR strings (#20078)
2c4629a77d is described below

commit 2c4629a77d5b4ef25ce45e6078023c03938830ff
Author: aehanno <[email protected]>
AuthorDate: Fri Sep 1 09:12:12 2023 -0400

    fix: Fixing untranslated FR strings (#20078)
---
 .../controls/DateFilterControl/DateFilterLabel.tsx |  6 +++-
 superset/translations/fr/LC_MESSAGES/messages.json | 38 ++++++++++++++++----
 superset/translations/fr/LC_MESSAGES/messages.po   | 41 ++++++++++++++++------
 superset/translations/messages.pot                 | 21 +++++++++++
 superset/translations/pt/LC_MESSAGES/message.json  | 14 ++------
 5 files changed, 90 insertions(+), 30 deletions(-)

diff --git 
a/superset-frontend/src/explore/components/controls/DateFilterControl/DateFilterLabel.tsx
 
b/superset-frontend/src/explore/components/controls/DateFilterControl/DateFilterLabel.tsx
index d19a423814..4898ba8fde 100644
--- 
a/superset-frontend/src/explore/components/controls/DateFilterControl/DateFilterLabel.tsx
+++ 
b/superset-frontend/src/explore/components/controls/DateFilterControl/DateFilterLabel.tsx
@@ -308,7 +308,11 @@ export default function DateFilterLabel(props: 
DateFilterControlProps) {
       <Divider />
       <div>
         <div className="section-title">{t('Actual time range')}</div>
-        {validTimeRange && <div>{evalResponse}</div>}
+        {validTimeRange && (
+          <div>
+            {evalResponse === 'No filter' ? t('No filter') : evalResponse}
+          </div>
+        )}
         {!validTimeRange && (
           <IconWrapper className="warning">
             <Icons.ErrorSolidSmall iconColor={theme.colors.error.base} />
diff --git a/superset/translations/fr/LC_MESSAGES/messages.json 
b/superset/translations/fr/LC_MESSAGES/messages.json
index 58ae478b43..5c000012fa 100644
--- a/superset/translations/fr/LC_MESSAGES/messages.json
+++ b/superset/translations/fr/LC_MESSAGES/messages.json
@@ -83,14 +83,14 @@
       ".": [""],
       "0 Selected": ["0 sélectionné"],
       "1 calendar day frequency": [""],
-      "1 day ago": [""],
+      "1 day ago": ["Il y a 1 jour"],
       "1 hour": ["1 heure"],
       "1 minute": ["1 minute"],
       "1 minutely frequency": [""],
       "1 month end frequency": [""],
       "1 month start frequency": [""],
-      "1 week ago": [""],
-      "1 year ago": [""],
+      "1 week ago": ["Il y a 1 semaine"],
+      "1 year ago": ["Il y a 1 an"],
       "10 minute": ["10 minutes"],
       "104 weeks ago": [""],
       "15 minute": ["15 minutes"],
@@ -100,11 +100,11 @@
       "1H": [""],
       "1M": [""],
       "1T": [""],
-      "2 years ago": [""],
+      "2 years ago": ["il y a 2 ans"],
       "2/98 percentiles": [""],
       "28 days ago": [""],
       "2D": [""],
-      "3 years ago": [""],
+      "3 years ago": ["Il y a 3 ans"],
       "30 days": ["30 jours"],
       "30 minute": ["30 minutes"],
       "30 minutes": ["30 minutes"],
@@ -1998,6 +1998,7 @@
         ""
       ],
       "Least recently modified": ["Dernière modification"],
+      "Left Axis chart(s)": [""],
       "Left Margin": [""],
       "Left margin, in pixels, allowing for more room for axis labels": [""],
       "Left to Right": [""],
@@ -2443,6 +2444,12 @@
       "Pick a granularity in the Time section or uncheck 'Include Time'": [
         "Choississez une granularité dans la section Temps ou décochez 
'Inclure le temps'"
       ],
+      "Pick a metric for left axis!": [
+        "Choisissez une métrique pour l'axe de gauche !"
+      ],
+      "Pick a metric for right axis!": [
+        "Choisissez une métrique pour l'axe de droite !"
+      ],
       "Pick a metric for x, y and size": [
         "Choisissez une métrique pour x, y, taille"
       ],
@@ -3139,7 +3146,7 @@
       "Subdomain": [""],
       "Subheader Font Size": [""],
       "Submit": [""],
-      "Subtotal": [""],
+      "Subtotal": ["Sous-Total"],
       "Success": ["Succès"],
       "Suffix to apply after the percentage display": [""],
       "Sum": [""],
@@ -3743,7 +3750,11 @@
       "Thursday": ["Jeudi"],
       "Time": ["Temps"],
       "Time Series - Bar Chart": ["Séries temporelles - histogramme"],
+      "Time Series - Dual Axis Line Chart": ["Séries temporelles - double 
axe"],
       "Time Series - Line Chart": ["Séries temporelles - ligne"],
+      "Time Series - Multiple Line Charts": [
+        "Séries temporelles - Lignes multiples"
+      ],
       "Time Series - Nightingale Rose Chart": [
         "Séries temporelles - Graphique Nightingale Rose"
       ],
@@ -4521,6 +4532,7 @@
         "le percentile inférieur doit être plus grand que 0 et plus petit que 
100 et doit être plus petit que le percentile supérieur."
       ],
       "median": [""],
+      "metric": ["métrique"],
       "minute": ["minute"],
       "minute(s)": ["minute(s)"],
       "month": ["mois"],
@@ -4578,7 +4590,19 @@
       "y": [""],
       "y: values are normalized within each row": [""],
       "year": ["année"],
-      "zoom area": [""]
+      "zoom area": [""],
+      "No matching records found": ["Aucun résultat trouvé"],
+      "Seconds %s": ["%s secondes"],
+      "Minutes %s": ["%s minutes "],
+      "10 seconds": ["10 secondes"],
+      "6 hours": ["6 heures"],
+      "12 hours": ["12 heures"],
+      "24 hours": ["24 heures"],
+      "Last day": ["Hier"],
+      "Last week": ["La semaine derniere"],
+      "Last month": ["Le mois dernier"],
+      "Last quarter": ["Le trimestre dernier"],
+      "Last year": ["L'année dernière"]
     }
   }
 }
diff --git a/superset/translations/fr/LC_MESSAGES/messages.po 
b/superset/translations/fr/LC_MESSAGES/messages.po
index c9bd2b6dfb..6c4cdd69c4 100644
--- a/superset/translations/fr/LC_MESSAGES/messages.po
+++ b/superset/translations/fr/LC_MESSAGES/messages.po
@@ -254,7 +254,7 @@ msgstr "%s Erreur"
 #: superset-frontend/src/features/databases/DatabaseModal/index.tsx:1355
 #, fuzzy, python-format
 msgid "%s PASSWORD"
-msgstr "Mot de passe"
+msgstr "%s Mot de passe"
 
 #: superset-frontend/src/components/ImportModal/index.tsx:318
 #: superset-frontend/src/features/databases/DatabaseModal/index.tsx:1373
@@ -457,7 +457,7 @@ msgstr "jour"
 
 #: 
superset-frontend/packages/superset-ui-chart-controls/src/sections/advancedAnalytics.tsx:112
 msgid "1 day ago"
-msgstr ""
+msgstr "Il y a 1 jour"
 
 #: 
superset-frontend/packages/superset-ui-chart-controls/src/shared-controls/sharedControls.tsx:166
 #: superset-frontend/src/explore/controls.jsx:260
@@ -500,7 +500,7 @@ msgstr "semaine"
 
 #: 
superset-frontend/packages/superset-ui-chart-controls/src/sections/advancedAnalytics.tsx:113
 msgid "1 week ago"
-msgstr ""
+msgstr "Il y a 1 semaine"
 
 #: 
superset-frontend/plugins/legacy-preset-chart-nvd3/src/TimePivot/controlPanel.ts:62
 #, fuzzy
@@ -522,7 +522,7 @@ msgstr "année"
 
 #: 
superset-frontend/packages/superset-ui-chart-controls/src/sections/advancedAnalytics.tsx:117
 msgid "1 year ago"
-msgstr ""
+msgstr "Il y a 1 an"
 
 #: 
superset-frontend/packages/superset-ui-chart-controls/src/sections/advancedAnalytics.tsx:170
 #: 
superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberWithTrendline/controlPanel.tsx:243
@@ -613,7 +613,7 @@ msgstr "année"
 
 #: 
superset-frontend/packages/superset-ui-chart-controls/src/sections/advancedAnalytics.tsx:119
 msgid "2 years ago"
-msgstr ""
+msgstr "Il y a 2 ans"
 
 #: 
superset-frontend/plugins/plugin-chart-echarts/src/BoxPlot/controlPanel.ts:97
 msgid "2/98 percentiles"
@@ -657,7 +657,7 @@ msgstr "année"
 
 #: 
superset-frontend/packages/superset-ui-chart-controls/src/sections/advancedAnalytics.tsx:121
 msgid "3 years ago"
-msgstr ""
+msgstr "Il y a 3 ans"
 
 #: 
superset-frontend/plugins/legacy-plugin-chart-partition/src/controlPanel.tsx:309
 #: superset-frontend/plugins/legacy-plugin-chart-rose/src/controlPanel.tsx:191
@@ -1837,7 +1837,7 @@ msgstr ""
 #: superset-frontend/src/views/CRUD/hooks.ts:308
 #, fuzzy, python-format
 msgid "An error occurred while creating %ss: %s"
-msgstr "Une erreur s'est produite durant la récupération des jeux de données : 
%s"
+msgstr "Une erreur s'est produite durant la récupération des jeux de données 
%ss: %s"
 
 #: superset-frontend/src/SqlLab/actions/sqlLab.js:1530
 #: superset-frontend/src/SqlLab/actions/sqlLab.js:1552
@@ -1869,7 +1869,7 @@ msgstr ""
 #: superset-frontend/src/views/CRUD/hooks.ts:106
 #, fuzzy, python-format
 msgid "An error occurred while fetching %s info: %s"
-msgstr "Une erreur s'est produite durant la récupération des tableaux de bord 
: %s"
+msgstr "Une erreur s'est produite durant la récupération des tableaux de bord 
%s : %s"
 
 #: superset-frontend/src/views/CRUD/hooks.ts:174
 #: superset-frontend/src/views/CRUD/hooks.ts:265
@@ -15228,7 +15228,7 @@ msgstr ""
 #: superset/charts/post_processing.py:161
 #: superset/charts/post_processing.py:178
 msgid "Subtotal"
-msgstr ""
+msgstr "Sous-Total"
 
 #: superset-frontend/src/SqlLab/components/QueryTable/index.tsx:127
 #: superset-frontend/src/pages/AlertReportList/index.tsx:62
@@ -20511,7 +20511,7 @@ msgstr ""
 #: 
superset-frontend/src/explore/components/controls/FixedOrMetricControl/index.jsx:136
 #, fuzzy
 msgid "metric"
-msgstr "Métrique"
+msgstr "métrique"
 
 #: 
superset-frontend/plugins/legacy-plugin-chart-calendar/src/controlPanel.ts:63
 #: 
superset-frontend/plugins/legacy-plugin-chart-map-box/src/controlPanel.ts:188
@@ -21006,3 +21006,24 @@ msgstr "année"
 #: 
superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/transformProps.ts:521
 msgid "zoom area"
 msgstr ""
+
+#: 
superset-frontend/plugins/plugin-chart-pivot-table/src/react-pivottable/TableRenderers.jsx:28
+#: 
superset-frontend/src/explore/components/controls/FixedOrMetricControl/index.jsx:136
+msgid "metric"
+msgstr "métrique"
+
+#: superset-frontend/src/dashboard/components/RefreshIntervalModal.tsx:29
+msgid "10 seconds"
+msgstr "10 secondes"
+
+#: superset-frontend/src/dashboard/components/RefreshIntervalModal.tsx:29
+msgid "6 hours"
+msgstr "6 heures"
+
+#: superset-frontend/src/dashboard/components/RefreshIntervalModal.tsx:29
+msgid "12 hours"
+msgstr "12 heures"
+
+#: superset-frontend/src/dashboard/components/RefreshIntervalModal.tsx:29
+msgid "24 hours"
+msgstr "24 heures"
diff --git a/superset/translations/messages.pot 
b/superset/translations/messages.pot
index b4156bea53..8131da3844 100644
--- a/superset/translations/messages.pot
+++ b/superset/translations/messages.pot
@@ -19208,3 +19208,24 @@ msgstr ""
 #: 
superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/transformProps.ts:521
 msgid "zoom area"
 msgstr ""
+
+#: 
superset-frontend/plugins/plugin-chart-pivot-table/src/react-pivottable/TableRenderers.jsx:28
+#: 
superset-frontend/src/explore/components/controls/FixedOrMetricControl/index.jsx:136
+msgid "metric"
+msgstr ""
+
+#: superset-frontend/src/dashboard/components/RefreshIntervalModal.tsx:29
+msgid "10 seconds"
+msgstr ""
+
+#: superset-frontend/src/dashboard/components/RefreshIntervalModal.tsx:29
+msgid "6 hours"
+msgstr ""
+
+#: superset-frontend/src/dashboard/components/RefreshIntervalModal.tsx:29
+msgid "12 hours"
+msgstr ""
+
+#: superset-frontend/src/dashboard/components/RefreshIntervalModal.tsx:29
+msgid "24 hours"
+msgstr ""
diff --git a/superset/translations/pt/LC_MESSAGES/message.json 
b/superset/translations/pt/LC_MESSAGES/message.json
index 7ff52195f5..37b1e6f4ce 100644
--- a/superset/translations/pt/LC_MESSAGES/message.json
+++ b/superset/translations/pt/LC_MESSAGES/message.json
@@ -928,7 +928,7 @@
       "When allowing CREATE TABLE AS option in SQL Lab, this option forces the 
table to be created in this schema": [
         "Ao permitir a opção CREATE TABLE AS no SQL Lab, esta opção força a 
tabela a ser criada neste esquema"
       ],
-      "If Presto, Trino or Drill all the queries in SQL Lab are going to be 
executed as the currently logged on user who must have permission to run 
them.<br/>If Hive and hive.server2.enable.doAs is enabled, will run the queries 
as service account, but impersonate the currently logged on user via 
hive.server2.proxy.user property.": [
+      "If Presto, all the queries in SQL Lab are going to be executed as the 
currently logged on user who must have permission to run them.<br/>If Hive and 
hive.server2.enable.doAs is enabled, will run the queries as service account, 
but impersonate the currently logged on user via hive.server2.proxy.user 
property.": [
         "Se Presto, todas as consultas no SQL Lab serão executadas como o 
utilizador atualmente conectado que deve ter permissão para as executar. <br/> 
Se hive e hive.server2.enable.doAs estiver habilitado, serão executadas as 
queries como conta de serviço, mas deve personificar o utilizador atualmente 
conectado recorrendo à propriedade hive.server2.proxy.user."
       ],
       "Allow SQL Lab to fetch a list of all tables and all views across all 
database schemas. For large data warehouse with thousands of tables, this can 
be expensive and put strain on the system.": [
@@ -1114,15 +1114,6 @@
       "It seems you don't have access to any database": [
         "Parece que não tem acesso a nenhuma base de dados"
       ],
-      "An error occurred when refreshing queries": [
-        "Ocorreu um erro ao criar a origem dos dados"
-      ],
-      "Filter by user": ["Valor de filtro"],
-      "Filter by database": ["Selecione uma base de dados"],
-      "Query search string": ["Pesquisa de Query"],
-      "[From]-": ["[A partir de]-"],
-      "[To]-": ["[Para]-"],
-      "Filter by status": ["Valor de filtro"],
       "Edit": ["Editar"],
       "view results": ["ver resultados"],
       "Data preview": ["Pré-visualização de dados"],
@@ -1148,7 +1139,6 @@
       "Run Selection": ["Executar a query selecionada"],
       "Run": [""],
       "Stop running (Ctrl + x)": [""],
-      "Stop running (Ctrl + e)": [""],
       "Run query (Ctrl + Return)": [""],
       "Save & Explore": ["Grave uma visualização"],
       "Overwrite & Explore": ["Substitua a visualização %s"],
@@ -2188,7 +2178,7 @@
       "Impersonate Logged In User (Presto, Trino, Drill & Hive)": [
         "Personificar o utilizador conectado"
       ],
-      "If Presto, Trino or Drill all the queries in SQL Lab are going to be 
executed as the currently logged on user who must have permission to run them. 
If Hive and hive.server2.enable.doAs is enabled, will run the queries as 
service account, but impersonate the currently logged on user via 
hive.server2.proxy.user property.": [
+      "If Presto, all the queries in SQL Lab are going to be executed as the 
currently logged on user who must have permission to run them. If Hive and 
hive.server2.enable.doAs is enabled, will run the queries as service account, 
but impersonate the currently logged on user via hive.server2.proxy.user 
property.": [
         "Se Presto, todas as consultas no SQL Lab serão executadas como o 
utilizador atualmente conectado que deve ter permissão para as executar. <br/> 
Se hive e hive.server2.enable.doAs estiver habilitado, serão executadas as 
queries como conta de serviço, mas deve personificar o utilizador atualmente 
conectado recorrendo à propriedade hive.server2.proxy.user."
       ],
       "Allow Data Upload": [""],

Reply via email to