diff --git a/app/destinations/app_languages.php b/app/destinations/app_languages.php index 748c4efa39..e7f761862a 100644 --- a/app/destinations/app_languages.php +++ b/app/destinations/app_languages.php @@ -197,4 +197,9 @@ $text['message-required']['pt-pt'] = "Por favor forneça: "; $text['message-required']['fr-fr'] = "Merci d'indiquer: "; -?> + $text['message-duplicate']['en-us'] = "Duplicate detected"; + $text['message-duplicate']['es-cl'] = "Duplicar detectado"; + $text['message-duplicate']['pt-pt'] = "Duplicar detectado"; + $text['message-duplicate']['fr-fr'] = "Dupliquer détecté"; + +?> \ No newline at end of file diff --git a/app/destinations/destination_edit.php b/app/destinations/destination_edit.php index fc6f9467a6..feba7bdb53 100644 --- a/app/destinations/destination_edit.php +++ b/app/destinations/destination_edit.php @@ -86,7 +86,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { $prep_statement->execute(); $row = $prep_statement->fetch(PDO::FETCH_ASSOC); if ($row['num_rows'] > 0) { - $msg .= "Duplicate detected.
\n"; + $msg .= $text['message-duplicate']."
\n"; } }