mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 01:28:19 +01:00
Add translation for extrafield
This commit is contained in:
@@ -66,6 +66,20 @@ if ($action == 'add')
|
||||
$mesg[]=$langs->trans("ErrorNoValueForSelectType");
|
||||
$action = 'create';
|
||||
}
|
||||
if (GETPOST('type')=='checkbox' && !GETPOST('param'))
|
||||
{
|
||||
$error++;
|
||||
$langs->load("errors");
|
||||
$mesg[]=$langs->trans("ErrorNoValueForCheckBoxType");
|
||||
$action = 'create';
|
||||
}
|
||||
if (GETPOST('type')=='radio' && !GETPOST('param'))
|
||||
{
|
||||
$error++;
|
||||
$langs->load("errors");
|
||||
$mesg[]=$langs->trans("ErrorNoValueForRadioType");
|
||||
$action = 'create';
|
||||
}
|
||||
|
||||
if (! $error)
|
||||
{
|
||||
|
||||
@@ -59,6 +59,8 @@ ErrorFileSizeTooLarge=File size is too large.
|
||||
ErrorSizeTooLongForIntType=Size too long for int type (%s digits maximum)
|
||||
ErrorSizeTooLongForVarcharType=Size too long for string type (%s chars maximum)
|
||||
ErrorNoValueForSelectType=Please fill value for select list
|
||||
ErrorNoValueForCheckBoxType=Please fill value for checkbox list
|
||||
ErrorNoValueForRadioType=Please fill value for radio list
|
||||
ErrorFieldCanNotContainSpecialCharacters=Field <b>%s</b> must not contains special characters.
|
||||
ErrorNoAccountancyModuleLoaded=No accountancy module activated
|
||||
ErrorExportDuplicateProfil=This profil name already exists for this export set.
|
||||
|
||||
@@ -60,6 +60,8 @@ ErrorFileSizeTooLarge=El tamaño del fichero es demasiado grande.
|
||||
ErrorSizeTooLongForIntType=Longitud del campo demasiado largo para el tipo int (máximo %s cifras)
|
||||
ErrorSizeTooLongForVarcharType=Longitud del campo demasiado largo para el tipo cadena (máximo %s cifras)
|
||||
ErrorNoValueForSelectType=Los valores de la lista deben ser indicados
|
||||
ErrorNoValueForCheckBoxType=Los valores de la lista deben ser indicados
|
||||
ErrorNoValueForRadioType=Los valores de la lista deben ser indicados
|
||||
ErrorFieldCanNotContainSpecialCharacters=El campo <b>%s</b> no debe contener carácteres especiales
|
||||
ErrorNoAccountancyModuleLoaded=Módulo de contabilidad no activado
|
||||
ErrorExportDuplicateProfil=El nombre del perfil ya existe para este lote de exportación
|
||||
|
||||
@@ -59,7 +59,9 @@ ErrorUploadBlockedByAddon=Upload bloqué par un plugin PHP/Apache.
|
||||
ErrorFileSizeTooLarge=La taille du fichier est trop grande.
|
||||
ErrorSizeTooLongForIntType=Longueur de champ trop longue pour le type int (%s chiffres maximum)
|
||||
ErrorSizeTooLongForVarcharType=Longueur de champ trop longue pour le type chaine (%s caractères maximum)
|
||||
ErrorNoValueForSelectType=Les valeurs de la liste doivent être renseignées
|
||||
ErrorNoValueForSelectType=Les valeurs de la liste de selection doivent être renseignées
|
||||
ErrorNoValueForCheckBoxType=Les valeurs de la liste de case a cochées doivent être renseignées
|
||||
ErrorNoValueForRadioType=Les valeurs de la liste d'options doivent être renseignées
|
||||
ErrorFieldCanNotContainSpecialCharacters=Le champ <b>%s</b> ne peut contenir de caractères spéciaux.
|
||||
ErrorNoAccountancyModuleLoaded=Aucun module de comptabilité activé
|
||||
ErrorExportDuplicateProfil=Ce nom de profil existe déjà pour ce lot d'export.
|
||||
|
||||
Reference in New Issue
Block a user