Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fixing untranslated FR strings #20078

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
f8d1688
fix : Fixing the untranslated strings
aehanno May 16, 2022
20cb2ce
remove some change that will be in an other PR
aehanno May 16, 2022
93151b0
fix : missing tranaltion string
aehanno Jul 13, 2022
69ba230
fix : correction fail import
aehanno Jul 13, 2022
3fc46f1
fix : correction translation
aehanno Jul 14, 2022
83abb1b
fix : correction translation
aehanno Jul 14, 2022
325a7d9
fix : correction translation
aehanno Jul 14, 2022
472c36d
fix
aehanno Jul 22, 2022
f7ef429
Merge branch 'master' into fixing-untranslated-string
aehanno Oct 3, 2022
eea57c0
fix
aehanno Oct 3, 2022
1a0585f
Merge branch 'master' into fixing-untranslated-string
aehanno Oct 5, 2022
b9da4ec
fix: Correction after review
aehanno Oct 5, 2022
e46d5cd
Merge branch 'master' into fixing-untranslated-string
aehanno Jan 25, 2023
961b6c2
Add translation metric pivotTableChart
aehanno Jan 25, 2023
a661ca3
Add translation metric pivotTableChart
aehanno Jan 30, 2023
304e7e9
update translation from pot file
aehanno Jan 30, 2023
433fce3
update translation from pot file
aehanno Jan 30, 2023
df384cc
Merge branch 'master' into fixing-untranslated-string
aehanno Jan 30, 2023
c8771f9
launch prettier on translation file
aehanno Jan 30, 2023
6c17745
launch prettier on translation file
aehanno Jan 30, 2023
1fa4516
remove wrong change
aehanno Feb 1, 2023
d6cc47f
resolve conflict merge
aehanno Feb 1, 2023
f593843
wrong end file
aehanno Feb 1, 2023
ab570e5
Merge branch 'master' into fixing-untranslated-string
aehanno Feb 8, 2023
9334b53
clean translation file
aehanno Feb 9, 2023
cfeaac0
Merge remote-tracking branch 'origin/fixing-untranslated-string' into…
aehanno Feb 9, 2023
b708b37
ajout trad
aehanno Feb 22, 2023
eb5254e
Merge remote-tracking branch 'origin/master' into fixing-untranslated…
aehanno Feb 22, 2023
9d3e6a4
ajout trad
aehanno Feb 23, 2023
baaf38e
ajout trad
aehanno Feb 23, 2023
2954b40
ajout trad
aehanno Feb 23, 2023
d3ced7d
ajout trad
aehanno Feb 23, 2023
b1abb71
ajout trad
aehanno Feb 23, 2023
69823c1
ajout trad
aehanno Feb 23, 2023
6fb8377
test correction erreur build front
aehanno Feb 23, 2023
76d148d
test correction erreur build front
aehanno Feb 23, 2023
662f9e3
test correction erreur build front
aehanno Feb 23, 2023
43eb2c9
test correction erreur build front
aehanno Feb 24, 2023
bb398eb
Merge remote-tracking branch 'origin/master' into fixing-untranslated…
aehanno Jun 29, 2023
2e70a17
Resolve conflicts after merge
aehanno Jun 29, 2023
fed6c03
json file generation from po file
aehanno Aug 1, 2023
bf7c5ff
delete translation on variable
aehanno Aug 10, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading