mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-09 21:54:13 +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:
@@ -45,8 +45,8 @@ TextResizeHandles::TextResizeHandles(QGraphicsTextItem *text, qreal handle_size)
|
||||
auto *handle = new QetGraphicsHandlerItem(handle_size);
|
||||
handle->setParentItem(this);
|
||||
handle->setColor(Qt::darkGreen);
|
||||
handle->setToolTip(tr("Glisser pour changer la largeur du texte, "
|
||||
"double-cliquer pour une largeur automatique"));
|
||||
handle->setToolTip(tr("Drag to change the text width, double-click "
|
||||
"for automatic width"));
|
||||
handle->setCursor(i == TextResize::TopLeft || i == TextResize::BottomRight
|
||||
? Qt::SizeFDiagCursor : Qt::SizeBDiagCursor);
|
||||
m_handles << handle;
|
||||
@@ -232,7 +232,7 @@ TextResizeCommand::TextResizeCommand(QGraphicsObject *text,
|
||||
m_old_pos(old_pos),
|
||||
m_new_pos(new_pos)
|
||||
{
|
||||
setText(tr("Redimensionner un texte"));
|
||||
setText(tr("Resize a text"));
|
||||
}
|
||||
|
||||
void TextResizeCommand::undo() {
|
||||
|
||||
Reference in New Issue
Block a user