summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--i18n/fr/drawpad.ts76
-rw-r--r--noncore/graphics/drawpad/newpagedialog.cpp4
2 files changed, 40 insertions, 40 deletions
diff --git a/i18n/fr/drawpad.ts b/i18n/fr/drawpad.ts
index 5d126ce..e291030 100644
--- a/i18n/fr/drawpad.ts
+++ b/i18n/fr/drawpad.ts
@@ -1,317 +1,317 @@
<!DOCTYPE TS><TS>
<context>
<name>DrawPad</name>
<message>
<source>Delete All</source>
- <translation>Supprimer Tout</translation>
+ <translation>Supprimer tout</translation>
</message>
<message>
<source>Import</source>
<translation>Importer</translation>
</message>
<message>
<source>Import...</source>
<translation>Importer...</translation>
</message>
<message>
<source>Export</source>
<translation>Exporter</translation>
</message>
<message>
<source>Export...</source>
<translation>Exporter...</translation>
</message>
<message>
<source>Tools</source>
<translation>Outils</translation>
</message>
<message>
<source>New Page</source>
- <translation>Nouvelle Page</translation>
+ <translation>Nouvelle page</translation>
</message>
<message>
<source>Clear Page</source>
- <translation>Effacer Page</translation>
+ <translation>Effacer la page</translation>
</message>
<message>
<source>Delete Page</source>
- <translation>Supprimer Page</translation>
+ <translation>Supprimer la page</translation>
</message>
<message>
<source>Undo</source>
<translation>Annuler</translation>
</message>
<message>
<source>Redo</source>
<translation>Refaire</translation>
</message>
<message>
<source>First Page</source>
- <translation>Premiere Page</translation>
+ <translation>Premiere page</translation>
</message>
<message>
<source>Previous Page</source>
- <translation>Page Précédente</translation>
+ <translation>Page précédente</translation>
</message>
<message>
<source>Next Page</source>
- <translation>Page Suivante</translation>
+ <translation>Page suivante</translation>
</message>
<message>
<source>Last Page</source>
- <translation>Dernière Page</translation>
+ <translation>Dernière page</translation>
</message>
<message>
<source>Draw Point</source>
- <translation>Dessiner Point</translation>
+ <translation>Dessiner un point</translation>
</message>
<message>
<source>Draw Line</source>
- <translation>Dessiner Ligne</translation>
+ <translation>Dessiner une ligne</translation>
</message>
<message>
<source>Draw Rectangle</source>
- <translation>Dessiner Rectangle</translation>
+ <translation>Dessiner un rectangle</translation>
</message>
<message>
<source>Draw Filled Rectangle</source>
- <translation>Dessiner Rectangle Rempli</translation>
+ <translation>Dessiner un rectangle rempli</translation>
</message>
<message>
<source>Draw Ellipse</source>
- <translation>Dessiner Ellipse</translation>
+ <translation>Dessiner une ellipse</translation>
</message>
<message>
<source>Draw Filled Ellipse</source>
- <translation>Desinner Ellipse Remplie</translation>
+ <translation>Desinner une ellipse remplie</translation>
</message>
<message>
<source>Fill Region</source>
- <translation>Remplir Région</translation>
+ <translation>Remplir une région</translation>
</message>
<message>
<source>Erase Point</source>
- <translation>Effacer Point</translation>
+ <translation>Effacer un point</translation>
</message>
<message>
<source>Pen Width</source>
- <translation>Largeur Pinceau</translation>
+ <translation>Largeur du pinceau</translation>
</message>
<message>
<source>More</source>
<translation type="obsolete">Plus</translation>
</message>
<message>
<source>More...</source>
<translation type="obsolete">Plus...</translation>
</message>
<message>
<source>Pen Color</source>
- <translation>Couleur Pinceau</translation>
+ <translation>Couleur du pinceau</translation>
</message>
<message>
<source>Fill Color</source>
- <translation>Couleur Remplissage</translation>
+ <translation>Couleur de remplissage</translation>
</message>
<message>
<source>DrawPad</source>
<translation>DrawPad</translation>
</message>
<message>
<source>Page</source>
<translation>Page</translation>
</message>
<message>
<source>Insert Text</source>
- <translation type="unfinished"></translation>
+ <translation>Insérer un texte</translation>
</message>
</context>
<context>
<name>DrawPadCanvas</name>
<message>
<source>Delete All</source>
- <translation>Supprimer Tout</translation>
+ <translation>Supprimer tout</translation>
</message>
<message>
<source>Do you want to delete
all the pages?</source>
<translation>Voulez-vous supprimer
toutes les pages ?</translation>
</message>
<message>
<source>Clear Page</source>
- <translation>Effacer Page</translation>
+ <translation>Effacer la page</translation>
</message>
<message>
<source>Do you want to clear
the current page?</source>
<translation>Voulez-vous effacer
la page actuelle ?</translation>
</message>
<message>
<source>Delete Page</source>
- <translation>Supprimer Page</translation>
+ <translation>Supprimer la page</translation>
</message>
<message>
<source>Do you want to delete
the current page?</source>
<translation>Voulez-vous supprimer
la page actuelle ?</translation>
</message>
<message>
<source>Yes</source>
- <translation type="unfinished"></translation>
+ <translation>Oui</translation>
</message>
<message>
<source>No</source>
- <translation type="unfinished"></translation>
+ <translation>Non</translation>
</message>
</context>
<context>
<name>ExportDialog</name>
<message>
<source>Export</source>
<translation>Exporter</translation>
</message>
<message>
<source>Page Selection</source>
- <translation>Sélection Pages</translation>
+ <translation>Sélection des pages</translation>
</message>
<message>
<source>All</source>
<translation>Toutes</translation>
</message>
<message>
<source>Current</source>
<translation>En cours</translation>
</message>
<message>
<source>Range</source>
<translation>Plage</translation>
</message>
<message>
<source>To:</source>
- <translation>A:</translation>
+ <translation>A :</translation>
</message>
<message>
<source>Export As</source>
- <translation>Exporter Sous</translation>
+ <translation>Exporter sous</translation>
</message>
<message>
<source>Name:</source>
- <translation>Nom:</translation>
+ <translation>Nom :</translation>
</message>
<message>
<source>Format:</source>
- <translation>Format:</translation>
+ <translation>Format :</translation>
</message>
</context>
<context>
<name>ImportDialog</name>
<message>
<source>Import</source>
<translation>Importer</translation>
</message>
<message>
<source>Automatic preview</source>
<translation>Aperçu automatique</translation>
</message>
<message>
<source>Preview</source>
<translation>Aperçu</translation>
</message>
</context>
<context>
<name>NewPageDialog</name>
<message>
<source>New Page</source>
- <translation>Nouvelle Page</translation>
+ <translation>Nouvelle page</translation>
</message>
<message>
<source>Page Size</source>
- <translation>Dimension Page</translation>
+ <translation>Dimension de la page</translation>
</message>
<message>
<source>Width :</source>
- <translation>Largeur:</translation>
+ <translation>Largeur :</translation>
</message>
<message>
<source>Height :</source>
- <translation>Hauteur</translation>
+ <translation>Hauteur :</translation>
</message>
<message>
<source>Contents</source>
<translation type="obsolete">Contenu</translation>
</message>
<message>
<source>White</source>
<translation>Blanc</translation>
</message>
<message>
<source>Foreground Color</source>
<translation type="obsolete">Couleur Avant Plan</translation>
</message>
<message>
<source>Background Color</source>
<translation type="obsolete">Couleur Arrière Plan</translation>
</message>
<message>
<source>Background</source>
- <translation type="unfinished"></translation>
+ <translation>Fond</translation>
</message>
<message>
<source>Pen Color</source>
- <translation type="unfinished">Couleur Pinceau</translation>
+ <translation>Couleur du pinceau</translation>
</message>
<message>
<source>Brush Color</source>
<translation type="obsolete"></translation>
</message>
<message>
<source>Fill Color</source>
- <translation type="unfinished">Couleur Remplissage</translation>
+ <translation>Couleur de remplissage</translation>
</message>
</context>
<context>
<name>QColorDialog</name>
<message>
<source>Hue:</source>
<translation type="obsolete"></translation>
</message>
<message>
<source>Sat:</source>
<translation type="obsolete"></translation>
</message>
<message>
<source>Val:</source>
<translation type="obsolete"></translation>
</message>
<message>
<source>Red:</source>
<translation type="obsolete">Rouge</translation>
</message>
<message>
<source>Green:</source>
<translation type="obsolete">Vert</translation>
</message>
<message>
<source>Blue:</source>
<translation type="obsolete">Bleu</translation>
</message>
<message>
<source>Alpha channel:</source>
<translation type="obsolete"></translation>
</message>
<message>
<source>Select color</source>
<translation type="obsolete"></translation>
</message>
</context>
<context>
<name>TextToolDialog</name>
<message>
<source>Insert Text</source>
- <translation type="unfinished"></translation>
+ <translation>Insérer un texte</translation>
</message>
</context>
</TS>
diff --git a/noncore/graphics/drawpad/newpagedialog.cpp b/noncore/graphics/drawpad/newpagedialog.cpp
index 14bcfb3..0592af2 100644
--- a/noncore/graphics/drawpad/newpagedialog.cpp
+++ b/noncore/graphics/drawpad/newpagedialog.cpp
@@ -1,102 +1,102 @@
/***************************************************************************
* *
* DrawPad - a drawing program for Opie Environment *
* *
* (C) 2002 by S. Prud'homme <prudhomme@laposte.net> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#include "newpagedialog.h"
#include <qbuttongroup.h>
#include <qgroupbox.h>
#include <qlabel.h>
#include <qlayout.h>
#include <qradiobutton.h>
#include <qspinbox.h>
NewPageDialog::NewPageDialog(uint width, uint height, const QColor& penColor,
const QColor& brushColor, QWidget* parent, const char* name)
: QDialog(parent, name, true)
{
setCaption(tr("New Page"));
m_penColor = penColor;
m_brushColor = brushColor;
QGroupBox* sizeGroupBox = new QGroupBox(0, Qt::Vertical, tr("Page Size"), this);
- QLabel* widthLabel = new QLabel(tr("Width :"), sizeGroupBox);
- QLabel* heightLabel = new QLabel(tr("Height :"), sizeGroupBox);
+ QLabel* widthLabel = new QLabel(tr("Width:"), sizeGroupBox);
+ QLabel* heightLabel = new QLabel(tr("Height:"), sizeGroupBox);
m_pWidthSpinBox = new QSpinBox(1, 1024, 1, sizeGroupBox);
m_pHeightSpinBox = new QSpinBox(1, 1024, 1, sizeGroupBox);
m_pWidthSpinBox->setValue(width);
m_pHeightSpinBox->setValue(height);
m_pContentButtonGroup = new QButtonGroup(0, Qt::Vertical, tr("Background"), this);
QRadioButton* whiteColorRadioButton = new QRadioButton(tr("White"), m_pContentButtonGroup);
QRadioButton* penColorRadioButton = new QRadioButton(tr("Pen Color"), m_pContentButtonGroup);
QRadioButton* brushColorRadioButton = new QRadioButton(tr("Fill Color"), m_pContentButtonGroup);
m_pContentButtonGroup->setButton(0);
QVBoxLayout* mainLayout = new QVBoxLayout(this, 4, 4);
sizeGroupBox->layout()->setSpacing(4);
m_pContentButtonGroup->layout()->setSpacing(4);
QGridLayout* sizeLayout = new QGridLayout(sizeGroupBox->layout(), 2, 2);
QVBoxLayout* contentLayout = new QVBoxLayout(m_pContentButtonGroup->layout());
sizeLayout->addWidget(widthLabel, 0, 0);
sizeLayout->addWidget(heightLabel, 1, 0);
sizeLayout->addWidget(m_pWidthSpinBox, 0, 1);
sizeLayout->addWidget(m_pHeightSpinBox, 1, 1);
sizeLayout->setColStretch(1, 1);
contentLayout->addWidget(whiteColorRadioButton);
contentLayout->addWidget(penColorRadioButton);
contentLayout->addWidget(brushColorRadioButton);
mainLayout->addWidget(sizeGroupBox);
mainLayout->addWidget(m_pContentButtonGroup);
}
NewPageDialog::~NewPageDialog()
{
}
uint NewPageDialog::selectedWidth()
{
return (m_pWidthSpinBox->value());
}
uint NewPageDialog::selectedHeight()
{
return (m_pHeightSpinBox->value());
}
const QColor& NewPageDialog::selectedColor()
{
switch (m_pContentButtonGroup->id(m_pContentButtonGroup->selected())) {
case 0:
return (Qt::white);
break;
case 1:
return (m_penColor);
break;
case 2:
return (m_brushColor);
break;
default:
return (Qt::white);
break;
}
}