mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-09 13:34:14 +02:00
Fix 9 messages always shown in French; add missing English
Nine messages were never passed through tr(), so every user saw them in French: the undo entries for grouping and ungrouping terminals, for editing an arc (3), an ellipse, a rectangle and a PLC table in the element editor, and the error box when integrating a title block template fails. They are now wrapped, text unchanged. qet_en.ts also lacked English for 63 messages added since the last translations update (Customize dialog, mouse gestures, toolbar contents, mirror, element scale, paste element information, paper format). update_translations was run on qet_en.ts with lupdate's guessing heuristics off, then the 72 new entries were translated. Most of the diff is lupdate refreshing line numbers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -82,7 +82,7 @@ QET::Action IntegrationMoveTitleBlockTemplatesHandler::templateAlreadyExists(con
|
||||
@param message Error message.
|
||||
*/
|
||||
QET::Action IntegrationMoveTitleBlockTemplatesHandler::errorWithATemplate(const TitleBlockTemplateLocation &tbt, const QString &message) {
|
||||
QString error_message = QString("Une erreur s'est produite avec le modèle %1 : %2").arg(tbt.toString()).arg(message);
|
||||
QString error_message = tr("Une erreur s'est produite avec le modèle %1 : %2").arg(tbt.toString()).arg(message);
|
||||
QET::QetMessageBox::critical(
|
||||
parent_widget_,
|
||||
tr("Erreur", "message box title"),
|
||||
|
||||
Reference in New Issue
Block a user