mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-10 22:24: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,15 +45,14 @@ BackupRestoreDialog::BackupRestoreDialog(
|
||||
QDialog(parent),
|
||||
m_groups(groups)
|
||||
{
|
||||
setWindowTitle(tr("Fichiers de restauration", "window title"));
|
||||
setWindowTitle(tr("Recovery files", "window title"));
|
||||
|
||||
auto main_layout = new QVBoxLayout(this);
|
||||
|
||||
auto intro = new QLabel(
|
||||
tr("<b>Des fichiers de restauration ont été trouvés,<br>"
|
||||
"voulez-vous les ouvrir ?</b><br>"
|
||||
"Pour un projet ayant plusieurs versions de restauration, "
|
||||
"la plus récente est sélectionnée par défaut.",
|
||||
tr("<b>Recovery files were found,<br>do you want to open "
|
||||
"them?</b><br>For a project with several recovery "
|
||||
"versions, the newest is selected by default.",
|
||||
"dialog message"));
|
||||
intro->setWordWrap(true);
|
||||
main_layout->addWidget(intro);
|
||||
@@ -81,7 +80,7 @@ BackupRestoreDialog::BackupRestoreDialog(
|
||||
QString label = QLocale::system().toString(
|
||||
modified, QLocale::ShortFormat);
|
||||
if (i == 0) {
|
||||
label = tr("%1 (la plus récente)", "recovery generation label")
|
||||
label = tr("%1 (newest)", "recovery generation label")
|
||||
.arg(label);
|
||||
}
|
||||
combo->addItem(label);
|
||||
|
||||
Reference in New Issue
Block a user