// The placeholder for the reply time in content texts (BR-CP-05) export const REPLY_TIME_PLACEHOLDER = '{reactietermijn}'; // Fills in the reply time, so a text and the form's thank-you always name // the same one. Text without the placeholder comes back as it is. export function withReplyTime(text: string, replyTime: string): string { return text.split(REPLY_TIME_PLACEHOLDER).join(replyTime); }