mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-02-12 20:09:58 +01:00
Bugfix:foliolist and shapeitem are now translated
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3043 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -238,10 +238,10 @@ void DiagramFolioList::buildGrid(const QRectF &rect, int rows, int tables, qreal
|
||||
* @param row_RectF rectangle of header
|
||||
*/
|
||||
void DiagramFolioList::fillHeader(QPainter *qp, const QRectF &row_RectF) {
|
||||
QString authorTranslatable = tr("Auteur");
|
||||
QString titleTranslatable = tr("Titre");
|
||||
QString folioTranslatable = tr("Folio");
|
||||
QString dateTranslatable = tr("Date");
|
||||
QString authorTranslatable(QObject::tr("Auteur"));
|
||||
QString titleTranslatable(QObject::tr("Titre"));
|
||||
QString folioTranslatable(QObject::tr("Folio"));
|
||||
QString dateTranslatable(QObject::tr("Date"));
|
||||
|
||||
qp->save();
|
||||
qp->setFont(QETApp::diagramTextsFont(13));
|
||||
|
||||
@@ -202,16 +202,16 @@ void QetShapeItem::editProperty()
|
||||
QVBoxLayout dialog_layout(&property_dialog);
|
||||
|
||||
//GroupBox for resizer image
|
||||
QGroupBox restyle_groupe(tr("Shape Line Style", "shape style"));
|
||||
QGroupBox restyle_groupe(QObject::tr("Type de ligne", "shape style"));
|
||||
dialog_layout.addWidget(&restyle_groupe);
|
||||
QHBoxLayout restyle_layout(&restyle_groupe);
|
||||
|
||||
QComboBox style_combo(&property_dialog);
|
||||
style_combo.addItem(tr("Normal"));
|
||||
style_combo.addItem(tr("Tiret"));
|
||||
style_combo.addItem(tr("Pointill\351"));
|
||||
style_combo.addItem(tr("Traits et points"));
|
||||
style_combo.addItem(tr("Traits points points"));
|
||||
style_combo.addItem(QObject::tr("Normal"));
|
||||
style_combo.addItem(QObject::tr("Tiret"));
|
||||
style_combo.addItem(QObject::tr("Pointill\351"));
|
||||
style_combo.addItem(QObject::tr("Traits et points"));
|
||||
style_combo.addItem(QObject::tr("Traits points points"));
|
||||
|
||||
// The items have been added in order accordance with Qt::PenStyle.
|
||||
style_combo.setCurrentIndex(int(_shapeStyle) - 1);
|
||||
|
||||
Reference in New Issue
Block a user