From 570a6f77a517a4775fc190582a8f1251e4c032de Mon Sep 17 00:00:00 2001 From: "aurelie.ehanno" Date: Thu, 16 Nov 2023 16:28:34 -0500 Subject: [PATCH 1/8] Without the capital letter, you can't find the translation --- .../controls/DateFilterControl/utils/constants.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/superset-frontend/src/explore/components/controls/DateFilterControl/utils/constants.ts b/superset-frontend/src/explore/components/controls/DateFilterControl/utils/constants.ts index dad77fb9cb821..6831cf89263da 100644 --- a/superset-frontend/src/explore/components/controls/DateFilterControl/utils/constants.ts +++ b/superset-frontend/src/explore/components/controls/DateFilterControl/utils/constants.ts @@ -36,11 +36,11 @@ export const FRAME_OPTIONS: SelectOptionType[] = [ ]; export const COMMON_RANGE_OPTIONS: SelectOptionType[] = [ - { value: 'Last day', label: t('last day') }, - { value: 'Last week', label: t('last week') }, - { value: 'Last month', label: t('last month') }, - { value: 'Last quarter', label: t('last quarter') }, - { value: 'Last year', label: t('last year') }, + { value: 'Last day', label: t('Last day') }, + { value: 'Last week', label: t('Last week') }, + { value: 'Last month', label: t('Last month') }, + { value: 'Last quarter', label: t('Last quarter') }, + { value: 'Last year', label: t('Last year') }, ]; export const COMMON_RANGE_VALUES_SET = new Set( COMMON_RANGE_OPTIONS.map(({ value }) => value), From 819f42744e4638c027f0287bec0d6ad510dfcac9 Mon Sep 17 00:00:00 2001 From: "aurelie.ehanno" Date: Thu, 16 Nov 2023 17:23:53 -0500 Subject: [PATCH 2/8] Correction test --- .../cypress-base/cypress/e2e/explore/control.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset-frontend/cypress-base/cypress/e2e/explore/control.test.ts b/superset-frontend/cypress-base/cypress/e2e/explore/control.test.ts index faee1f6f4ee41..4d641a6b5a243 100644 --- a/superset-frontend/cypress-base/cypress/e2e/explore/control.test.ts +++ b/superset-frontend/cypress-base/cypress/e2e/explore/control.test.ts @@ -210,7 +210,7 @@ describe('Time range filter', () => { .click() .then(() => { cy.get('.ant-radio-group').children().its('length').should('eq', 5); - cy.get('.ant-radio-checked + span').contains('last year'); + cy.get('.ant-radio-checked + span').contains('Last year'); cy.get('[data-test=cancel-button]').click(); }); }); From d9e8b1f1ee32cbbc6ab90a801497b69db7bb4b86 Mon Sep 17 00:00:00 2001 From: "aurelie.ehanno" Date: Fri, 17 Nov 2023 10:50:13 -0500 Subject: [PATCH 3/8] Correction test Add translation from script po2json --- .../cypress/e2e/explore/control.test.ts | 2 +- .../DateFilterControl/utils/constants.ts | 10 +++++----- .../translations/fr/LC_MESSAGES/messages.json | 19 +++++++++---------- .../translations/fr/LC_MESSAGES/messages.po | 11 ++--------- 4 files changed, 17 insertions(+), 25 deletions(-) diff --git a/superset-frontend/cypress-base/cypress/e2e/explore/control.test.ts b/superset-frontend/cypress-base/cypress/e2e/explore/control.test.ts index 4d641a6b5a243..faee1f6f4ee41 100644 --- a/superset-frontend/cypress-base/cypress/e2e/explore/control.test.ts +++ b/superset-frontend/cypress-base/cypress/e2e/explore/control.test.ts @@ -210,7 +210,7 @@ describe('Time range filter', () => { .click() .then(() => { cy.get('.ant-radio-group').children().its('length').should('eq', 5); - cy.get('.ant-radio-checked + span').contains('Last year'); + cy.get('.ant-radio-checked + span').contains('last year'); cy.get('[data-test=cancel-button]').click(); }); }); diff --git a/superset-frontend/src/explore/components/controls/DateFilterControl/utils/constants.ts b/superset-frontend/src/explore/components/controls/DateFilterControl/utils/constants.ts index 6831cf89263da..dad77fb9cb821 100644 --- a/superset-frontend/src/explore/components/controls/DateFilterControl/utils/constants.ts +++ b/superset-frontend/src/explore/components/controls/DateFilterControl/utils/constants.ts @@ -36,11 +36,11 @@ export const FRAME_OPTIONS: SelectOptionType[] = [ ]; export const COMMON_RANGE_OPTIONS: SelectOptionType[] = [ - { value: 'Last day', label: t('Last day') }, - { value: 'Last week', label: t('Last week') }, - { value: 'Last month', label: t('Last month') }, - { value: 'Last quarter', label: t('Last quarter') }, - { value: 'Last year', label: t('Last year') }, + { value: 'Last day', label: t('last day') }, + { value: 'Last week', label: t('last week') }, + { value: 'Last month', label: t('last month') }, + { value: 'Last quarter', label: t('last quarter') }, + { value: 'Last year', label: t('last year') }, ]; export const COMMON_RANGE_VALUES_SET = new Set( COMMON_RANGE_OPTIONS.map(({ value }) => value), diff --git a/superset/translations/fr/LC_MESSAGES/messages.json b/superset/translations/fr/LC_MESSAGES/messages.json index 5c000012face7..c47af33720b1d 100644 --- a/superset/translations/fr/LC_MESSAGES/messages.json +++ b/superset/translations/fr/LC_MESSAGES/messages.json @@ -100,7 +100,7 @@ "1H": [""], "1M": [""], "1T": [""], - "2 years ago": ["il y a 2 ans"], + "2 years ago": ["Il y a 2 ans"], "2/98 percentiles": [""], "28 days ago": [""], "2D": [""], @@ -1091,6 +1091,7 @@ "" ], "Currently rendered: %s": [""], + "Custom": ["Personnalisée"], "Custom Plugin": ["Plugin custom"], "Custom Plugins": ["Plugins custom"], "Custom SQL": ["SQL personnalisé"], @@ -1981,6 +1982,7 @@ "Labels for the marker lines": [""], "Labels for the markers": [""], "Labels for the ranges": [""], + "Last": ["Dernier"], "Last Changed": ["Dernière modification"], "Last Modified": ["Dernière modification"], "Last Updated %s": ["Dernière mise à jour %s"], @@ -4525,6 +4527,11 @@ "json isn't valid": ["le json n'est pas valide"], "key a-z": [""], "key z-a": [""], + "last day": ["hier"], + "last month": ["le mois dernier"], + "last quarter": ["le trimestre dernier"], + "last week": ["la semaine dernière"], + "last year": ["l'année dernière"], "latest partition:": ["dernière partition :"], "less than {min} {name}": [""], "log": ["log"], @@ -4591,18 +4598,10 @@ "y: values are normalized within each row": [""], "year": ["année"], "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"] + "24 hours": ["24 heures"] } } } diff --git a/superset/translations/fr/LC_MESSAGES/messages.po b/superset/translations/fr/LC_MESSAGES/messages.po index 6c4cdd69c4298..9335a5fe07350 100644 --- a/superset/translations/fr/LC_MESSAGES/messages.po +++ b/superset/translations/fr/LC_MESSAGES/messages.po @@ -4956,7 +4956,6 @@ msgid "Currently rendered: %s" msgstr "" #: superset-frontend/src/explore/components/controls/DateFilterControl/utils/constants.ts:33 -#, fuzzy msgid "Custom" msgstr "Personnalisée" @@ -9038,9 +9037,8 @@ msgstr "Partage de requête" #: superset-frontend/plugins/plugin-chart-pivot-table/src/plugin/controlPanel.tsx:190 #: superset-frontend/src/explore/components/controls/DateFilterControl/utils/constants.ts:31 -#, fuzzy msgid "Last" -msgstr "à" +msgstr "Dernier" #: superset/connectors/sqla/views.py:388 superset/views/database/mixins.py:190 msgid "Last Changed" @@ -20421,27 +20419,22 @@ msgid "label" msgstr "Label" #: superset-frontend/src/explore/components/controls/DateFilterControl/utils/constants.ts:39 -#, fuzzy msgid "last day" msgstr "hier" #: superset-frontend/src/explore/components/controls/DateFilterControl/utils/constants.ts:41 -#, fuzzy msgid "last month" msgstr "le mois dernier" #: superset-frontend/src/explore/components/controls/DateFilterControl/utils/constants.ts:42 -#, fuzzy msgid "last quarter" msgstr "le trimestre dernier" #: superset-frontend/src/explore/components/controls/DateFilterControl/utils/constants.ts:40 -#, fuzzy msgid "last week" -msgstr "la semaine derniere" +msgstr "la semaine dernière" #: superset-frontend/src/explore/components/controls/DateFilterControl/utils/constants.ts:43 -#, fuzzy msgid "last year" msgstr "l'année dernière" From f8cf99a87a38f5defa90664c8e455f63ca4d4c5b Mon Sep 17 00:00:00 2001 From: "aurelie.ehanno" Date: Fri, 17 Nov 2023 11:24:19 -0500 Subject: [PATCH 4/8] Correction test Fix translation --- .../translations/fr/LC_MESSAGES/messages.json | 20 +++++++++++ .../translations/fr/LC_MESSAGES/messages.po | 35 ++++++++----------- 2 files changed, 35 insertions(+), 20 deletions(-) diff --git a/superset/translations/fr/LC_MESSAGES/messages.json b/superset/translations/fr/LC_MESSAGES/messages.json index c47af33720b1d..ed4ad36978cdb 100644 --- a/superset/translations/fr/LC_MESSAGES/messages.json +++ b/superset/translations/fr/LC_MESSAGES/messages.json @@ -630,6 +630,7 @@ "Batch editing %d filters:": ["Edition Batch %d filtres:"], "Battery level over time": [""], "Be careful.": ["Faites attention."], + "Before": ["Avant"], "Big Number": ["Gros nombre"], "Big Number Font Size": [""], "Big Number with Trendline": ["Gros nombre avec tendance"], @@ -1260,6 +1261,7 @@ "Datetime format": ["Format Datetime"], "Day": ["Jour"], "Day (freq=D)": [""], + "Days %s": ["Jours %s"], "Db engine did not return all queried columns": [ "La base de données n'a pas retourné toutes les colonnes demandées" ], @@ -1430,6 +1432,7 @@ "Drill by": [""], "Drill by is not available for this data point": [""], "Drill by is not yet supported for this chart type": [""], + "Drill by: %s": ["Trier par %s"], "Drill to detail": [""], "Drill to detail by": [""], "Drill to detail by value is not yet supported for this chart type.": [ @@ -1819,6 +1822,7 @@ "Host": [""], "Hostname or IP address": ["Nom d'hôte ou adresse IP"], "Hour": ["Heure"], + "Hours %s": ["Heures %s"], "Hours offset": ["Offset des heures"], "How do you want to enter service account credentials?": [ "Comment voulez-vous entrer les informations de connexion du compte de service ?" @@ -1986,6 +1990,7 @@ "Last Changed": ["Dernière modification"], "Last Modified": ["Dernière modification"], "Last Updated %s": ["Dernière mise à jour %s"], + "Last Updated %s by %s": ["Dernière mise à jour %s"], "Last modified": ["Dernière modification"], "Last modified by %s": ["Dernière modification par %s"], "Last run": ["Dernière exécution"], @@ -2144,6 +2149,7 @@ "Minimum value on the gauge axis": [""], "Minor Split Line": [""], "Minute": ["Minute"], + "Minutes %s": ["Minutes %s"], "Missing dataset": ["Jeu de données manquant"], "Mixed Time-Series": [""], "Modified": ["Modifié"], @@ -2152,6 +2158,7 @@ "Modified columns: %s": ["Colonnes modifiées : %s"], "Monday": ["Lundi"], "Month": ["Mois"], + "Months %s": ["Mois %s"], "Move only": [""], "Moves the given set of dates by a specified interval.": [ "Décale l'ensemble de dates d'un intervalle spécifié." @@ -2267,6 +2274,7 @@ "Nothing triggered": ["Rien déclenché"], "Notification method": ["Méthode de notification"], "November": ["Novembre"], + "Now": ["Maintenant"], "Null or Empty": ["Null ou Vide"], "Null values": ["Valeurs NULL"], "Number bounds used for color encoding from red to blue.\n Reverse the numbers for blue to red. To get pure red or blue,\n you can enter either only min or max.": [ @@ -2592,6 +2600,7 @@ "Python datetime string pattern": ["Python datetime string pattern"], "QUERY DATA IN SQL LAB": [""], "Quarter": ["Trimestre"], + "Quarters %s": ["Trimestres %s"], "Query": ["Requête"], "Query %s: %s": [""], "Query History": ["Historiques des requêtes"], @@ -2654,8 +2663,12 @@ "Refresh frequency": ["Fréquence de rafraichissement"], "Refresh interval": ["Intervalle d'actualisation"], "Refresh the default values": ["Rafraichir les valeurs par défaut"], + "Refreshing charts": [ + "Une erreur s'est produite durant la récupération des tableaux de bord : %s" + ], "Regular": [""], "Relationships between community channels": [""], + "Relative Date/Time": ["Date/Heure Relative"], "Relative period": ["Période relative"], "Relative quantity": ["Quantité relative"], "Remind me in 24 hours": ["Me le rappeler dans 24 heures"], @@ -2732,6 +2745,7 @@ "Resource already has an attached report.": [""], "Restore Filter": ["Restaurer le Filtre"], "Results": ["Résultats"], + "Results %s": ["Résultats"], "Results backend is not configured.": [ "Le backend des résultats n'est pas configuré." ], @@ -2886,6 +2900,7 @@ "Secondary y-axis Bounds": [""], "Secondary y-axis format": [""], "Secondary y-axis title": [""], + "Seconds %s": ["Secondes %s"], "Secure Extra": ["Sécurité"], "Secure extra": ["Sécurité"], "Security": ["Sécurité"], @@ -3084,6 +3099,7 @@ "Sort ascending": ["Tri croissant"], "Sort bars by x labels.": [""], "Sort by": ["Trier par"], + "Sort by %s": ["Trier par %s"], "Sort columns alphabetically": ["Trier les colonnes alphabétiquement"], "Sort descending": ["Tri décroissant"], "Sort filter values": ["Trier les valeurs de filtre"], @@ -3094,6 +3110,7 @@ "Source SQL": ["SQL source"], "Sparkline": [""], "Spatial": ["Spatial"], + "Specific Date/Time": ["Date/Heure Spécifique"], "Specify a schema (if database flavor supports this).": [ "Spécifier un schéma (si la base de données soutient cette fonctionnalités)." ], @@ -3918,6 +3935,7 @@ "Unexpected error occurred, please check your logs for details": [ "Erreur inattendue, consultez les logs pour plus de détails" ], + "Unexpected time range: %s": ["Intervalle de temps inattendu: %s"], "Unknown": ["Erreur inconnue"], "Unknown MySQL server host \"%(hostname)s\".": [ "Hôte MySQL \"%(hostname)s\" inconnu." @@ -4136,6 +4154,7 @@ "Week_ending Sunday": ["Semaine terminant le dimanche"], "Weekly Report for %s": [""], "Weekly seasonality": [""], + "Weeks %s": ["Semaines %s"], "What should be shown on the label?": [""], "When `Calculation type` is set to \"Percentage change\", the Y Axis Format is forced to `.1%`": [ "Lorsque `Type de calcul` vaut \"Pourcentage de changement\", le format de l'axe Y est à forcé à `.1%`" @@ -4285,6 +4304,7 @@ "Year": ["Année"], "Year (freq=AS)": [""], "Yearly seasonality": [""], + "Years %s": ["Année %s"], "Yes": ["Oui"], "Yes, cancel": ["Oui, annuler"], "Yes, overwrite changes": [""], diff --git a/superset/translations/fr/LC_MESSAGES/messages.po b/superset/translations/fr/LC_MESSAGES/messages.po index 9335a5fe07350..f5414bfc8092c 100644 --- a/superset/translations/fr/LC_MESSAGES/messages.po +++ b/superset/translations/fr/LC_MESSAGES/messages.po @@ -2797,7 +2797,6 @@ msgstr "Faites attention." #: superset-frontend/src/components/AlteredSliceTag/index.jsx:178 #: superset-frontend/src/explore/components/controls/DateFilterControl/utils/constants.ts:75 -#, fuzzy msgid "Before" msgstr "Avant" @@ -5597,7 +5596,7 @@ msgid "Day (freq=D)" msgstr "" #: superset-frontend/src/explore/components/controls/DateFilterControl/utils/constants.ts:65 -#, fuzzy, python-format +#, python-format msgid "Days %s" msgstr "Jours %s" @@ -6334,7 +6333,7 @@ msgid "Drill by is not yet supported for this chart type" msgstr "" #: superset-frontend/src/components/Chart/DrillBy/DrillByModal.tsx:420 -#, fuzzy, python-format +#, python-format msgid "Drill by: %s" msgstr "Trier par %s" @@ -8250,7 +8249,7 @@ msgid "Hour" msgstr "Heure" #: superset-frontend/src/explore/components/controls/DateFilterControl/utils/constants.ts:64 -#, fuzzy, python-format +#, python-format msgid "Hours %s" msgstr "Heures %s" @@ -9054,7 +9053,7 @@ msgid "Last Updated %s" msgstr "Dernière mise à jour %s" #: superset-frontend/src/dashboard/components/OverwriteConfirm/OverwriteConfirmModal.tsx:182 -#, fuzzy, python-format +#, python-format msgid "Last Updated %s by %s" msgstr "Dernière mise à jour %s" @@ -10038,7 +10037,7 @@ msgid "Minute" msgstr "Minute" #: superset-frontend/src/explore/components/controls/DateFilterControl/utils/constants.ts:63 -#, fuzzy, python-format +#, python-format msgid "Minutes %s" msgstr "Minutes %s" @@ -10104,7 +10103,7 @@ msgid "Month" msgstr "Mois" #: superset-frontend/src/explore/components/controls/DateFilterControl/utils/constants.ts:67 -#, fuzzy, python-format +#, python-format msgid "Months %s" msgstr "Mois %s" @@ -10790,7 +10789,6 @@ msgid "November" msgstr "Novembre" #: superset-frontend/src/explore/components/controls/DateFilterControl/utils/constants.ts:89 -#, fuzzy msgid "Now" msgstr "Maintenant" @@ -12206,7 +12204,7 @@ msgid "Quarter" msgstr "Trimestre" #: superset-frontend/src/explore/components/controls/DateFilterControl/utils/constants.ts:68 -#, fuzzy, python-format +#, python-format msgid "Quarters %s" msgstr "Trimestres %s" @@ -12584,7 +12582,6 @@ msgid "Refresh the default values" msgstr "Rafraichir les valeurs par défaut" #: superset-frontend/src/dashboard/components/Header/HeaderActionsDropdown/index.jsx:163 -#, fuzzy msgid "Refreshing charts" msgstr "Une erreur s'est produite durant la récupération des tableaux de bord : %s" @@ -12634,7 +12631,6 @@ msgid "Relationships between community channels" msgstr "" #: superset-frontend/src/explore/components/controls/DateFilterControl/utils/constants.ts:88 -#, fuzzy msgid "Relative Date/Time" msgstr "Date/Heure Relative" @@ -12929,7 +12925,7 @@ msgstr "Résultats" #: superset-frontend/src/components/Chart/DrillBy/useResultsTableView.tsx:58 #: superset-frontend/src/explore/components/DataTablesPane/DataTablesPane.tsx:212 #: superset-frontend/src/explore/components/DataTablesPane/components/ResultsPaneOnDashboard.tsx:84 -#, fuzzy, python-format +#, python-format msgid "Results %s" msgstr "Résultats" @@ -13800,9 +13796,9 @@ msgid "Secondary y-axis title" msgstr "" #: superset-frontend/src/explore/components/controls/DateFilterControl/utils/constants.ts:62 -#, fuzzy, python-format +#, python-format msgid "Seconds %s" -msgstr "%s secondes" +msgstr "Secondes %s" #: superset/views/database/mixins.py:194 msgid "Secure Extra" @@ -14829,7 +14825,7 @@ msgid "Sort by" msgstr "Trier par" #: superset-frontend/src/dashboard/components/SliceAdder.jsx:362 -#, fuzzy, python-format +#, python-format msgid "Sort by %s" msgstr "Trier par %s" @@ -14917,7 +14913,6 @@ msgid "Spatial" msgstr "Spatial" #: superset-frontend/src/explore/components/controls/DateFilterControl/utils/constants.ts:87 -#, fuzzy msgid "Specific Date/Time" msgstr "Date/Heure Spécifique" @@ -17929,9 +17924,9 @@ msgid "Unexpected error: " msgstr "Erreur inattendue" #: superset/views/api.py:108 -#, fuzzy, python-format +#, python-format msgid "Unexpected time range: %s" -msgstr "Erreur inattendue" +msgstr "Intervalle de temps inattendu: %s" #: superset-frontend/src/features/home/ActivityTable.tsx:86 msgid "Unknown" @@ -18699,7 +18694,7 @@ msgid "Weekly seasonality" msgstr "" #: superset-frontend/src/explore/components/controls/DateFilterControl/utils/constants.ts:66 -#, fuzzy, python-format +#, python-format msgid "Weeks %s" msgstr "Semaines %s" @@ -19348,7 +19343,7 @@ msgid "Yearly seasonality" msgstr "" #: superset-frontend/src/explore/components/controls/DateFilterControl/utils/constants.ts:69 -#, fuzzy, python-format +#, python-format msgid "Years %s" msgstr "Année %s" From b81a72fc359166f0e8e6a4c39c991ed0a90eb192 Mon Sep 17 00:00:00 2001 From: "aurelie.ehanno" Date: Fri, 17 Nov 2023 13:42:07 -0500 Subject: [PATCH 5/8] Correction test Fix translation --- superset/translations/fr/LC_MESSAGES/messages.json | 1 + superset/translations/fr/LC_MESSAGES/messages.po | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/translations/fr/LC_MESSAGES/messages.json b/superset/translations/fr/LC_MESSAGES/messages.json index ed4ad36978cdb..4f183326b4b92 100644 --- a/superset/translations/fr/LC_MESSAGES/messages.json +++ b/superset/translations/fr/LC_MESSAGES/messages.json @@ -2244,6 +2244,7 @@ "No filter": ["Pas de filtre"], "No filter is selected.": ["Pas de filtre sélectionné."], "No form settings were maintained": [""], + "No matching records found": ["Aucun enregistrement trouvé"], "No records found": ["Aucun enregistrement trouvé"], "No results found": ["Aucun résultat trouvé"], "No results match your filter criteria": [""], diff --git a/superset/translations/fr/LC_MESSAGES/messages.po b/superset/translations/fr/LC_MESSAGES/messages.po index f5414bfc8092c..01f1c1f31dbc3 100644 --- a/superset/translations/fr/LC_MESSAGES/messages.po +++ b/superset/translations/fr/LC_MESSAGES/messages.po @@ -10568,7 +10568,6 @@ msgid "No global filters are currently added" msgstr "Aucun filtre ajouté" #: superset-frontend/plugins/plugin-chart-table/src/TableChart.tsx:204 -#, fuzzy msgid "No matching records found" msgstr "Aucun enregistrement trouvé" From a33b9f2a45375a752b4a486b75146c53dbf98164 Mon Sep 17 00:00:00 2001 From: "aurelie.ehanno" Date: Fri, 17 Nov 2023 16:06:05 -0500 Subject: [PATCH 6/8] Correction test Fix translation --- .../translations/fr/LC_MESSAGES/messages.json | 39 ++++++++++------ .../translations/fr/LC_MESSAGES/messages.po | 46 ++++++++----------- 2 files changed, 46 insertions(+), 39 deletions(-) diff --git a/superset/translations/fr/LC_MESSAGES/messages.json b/superset/translations/fr/LC_MESSAGES/messages.json index 4f183326b4b92..d1e87b49bd42b 100644 --- a/superset/translations/fr/LC_MESSAGES/messages.json +++ b/superset/translations/fr/LC_MESSAGES/messages.json @@ -226,6 +226,7 @@ "Add calculated temporal columns to dataset in \"Edit datasource\" modal": [ "" ], + "Add cross-filter": ["Ajouter un filtre"], "Add custom scoping": [""], "Add delivery method": ["Ajouter méthode de livraison"], "Add filter": ["Ajouter un filtre"], @@ -556,6 +557,8 @@ "" ], "Append": ["Ajouter"], + "Applied filters (%d)": ["Filtres appliqués (%d)"], + "Applied filters: %s": ["Filtres appliqué: %s"], "Applied rolling window did not return any data. Please make sure the source query satisfies the minimum periods defined in the rolling window.": [ "La fenêtre glissante appliquée n'a pas retourné de données. Assurez-vous que la requête source satisfasse les périodes minimum définies dans la fenêtre glissante." ], @@ -1089,7 +1092,7 @@ ], "Creator": ["Créateur"], "Cross-filter will be applied to all of the charts that use this dataset.": [ - "" + "Le filtre va être appliqué à tous les graphiques qui utilise cet ensemble de données" ], "Currently rendered: %s": [""], "Custom": ["Personnalisée"], @@ -1418,6 +1421,7 @@ "Divider": ["Diviseur"], "Do you want a donut or a pie?": [""], "Documentation": ["Documentation"], + "Download": ["Télécharger"], "Download as image": ["Télécharger comme image"], "Download to CSV": ["Télécharger en CSV"], "Draft": ["Brouillon"], @@ -1639,7 +1643,10 @@ "Export": ["Exporter"], "Export dashboards?": ["Exporter les tableaux de bords ?"], "Export query": ["Exporter la requête"], - "Export to YAML": ["Exporter en YAML"], + "Export to .CSV": ["Exporter au format CSV"], + "Export to .JSON": ["Exporter au format YAML"], + "Export to Excel": ["Exporter vers Excel"], + "Export to YAML": ["Exporter au format YAML"], "Export to YAML?": ["Exporter en YAML?"], "Export to original .CSV": [""], "Export to pivoted .CSV": [""], @@ -2664,9 +2671,7 @@ "Refresh frequency": ["Fréquence de rafraichissement"], "Refresh interval": ["Intervalle d'actualisation"], "Refresh the default values": ["Rafraichir les valeurs par défaut"], - "Refreshing charts": [ - "Une erreur s'est produite durant la récupération des tableaux de bord : %s" - ], + "Refreshing charts": ["Rafraîchissement en cours"], "Regular": [""], "Relationships between community channels": [""], "Relative Date/Time": ["Date/Heure Relative"], @@ -2912,7 +2917,7 @@ "Select": ["Sélectionner"], "Select ...": ["Sélectionner..."], "Select Delivery Method": ["Choisir la méthode de livraison"], - "Select Viz Type": ["Selectionner un type de visualisation"], + "Select Viz Type": ["Sélectionner un type de visualisation"], "Select a Columnar file to be uploaded to a database.": [ "Sélectionner un fichier en colonne à téléverser dans une base de données." ], @@ -2922,7 +2927,7 @@ "Select a column": ["Sélectionner une colonne"], "Select a dashboard": ["Sélectionner un tableau de bord"], "Select a database to upload the file to": [""], - "Select a visualization type": ["Selectionner un type de visualisation"], + "Select a visualization type": ["Sélectionner un type de visualisation"], "Select aggregate options": ["Sélectionner les options d’agrégat"], "Select any columns for metadata inspection": [""], "Select color scheme": ["Sélectionner un schéma de couleurs"], @@ -2930,17 +2935,17 @@ "Select databases require additional fields to be completed in the Advanced tab to successfully connect the database. Learn what requirements your databases has ": [ "" ], - "Select filter": ["Selectionner un filtre"], + "Select filter": ["Sélectionner un filtre"], "Select filter plugin using AntD": [""], "Select first filter value by default": [ - "Selectionne la première valeur du filtre par défaut" + "Sélectionne la première valeur du filtre par défaut" ], "Select operator": ["Sélectionner l'opérateur"], "Select or type a value": ["Sélectionner ou renseigner une valeur"], "Select owners": ["Sélectionner les propriétaires"], "Select saved metrics": ["Sélectionner les métriques sauvegardées"], "Select start and end date": [ - "Selectionner la date de début et la date de fin" + "Sélectionner la date de début et la date de fin" ], "Select subject": ["Sélectionner un objet"], "Select the charts to which you want to apply cross-filters in this dashboard. Deselecting a chart will exclude it from being filtered when applying cross-filters from any chart on the dashboard. You can select \"All charts\" to apply cross-filters to all charts that use the same dataset or contain the same column name in the dashboard.": [ @@ -3654,7 +3659,7 @@ "Cela peut être soit une adresse IP (ex 127.0.0.1) ou un nom de domaine (ex mydatabase.com)." ], "This chart applies cross-filters to charts whose datasets contain columns with the same name.": [ - "" + "Ce graphique filtre automatiquement les graphiques ayant des colonnes de même nom dans leurs ensembles de données." ], "This chart has been moved to a different filter scope.": [ "Ce graphique a été déplacé vers un autre champ d'application du filtre." @@ -3760,6 +3765,9 @@ "This value should be smaller than the right target value": [ "Cette valeur devrait être plus petite que la valeur cible de droite" ], + "This visualization type does not support cross-filtering.": [ + "Ce type de visualisation ne supporte pas le cross-filtering." + ], "This visualization type is not supported.": [ "Ce type de visualisation n'est pas supporté." ], @@ -4327,7 +4335,9 @@ "You can add the components in the": [ "Vous pouvez ajouter les composants via le" ], - "You can also just click on the chart to apply cross-filter.": [""], + "You can also just click on the chart to apply cross-filter.": [ + "Vous pouvez juste cliquer sur le graphique pour appliquer le filtre" + ], "You can choose to display all charts that you have access to or only the ones you own.\n Your filter selection will be saved and remain active until you choose to change it.": [ "" ], @@ -4337,7 +4347,9 @@ "You can preview the list of dashboards in the chart settings dropdown.": [ "" ], - "You can't apply cross-filter on this data point.": [""], + "You can't apply cross-filter on this data point.": [ + "Vous ne pouvez pas ajouter de filtre sur ce point de donnée" + ], "You cannot delete the last temporal filter as it's used for time range filters in dashboards.": [ "" ], @@ -4463,6 +4475,7 @@ "aggregate": ["agrégat"], "alert": ["alerte"], "alerts": ["alertes"], + "all": ["Tous"], "also copy (duplicate) charts": [ "copier également les graphiques (dupliquer)" ], diff --git a/superset/translations/fr/LC_MESSAGES/messages.po b/superset/translations/fr/LC_MESSAGES/messages.po index 01f1c1f31dbc3..30e080405daf8 100644 --- a/superset/translations/fr/LC_MESSAGES/messages.po +++ b/superset/translations/fr/LC_MESSAGES/messages.po @@ -1204,7 +1204,6 @@ msgid "Add calculated temporal columns to dataset in \"Edit datasource\" modal" msgstr "" #: superset-frontend/src/components/Chart/ChartContextMenu/ChartContextMenu.tsx:197 -#, fuzzy msgid "Add cross-filter" msgstr "Ajouter un filtre" @@ -2400,14 +2399,14 @@ msgid "Applied cross-filters (%d)" msgstr "Filtres croisés appliqués (%d)" #: superset-frontend/src/dashboard/components/FiltersBadge/DetailsPanel/index.tsx:149 -#, fuzzy, python-format +#, python-format msgid "Applied filters (%d)" msgstr "Filtres appliqués (%d)" #: superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterControls/FilterControls.tsx:260 -#, fuzzy, python-format +#, python-format msgid "Applied filters: %s" -msgstr "Filtres appliqués (%d)" +msgstr "Filtres appliqué: %s" #: superset/viz.py:250 msgid "" @@ -4920,7 +4919,7 @@ msgstr "Action" #: superset-frontend/src/components/Chart/ChartContextMenu/ChartContextMenu.tsx:152 msgid "Cross-filter will be applied to all of the charts that use this dataset." -msgstr "" +msgstr "Le filtre va être appliqué à tous les graphiques qui utilise cet ensemble de données" #: superset-frontend/src/components/Chart/ChartContextMenu/ChartContextMenu.tsx:164 #, fuzzy @@ -6256,9 +6255,8 @@ msgstr "Édité" #: superset-frontend/src/dashboard/components/SliceHeaderControls/index.tsx:482 #: superset-frontend/src/explore/components/useExploreAdditionalActionsMenu/index.jsx:292 -#, fuzzy msgid "Download" -msgstr "télécharger en CSV" +msgstr "Télécharger" #: superset-frontend/src/dashboard/components/Header/HeaderActionsDropdown/index.jsx:317 #: superset-frontend/src/dashboard/components/SliceHeaderControls/index.tsx:512 @@ -7310,24 +7308,21 @@ msgstr "Exporter la requête" #: superset-frontend/src/dashboard/components/SliceHeaderControls/index.tsx:487 #: superset-frontend/src/explore/components/useExploreAdditionalActionsMenu/index.jsx:316 -#, fuzzy msgid "Export to .CSV" -msgstr "Exporter en YAML" +msgstr "Exporter au format CSV" #: superset-frontend/src/explore/components/useExploreAdditionalActionsMenu/index.jsx:323 -#, fuzzy msgid "Export to .JSON" -msgstr "Exporter en YAML" +msgstr "Exporter au format YAML" #: superset-frontend/src/dashboard/components/SliceHeaderControls/index.tsx:506 #: superset-frontend/src/explore/components/useExploreAdditionalActionsMenu/index.jsx:335 -#, fuzzy msgid "Export to Excel" -msgstr "Exporter en YAML" +msgstr "Exporter vers Excel" #: superset/views/base.py:607 msgid "Export to YAML" -msgstr "Exporter en YAML" +msgstr "Exporter au format YAML" #: superset/views/base.py:607 msgid "Export to YAML?" @@ -12582,7 +12577,7 @@ msgstr "Rafraichir les valeurs par défaut" #: superset-frontend/src/dashboard/components/Header/HeaderActionsDropdown/index.jsx:163 msgid "Refreshing charts" -msgstr "Une erreur s'est produite durant la récupération des tableaux de bord : %s" +msgstr "Rafraîchissement en cours" #: superset-frontend/src/features/datasets/AddDataset/DatasetPanel/DatasetPanel.tsx:175 #, fuzzy @@ -13862,7 +13857,7 @@ msgstr "Choisir la méthode de livraison" #: superset-frontend/src/explore/components/controls/VizTypeControl/FastVizSwitcher.tsx:94 msgid "Select Viz Type" -msgstr "Selectionner un type de visualisation" +msgstr "Sélectionner un type de visualisation" #: superset/views/database/forms.py:425 msgid "Select a Columnar file to be uploaded to a database." @@ -13923,7 +13918,7 @@ msgstr "" #: superset-frontend/src/explore/components/controls/VizTypeControl/index.tsx:130 msgid "Select a visualization type" -msgstr "Selectionner un type de visualisation" +msgstr "Sélectionner un type de visualisation" #: superset-frontend/src/explore/components/controls/MetricControl/AdhocMetricEditPopover/index.jsx:331 msgid "Select aggregate options" @@ -14004,7 +13999,7 @@ msgstr "Selectionner un filtre" #: superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/FiltersConfigForm.tsx:318 #: superset-frontend/src/filters/components/Select/index.ts:28 msgid "Select filter" -msgstr "Selectionner un filtre" +msgstr "Sélectionner un filtre" #: superset-frontend/src/filters/components/Select/index.ts:29 msgid "Select filter plugin using AntD" @@ -14012,7 +14007,7 @@ msgstr "" #: superset-frontend/src/filters/components/Select/controlPanel.ts:104 msgid "Select first filter value by default" -msgstr "Selectionne la première valeur du filtre par défaut" +msgstr "Sélectionne la première valeur du filtre par défaut" #: superset-frontend/src/explore/components/controls/FilterControl/AdhocFilterEditPopoverSimpleTabContent/index.tsx:362 msgid "Select operator" @@ -14049,7 +14044,7 @@ msgstr "Sélectionner un schéma de couleurs" #: superset-frontend/src/visualizations/FilterBox/FilterBox.jsx:307 msgid "Select start and end date" -msgstr "Selectionner la date de début et la date de fin" +msgstr "Sélectionner la date de début et la date de fin" #: superset-frontend/src/explore/components/controls/FilterControl/AdhocFilterEditPopoverSimpleTabContent/index.tsx:334 msgid "Select subject" @@ -16810,7 +16805,8 @@ msgstr "" msgid "" "This chart applies cross-filters to charts whose datasets contain columns" " with the same name." -msgstr "" +msgstr "Ce graphique filtre automatiquement les graphiques ayant des colonnes de même nom dans leurs" +" ensembles de données." #: superset-frontend/src/dashboard/actions/dashboardLayout.js:260 msgid "This chart has been moved to a different filter scope." @@ -17069,9 +17065,8 @@ msgid "This value should be smaller than the right target value" msgstr "Cette valeur devrait être plus petite que la valeur cible de droite" #: superset-frontend/src/components/Chart/ChartContextMenu/ChartContextMenu.tsx:171 -#, fuzzy msgid "This visualization type does not support cross-filtering." -msgstr "Ce type de visualisation n'est pas supporté." +msgstr "Ce type de visualisation ne supporte pas le cross-filtering." #: superset-frontend/src/explore/components/controls/VizTypeControl/index.tsx:64 msgid "This visualization type is not supported." @@ -19444,7 +19439,7 @@ msgstr "Vous pouvez ajouter les composants via mode edition" #: superset-frontend/src/components/Chart/ChartContextMenu/ChartContextMenu.tsx:157 msgid "You can also just click on the chart to apply cross-filter." -msgstr "" +msgstr "Vous pouvez juste cliquer sur le graphique pour appliquer le filtre" #: superset-frontend/src/dashboard/components/SliceAdder.jsx:386 msgid "" @@ -19469,7 +19464,7 @@ msgstr "" #: superset-frontend/src/components/Chart/ChartContextMenu/ChartContextMenu.tsx:178 msgid "You can't apply cross-filter on this data point." -msgstr "" +msgstr "Vous ne pouvez pas ajouter de filtre sur ce point de donnée" #: superset-frontend/src/explore/components/ControlPanelsContainer.tsx:501 msgid "" @@ -19819,7 +19814,6 @@ msgstr "alertes" #: superset-frontend/packages/superset-ui-chart-controls/src/shared-controls/sharedControls.tsx:160 #: superset-frontend/src/components/Chart/DrillDetail/DrillDetailMenuItems.tsx:205 #: superset-frontend/src/explore/controls.jsx:254 -#, fuzzy msgid "all" msgstr "Tous" From ec6fb6c0ae94e838755af1ccb73729bf30025abd Mon Sep 17 00:00:00 2001 From: "aurelie.ehanno" Date: Fri, 17 Nov 2023 17:57:14 -0500 Subject: [PATCH 7/8] Correction translation --- superset/translations/fr/LC_MESSAGES/messages.json | 2 +- superset/translations/fr/LC_MESSAGES/messages.po | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/superset/translations/fr/LC_MESSAGES/messages.json b/superset/translations/fr/LC_MESSAGES/messages.json index d1e87b49bd42b..8f9f6f4e3e80d 100644 --- a/superset/translations/fr/LC_MESSAGES/messages.json +++ b/superset/translations/fr/LC_MESSAGES/messages.json @@ -2959,7 +2959,7 @@ "Select values in highlighted field(s) in the control panel. Then run the query by clicking on the %s button.": [ "" ], - "Send as CSV": ["Envoyer comme CSV"], + "Send as CSV": ["Envoyer au format CSV"], "Send as PNG": ["Envoyer comme PNG"], "Send as text": ["Envoyer comme texte"], "Send range filter events to other charts": [""], diff --git a/superset/translations/fr/LC_MESSAGES/messages.po b/superset/translations/fr/LC_MESSAGES/messages.po index 30e080405daf8..476f4975c5ae7 100644 --- a/superset/translations/fr/LC_MESSAGES/messages.po +++ b/superset/translations/fr/LC_MESSAGES/messages.po @@ -14101,7 +14101,7 @@ msgstr "" #: superset-frontend/src/features/alerts/AlertReportModal.tsx:408 msgid "Send as CSV" -msgstr "Envoyer comme CSV" +msgstr "Envoyer au format CSV" #: superset-frontend/src/features/alerts/AlertReportModal.tsx:407 msgid "Send as PNG" From ed2affdf2233159f76ec7054974a99ae32f32bbf Mon Sep 17 00:00:00 2001 From: "aurelie.ehanno" Date: Mon, 20 Nov 2023 14:18:52 -0500 Subject: [PATCH 8/8] Correction translation Correction translation --- superset/translations/fr/LC_MESSAGES/messages.json | 2 +- superset/translations/fr/LC_MESSAGES/messages.po | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/superset/translations/fr/LC_MESSAGES/messages.json b/superset/translations/fr/LC_MESSAGES/messages.json index 8f9f6f4e3e80d..4af7aad83de89 100644 --- a/superset/translations/fr/LC_MESSAGES/messages.json +++ b/superset/translations/fr/LC_MESSAGES/messages.json @@ -1644,7 +1644,7 @@ "Export dashboards?": ["Exporter les tableaux de bords ?"], "Export query": ["Exporter la requête"], "Export to .CSV": ["Exporter au format CSV"], - "Export to .JSON": ["Exporter au format YAML"], + "Export to .JSON": ["Exporter au format JSON"], "Export to Excel": ["Exporter vers Excel"], "Export to YAML": ["Exporter au format YAML"], "Export to YAML?": ["Exporter en YAML?"], diff --git a/superset/translations/fr/LC_MESSAGES/messages.po b/superset/translations/fr/LC_MESSAGES/messages.po index 476f4975c5ae7..4897d75620b68 100644 --- a/superset/translations/fr/LC_MESSAGES/messages.po +++ b/superset/translations/fr/LC_MESSAGES/messages.po @@ -7313,7 +7313,7 @@ msgstr "Exporter au format CSV" #: superset-frontend/src/explore/components/useExploreAdditionalActionsMenu/index.jsx:323 msgid "Export to .JSON" -msgstr "Exporter au format YAML" +msgstr "Exporter au format JSON" #: superset-frontend/src/dashboard/components/SliceHeaderControls/index.tsx:506 #: superset-frontend/src/explore/components/useExploreAdditionalActionsMenu/index.jsx:335