mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-09-29 22:24:13 +02:00
Conductor dock: English translations + align checkbox wording (#500)
Add English translations (qet_en.ts) for the new conductor-panel strings
so non-French users don't see untranslated source text: the panel title,
the two undo captions, the apply-to-all checkbox, and the View-menu
toggle + status tip.
The apply-to-all checkbox now reuses the modal dialog's exact wording
("Appliquer les propriétés a l'ensemble des conducteurs de ce potentiel")
for consistency and so it shares the existing translation.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -59,8 +59,11 @@ ConductorPropertiesEditorWidget::ConductorPropertiesEditorWidget(
|
||||
// off) sets it once. It is a child of this editor, not of m_cpw, so it is
|
||||
// deliberately outside the live-edit signal wiring in connectChangeSignals()
|
||||
// (toggling it must not push an edit, only change how the next edit applies).
|
||||
// Reuse the modal dialog's exact wording for consistency (and so the
|
||||
// existing translation applies).
|
||||
m_apply_all_cb = new QCheckBox(
|
||||
tr("Appliquer à tous les conducteurs du potentiel"), this);
|
||||
tr("Appliquer les propriétés à l'ensemble des conducteurs de ce potentiel"),
|
||||
this);
|
||||
m_apply_all_cb->setChecked(QSettings().value(
|
||||
QStringLiteral("diagrameditor/conductor_apply_all"), true).toBool());
|
||||
connect(m_apply_all_cb, &QCheckBox::toggled, this, [](bool on) {
|
||||
|
||||
Reference in New Issue
Block a user