Skip to content
Extraits de code Groupes Projets
Valider 29d54fff rédigé par sgiehl's avatar sgiehl
Parcourir les fichiers

remove minimum requirement of 250 translations for core

parent abf00e3d
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -18,7 +18,6 @@ class CoreTranslations extends ValidateAbstract ...@@ -18,7 +18,6 @@ class CoreTranslations extends ValidateAbstract
/** /**
* Error States * Error States
*/ */
const ERRORSTATE_MINIMUMTRANSLATIONS = 'At least 250 translations required';
const ERRORSTATE_LOCALEREQUIRED = 'Locale required'; const ERRORSTATE_LOCALEREQUIRED = 'Locale required';
const ERRORSTATE_TRANSLATORINFOREQUIRED = 'Translator info required'; const ERRORSTATE_TRANSLATORINFOREQUIRED = 'Translator info required';
const ERRORSTATE_TRANSLATOREMAILREQUIRED = 'Translator email required'; const ERRORSTATE_TRANSLATOREMAILREQUIRED = 'Translator email required';
...@@ -54,11 +53,6 @@ class CoreTranslations extends ValidateAbstract ...@@ -54,11 +53,6 @@ class CoreTranslations extends ValidateAbstract
{ {
$this->message = null; $this->message = null;
if (250 > count($translations, COUNT_RECURSIVE)) {
$this->message = self::ERRORSTATE_MINIMUMTRANSLATIONS;
return false;
}
if (empty($translations['General']['Locale'])) { if (empty($translations['General']['Locale'])) {
$this->message = self::ERRORSTATE_LOCALEREQUIRED; $this->message = self::ERRORSTATE_LOCALEREQUIRED;
return false; return false;
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter