Skip to content

Commit

Permalink
fix: Fixing untranslated FR strings (#20078)
Browse files Browse the repository at this point in the history
  • Loading branch information
aehanno authored Sep 1, 2023
1 parent bbfaeb0 commit 2c4629a
Show file tree
Hide file tree
Showing 5 changed files with 90 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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} />
Expand Down
38 changes: 31 additions & 7 deletions superset/translations/fr/LC_MESSAGES/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand All @@ -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"],
Expand Down Expand Up @@ -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": [""],
Expand Down Expand Up @@ -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"
],
Expand Down Expand Up @@ -3139,7 +3146,7 @@
"Subdomain": [""],
"Subheader Font Size": [""],
"Submit": [""],
"Subtotal": [""],
"Subtotal": ["Sous-Total"],
"Success": ["Succès"],
"Suffix to apply after the percentage display": [""],
"Sum": [""],
Expand Down Expand Up @@ -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"
],
Expand Down Expand Up @@ -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"],
Expand Down Expand Up @@ -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"]
}
}
}
41 changes: 31 additions & 10 deletions superset/translations/fr/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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"
21 changes: 21 additions & 0 deletions superset/translations/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
14 changes: 2 additions & 12 deletions superset/translations/pt/LC_MESSAGES/message.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.": [
Expand Down Expand Up @@ -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"],
Expand All @@ -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"],
Expand Down Expand Up @@ -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": [""],
Expand Down

0 comments on commit 2c4629a

Please sign in to comment.