diff --git a/htdocs/admin/translation.php b/htdocs/admin/translation.php index 33ea4691b88..5d355ea5ab0 100644 --- a/htdocs/admin/translation.php +++ b/htdocs/admin/translation.php @@ -650,8 +650,8 @@ if ($mode == 'searchkey') { } print ''; print dolPrintHTML($val); - if (substr_count($langsenfileonly->tab_translate[$key], '%s') > 4) { - print '
Error, more than 4 %s in the source
'; + if (substr_count($langsenfileonly->tab_translate[$key], '%s') > 5) { + print '
Error, more than 5 %s in the source
'; } print '
'; print '';