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:
ispyisail
2026-10-08 12:50:13 +13:00
parent 57c650e6e0
commit f5962ecd06
363 changed files with 227813 additions and 199545 deletions
+18 -18
View File
@@ -136,7 +136,7 @@ void ExportPropertiesWidget::slot_chooseADirectory()
{
QString user_dir = QFileDialog::getExistingDirectory(
this,
tr("Exporter dans le dossier", "dialog title"),
tr("Export in the directory", "dialog title"),
dirpath -> text()
);
if (!user_dir.isEmpty()) {
@@ -157,12 +157,12 @@ void ExportPropertiesWidget::build()
/* le dialogue comprend une ligne permettant d'indiquer un chemin de dossier (hboxLayout) */
QHBoxLayout *hboxLayout = new QHBoxLayout();
dirpath_label = new QLabel(tr("Dossier cible :"), this);
dirpath_label = new QLabel(tr("Target directory:"), this);
dirpath = new QLineEdit(this);
QCompleter *completer = new QCompleter(this);
completer -> setModel(new QFileSystemModel(completer));
dirpath -> setCompleter(completer);
button_browse = new QPushButton(tr("Parcourir"), this);
button_browse = new QPushButton(tr("Browse"), this);
hboxLayout -> addWidget(dirpath_label);
hboxLayout -> addWidget(dirpath);
hboxLayout -> addWidget(button_browse);
@@ -172,7 +172,7 @@ void ExportPropertiesWidget::build()
/* une ligne permettant de choisir le format (hboxLayout1) */
QHBoxLayout *hboxLayout1 = new QHBoxLayout();
format_label = new QLabel(tr("Format :"), this);
format_label = new QLabel(tr("Format:"), this);
hboxLayout1 -> addWidget(format_label);
hboxLayout1 -> addWidget(format = new QComboBox(this));
format -> addItem(tr("PNG (*.png)"), "PNG");
@@ -185,54 +185,54 @@ void ExportPropertiesWidget::build()
vboxLayout -> addLayout(hboxLayout1);
/* un cadre permettant de specifier les options de l'image finale */
QGroupBox *groupbox_options = new QGroupBox(tr("Options de rendu", "groupbox title"));
QGroupBox *groupbox_options = new QGroupBox(tr("Rendering options", "groupbox title"));
QGridLayout *optionshlayout = new QGridLayout(groupbox_options);
// Choix de la zone du schema a exporter
exported_content_choices = new QButtonGroup(groupbox_options);
export_border = new QRadioButton(tr("Exporter entièrement le folio"), groupbox_options);
export_border = new QRadioButton(tr("Export the whole sheet"), groupbox_options);
optionshlayout -> addWidget(export_border, 0, 0);
exported_content_choices -> addButton(export_border);
export_elements = new QRadioButton(tr("Exporter seulement les éléments"), groupbox_options);
export_elements = new QRadioButton(tr("Export elements only"), groupbox_options);
optionshlayout -> addWidget(export_elements, 0, 1);
exported_content_choices -> addButton(export_elements);
// dessiner la grille
draw_grid = new QCheckBox(tr("Dessiner la grille"), groupbox_options);
draw_grid = new QCheckBox(tr("Draw the grid"), groupbox_options);
optionshlayout -> addWidget(draw_grid, 1, 1);
// dessiner le cadre
draw_border = new QCheckBox(tr("Dessiner le cadre"), groupbox_options);
draw_border = new QCheckBox(tr("Draw the border"), groupbox_options);
optionshlayout -> addWidget(draw_border, 1, 0);
// dessiner le cartouche
draw_titleblock = new QCheckBox(tr("Dessiner le cartouche"), groupbox_options);
draw_titleblock = new QCheckBox(tr("Draw the title block"), groupbox_options);
optionshlayout -> addWidget(draw_titleblock, 2, 0);
// dessiner les bornes
draw_terminals = new QCheckBox(tr("Dessiner les bornes"), groupbox_options);
draw_terminals = new QCheckBox(tr("Draw terminals"), groupbox_options);
optionshlayout -> addWidget(draw_terminals, 2, 1);
// dessiner les noms des bornes
draw_terminal_names = new QCheckBox(tr("Dessiner les noms des bornes"), groupbox_options);
draw_terminal_names = new QCheckBox(tr("Draw the names of the terminals"), groupbox_options);
optionshlayout -> addWidget(draw_terminal_names, 3, 0);
// conserver les couleurs des conducteurs
draw_colored_conductors = new QCheckBox(tr("Conserver les couleurs des conducteurs"), groupbox_options);
draw_colored_conductors = new QCheckBox(tr("Keep conductors colors"), groupbox_options);
optionshlayout -> addWidget(draw_colored_conductors, 3, 1);
// use transparent background for SVG-Export
draw_bg_transparent = new QCheckBox(tr("SVG: fond transparent"), groupbox_options);
draw_bg_transparent = new QCheckBox(tr("SVG-background transparent"), groupbox_options);
optionshlayout -> addWidget(draw_bg_transparent, 4, 0);
// each symbol as a DXF block (issue #1339)
dxf_blocks = new QCheckBox(tr("DXF : symboles en blocs"), groupbox_options);
dxf_blocks -> setToolTip(tr("Chaque symbole devient un bloc DXF, sélectionnable d'un clic dans un logiciel de CAO"));
dxf_blocks = new QCheckBox(tr("DXF: symbols as blocks"), groupbox_options);
dxf_blocks -> setToolTip(tr("Each symbol becomes a DXF block, selectable with one click in CAD software"));
optionshlayout -> addWidget(dxf_blocks, 4, 1);
// with blocks, a symbol's texts as attributes of its block
dxf_attributes = new QCheckBox(tr("DXF : textes des symboles en attributs"), groupbox_options);
dxf_attributes -> setToolTip(tr("Les textes d'un symbole (repère, fonction...) deviennent des attributs de son bloc. LibreCAD n'affiche pas les attributs."));
dxf_attributes = new QCheckBox(tr("DXF: symbol texts as attributes"), groupbox_options);
dxf_attributes -> setToolTip(tr("A symbol's texts (label, function...) become attributes of its block. LibreCAD does not show attributes."));
optionshlayout -> addWidget(dxf_attributes, 5, 1);
connect(dxf_blocks, &QCheckBox::toggled, dxf_attributes, &QCheckBox::setEnabled);