mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-09 13:34:14 +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:
@@ -62,44 +62,44 @@ ElementsPanelWidget::ElementsPanelWidget(QWidget *parent) : QWidget(parent) {
|
||||
elements_panel = new ElementsPanel(this);
|
||||
|
||||
// initialise les actions
|
||||
open_directory = new QAction(QET::Icons::FolderOpen, tr("Ouvrir le dossier correspondant"), this);
|
||||
copy_path = new QAction(QET::Icons::IC_CopyFile, tr("Copier le chemin"), this);
|
||||
prj_activate = new QAction(QET::Icons::ProjectFile, tr("Basculer vers ce projet"), this);
|
||||
prj_close = new QAction(QET::Icons::DocumentClose, tr("Fermer ce projet"), this);
|
||||
prj_edit_prop = new QAction(QET::Icons::DialogInformation, tr("Propriétés du projet"), this);
|
||||
prj_prop_diagram = new QAction(QET::Icons::DialogInformation, tr("Propriétés du folio"), this);
|
||||
prj_add_diagram = new QAction(QET::Icons::DiagramAdd, tr("Ajouter un folio"), this);
|
||||
prj_insert_diagram_above = new QAction(QET::Icons::DiagramAdd, tr("Insérer un folio au-dessus"), this);
|
||||
prj_insert_diagram_below = new QAction(QET::Icons::DiagramAdd, tr("Insérer un folio en dessous"), this);
|
||||
prj_duplicate_diagram = new QAction(QET::Icons::IC_CopyFile, tr("Copier et coller"), this);
|
||||
prj_del_diagram = new QAction(QET::Icons::DiagramDelete, tr("Supprimer ce folio"), this);
|
||||
prj_move_diagram_up = new QAction(QET::Icons::GoUp, tr("Remonter ce folio"), this);
|
||||
prj_move_diagram_down = new QAction(QET::Icons::GoDown, tr("Abaisser ce folio"), this);
|
||||
prj_move_diagram_upx10 = new QAction(QET::Icons::GoUpDouble, tr("Remonter ce folio x10"), this);
|
||||
prj_move_diagram_upx100 = new QAction(QET::Icons::GoUpDouble, tr("Remonter ce folio x100"), this);
|
||||
prj_move_diagram_top = new QAction(QET::Icons::GoTop, tr("Remonter ce folio au debut"), this);
|
||||
prj_move_diagram_downx10 = new QAction(QET::Icons::GoDownDouble, tr("Abaisser ce folio x10"), this);
|
||||
prj_move_diagram_downx100 = new QAction(QET::Icons::GoDownDouble, tr("Abaisser ce folio x100"), this);
|
||||
tbt_add = new QAction(QET::Icons::TitleBlock, tr("Nouveau modèle"), this);
|
||||
tbt_edit = new QAction(QET::Icons::TitleBlock, tr("Éditer ce modèle"), this);
|
||||
tbt_remove = new QAction(QET::Icons::TitleBlock, tr("Supprimer ce modèle"), this);
|
||||
open_directory = new QAction(QET::Icons::FolderOpen, tr("Open the underlying directory"), this);
|
||||
copy_path = new QAction(QET::Icons::IC_CopyFile, tr("Copy full path to clipboard"), this);
|
||||
prj_activate = new QAction(QET::Icons::ProjectFile, tr("Activate this project"), this);
|
||||
prj_close = new QAction(QET::Icons::DocumentClose, tr("Close this project"), this);
|
||||
prj_edit_prop = new QAction(QET::Icons::DialogInformation, tr("Project properties"), this);
|
||||
prj_prop_diagram = new QAction(QET::Icons::DialogInformation, tr("Sheet properties"), this);
|
||||
prj_add_diagram = new QAction(QET::Icons::DiagramAdd, tr("Add a sheet"), this);
|
||||
prj_insert_diagram_above = new QAction(QET::Icons::DiagramAdd, tr("Insert a sheet number above"), this);
|
||||
prj_insert_diagram_below = new QAction(QET::Icons::DiagramAdd, tr("Insert a sheet number below"), this);
|
||||
prj_duplicate_diagram = new QAction(QET::Icons::IC_CopyFile, tr("Copy and paste"), this);
|
||||
prj_del_diagram = new QAction(QET::Icons::DiagramDelete, tr("Delete this sheet"), this);
|
||||
prj_move_diagram_up = new QAction(QET::Icons::GoUp, tr("Move this sheet up"), this);
|
||||
prj_move_diagram_down = new QAction(QET::Icons::GoDown, tr("Move down this sheet"), this);
|
||||
prj_move_diagram_upx10 = new QAction(QET::Icons::GoUpDouble, tr("Move this sheet up x10"), this);
|
||||
prj_move_diagram_upx100 = new QAction(QET::Icons::GoUpDouble, tr("Move this sheet up x100"), this);
|
||||
prj_move_diagram_top = new QAction(QET::Icons::GoTop, tr("Move this sheet to the beginning"), this);
|
||||
prj_move_diagram_downx10 = new QAction(QET::Icons::GoDownDouble, tr("Move down this sheet x10"), this);
|
||||
prj_move_diagram_downx100 = new QAction(QET::Icons::GoDownDouble, tr("Move down this sheet x100"), this);
|
||||
tbt_add = new QAction(QET::Icons::TitleBlock, tr("New template"), this);
|
||||
tbt_edit = new QAction(QET::Icons::TitleBlock, tr("Edit this template"), this);
|
||||
tbt_remove = new QAction(QET::Icons::TitleBlock, tr("Delete this template"), this);
|
||||
|
||||
|
||||
ShortcutManager::instance().registerAction(prj_del_diagram, "panel.delete_diagram", tr("Panneau des éléments"), QKeySequence(Qt::Key_Delete));
|
||||
ShortcutManager::instance().registerAction(prj_move_diagram_up, "panel.move_diagram_up", tr("Panneau des éléments"), QKeySequence(Qt::Key_F3));
|
||||
ShortcutManager::instance().registerAction(prj_move_diagram_down, "panel.move_diagram_down", tr("Panneau des éléments"), QKeySequence(Qt::Key_F4));
|
||||
ShortcutManager::instance().registerAction(prj_move_diagram_top, "panel.move_diagram_top", tr("Panneau des éléments"), QKeySequence(Qt::Key_F5));
|
||||
ShortcutManager::instance().registerAction(prj_move_diagram_downx10, "panel.move_diagram_downx10", tr("Panneau des éléments"), QKeySequence(Qt::Key_F6));
|
||||
ShortcutManager::instance().registerAction(prj_move_diagram_downx100, "panel.move_diagram_downx100", tr("Panneau des éléments"), QKeySequence(Qt::Key_F7));
|
||||
ShortcutManager::instance().registerAction(prj_move_diagram_upx10, "panel.move_diagram_upx10", tr("Panneau des éléments"), QKeySequence(Qt::Key_F8));
|
||||
ShortcutManager::instance().registerAction(prj_move_diagram_upx100, "panel.move_diagram_upx100", tr("Panneau des éléments"), QKeySequence(Qt::Key_F9));
|
||||
ShortcutManager::instance().registerAction(prj_del_diagram, "panel.delete_diagram", tr("Elements panel"), QKeySequence(Qt::Key_Delete));
|
||||
ShortcutManager::instance().registerAction(prj_move_diagram_up, "panel.move_diagram_up", tr("Elements panel"), QKeySequence(Qt::Key_F3));
|
||||
ShortcutManager::instance().registerAction(prj_move_diagram_down, "panel.move_diagram_down", tr("Elements panel"), QKeySequence(Qt::Key_F4));
|
||||
ShortcutManager::instance().registerAction(prj_move_diagram_top, "panel.move_diagram_top", tr("Elements panel"), QKeySequence(Qt::Key_F5));
|
||||
ShortcutManager::instance().registerAction(prj_move_diagram_downx10, "panel.move_diagram_downx10", tr("Elements panel"), QKeySequence(Qt::Key_F6));
|
||||
ShortcutManager::instance().registerAction(prj_move_diagram_downx100, "panel.move_diagram_downx100", tr("Elements panel"), QKeySequence(Qt::Key_F7));
|
||||
ShortcutManager::instance().registerAction(prj_move_diagram_upx10, "panel.move_diagram_upx10", tr("Elements panel"), QKeySequence(Qt::Key_F8));
|
||||
ShortcutManager::instance().registerAction(prj_move_diagram_upx100, "panel.move_diagram_upx100", tr("Elements panel"), QKeySequence(Qt::Key_F9));
|
||||
|
||||
|
||||
|
||||
// initialise le champ de texte pour filtrer avec une disposition horizontale
|
||||
filter_textfield = new QLineEdit(this);
|
||||
filter_textfield -> setClearButtonEnabled(true);
|
||||
filter_textfield -> setPlaceholderText(tr("Filtrer"));
|
||||
filter_textfield -> setPlaceholderText(tr("Filter"));
|
||||
|
||||
|
||||
context_menu = new QMenu(this);
|
||||
|
||||
Reference in New Issue
Block a user