diff --git a/sources/titleblock/dimensionwidget.cpp b/sources/titleblock/dimensionwidget.cpp index f36c60ec1..9291dea2e 100644 --- a/sources/titleblock/dimensionwidget.cpp +++ b/sources/titleblock/dimensionwidget.cpp @@ -99,9 +99,9 @@ void TitleBlockDimensionWidget::initWidgets() { // extra widgets, for the user to specify whether the value is absolute, relative, etc. if (complete_) { - absolute_button_ = new QRadioButton(tr("Absolu")); - relative_button_ = new QRadioButton(tr("Relatif au total")); - remaining_button_ = new QRadioButton(tr("Relatif au restant")); + absolute_button_ = new QRadioButton(tr("Absolu", "a traditional, absolute measure")); + relative_button_ = new QRadioButton(tr("Relatif au total", "a percentage of the total width")); + remaining_button_ = new QRadioButton(tr("Relatif au restant", "a percentage of what remains from the total width")); dimension_type_ = new QButtonGroup(this); dimension_type_ -> addButton(absolute_button_, QET::Absolute); dimension_type_ -> addButton(relative_button_, QET::RelativeToTotalLength); diff --git a/sources/titleblock/qettemplateeditor.cpp b/sources/titleblock/qettemplateeditor.cpp index 5234db160..456bfde8d 100644 --- a/sources/titleblock/qettemplateeditor.cpp +++ b/sources/titleblock/qettemplateeditor.cpp @@ -100,13 +100,13 @@ void QETTitleBlockTemplateEditor::editLogos() { void QETTitleBlockTemplateEditor::initActions() { QETApp *qet_app = QETApp::instance(); - save_ = new QAction(QET::Icons::DocumentSave, tr("&Enregistrer"), this); - quit_ = new QAction(QET::Icons::ApplicationExit, tr("&Quitter"), this); - configure_ = new QAction(QET::Icons::Configure, tr("&Configurer QElectroTech"), this); - about_qet_ = new QAction(QET::Icons::QETLogo, tr("\300 &propos de QElectroTech"), this); - about_qt_ = new QAction(QET::Icons::QtLogo, tr("\300 propos de &Qt"), this); - merge_cells_ = new QAction(tr("&Fusionner les cellules"), this); - split_cell_ = new QAction(tr("&S\351parer les cellules"), this); + save_ = new QAction(QET::Icons::DocumentSave, tr("&Enregistrer", "menu entry"), this); + quit_ = new QAction(QET::Icons::ApplicationExit, tr("&Quitter", "menu entry"), this); + configure_ = new QAction(QET::Icons::Configure, tr("&Configurer QElectroTech", "menu entry"), this); + about_qet_ = new QAction(QET::Icons::QETLogo, tr("\300 &propos de QElectroTech", "menu entry"), this); + about_qt_ = new QAction(QET::Icons::QtLogo, tr("\300 propos de &Qt", "menu entry"), this); + merge_cells_ = new QAction( tr("&Fusionner les cellules", "menu entry"), this); + split_cell_ = new QAction( tr("&S\351parer les cellules", "menu entry"), this); save_ -> setShortcut(QKeySequence::Save); quit_ -> setShortcut(QKeySequence(tr("Ctrl+Q", "shortcut to quit"))); @@ -130,10 +130,10 @@ void QETTitleBlockTemplateEditor::initActions() { Initialize the various menus. */ void QETTitleBlockTemplateEditor::initMenus() { - file_menu_ = new QMenu(tr("&Fichier"), this); - edit_menu_ = new QMenu(tr("&\311dition"), this); - config_menu_ = new QMenu(tr("&Configuration"), this); - help_menu_ = new QMenu(tr("&Aide"), this); + file_menu_ = new QMenu(tr("&Fichier", "menu title"), this); + edit_menu_ = new QMenu(tr("&\311dition", "menu title"), this); + config_menu_ = new QMenu(tr("&Configuration", "menu title"), this); + help_menu_ = new QMenu(tr("&Aide", "menu title"), this); file_menu_ -> setTearOffEnabled(true); edit_menu_ -> setTearOffEnabled(true); diff --git a/sources/titleblockcell.cpp b/sources/titleblockcell.cpp index 57e19a6a1..f22ff7be9 100644 --- a/sources/titleblockcell.cpp +++ b/sources/titleblockcell.cpp @@ -115,23 +115,23 @@ QVariant TitleBlockCell::attribute(const QString &attribute) { */ QString TitleBlockCell::attributeName(const QString &attribute) { if (attribute == "type") { - return(QObject::tr("type", "cell property human name")); + return(QObject::tr("type", "title block cell property human name")); } else if (attribute == "name") { - return(QObject::tr("nom", "cell property human name")); + return(QObject::tr("nom", "title block cell property human name")); } else if (attribute == "logo") { - return(QObject::tr("logo", "cell property human name")); + return(QObject::tr("logo", "title block cell property human name")); } else if (attribute == "label") { - return(QObject::tr("label", "cell property human name")); + return(QObject::tr("label", "title block cell property human name")); } else if (attribute == "displaylabel") { - return(QObject::tr("affichage du label", "cell property human name")); + return(QObject::tr("affichage du label", "title block cell property human name")); } else if (attribute == "value") { - return(QObject::tr("valeur affichée", "cell property human name")); + return(QObject::tr("valeur affichée", "title block cell property human name")); } else if (attribute == "alignment") { - return(QObject::tr("alignement du texte", "cell property human name")); + return(QObject::tr("alignement du texte", "title block cell property human name")); } else if (attribute == "fontsize") { - return(QObject::tr("taille du texte", "cell property human name")); + return(QObject::tr("taille du texte", "title block cell property human name")); } else if (attribute == "horizontal_adjust") { - return(QObject::tr("ajustement horizontal", "cell property human name")); + return(QObject::tr("ajustement horizontal", "title block cell property human name")); } return(QString()); }