diff --git a/html/cgi-bin/qos.cgi b/html/cgi-bin/qos.cgi
index 1a0354ed0..af41b8d2b 100644
--- a/html/cgi-bin/qos.cgi
+++ b/html/cgi-bin/qos.cgi
@@ -351,7 +351,7 @@ END
;
close FILE;
}
-elsif ($qossettings{'DOTOS'} eq 'Loeschen')
+elsif ($qossettings{'DOTOS'} eq $Lang::tr{'delete'})
{
open( FILE, "< $tosfile" ) or die "Unable to read $tosfile";
@tosrules = ;