mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-10 06:04:12 +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:
@@ -37,7 +37,7 @@
|
||||
ScaleElementDialog::ScaleElementDialog(const QList<QPointF> &terminals, QWidget *parent) :
|
||||
QDialog(parent)
|
||||
{
|
||||
setWindowTitle(tr("Mettre l'élément à l'échelle"));
|
||||
setWindowTitle(tr("Scale the element"));
|
||||
|
||||
auto layout = new QVBoxLayout(this);
|
||||
auto form = new QFormLayout();
|
||||
@@ -52,23 +52,23 @@ ScaleElementDialog::ScaleElementDialog(const QList<QPointF> &terminals, QWidget
|
||||
if (two >= 0) {
|
||||
m_factor->setCurrentIndex(two);
|
||||
}
|
||||
form->addRow(tr("Facteur :"), m_factor);
|
||||
form->addRow(tr("Factor:"), m_factor);
|
||||
|
||||
m_scale_text = new QCheckBox(tr("Mettre aussi les textes à l'échelle"), this);
|
||||
m_scale_text = new QCheckBox(tr("Also scale the texts"), this);
|
||||
m_scale_text->setChecked(true);
|
||||
form->addRow(m_scale_text);
|
||||
|
||||
QString explanation;
|
||||
const int off_grid = SymbolScale::offGridCount(terminals);
|
||||
if (off_grid && factors.isEmpty()) {
|
||||
explanation = tr("%n borne(s) de cet élément ne sont pas sur la grille, "
|
||||
"et aucun facteur ne les y amène.", "", off_grid);
|
||||
explanation = tr("%n terminals of this element are not on the grid, and "
|
||||
"no factor brings them there.", "", off_grid);
|
||||
} else if (off_grid) {
|
||||
explanation = tr("%n borne(s) de cet élément ne sont pas sur la grille. "
|
||||
"Seuls les facteurs qui les y amènent sont proposés.", "", off_grid);
|
||||
explanation = tr("%n terminals of this element are not on the grid. Only "
|
||||
"the factors that bring them there are offered.", "", off_grid);
|
||||
} else {
|
||||
explanation = tr("Seuls les facteurs qui gardent les bornes sur la grille "
|
||||
"sont proposés. L'élément est mis à l'échelle autour de son point de saisie.");
|
||||
explanation = tr("Only the factors that keep the terminals on the grid are offered. The "
|
||||
"element is scaled around its grab point.");
|
||||
}
|
||||
auto label = new QLabel(explanation, this);
|
||||
label->setWordWrap(true);
|
||||
|
||||
Reference in New Issue
Block a user