Correction of some french and english notions and correction of typos. Variable %machine changed in %plant.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5629 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
nuri
2018-12-04 19:07:14 +00:00
parent cdfdd6f22a
commit f27954e507
29 changed files with 142 additions and 126 deletions

View File

@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>998</width>
<height>500</height>
<width>1958</width>
<height>1438</height>
</rect>
</property>
<property name="sizePolicy">
@@ -133,14 +133,14 @@
<item row="1" column="0">
<widget class="QCheckBox" name="m_use_folio_label">
<property name="text">
<string>Utiliser les labels de folio à la place de leurs ID</string>
<string>Utiliser les numéros de folio à la place de leur position dans le projet</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QCheckBox" name="m_border_0">
<property name="text">
<string extracomment="Choix de l'increment de depart 1 ou 0">Activer la numérotation à partir de 0 pour la colonne des cartouches au lieu de 1</string>
<string extracomment="Choix de l'increment de depart 1 ou 0">Numéroter les colonnes de cartouche à partir de 0 (1 sinon)</string>
</property>
</widget>
</item>
@@ -223,13 +223,13 @@
</widget>
<widget class="QWidget" name="tab_5">
<attribute name="title">
<string>Elements</string>
<string>Collections</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QGroupBox" name="groupBox_5">
<property name="title">
<string>Collections d'éléments</string>
<string>Accès aux collections</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
@@ -241,7 +241,7 @@
<item row="1" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Chemin de la collection commune</string>
<string>Répertoire de la collection commune</string>
</property>
</widget>
</item>
@@ -262,7 +262,7 @@
<item row="2" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>Chemin de la collection utilisateur</string>
<string>Répertoire de la collection utilisateur</string>
</property>
</widget>
</item>
@@ -304,7 +304,7 @@
<item row="3" column="0">
<widget class="QLabel" name="label_10">
<property name="text">
<string>Chemin des cartouches utilisateur</string>
<string>Répertoire des cartouches utilisateur</string>
</property>
</widget>
</item>

View File

@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>300</height>
<width>783</width>
<height>1175</height>
</rect>
</property>
<property name="windowTitle">
@@ -34,10 +34,10 @@
<property name="text">
<string>Vous pouvez définir un label personnalisé pour les reports de folio.
Créer votre propre texte en vous aidant des variables suivantes :
%f : le numéro de folio
%F: le label de folio
%M: Machine
%LM: Location
%f : la position du folio dans le projet
%F : le numéro de folio
%M : l'installation
%LM : la localisation
%l : le numéro de ligne
%c : le numéro de colonne</string>
</property>

View File

@@ -96,7 +96,7 @@ void TitleBlockPropertiesWidget::setProperties(const TitleBlockProperties &prope
ui -> m_title_le -> setText (properties.title);
ui -> m_author_le -> setText (properties.author);
ui -> m_file_le -> setText (properties.filename);
ui -> m_mach -> setText (properties.machine);
ui -> m_plant -> setText (properties.plant);
ui -> m_loc -> setText (properties.locmach);
ui -> m_indice -> setText (properties.indexrev);
ui -> m_folio_le -> setText (properties.folio);
@@ -154,7 +154,7 @@ TitleBlockProperties TitleBlockPropertiesWidget::properties() const {
prop.title = ui -> m_title_le -> text();
prop.author = ui -> m_author_le -> text();
prop.filename = ui -> m_file_le -> text();
prop.machine = ui -> m_mach -> text();
prop.plant = ui -> m_plant -> text();
prop.locmach = ui -> m_loc -> text();
prop.indexrev = ui -> m_indice -> text();
prop.folio = ui -> m_folio_le -> text();
@@ -195,7 +195,7 @@ TitleBlockProperties TitleBlockPropertiesWidget::propertiesAutoNum(QString autoN
prop.title = ui -> m_title_le -> text();
prop.author = ui -> m_author_le -> text();
prop.filename = ui -> m_file_le -> text();
prop.machine = ui -> m_mach -> text();
prop.plant = ui -> m_plant -> text();
prop.locmach = ui -> m_loc -> text();
prop.indexrev = ui -> m_indice -> text();
prop.folio = "%autonum";
@@ -294,7 +294,7 @@ void TitleBlockPropertiesWidget::initDialog(const bool &current_date, QETProjec
ui -> m_current_date_rb -> setVisible(current_date);
m_tbt_edit = new QAction(tr("Éditer ce modèle", "menu entry"), this);
m_tbt_duplicate = new QAction(tr("Dupliquer et editer ce modèle", "menu entry"), this);
m_tbt_duplicate = new QAction(tr("Dupliquer et éditer ce modèle", "menu entry"), this);
connect(m_tbt_edit, SIGNAL(triggered()), this, SLOT(editCurrentTitleBlockTemplate()));
connect(m_tbt_duplicate, SIGNAL(triggered()), this, SLOT(duplicateCurrentTitleBlockTemplate()));

View File

@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>654</width>
<height>611</height>
<width>753</width>
<height>901</height>
</rect>
</property>
<property name="sizePolicy">
@@ -51,19 +51,26 @@
</widget>
</item>
<item>
<widget class="QComboBox" name="m_tbt_cb"/>
<widget class="QComboBox" name="m_tbt_cb">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="m_display_at_cb">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>40</width>
<width>0</width>
<height>0</height>
</size>
</property>
@@ -84,7 +91,7 @@
</property>
<item>
<property name="text">
<string notr="true"> </string>
<string notr="true"/>
</property>
<property name="icon">
<iconset resource="../../qelectrotech.qrc">
@@ -93,7 +100,7 @@
</item>
<item>
<property name="text">
<string notr="true"> </string>
<string notr="true"/>
</property>
<property name="icon">
<iconset resource="../../qelectrotech.qrc">
@@ -105,7 +112,7 @@
<item>
<widget class="QPushButton" name="m_tbt_pb">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -232,9 +239,9 @@
</widget>
</item>
<item row="6" column="3">
<widget class="QLineEdit" name="m_mach">
<widget class="QLineEdit" name="m_plant">
<property name="toolTip">
<string>Disponible en tant que %machine pour les modèles de cartouches</string>
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Disponible en tant que %plant pour les modèles de cartouches&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
@@ -433,7 +440,7 @@ associer le nom &quot;volta&quot; et la valeur &quot;1745&quot; remplacera %{vol
<tabstop>m_date_now_pb</tabstop>
<tabstop>m_file_le</tabstop>
<tabstop>m_folio_le</tabstop>
<tabstop>m_mach</tabstop>
<tabstop>m_plant</tabstop>
<tabstop>m_loc</tabstop>
<tabstop>m_indice</tabstop>
<tabstop>auto_page_cb</tabstop>