mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-09 21:54:13 +02:00
Make English the source language of the interface text
Every tr() source string in the code and the forms is now the English
text, and French is a translation (qet_fr.ts) like the other languages.
Generated, not hand-edited: master ef795a21e5 converted by
qet-en-source (harness 4c4ddc9).
3144 messages get an English source, 665 already had one, 0 left French; 8 shared-wording pairs disambiguated.
C++: 2904 literals in 233 files. Forms: 809 strings in 65 files. All 34 .ts files re-keyed; qet_fr.ts filled.
lupdate check: PASS. What each of 38 languages shows, old vs new: same 118266, English instead of French 38433, comment fallback 51, differences 0.
This commit is contained in:
@@ -219,7 +219,7 @@ void ConductorPropertiesWidget::setMixedTextFields(
|
||||
|
||||
for (const auto &edit : edits)
|
||||
edit.second->setPlaceholderText(mixed.contains(edit.first)
|
||||
? tr("Plusieurs valeurs", "several conductors, different values")
|
||||
? tr("Several values", "several conductors, different values")
|
||||
: QString());
|
||||
}
|
||||
|
||||
@@ -234,9 +234,9 @@ void ConductorPropertiesWidget::setTextLocked(bool locked)
|
||||
m_text_locked = locked;
|
||||
ui->m_text_le->setEnabled(!locked && ui->m_formula_le->text().isEmpty());
|
||||
ui->m_text_le->setToolTip(locked
|
||||
? tr("Plusieurs conducteurs sélectionnés : le texte se modifie "
|
||||
"sur un seul conducteur à la fois.")
|
||||
: tr("Texte"));
|
||||
? tr("Several conductors selected: the text is changed on one "
|
||||
"conductor at a time.")
|
||||
: tr("Text"));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -247,10 +247,10 @@ void ConductorPropertiesWidget::setDisabledShowText(const bool &disable) {
|
||||
ui->m_show_text_cb->setDisabled(disable==true? true : false);
|
||||
//Say why the box is locked: the setting that locks it is not in this dialog
|
||||
ui->m_show_text_cb->setToolTip(disable
|
||||
? tr("Texte visible\n"
|
||||
"Verrouillé par l'option « Afficher un texte de potentiel par "
|
||||
"folio » de ce folio, dans Propriétés du folio.")
|
||||
: tr("Texte visible"));
|
||||
? tr("Visible text\n"
|
||||
"Locked by this sheet's “Show one potential text per sheet” "
|
||||
"option, in Sheet properties.")
|
||||
: tr("Visible text"));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -285,9 +285,9 @@ void ConductorPropertiesWidget::initWidget()
|
||||
m_horiz_select = QETApp::createTextOrientationSpinBoxWidget();
|
||||
ui -> m_text_angle_gl -> addWidget(m_horiz_select, 2, 1, Qt::AlignHCenter);
|
||||
|
||||
ui -> m_line_style_cb -> addItem(tr("Trait plein", "conductor style: solid line"), QPen(Qt::SolidLine));
|
||||
ui -> m_line_style_cb -> addItem(tr("Trait en pointillés", "conductor style: dashed line"), QPen(Qt::DashLine));
|
||||
ui -> m_line_style_cb -> addItem(tr("Traits et points", "conductor style: dashed and dotted line"), QPen(Qt::DashDotLine));
|
||||
ui -> m_line_style_cb -> addItem(tr("Solid line", "conductor style: solid line"), QPen(Qt::SolidLine));
|
||||
ui -> m_line_style_cb -> addItem(tr("Dashed line", "conductor style: dashed line"), QPen(Qt::DashLine));
|
||||
ui -> m_line_style_cb -> addItem(tr("Dots and dashes", "conductor style: dashed and dotted line"), QPen(Qt::DashDotLine));
|
||||
|
||||
ui -> m_update_preview_pb -> setHidden(true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user