Skip to content

Commit

Permalink
update 4.9.7
Browse files Browse the repository at this point in the history
  • Loading branch information
h2lsoft committed Mar 14, 2016
1 parent 4ae43c1 commit f8e889d
Show file tree
Hide file tree
Showing 5 changed files with 93 additions and 58 deletions.
Empty file.
Empty file.
139 changes: 84 additions & 55 deletions library/php/TPLN/plugin/form/lang.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,123 +3,152 @@
// Ln 109
$tpln_form_lng['en'][0] = "TPLN Form: `%s` No object found";
$tpln_form_lng['fr'][0] = "TPLN Form: `%s` Aucun objet trouvé";
$tpln_form_lng['es'][0] = "TPLN Form: `%s` No se encontraron artículos";

//Ln 201
//Ln 703
$tpln_form_lng['en'][1] = "Field `%s` can not be empty";
$tpln_form_lng['fr'][1] = "Le champ `%s` ne peut être vide";
$tpln_form_lng['es'][1] = "El campo `%s` no puede estar vacío";

//Ln 235
$tpln_form_lng['en'][2]= "`%s` can only countain digit";
$tpln_form_lng['fr'][2]= "Le champ `%s` ne peut contenir que des chiffres";
$tpln_form_lng['en'][2] = "`%s` can only countain digit";
$tpln_form_lng['fr'][2] = "Le champ `%s` ne peut contenir que des chiffres";
$tpln_form_lng['es'][2] = "El campo `%s` sólo pueden contener los números";

//Ln 278
$tpln_form_lng['en'][3]= "Field `%s` must be equal at `%s`";
$tpln_form_lng['fr'][3]= "Le champ `%s` doit être égale à `%s`";
$tpln_form_lng['en'][3] = "Field `%s` must be equal at `%s`";
$tpln_form_lng['fr'][3] = "Le champ `%s` doit être égale à `%s`";
$tpln_form_lng['es'][3] = "El campo `%s` deben ser iguales a `%s`";

//Ln 359
$tpln_form_lng['en'][4]= "Field `%s` must be in the list `%s`";
$tpln_form_lng['fr'][4]= "Le champ `%s` doit être dans la liste à `%s`";
$tpln_form_lng['en'][4] = "Field `%s` must be in the list `%s`";
$tpln_form_lng['fr'][4] = "Le champ `%s` doit être dans la liste `%s`";
$tpln_form_lng['es'][4] = "El campo `%s` deben estar en la lista `%s`";

//Ln 385
$tpln_form_lng['en'][5]= "Field `%s` can only countain letters";
$tpln_form_lng['fr'][5]= "Le champ `%s` ne peut contenir que des lettres";
$tpln_form_lng['en'][5] = "Field `%s` can only countain letters";
$tpln_form_lng['fr'][5] = "Le champ `%s` ne peut contenir que des lettres";
$tpln_form_lng['es'][5] = "El campo `%s` sólo pueden contener letras";

//Ln 410
$tpln_form_lng['en'][6]= "Field `%s` is not a valid mail address";
$tpln_form_lng['fr'][6]= "Le champ `%s` n'est pas une adresse mail valide";
$tpln_form_lng['en'][6] = "Field `%s` is not a valid mail address";
$tpln_form_lng['fr'][6] = "Le champ `%s` n'est pas une adresse mail valide";
$tpln_form_lng['es'][6] = "El campo `%s` no es una dirección válida de correo electrónico";

//Ln 437
$tpln_form_lng['en'][7]= "Field `%s` must contain %s characters";
$tpln_form_lng['fr'][7]= "Le champ `%s` doit contenir %s caractères";
$tpln_form_lng['en'][7] = "Field `%s` must contain %s characters";
$tpln_form_lng['fr'][7] = "Le champ `%s` doit contenir %s caractères";
$tpln_form_lng['es'][7] = "El campo `%s` deben ser de %s caracteres";

//Ln 465
$tpln_form_lng['en'][8]= "Field `%s` must contain at least %s characters";
$tpln_form_lng['fr'][8]= "Le champ `%s` doit contenir au moins %s caractères";
$tpln_form_lng['en'][8] = "Field `%s` must contain at least %s characters";
$tpln_form_lng['fr'][8] = "Le champ `%s` doit contenir au moins %s caractères";
$tpln_form_lng['es'][8] = "El campo `%s` debe tener al menos %s caracteres";

//Ln 493
$tpln_form_lng['en'][9]= "Field `%s` must contain %s characters maximum";
$tpln_form_lng['fr'][9]= "Le champ `%s` doit contenir au maximum %s caractères";
$tpln_form_lng['en'][9] = "Field `%s` must contain %s characters maximum";
$tpln_form_lng['fr'][9] = "Le champ `%s` doit contenir au maximum %s caractères";
$tpln_form_lng['es'][9] = "El campo `%s` debe contener un máximo de 10 caracteres";

//Ln 542
//Ln 573
$tpln_form_lng['en'][10]= "Field `%s` countains non alphabetic characters";
$tpln_form_lng['fr'][10]= "Le champ `%s` contient des caractères non alphabétique";
$tpln_form_lng['en'][10] = "Field `%s` countains non alphabetic characters";
$tpln_form_lng['fr'][10] = "Le champ `%s` contient des caractères non alphabétique";
$tpln_form_lng['es'][10] = "El campo `%s` contienen caracteres no alfabéticos";

//633
$tpln_form_lng['en'][11]= "Field `%s` is not a valid date, format allowed `%s`";
$tpln_form_lng['fr'][11]= "Le champ `%s` n'est pas une date valide, format autorisé `%s`";
$tpln_form_lng['en'][11] = "Field `%s` is not a valid date, format allowed `%s`";
$tpln_form_lng['fr'][11] = "Le champ `%s` n'est pas une date valide, format autorisé `%s`";
$tpln_form_lng['es'][11] = "El campo `%s` no es una fecha válida, el tamaño autorizado `%s`";

//Ln 658
$tpln_form_lng['en'][12]= "Field `%s` is not a valid url";
$tpln_form_lng['fr'][12]="Le champ `%s` n'est pas une url valide";
$tpln_form_lng['en'][12] = "Field `%s` is not a valid url";
$tpln_form_lng['fr'][12] ="Le champ `%s` n'est pas une url valide";
$tpln_form_lng['es'][12] ="El campo `%s` no es una URL válida";

//Ln 691
$tpln_form_lng['en'][13]= "<b>Error</b> : The restriction <b>fileControl</b> cannot control the object <b>`%s`</b> or then the <b>`%s`</b> object does not exist";
$tpln_form_lng['fr'][13]= "<b>Erreur</b> : La restriction <b>fileControl</b> ne peut pas contrôler l'objet <b>`%s`</b> <br> ou alors l'objet <b>`%s`</b> n'existe pas";
$tpln_form_lng['en'][13] = "<b>Error</b> : the restriction <b>fileControl</b> can not control the object <b>`%s`</b> or then the <b>`%s`</b> object does not exist";
$tpln_form_lng['fr'][13] = "<b>Erreur</b> : la restriction <b>fileControl</b> ne peut pas contrôler l'objet <b>`%s`</b> <br> ou alors l'objet <b>`%s`</b> n'existe pas";
$tpln_form_lng['es'][13] = "<b>Error</b> : the restriction <b>fileControl</b> can not control the object <b>`%s`</b> or then the <b>`%s`</b> object does not exist";

//Ln 754
$tpln_form_lng['en'][14]= "`%s`: the extension of file is not allowed, only `%s`";
$tpln_form_lng['fr'][14]= "`%s`: l'extension du fichier n'est pas autorisée, seulement `%s`";
$tpln_form_lng['en'][14] = "`%s`: the extension of file is not allowed, only `%s`";
$tpln_form_lng['fr'][14] = "`%s`: l'extension du fichier n'est pas autorisée, seulement `%s`";
$tpln_form_lng['es'][14] = "`%s`: la extensión de archivo no está permitido, sólo `%s`";

//Ln 773
$tpln_form_lng['en'][15]= "`%s`: The MIME type `%s` is not allowed, only `%s`";
$tpln_form_lng['fr'][15]= "`%s`: Le type MIME `%s` n'est pas autorisé, seulement `%s`";
$tpln_form_lng['en'][15] = "`%s`: The MIME type `%s` is not allowed, only `%s`";
$tpln_form_lng['fr'][15] = "`%s`: Le type MIME `%s` n'est pas autorisé, seulement `%s`";
$tpln_form_lng['fr'][15] = "`%s`: El tipo MIME `%s` no está permitido, sólo `%s`";

//Ln 855
$tpln_form_lng['en'][16]= "Argument missing on the method imgStrictDimension controlling the `%s` object";
$tpln_form_lng['fr'][16]= "Argument manquant sur la méthode imgStrictDimension controlant l'objet `%s`";
$tpln_form_lng['en'][16] = "Argument missing on the method imgStrictDimension controlling the `%s` object";
$tpln_form_lng['fr'][16] = "Argument manquant sur la méthode imgStrictDimension controlant l'objet `%s`";
$tpln_form_lng['es'][16] = "Argument missing on the method imgStrictDimension controlling the `%s` object";

//Ln 868
$tpln_form_lng['en'][17]= "Error: The restriction imgStrictDimension cannot control the object `%s` or the `%s` object does not exist";
$tpln_form_lng['fr'][17]= "Erreur: La restriction imgStrictDimension peut pas contrôler l'objet `%s` ou alors l'objet `%s` n'existe pas";
$tpln_form_lng['en'][17] = "Error: The restriction imgStrictDimension cannot control the object `%s` or the `%s` object does not exist";
$tpln_form_lng['fr'][17] = "Erreur: La restriction imgStrictDimension peut pas contrôler l'objet `%s` ou alors l'objet `%s` n'existe pas";
$tpln_form_lng['es'][17] = "Error: The restriction imgStrictDimension cannot control the object `%s` or the `%s` object does not exist";

//Ln 963
//Ln 1042
$tpln_form_lng['en'][18]= "Operator not valid on method imgControlHeight controlling the `%s` object";
$tpln_form_lng['fr'][18]= "Operateur non valide sur la méthode imgControlHeight contrôlant l'objet `%s`";
$tpln_form_lng['en'][18] = "Operator not valid on method imgControlHeight controlling the `%s` object";
$tpln_form_lng['fr'][18] = "Operateur non valide sur la méthode imgControlHeight contrôlant l'objet `%s`";
$tpln_form_lng['es'][18] = "Operator not valid on method imgControlHeight controlling the `%s` object";

//Ln 971
$tpln_form_lng['en'][19]= "Width not valid on method imgControlWidth controling the `%s` object";
$tpln_form_lng['fr'][19]= "Largeur non valide sur la méthode imgControlWidth contrôlant l'objet `%s` ";
$tpln_form_lng['en'][19] = "Width not valid on method imgControlWidth controling the `%s` object";
$tpln_form_lng['fr'][19] = "Largeur non valide sur la méthode imgControlWidth contrôlant l'objet `%s` ";
$tpln_form_lng['es'][19] = "Width not valid on method imgControlWidth controling the `%s` object";

//Ln 983
//Ln 1061
$tpln_form_lng['en'][20]= "Error: the restriction imgControlWidth can not control the object `%s` or the object `%s` does not exist";
$tpln_form_lng['fr'][20]= "Erreur: la restriction imgControlWidth ne peut pas contrôler l'objet `%s` ou l'objet `%s` n'existe pas";
$tpln_form_lng['en'][20] = "Error: the restriction imgControlWidth can not control the object `%s` or the object `%s` does not exist";
$tpln_form_lng['fr'][20] = "Erreur: la restriction imgControlWidth ne peut pas contrôler l'objet `%s` ou l'objet `%s` n'existe pas";
$tpln_form_lng['es'][20] = "Error: the restriction imgControlWidth can not control the object `%s` or the object `%s` does not exist";

//1009
$tpln_form_lng['en'][21]= "The width of the image `%s` must be %s %s pixels";
$tpln_form_lng['fr'][21]= "La largeur de l'image `%s` doit être %s %s pixels";
$tpln_form_lng['en'][21] = "The width of the image `%s` must be %s %s pixels";
$tpln_form_lng['fr'][21] = "La largeur de l'image `%s` doit être %s %s pixels";
$tpln_form_lng['es'][21] = "La anchura de la imagen `%s` debe ser %s %s pixels";

//Ln 1050
$tpln_form_lng['en'][22]= "Height not valid on method imgControlHeight controling the `%s` object";
$tpln_form_lng['fr'][22]= "Hauteur non valide sur la méthode imgControlHeight contrôlant l'objet `%s` ";
$tpln_form_lng['en'][22] = "Height not valid on method imgControlHeight controling the `%s` object";
$tpln_form_lng['fr'][22] = "Hauteur non valide sur la méthode imgControlHeight contrôlant l'objet `%s` ";
$tpln_form_lng['es'][22] = "Height not valid on method imgControlHeight controling the `%s` object";

//Ln 1086
$tpln_form_lng['en'][23]= "The Height of the image `%s` must be %s %s pixels";
$tpln_form_lng['fr'][23]= "La Hauteur de l'image `%s` doit être %s %s pixels";
$tpln_form_lng['en'][23] = "The Height of the image `%s` must be %s %s pixels";
$tpln_form_lng['fr'][23] = "La Hauteur de l'image `%s` doit être %s %s pixels";
$tpln_form_lng['es'][23] = "The Height of the image `%s` must be %s %s pixels";

//Ln 1729
//Ln 1741
$tpln_form_lng['en'][24]= "Error: You can not publish more than %s times";
$tpln_form_lng['fr'][24]= "Erreur: Vous ne pouvez pas publier plus de %s times";
$tpln_form_lng['en'][24] = "Error: You can not publish more than %s times";
$tpln_form_lng['fr'][24] = "Erreur: Vous ne pouvez pas publier plus de %s fois";
$tpln_form_lng['es'][24] = "Error: No puede enviar más de %s veces";


//Ln 1772
$tpln_form_lng['en'][25]="Your security code is not valid";
$tpln_form_lng['fr'][25]="Le code de sécurité n'est pas valide";
$tpln_form_lng['en'][25] ="Your security code is not valid";
$tpln_form_lng['fr'][25] ="Le code de sécurité n'est pas valide";
$tpln_form_lng['es'][25] ="El código de seguridad no es válido";


//Ln 736
$tpln_form_lng['en'][26]="`%s`: file size is over than maximum size %s";
$tpln_form_lng['fr'][26]="`%s`: taille du fichier dépasse le maximum autorisé %s";
$tpln_form_lng['en'][26] ="`%s`: file size is over than maximum size %s";
$tpln_form_lng['fr'][26] ="`%s`: taille du fichier dépasse le maximum autorisé %s";
$tpln_form_lng['es'][26] ="`%s`: tamaño del archivo supera el máximo permitido %s";

//Ln
$tpln_form_lng['en'][27]="The width of the image `%s` is too %s by %s pixels (allowed %s px)";
$tpln_form_lng['fr'][27]="La largeur de l'image `%s` est trop %s de %s pixels (autorisé %s px)";
$tpln_form_lng['en'][27] = "The width of the image `%s` is too %s by %s pixels (allowed %s px)";
$tpln_form_lng['fr'][27] = "La largeur de l'image `%s` est trop %s de %s pixels (autorisé %s px)";
$tpln_form_lng['es'][27] = "El ancho de la imagen `%s` es %s por %s pixels (autorizada %s px)";

//Ln
$tpln_form_lng['en'][28]="The height of the image `%s` is %s %s pixels (allowed %s px)";
$tpln_form_lng['fr'][28]="La hauteur de l'image `%s` est %s %s pixels (autorisé %s px)";
$tpln_form_lng['en'][28] = "The height of the image `%s` is %s %s pixels (allowed %s px)";
$tpln_form_lng['fr'][28] = "La hauteur de l'image `%s` est %s %s pixels (autorisé %s px)";
$tpln_form_lng['es'][28] = "La altura de la imagen `%s` est %s %s pixels (autorizada %s px)";

?>
4 changes: 3 additions & 1 deletion nuts/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,9 @@

// get plugin label
if(file_exists(WEBSITE_PATH.'/plugins/'.$row['Name'].'/lang/'.$_SESSION['Language'].'.inc.php'))
include(WEBSITE_PATH.'/plugins/'.$plugin_name.'/lang/'.$_SESSION['Language'].'.inc.php');
{
include(WEBSITE_PATH.'/plugins/'.$plugin_name.'/lang/'.$_SESSION['Language'].'.inc.php');
}
else
{
$default_lang = array_map('trim', explode(',',$plugin_info['langs']));
Expand Down
8 changes: 6 additions & 2 deletions plugins/_page-manager/tree_func.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ function treeView()
{
nutsAlert(data);
reloadPage();




return;
}

Expand Down Expand Up @@ -208,8 +212,8 @@ function reloadPage(pageID)
treeView();

// update drag icon
simpleTreeCollection.get(0).option.drag = false;
// dragPage();
simpleTreeCollection.get(0).option.drag = true;
dragPage();

if(!isNaN(pageID))
{
Expand Down

0 comments on commit f8e889d

Please sign in to comment.