From ad66eaf650251e8522a04f688cf68bdceb81d17c Mon Sep 17 00:00:00 2001 From: Alexandre Quessy Date: Fri, 2 May 2014 10:30:46 -0400 Subject: [PATCH] Translations: more fr strings translated --- INSTALL | 2 +- MainWindow.cpp | 8 +- mapmap_fr.ts | 272 ++++++++++++++++++++++++++++++++++++++----------- 3 files changed, 216 insertions(+), 66 deletions(-) diff --git a/INSTALL b/INSTALL index 7dcf674..49426e7 100644 --- a/INSTALL +++ b/INSTALL @@ -45,7 +45,7 @@ You might need to update the files:: Then, do this:: - linguist mapmap_fr.ts + lrelease mapmap.pro Build on Mac OS X ----------------- diff --git a/MainWindow.cpp b/MainWindow.cpp index 1b02ca6..c515beb 100644 --- a/MainWindow.cpp +++ b/MainWindow.cpp @@ -203,8 +203,9 @@ void MainWindow::open() if (okToContinue()) { QString fileName = QFileDialog::getOpenFileName(this, - tr("Open project"), ".", tr("MapMap files (*." MAPMAP_EXTENSION ")")); - if (!fileName.isEmpty()) + tr("Open project"), ".", + tr("MapMap files (*.%1)", MAPMAP_EXTENSION)); + if (! fileName.isEmpty()) loadFile(fileName); } @@ -232,7 +233,8 @@ bool MainWindow::saveAs() // Popul file dialog to choose filename. QString fileName = QFileDialog::getSaveFileName(this, tr("Save project"), - ".", tr("MapMap files (*." MAPMAP_EXTENSION ")")); + ".", + tr("MapMap files (*.%1)", MAPMAP_EXTENSION)); // Restart video playback. XXX Hack videoTimer->start(); diff --git a/mapmap_fr.ts b/mapmap_fr.ts index 79482f5..a1acc49 100644 --- a/mapmap_fr.ts +++ b/mapmap_fr.ts @@ -3,18 +3,6 @@ MainWindow - - Save mapping project - Sauvegarder le projet - - - MapMap files (*.lmp) - Fichiers MapMap (*.lmp) - - - Import resource - Importer une ressource - About MapMap À propos de MapMap @@ -23,45 +11,21 @@ &New &Nouveau - - Create a new mapping file - Créer un nouveau projet - &Open... - &Ouvrir - - - Open an existing mapping file - Ouvrir un projet existant + &Ouvrir... &Save - &Sauvegarder - - - Save the mapping to disk - Sauvegarder le projet + &Sauvegarder Save &As... - S&auvegarder sous... - - - Save the mapping under a new name - Sauvegarder sous un nouveau nom - - - &Import media source... - Importer un média - - - Import a media source file - Importer un fichier média + S&auvegarder sous... E&xit - Quitter + Quitter Ctrl+Q @@ -79,18 +43,6 @@ Show the application's About box Afficher le dialogue À propos de l'application - - &Add quad - &Ajouter un mesh - - - Add quad - Ajouter un mesh - - - &Add triangle - Ajouter un triangle - Add triangle Ajouter un triangle @@ -164,10 +116,6 @@ Do you want to save your changes? Save project Sauvegarder le projet - - Import media resource - Importer une source média - <h2>MapMap <h2>MapMap @@ -176,6 +124,138 @@ Do you want to save your changes? MapMap MapMap + + Import media source file + Importer un média + + + Remove this paint and all its associated mappings? + Effacer cette peinture et tous les mappings qui y sont associés? + + + Create a new project + Créer un nouveau projet + + + Open an existing project + Ouvrir un projet existant + + + Save the project + Sauvegarder le projet + + + Save the project as... + Sauvegarder le projet sous... + + + &Import media source file... + &Importer un fichier média source... + + + Import a media source file... + Importer un fichier média source... + + + Add &Color paint... + Ajouter une peinture &Couleur... + + + Add a color paint... + Ajouter une peinture Couleur... + + + Delete + Effacer l'élément sélectionné + + + CTRL+DEL + CTRL+SUPPR + + + Delete item + Effacer l'élément sélectionné + + + Add Quad/&Mesh + Ajouter un quadrilatère/&Mesh + + + CTRL+M + CTRL+M + + + Add quad/mesh + Ajouter un quadrilatère/&Mesh + + + Add &Triangle + Ajouter un &Triangle + + + CTRL+T + CTRL+T + + + Add &Ellipse + Ajouter une &Ellipse + + + CTRL+E + CTRL+E + + + Add ellipse + Ajouter une ellipse + + + &Display output window + Afficher la fenêtre de sortie + + + Ctrl+D + CTRL+D + + + Display output window + Afficher la fenêtre de sortie + + + &Full screen + Plein écran + + + Ctrl+F + CTRL+F + + + Full screen + Plein écran + + + &Display canvas controls + Afficher les contrôles du canevas + + + Display canvas controls + Afficher les contrôles du canevas + + + &Edit + Édition + + + &View + Apparence + + + Color paint added + Peinture couleur ajoutée + + + MapMap files (*.%1) + Fichiers MapMap (*.%1) + QObject @@ -199,15 +279,83 @@ Do you want to save your changes? Dimensions - - The file is not a libremapping version 1.0 file. - Ce fichier n'est pas un projet MapMap version 1.0 - %1 Line %2, column %3 + + The file is not a mapmap version 0.1 file. + Ce fichier n'est pas un project MapMap version 0.1. + + + Cannot create media with URI %1. + Impossible de créer un média avec l'URI %1 + + + Cannot create color with RGB hex code %1. + Impossible de créer une couleur avec le code RVB hexadécimal %1 + + + Unsupported paint type: %1. + Type de peinture non-supporté: %1 + + + Cannot create triangle texture mapping + Impossible de créer un mapping de texture vers triangle + + + Cannot create mesh texture mapping + Impossible de créer un mapping de texture vers mesh + + + Cannot create ellipse texture mapping + Impossible de créer un mapping de texture vers ellipse + + + Cannot create triangle color mapping + Impossible de créer un mapping de couleur vers triangle + + + Cannot create quad color mapping + Impossible de créer un mapping de couleur vers quadrilatère + + + Cannot create ellipse color mapping + Impossible de créer un mapping de couleur vers ellipse + + + Unsupported mapping type: %1. + Type de mapping non supporté: %1 + + + Wrong shape type "%1" for destination: expected "%2". + Mauvais type de forme "%1" pour la destination. On s'attend à "%2" + + + Shape of type '%1' has %2 vertices: expected %3. + + + + Shape has %1 vertices: expected 4 or 5. + + + + Wrong shape type for destination: %1. + + + + Shape has wrong number of vertices. + + + + Initiating program... + Lancement du logiciel... + + + Done. + Terminé. + QtBoolEdit @@ -224,11 +372,11 @@ Line %2, column %3 QtBoolPropertyManager True - + vrai False - + faux