ids.cgi: Add hardcoded error message to language files.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
Stefan Schantl
2021-04-01 15:13:30 +02:00
parent 4b6cf2a54a
commit 1fa187335b
3 changed files with 3 additions and 2 deletions

View File

@@ -674,9 +674,8 @@ if ($cgiparams{'RULESET'} eq $Lang::tr{'ids apply'}) {
foreach my $id ( keys %used_providers) {
# Check if the choosen provider is already in use.
if ($used_providers{$id}[0] eq "$provider") {
# XXX - add to language file.
# Assign error message.
$errormessage = "The choosen provider is already in use.";
$errormessage = "$Lang::tr{'ids the choosen provider is already in use'}";
}
}
}