diff --git a/htdocs/admin/translation.php b/htdocs/admin/translation.php index 045c32ef64a..c70bcac3a09 100644 --- a/htdocs/admin/translation.php +++ b/htdocs/admin/translation.php @@ -591,8 +591,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 '';