mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-10 06:04:12 +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:
@@ -518,20 +518,20 @@ RichTextEditorToolBar::RichTextEditorToolBar(RichTextEditor *editor,
|
||||
|
||||
m_bold_action = createCheckableAction(
|
||||
QIcon::fromTheme("format-text-bold"),
|
||||
tr("Texte en gras"), editor, &RichTextEditor::setFontBold, this);
|
||||
ShortcutManager::instance().registerAction(m_bold_action, "richtext.bold", tr("Éditeur de texte"), Qt::CTRL | Qt::Key_B);
|
||||
tr("Bold"), editor, &RichTextEditor::setFontBold, this);
|
||||
ShortcutManager::instance().registerAction(m_bold_action, "richtext.bold", tr("Text editor"), Qt::CTRL | Qt::Key_B);
|
||||
addAction(m_bold_action);
|
||||
|
||||
m_italic_action = createCheckableAction(
|
||||
QIcon::fromTheme("format-text-italic"),
|
||||
tr("Texte en italique"), editor, &RichTextEditor::setFontItalic, this);
|
||||
ShortcutManager::instance().registerAction(m_italic_action, "richtext.italic", tr("Éditeur de texte"), Qt::CTRL | Qt::Key_I);
|
||||
tr("Italic"), editor, &RichTextEditor::setFontItalic, this);
|
||||
ShortcutManager::instance().registerAction(m_italic_action, "richtext.italic", tr("Text editor"), Qt::CTRL | Qt::Key_I);
|
||||
addAction(m_italic_action);
|
||||
|
||||
m_underline_action = createCheckableAction(
|
||||
QIcon::fromTheme("format-text-underline"),
|
||||
tr("Texte souligé"), editor, &RichTextEditor::setFontUnderline, this);
|
||||
ShortcutManager::instance().registerAction(m_underline_action, "richtext.underline", tr("Éditeur de texte"), Qt::CTRL | Qt::Key_U);
|
||||
tr("Underline"), editor, &RichTextEditor::setFontUnderline, this);
|
||||
ShortcutManager::instance().registerAction(m_underline_action, "richtext.underline", tr("Text editor"), Qt::CTRL | Qt::Key_U);
|
||||
addAction(m_underline_action);
|
||||
|
||||
|
||||
@@ -586,7 +586,7 @@ RichTextEditorToolBar::RichTextEditorToolBar(RichTextEditor *editor,
|
||||
|
||||
// Insert hyperlink and image buttons
|
||||
|
||||
m_link_action->setText(tr("Insérer un lien"));
|
||||
m_link_action->setText(tr("Insert link"));
|
||||
connect(m_link_action, &QAction::triggered, this, &RichTextEditorToolBar::insertLink);
|
||||
addAction(m_link_action);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user