Skip to content

Commit 601027e

Browse files
authored
update translation for modification composite (#459)
Signed-off-by: REHILI Ghazwa <[email protected]>
1 parent 7ba7213 commit 601027e

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

src/components/utils/renderers/type-cell-renderer.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,7 @@ export const getElementTypeTranslation = (
2828
});
2929
break;
3030
case ElementType.MODIFICATION:
31-
translatedType =
32-
intl.formatMessage({ id: type }) +
33-
' (' +
34-
intl.formatMessage({
35-
id: 'network_modifications.' + subtype,
36-
}) +
37-
')';
31+
translatedType = intl.formatMessage({ id: type });
3832
break;
3933
default:
4034
translatedType = type ? intl.formatMessage({ id: type }) : '';

src/translations/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@
225225
"download.message.studies": "studies",
226226
"download.message.others": "others",
227227
"download.error": "An error occurred while exporting case {caseName}",
228-
"MODIFICATION": "Modification",
228+
"MODIFICATION": "Composite modification",
229229
"descriptionModificationError": "An error when modifying the description",
230230
"descriptionLimitError": "Description exceeds character limit",
231231
"All": "All",

src/translations/fr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@
224224
"download.message.studies": "études",
225225
"download.message.others": "autres",
226226
"download.error": "Une erreur est survenue lors de l'export de la situation {caseName}",
227-
"MODIFICATION": "Modification",
227+
"MODIFICATION": "Modification composite",
228228
"descriptionModificationError": "Erreur lors de la modification de la description",
229229
"descriptionLimitError": "La description dépasse la limite de caractères",
230230
"All": "Tous",

0 commit comments

Comments
 (0)