Skip to content

Commit fb2a5d3

Browse files
committed
refactor: rename usefull links translation
1 parent e1f9191 commit fb2a5d3

File tree

5 files changed

+12
-14
lines changed

5 files changed

+12
-14
lines changed

api/src/rpc/translations/en_default.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@
253253
},
254254
"previewTab": {
255255
"about": "About",
256-
"use full links": "Use full links",
256+
"useful links": "Use full links",
257257
"prerogatives": "Prerogatives",
258258
"last version": "Last version : ",
259259
"register": "In catalog since : ",

api/src/rpc/translations/fr_default.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@
256256
},
257257
"previewTab": {
258258
"about": "À propos",
259-
"use full links": "Liens utiles",
259+
"useful links": "Liens utiles",
260260
"prerogatives": "Prérogatives",
261261
"last version": "Dernière version : ",
262262
"register": "Date de l'ajout : ",

api/src/rpc/translations/schema.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@
5252
"referent_other",
5353
"provider_one",
5454
"providers_other",
55-
"appAccronym"
55+
"appAccronym",
56+
"officialWebsite"
5657
]
5758
},
5859
"app": {
@@ -533,8 +534,6 @@
533534
"required": [
534535
"external id",
535536
"external id hint_fill",
536-
"comptoir du libre id",
537-
"comptoir du libre id hint",
538537
"software name",
539538
"software feature",
540539
"software feature hint",
@@ -549,8 +548,7 @@
549548
"must be an url",
550549
"keywords",
551550
"keywords hint",
552-
"logo preview alt",
553-
"invalid comptoir du libre id"
551+
"logo preview alt"
554552
]
555553
},
556554
"softwareFormStep3": {
@@ -1060,7 +1058,7 @@
10601058
"about": {
10611059
"type": "string"
10621060
},
1063-
"use full links": {
1061+
"useful links": {
10641062
"type": "string"
10651063
},
10661064
"prerogatives": {
@@ -1133,7 +1131,7 @@
11331131
"additionalProperties": false,
11341132
"required": [
11351133
"about",
1136-
"use full links",
1134+
"useful links",
11371135
"prerogatives",
11381136
"last version",
11391137
"register",

web/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<link rel="shortcut icon" href="/dsfr/favicon/favicon.ico" type="image/x-icon" />
1616
<link rel="manifest" href="/dsfr/favicon/manifest.webmanifest" crossorigin="use-credentials" />
1717

18-
<link rel="stylesheet" href="/dsfr/utility/icons/icons.min.css?hash=a1396dfb" />
18+
<link rel="stylesheet" href="/dsfr/utility/icons/icons.min.css?hash=e24be4e9" />
1919
<link rel="stylesheet" href="/dsfr/dsfr.min.css" />
2020

2121
%VITE_HEAD%

web/src/ui/pages/softwareDetails/PreviewTab.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export const PreviewTab = (props: Props) => {
7070
const { t } = useTranslation();
7171
const { lang } = useLang();
7272

73-
const usefullLinks = identifiers.filter(identifier => {
73+
const usefulLinks = identifiers.filter(identifier => {
7474
const identifierURLString = identifier?.url?.toString();
7575
return (
7676
!officialWebsiteUrl ||
@@ -329,13 +329,13 @@ export const PreviewTab = (props: Props) => {
329329
</div>
330330
)}
331331

332-
{uiConfig?.softwareDetails.links.enabled && usefullLinks.length > 0 && (
332+
{uiConfig?.softwareDetails.links.enabled && usefulLinks.length > 0 && (
333333
<div className={classes.section}>
334334
<p className={cx(fr.cx("fr-text--bold"), classes.item)}>
335-
{t("previewTab.use full links")}
335+
{t("previewTab.useful links")}
336336
</p>
337337

338-
{usefullLinks.map(identifier => {
338+
{usefulLinks.map(identifier => {
339339
const url = identifier.url ?? identifier.subjectOf?.url;
340340

341341
return (

0 commit comments

Comments
 (0)