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/admin: clean console errors on routines catalog #1700

Merged
merged 1 commit into from
Sep 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
11 changes: 7 additions & 4 deletions src/app/custom/translations.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@
"r-decompose-by_title" "decompose-by" "decompose-by"
"r-decompose-by_description" "Crosses elements for one or more fields and counts the number of occurrences of each cross." "Croise les éléments pour un champ ou plusieurs champs et compte le nombre d’occurrences de chaque croisement."
"r-distinct-ISO3166-1-alpha2-from_title" "distinct-ISO3166-1-alpha2-from" "distinct-ISO3166-1-alpha2-from"
"r-distinct-ISO3166-1-alpha2-from_description" "Transforms the verbalized countries of the represented field into their ISO 2." "Transforme les pays verbalisés du champ représenté en leurs codes ISO 2.".
"r-distinct-ISO3166-1-alpha2-from_description" "Transforms the verbalized countries of the represented field into their ISO 2." "Transforme les pays verbalisés du champ représenté en leurs codes ISO 2."
"r-distinct-ISO3166-1-alpha3-from_title" "distinct-ISO3166-1-alpha3-from" "distinct-ISO3166-1-alpha3-from"
"r-distinct-ISO3166-1-alpha3-from_description" "Transforms the verbalized countries of the represented field into their ISO 3." "Transforme les pays verbalisés du champ représenté en leurs codes ISO 3."
"r-distinct-alpha-2-alpha3-from_title" "distinct-alpha-2-alpha3-from" "distinct-alpha-2-alpha3-from"
Expand All @@ -818,12 +818,13 @@
"r-distinct-by-field_title" "distinct-by-field" "distinct-by-field"
"r-distinct-by-field_description" "This routine behaves like the distinct-by routine. But additionally, it can interpret the parameters associated with the graphs." "Cette routine se comporte comme la routine distinct-by. Le petit + : elle sait interpréter les paramètres associés aux graphiques."
"r-distribute-by-date_title" "distribute-by-date" "distribute-by-date"
"r-distribute-by-date_description" "Is used to create timelines that retain years without document or zero value. " "Sert à créer des chronologies qui conservent les années sans document/de valeur nulle. "
"r-distribute-by-date_description" "Is used to create timelines that retain years without document or zero value." "Sert à créer des chronologies qui conservent les années sans document/de valeur nulle."
"r-distribute-by-decadal_title" "distribute-by-decadal" "distribute-by-decadal"
"r-distribute-by-decadal_description" "Is used to create timelines by grouping values by decade (useful for years scattered over several centuries)." "Sert à créer des chronologies en regroupant les valeurs par décennie (utile pour des années dispersées sur plusieurs siècles)."
"r-distribute-by-interval_title" "distribute-by-interval" "distribute-by-interval"
"r-distribute-by-interval_description" "Is intended for graphs where you want to group values (integers or decimals) in intervals of step "1"." "Est destinée à des graphiques pour lesquels on souhaite regrouper des valeurs (nombres entiers ou décimaux) dans des intervalles de pas “1”."
"r-distribute-by-interval_description" "Is intended for graphs where you want to group values (integers or decimals) in intervals of step “1“." "Est destinée à des graphiques pour lesquels on souhaite regrouper des valeurs (nombres entiers ou décimaux) dans des intervalles de pas “1”."
"r-get-fields_title" "get-fields" "get-fields"
"r-get-fields_description" "get-fields description" "get-fields description"
"r-graph-by_description" "Combines the value of two separate fields." "Associe la valeur de deux champs distincts."
"r-graph-by_title" "graph-by" "graph-by"
"r-graph-by_description" "Crosses items for one or more fields and counts the number of occurrences of each cross." "Croise les éléments pour un champ ou plusieurs champs et compte le nombre d’occurences de chaque croisement."
Expand All @@ -838,7 +839,9 @@
"r-tree-by_title" "tree-by" "tree-by"
"r-tree-by_description" "Allows you to create tree-like graphs representing hierarchical data and display the number of documents involved." "Permet de créer des graphiques en forme d’arbres représentant des données hiérarchisées et d’afficher le nombre de documents concernés."
"r-total-of_title" "total-of_title" "total-of_title"
"r-total-of_title_description" "total-of_title description" "total-of_title description"
"r-total-of_description" "total-of description" "total-of description"
"r-labeled-ressources_title" "labeled-ressources" "labeled-ressources"
"r-labeled-ressources_description" "labeled-ressources description" "labeled-ressources description"
"add_file_success" "File %{name} successfully added" "Fichier %{name} ajouté avec succès"
"cancelled_import" "Import has been successfully cancelled" "L'import a été annulé avec succès"
"cancelled_publish" "Publish has been successfully cancelled" "La publication a été annulée avec succès"
Expand Down
10 changes: 6 additions & 4 deletions src/app/js/fields/wizard/RoutineCatalog.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,12 @@ const RoutineCatalog = ({
}
>
<ListItemText
primary={polyglot.t(`${routine.id}_title`)}
primaryTypographyProps={{
sx: { fontWeight: 'bold' },
}}
disableTypography
primary={
<Typography sx={{ fontWeight: 'bold' }}>
{polyglot.t(`${routine.id}_title`)}
</Typography>
}
secondary={
<RoutineCatalogDescription
routine={routine}
Expand Down