@@ -73,6 +73,10 @@ public abstract class GenericFormsProvider implements IProvider
73
73
{
74
74
// MESSAGE
75
75
private static final String MESSAGE_DESCRIPTION = "forms.marker.provider.url.detail.reponse.description" ;
76
+ private static final String MESSAGE_CREATION_DATE = "forms.marker.provider.url.detail.reponse.creation_date" ;
77
+ private static final String MESSAGE_UPDATE_DATE = "forms.marker.provider.url.detail.reponse.update_date" ;
78
+ private static final String MESSAGE_STATUS = "forms.marker.provider.url.detail.reponse.status" ;
79
+ private static final String MESSAGE_STATUS_UPDATE_DATE = "forms.marker.provider.url.detail.reponse.status_update_date" ;
76
80
77
81
// PROPERTY
78
82
private static final String PROPERTY_LUTECE_ADMIN_PROD_URL = "lutece.admin.prod.url" ;
@@ -204,13 +208,13 @@ public static Collection<InfoMarker> getProviderMarkerDescriptions( Form form )
204
208
collectionNotifyMarkers .add ( notifyMarkerURl );
205
209
206
210
InfoMarker creationDateMarker = new InfoMarker ( MARK_CREATION_DATE );
207
- creationDateMarker .setDescription ( "Date de creation" );
211
+ creationDateMarker .setDescription ( I18nService . getLocalizedString ( MESSAGE_CREATION_DATE , I18nService . getDefaultLocale ( ) ) );
208
212
InfoMarker updateDateMarker = new InfoMarker ( MARK_UPDATE_DATE );
209
- updateDateMarker .setDescription ( "Date de mise à jour" );
213
+ updateDateMarker .setDescription ( I18nService . getLocalizedString ( MESSAGE_UPDATE_DATE , I18nService . getDefaultLocale ( ) ) );
210
214
InfoMarker statusMarker = new InfoMarker ( MARK_STATUS );
211
- statusMarker .setDescription ( "Status" );
215
+ statusMarker .setDescription ( I18nService . getLocalizedString ( MESSAGE_STATUS , I18nService . getDefaultLocale ( ) ) );
212
216
InfoMarker updateStatusDateMarker = new InfoMarker ( MARK_STATUS_UPDATE_DATE );
213
- updateStatusDateMarker .setDescription ( "Date de mise à jour du status" );
217
+ updateStatusDateMarker .setDescription ( I18nService . getLocalizedString ( MESSAGE_STATUS_UPDATE_DATE , I18nService . getDefaultLocale ( ) ) );
214
218
215
219
collectionNotifyMarkers .add ( creationDateMarker );
216
220
collectionNotifyMarkers .add ( updateDateMarker );
0 commit comments