Added comments for translators.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1407 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2011-12-25 18:22:39 +00:00
parent b1d2d5f9f9
commit 66ab3b20d6
3 changed files with 23 additions and 23 deletions

View File

@@ -99,9 +99,9 @@ void TitleBlockDimensionWidget::initWidgets() {
// extra widgets, for the user to specify whether the value is absolute, relative, etc. // extra widgets, for the user to specify whether the value is absolute, relative, etc.
if (complete_) { if (complete_) {
absolute_button_ = new QRadioButton(tr("Absolu")); absolute_button_ = new QRadioButton(tr("Absolu", "a traditional, absolute measure"));
relative_button_ = new QRadioButton(tr("Relatif au total")); relative_button_ = new QRadioButton(tr("Relatif au total", "a percentage of the total width"));
remaining_button_ = new QRadioButton(tr("Relatif au restant")); remaining_button_ = new QRadioButton(tr("Relatif au restant", "a percentage of what remains from the total width"));
dimension_type_ = new QButtonGroup(this); dimension_type_ = new QButtonGroup(this);
dimension_type_ -> addButton(absolute_button_, QET::Absolute); dimension_type_ -> addButton(absolute_button_, QET::Absolute);
dimension_type_ -> addButton(relative_button_, QET::RelativeToTotalLength); dimension_type_ -> addButton(relative_button_, QET::RelativeToTotalLength);

View File

@@ -100,13 +100,13 @@ void QETTitleBlockTemplateEditor::editLogos() {
void QETTitleBlockTemplateEditor::initActions() { void QETTitleBlockTemplateEditor::initActions() {
QETApp *qet_app = QETApp::instance(); QETApp *qet_app = QETApp::instance();
save_ = new QAction(QET::Icons::DocumentSave, tr("&Enregistrer"), this); save_ = new QAction(QET::Icons::DocumentSave, tr("&Enregistrer", "menu entry"), this);
quit_ = new QAction(QET::Icons::ApplicationExit, tr("&Quitter"), this); quit_ = new QAction(QET::Icons::ApplicationExit, tr("&Quitter", "menu entry"), this);
configure_ = new QAction(QET::Icons::Configure, tr("&Configurer QElectroTech"), 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"), 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"), this); about_qt_ = new QAction(QET::Icons::QtLogo, tr("\300 propos de &Qt", "menu entry"), this);
merge_cells_ = new QAction(tr("&Fusionner les cellules"), this); merge_cells_ = new QAction( tr("&Fusionner les cellules", "menu entry"), this);
split_cell_ = new QAction(tr("&S\351parer les cellules"), this); split_cell_ = new QAction( tr("&S\351parer les cellules", "menu entry"), this);
save_ -> setShortcut(QKeySequence::Save); save_ -> setShortcut(QKeySequence::Save);
quit_ -> setShortcut(QKeySequence(tr("Ctrl+Q", "shortcut to quit"))); quit_ -> setShortcut(QKeySequence(tr("Ctrl+Q", "shortcut to quit")));
@@ -130,10 +130,10 @@ void QETTitleBlockTemplateEditor::initActions() {
Initialize the various menus. Initialize the various menus.
*/ */
void QETTitleBlockTemplateEditor::initMenus() { void QETTitleBlockTemplateEditor::initMenus() {
file_menu_ = new QMenu(tr("&Fichier"), this); file_menu_ = new QMenu(tr("&Fichier", "menu title"), this);
edit_menu_ = new QMenu(tr("&\311dition"), this); edit_menu_ = new QMenu(tr("&\311dition", "menu title"), this);
config_menu_ = new QMenu(tr("&Configuration"), this); config_menu_ = new QMenu(tr("&Configuration", "menu title"), this);
help_menu_ = new QMenu(tr("&Aide"), this); help_menu_ = new QMenu(tr("&Aide", "menu title"), this);
file_menu_ -> setTearOffEnabled(true); file_menu_ -> setTearOffEnabled(true);
edit_menu_ -> setTearOffEnabled(true); edit_menu_ -> setTearOffEnabled(true);

View File

@@ -115,23 +115,23 @@ QVariant TitleBlockCell::attribute(const QString &attribute) {
*/ */
QString TitleBlockCell::attributeName(const QString &attribute) { QString TitleBlockCell::attributeName(const QString &attribute) {
if (attribute == "type") { 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") { } 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") { } 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") { } 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") { } 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") { } else if (attribute == "value") {
return(QObject::tr("valeur affich<63>e", "cell property human name")); return(QObject::tr("valeur affich<63>e", "title block cell property human name"));
} else if (attribute == "alignment") { } 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") { } 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") { } 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()); return(QString());
} }