We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1876
    • 835 Posts
    Bonjour,

    doze vient de nous gratifier d’une superbe gallery pour Modx.
    Vous trouverez ci-dessous le fichier de langue. Si un volontaire voudrait bien le traduire ?

    <?php
    // English language file
    // If you are going to make your own language file and are usign the lighbox, 
    // make a language file for it too, f.ex. /maxigallery/slidebox/slidebox_lang_en.js
    $strings['previous']="« previous";
    $strings['next']="next »";
    $strings['click_to_zoom']=" » Click to zoom ->";
    $strings['click_to_go_back']="<- Click to go back";
    $strings['click_to_open_original']= "Click to open big image";
    $strings['back_to_normal_view'] = "Back to normal view";
    $strings['index']="index";
    $strings['go_to_gallery']="Go to gallery ->";
    $strings['pictures_successfully_uploaded']="<b>Pictures uploaded successfully.</b>";
    $strings['changes_have_been_saved']="<b>Changes have been saved.</b>";
    $strings['delete']="Delete";
    $strings['title']="Title";
    $strings['save_changes']="Save changes";
    $strings['upload_pictures']="Upload pictures";
    $strings['check_to_delete_this_picture']="Check to delete this picture";
    $strings['manage_pictures']="Manage pictures";
    $strings['date']="Date";
    $strings['description']="Description";
    $strings['position']="Position";
    $strings['gallery_description']="Gallery description";
    $strings['db_no_descr_support']="<em>Warning: Gallery database does not support descriptions!</em><br />";
    $strings['db_no_pos_support']="<em>Warning: Gallery database does not support picture positions!</em><br />";
    $strings['picture'] = "Picture:";
    $strings['max_pics_reached'] = "You have reached maximum pictures limit for this gallery, so you can't send more pictures.";
    $strings['supported_types'] = "<b>Incorrect filetype!</b> This gallery supports the following filetypes: jpg/jpeg, png, gif and zip (which has aforementioned filetypes inside)";
    $strings['gif_not_supported'] = "<b>The GD-library on this server does not support .gif images</b> You must use only jpg and png images.";
    $strings['supported_types_inzip'] = "Error: zip archive contained incorrect filetypes which were ignored.";
    $strings['max_pics_reached_some_discarded'] = "<b>Maximum pictures limit reached!</b> Some of the pictures sent might got discarded.";
    $strings['zip_not_supported'] = "<b>Your PHP-installation does not support .zip archives!</b> You have to install the <a href=\"http://www.php.net/manual/ref.zip.php\">PHP zip module and ZZIPlib library.</a>";
    $strings['database_error'] = "Error: Gallery database could not be created!";
    ?>


    Il faut également traduire le fichier /maxigallery/slidebox/slidebox_lang_en.js en slidebox_lang_fr.js mais je le ferai et déposerai une archive avec les deux fichier sur le post de ce snippet : http://modxcms.com/forums/index.php/topic,3843.0.html

    Merci d’avance
      • 30897
      • 311 Posts
      Bonjour à tous,

      J’ai commencé à traduire cette portion de code, mais je suis loin d’être bilingue... donc si dans un premier temps ça peut aider à avancer un peu :

      <?php
      // Fichier de langue français
      // If you are going to make your own language file and are usign the lighbox, 
      // make a language file for it too, f.ex. /maxigallery/slidebox/slidebox_lang_en.js
      $strings['previous']="« précédent";
      $strings['next']="suivant »";
      $strings['click_to_zoom']=" » Cliquer pour agrandir ->";
      $strings['click_to_go_back']="<- Cliquer pour revenir";
      $strings['click_to_open_original']= "Cliquer pour ouvrir en grand";
      $strings['back_to_normal_view'] = "Revenir à la vue normale";
      $strings['index']="index";
      $strings['go_to_gallery']="Aller à la gallerie ->";
      $strings['pictures_successfully_uploaded']="<b>Images envoyées correctement.</b>";
      $strings['changes_have_been_saved']="<b>Modifications effectuées.</b>";
      $strings['delete']="Supprimer";
      $strings['title']="Titre";
      $strings['save_changes']="Modification sauvegardées";
      $strings['upload_pictures']="Envoyer image";
      $strings['check_to_delete_this_picture']="Vérifiez pour supprimer cette image ";
      $strings['manage_pictures']="Gérer les images";
      $strings['date']="Date";
      $strings['description']="Description";
      $strings['position']="Position";
      $strings['gallery_description']="Description de la gallerie";
      $strings['db_no_descr_support']="<em>Attention : La base de données ne supporte pas les descriptions !</em><br />";
      $strings['db_no_pos_support']="<em>Attention : La base de données ne supporte pas les positions d'images !</em><br />";
      $strings['picture'] = "Image:";
      $strings['max_pics_reached'] = "Vous avez atteint le nombre maximum d'images pour cette gallerie, vous ne pouvez pas en envoyer plus.";
      $strings['supported_types'] = "<b>Type de fichier incorrect !</b> Cette gallerie supporte uniquement les fichiers de type : jpg/jpeg, png, gif et zip (qui contient les types mentionnés précédemment)";
      $strings['gif_not_supported'] = "<b>La librairie GD ne supporte pas les images au format .gif</b> Vous devez utiliser uniquement des images au format .jpg ou .png";
      $strings['supported_types_inzip'] = "Erreur : L'archive ZIP contient des types de fichiers incorrects et vont être ignorés.";
      $strings['max_pics_reached_some_discarded'] = "<b>Le nombre limite d'images a été atteint !</b> Certaines d'entre elles peuvent être ignorées.";
      $strings['zip_not_supported'] = "<b>Votre module PHP ne supporte pas les archives .ZIP !</b> Vous devez installer le <a href=\"http://www.php.net/manual/ref.zip.php\">module PHP ZIP et la librairie ZZIPlib.</a>";
      $strings['database_error'] = "Erreur : La base de données gallerie ne peut être créée !";
      ?>
        TylerD - In MODx we trust
        [Derni
        • 1876
        • 835 Posts
        Re

        Merci TylerD, je vais relire ce soir et on va attendre qu’une autre personne veuille bien valider et hop ça roule.
          • 18219
          • 826 Posts
          J’ai découvert ce snippet hier et je vais m’en servir pour le tester.
          Je vais faire un retour. Dans un premier temps je participe à la traduction avec mes relatives compétences de la langue anglaise.
          Je fais cela dans le WE et dans le début de semaine.
          Je reprends à partir de la traduction de TylerD wink
            Marc
            I&#39;m French... Sorry for my bad English, I use &#39; Google Translator&#39; or other... but that remains that tools wink
            • 18219
            • 826 Posts
            (Post modifié le 15/04/2006)
            Voila mes corrections (TylerD a fait un superbe boulot wink ):
            Et la traduction du fichier slidebox_lang_fr.js

            La traduction de l’installation et le paramètrage est disponible sur le wiki.

            Release :
            18/04/2006 : le fichier lang_fr.zip a été modifié pour prendre en compte la version v0.4
            15/04/2006 : le fichier lang_fr.zip a été modifié pour prendre en compte la version v0.3
            14/04/2006 : le fichier lang_fr.zip a été modifié pour prendre en compte la version v0.2

              Marc
              I&#39;m French... Sorry for my bad English, I use &#39; Google Translator&#39; or other... but that remains that tools wink
              • 18219
              • 826 Posts
              Traduction en cours : j’ai placé le document sur le wiki.
                Marc
                I&#39;m French... Sorry for my bad English, I use &#39; Google Translator&#39; or other... but that remains that tools wink
                • 7923
                • 4,213 Posts
                Hello to you all, Is it ok for you guys if I include the french language files to the next release?


                  "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                  • 1876
                  • 835 Posts
                  Hello

                  No problem

                  Thank’s
                    • 18219
                    • 826 Posts
                    La traduction du paramétrage du snippet est effective sur le wiki.

                    Si quelqu’un peux relire se sera que mieux wink


                    Release :
                    18/04/2006 : version v0.4 en ligne
                      Marc
                      I&#39;m French... Sorry for my bad English, I use &#39; Google Translator&#39; or other... but that remains that tools wink
                      • 15001
                      • 697 Posts
                      Ci-joint, une version utf-8 du fichier de langue française pour MaxiGallery.
                      Une fois l’archive décompressée, you n’avez qu’à l’appeler comme ceci : &lang=`fr-utf-8`

                      Here attached, an utf-8 version of the French language file for MaxiGallery.
                      Once the archive unziped, you just have to call it like this: &lang=`fr-utf8`

                      J.

                      P.S. I didn’t check if it is up-to-date with the latest version.