Skip to content

Commit d792cc8

Browse files
committed
Apply spelling fixes found in #3574 to sources and all translation files
Except "savepoint" which is correct sqlite parlance. https://sqlite.org/lang_savepoint.html SOCKS5 is the correct term.
1 parent 68cf408 commit d792cc8

26 files changed

+158
-160
lines changed

src/Application.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ Application::Application(int& argc, char** argv) :
272272
if(QFile::exists(arguments().at(i)))
273273
fileToOpen = arguments().at(i);
274274
else
275-
qWarning() << qPrintable(tr("Invalid option/non-existant file: %1").arg(arguments().at(i)));
275+
qWarning() << qPrintable(tr("Invalid option/non-existent file: %1").arg(arguments().at(i)));
276276
}
277277
}
278278

src/MainWindow.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ void MainWindow::init()
341341
ui->viewProjectToolbarAction->setChecked(!ui->toolbarProject->isHidden());
342342
});
343343
QAction* simplifyLayoutAction = layoutMenu->addAction(tr("Simplify Window Layout"));
344-
simplifyLayoutAction->setShortcut(QKeySequence(tr("Shift+Alt+0")));
344+
simplifyLayoutAction->setShortcut(QKeySequence(tr("Alt+Shift+0")));
345345
connect(simplifyLayoutAction, &QAction::triggered, this, [=]() {
346346
ui->viewMenu->findChild<QAction *>(ui->pragmas->accessibleName())->activate(QAction::Trigger);
347347
ui->dockLog->hide();
@@ -372,7 +372,7 @@ void MainWindow::init()
372372
statusBusyLabel = new QLabel(ui->statusbar);
373373
statusBusyLabel->setEnabled(false);
374374
statusBusyLabel->setVisible(false);
375-
statusBusyLabel->setToolTip(tr("The database is currenctly busy."));
375+
statusBusyLabel->setToolTip(tr("The database is currently busy."));
376376
ui->statusbar->addPermanentWidget(statusBusyLabel);
377377

378378
statusStopButton = new QToolButton(ui->statusbar);

src/ProxyDialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ProxyDialog::ProxyDialog(QWidget *parent) :
1212
ui->comboType->addItem(tr("None"), "none");
1313
ui->comboType->addItem(tr("System settings"), "system");
1414
ui->comboType->addItem(tr("HTTP"), "http");
15-
ui->comboType->addItem(tr("Socks v5"), "socks5");
15+
ui->comboType->addItem(tr("SOCKS5"), "socks5");
1616

1717
// Load current settings
1818
ui->comboType->setCurrentIndex(ui->comboType->findData(Settings::getValue("proxy", "type").toString()));

src/TableBrowser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1332,7 +1332,7 @@ void TableBrowser::addRecord()
13321332
selectTableLine(row);
13331333
} else {
13341334
// Error inserting empty row.
1335-
// User has to provide values acomplishing the constraints. Open Add Record Dialog.
1335+
// User has to provide values accomplishing the constraints. Open Add Record Dialog.
13361336
insertValues();
13371337
}
13381338
updateRecordsetLabel();

src/TableBrowser.ui

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@
610610
<string>Insert a new record in the current table</string>
611611
</property>
612612
<property name="whatsThis">
613-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;This button creates a new record in the database. Hold the mouse button to open a pop-up menu of different options:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;New Record&lt;/span&gt;: insert a new record with default values in the database.&lt;/li&gt;&lt;li&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Insert Values...&lt;/span&gt;: open a dialog for entering values before they are inserted in the database. This allows to enter values acomplishing the different constraints. This dialog is also open if the &lt;span style=&quot; font-weight:600;&quot;&gt;New Record&lt;/span&gt; option fails due to these constraints.&lt;/li&gt;&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;</string>
613+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;This button creates a new record in the database. Hold the mouse button to open a pop-up menu of different options:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;New Record&lt;/span&gt;: insert a new record with default values in the database.&lt;/li&gt;&lt;li&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Insert Values...&lt;/span&gt;: open a dialog for entering values before they are inserted in the database. This allows to enter values accomplishing the different constraints. This dialog is also open if the &lt;span style=&quot; font-weight:600;&quot;&gt;New Record&lt;/span&gt; option fails due to these constraints.&lt;/li&gt;&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;</string>
614614
</property>
615615
</action>
616616
<action name="actionDeleteRecord">
@@ -714,7 +714,7 @@
714714
<string>Save the table as currently displayed</string>
715715
</property>
716716
<property name="whatsThis">
717-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;This popup menu provides the following options applying to the currently browsed and filtered table:&lt;/p&gt;&lt;ul style=&quot;margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;&quot;&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Export to CSV: this option exports the data of the browsed table as currently displayed (after filters, display formats and order column) to a CSV file.&lt;/li&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Save as view: this option saves the current setting of the browsed table (filters, display formats and order column) as an SQL view that you can later browse or use in SQL statements.&lt;/li&gt;&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;</string>
717+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;This pop-up menu provides the following options applying to the currently browsed and filtered table:&lt;/p&gt;&lt;ul style=&quot;margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;&quot;&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Export to CSV: this option exports the data of the browsed table as currently displayed (after filters, display formats and order column) to a CSV file.&lt;/li&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Save as view: this option saves the current setting of the browsed table (filters, display formats and order column) as an SQL view that you can later browse or use in SQL statements.&lt;/li&gt;&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;</string>
718718
</property>
719719
</action>
720720
<action name="actionHideColumns">

src/translations/sqlb_ar_SA.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@
285285
</message>
286286
<message>
287287
<location filename="../Application.cpp" line="275"/>
288-
<source>Invalid option/non-existant file: %1</source>
288+
<source>Invalid option/non-existent file: %1</source>
289289
<translation>خيار غير صالح/ملف غير موجود: %L1</translation>
290290
</message>
291291
<message>
@@ -4019,8 +4019,8 @@ Are you sure?</source>
40194019
</message>
40204020
<message>
40214021
<location filename="../MainWindow.cpp" line="343"/>
4022-
<source>Shift+Alt+0</source>
4023-
<translation>Shift+Alt+0</translation>
4022+
<source>Alt+Shift+0</source>
4023+
<translation>Alt+Shift+0</translation>
40244024
</message>
40254025
<message>
40264026
<location filename="../MainWindow.cpp" line="352"/>
@@ -4039,7 +4039,7 @@ Are you sure?</source>
40394039
</message>
40404040
<message>
40414041
<location filename="../MainWindow.cpp" line="374"/>
4042-
<source>The database is currenctly busy.</source>
4042+
<source>The database is currently busy.</source>
40434043
<translation>قاعدة البيانات مشغولة حاليًا.</translation>
40444044
</message>
40454045
<message>
@@ -5640,8 +5640,8 @@ Please check again.</source>
56405640
</message>
56415641
<message>
56425642
<location filename="../ProxyDialog.cpp" line="15"/>
5643-
<source>Socks v5</source>
5644-
<translation>Socks v5</translation>
5643+
<source>SOCKS5</source>
5644+
<translation>SOCKS5</translation>
56455645
</message>
56465646
</context>
56475647
<context>
@@ -7389,7 +7389,7 @@ Hold %3Shift and click to jump there</source>
73897389
</message>
73907390
<message>
73917391
<location filename="../TableBrowser.ui" line="613"/>
7392-
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;This button creates a new record in the database. Hold the mouse button to open a pop-up menu of different options:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;New Record&lt;/span&gt;: insert a new record with default values in the database.&lt;/li&gt;&lt;li&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Insert Values...&lt;/span&gt;: open a dialog for entering values before they are inserted in the database. This allows to enter values acomplishing the different constraints. This dialog is also open if the &lt;span style=&quot; font-weight:600;&quot;&gt;New Record&lt;/span&gt; option fails due to these constraints.&lt;/li&gt;&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;</source>
7392+
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;This button creates a new record in the database. Hold the mouse button to open a pop-up menu of different options:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;New Record&lt;/span&gt;: insert a new record with default values in the database.&lt;/li&gt;&lt;li&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Insert Values...&lt;/span&gt;: open a dialog for entering values before they are inserted in the database. This allows to enter values accomplishing the different constraints. This dialog is also open if the &lt;span style=&quot; font-weight:600;&quot;&gt;New Record&lt;/span&gt; option fails due to these constraints.&lt;/li&gt;&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;</source>
73937393
<translation>يُنشئ هذا الزر سجلًا جديدًا في قاعدة البيانات. أبقِ زر الفأرة مضغوطًا لفتح قائمة منبثقة فيها عدّة خيارات:&lt;ul&gt;&lt;li&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;سجلّ جديد&lt;/span&gt;: لإدراج سجلّ جديد يحمل القيم المبدئية في قاعدة البيانات.&lt;/li&gt;&lt;li&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;أدرِج قيم...&lt;/span&gt;: لفتح مربّع حوار لإدخال القيم قبل إدراجها في جدول البيانات. يتيح هذا إدخال القيم حسب القيود المختلفة. يُفتح مربّع الحوار هذا أيضًا إن فشل الخيار &lt;span style=&quot; font-weight:600;&quot;&gt;سجلّ جديد&lt;/span&gt; بسبب هذه القيود.&lt;/li&gt;&lt;/ul&gt;</translation>
73947394
</message>
73957395
<message>
@@ -7471,7 +7471,7 @@ Hold %3Shift and click to jump there</source>
74717471
</message>
74727472
<message>
74737473
<location filename="../TableBrowser.ui" line="717"/>
7474-
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;This popup menu provides the following options applying to the currently browsed and filtered table:&lt;/p&gt;&lt;ul style=&quot;margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;&quot;&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Export to CSV: this option exports the data of the browsed table as currently displayed (after filters, display formats and order column) to a CSV file.&lt;/li&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Save as view: this option saves the current setting of the browsed table (filters, display formats and order column) as an SQL view that you can later browse or use in SQL statements.&lt;/li&gt;&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;</source>
7474+
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;This pop-up menu provides the following options applying to the currently browsed and filtered table:&lt;/p&gt;&lt;ul style=&quot;margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;&quot;&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Export to CSV: this option exports the data of the browsed table as currently displayed (after filters, display formats and order column) to a CSV file.&lt;/li&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Save as view: this option saves the current setting of the browsed table (filters, display formats and order column) as an SQL view that you can later browse or use in SQL statements.&lt;/li&gt;&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;</source>
74757475
<translation>توفّر القائمة المنبثقة هذه الخيارات الآتية والتي تنطبق على الجدول الذي تتصفّحه والمرشّح حاليًا:&lt;ul style=&quot;margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;&quot;&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;صدّر بنسق CSV: يُصدّر هذا الخيار البيانات في الجدول الذي تتصفّحه كما هي معروضة حاليًا (بعد المرشّحات وتنسيقات العرض وعمود الفرز) إلى ملف بنسق CSV.&lt;/li&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;احفظ كمنظور: يحفظ هذا الخيار الإعداد الحالي للجدول الذي تتصفّحه (المرشّحات وتنسيقات العرض وعمود الفرز) في منظور SQL يمكنك تصفّحه لاحقًا أو استعماله في إفادات SQL.&lt;/li&gt;&lt;/ul&gt;</translation>
74767476
</message>
74777477
<message>

src/translations/sqlb_cs.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@
278278
</message>
279279
<message>
280280
<location filename="../Application.cpp" line="275"/>
281-
<source>Invalid option/non-existant file: %1</source>
281+
<source>Invalid option/non-existent file: %1</source>
282282
<translation>Neplatná volba/neexistující soubor: %1</translation>
283283
</message>
284284
<message>
@@ -4000,7 +4000,7 @@ Are you sure?</source>
40004000
</message>
40014001
<message>
40024002
<location filename="../MainWindow.cpp" line="343"/>
4003-
<source>Shift+Alt+0</source>
4003+
<source>Alt+Shift+0</source>
40044004
<translation type="unfinished"></translation>
40054005
</message>
40064006
<message>
@@ -4020,7 +4020,7 @@ Are you sure?</source>
40204020
</message>
40214021
<message>
40224022
<location filename="../MainWindow.cpp" line="374"/>
4023-
<source>The database is currenctly busy.</source>
4023+
<source>The database is currently busy.</source>
40244024
<translation type="unfinished"></translation>
40254025
</message>
40264026
<message>
@@ -5561,7 +5561,7 @@ Please check again.</source>
55615561
</message>
55625562
<message>
55635563
<location filename="../ProxyDialog.cpp" line="15"/>
5564-
<source>Socks v5</source>
5564+
<source>SOCKS5</source>
55655565
<translation type="unfinished"></translation>
55665566
</message>
55675567
</context>
@@ -7279,7 +7279,7 @@ Hold %3Shift and click to jump there</source>
72797279
</message>
72807280
<message>
72817281
<location filename="../TableBrowser.ui" line="613"/>
7282-
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;This button creates a new record in the database. Hold the mouse button to open a pop-up menu of different options:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;New Record&lt;/span&gt;: insert a new record with default values in the database.&lt;/li&gt;&lt;li&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Insert Values...&lt;/span&gt;: open a dialog for entering values before they are inserted in the database. This allows to enter values acomplishing the different constraints. This dialog is also open if the &lt;span style=&quot; font-weight:600;&quot;&gt;New Record&lt;/span&gt; option fails due to these constraints.&lt;/li&gt;&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;</source>
7282+
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;This button creates a new record in the database. Hold the mouse button to open a pop-up menu of different options:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;New Record&lt;/span&gt;: insert a new record with default values in the database.&lt;/li&gt;&lt;li&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Insert Values...&lt;/span&gt;: open a dialog for entering values before they are inserted in the database. This allows to enter values accomplishing the different constraints. This dialog is also open if the &lt;span style=&quot; font-weight:600;&quot;&gt;New Record&lt;/span&gt; option fails due to these constraints.&lt;/li&gt;&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;</source>
72837283
<translation type="unfinished"></translation>
72847284
</message>
72857285
<message>
@@ -7361,7 +7361,7 @@ Hold %3Shift and click to jump there</source>
73617361
</message>
73627362
<message>
73637363
<location filename="../TableBrowser.ui" line="717"/>
7364-
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;This popup menu provides the following options applying to the currently browsed and filtered table:&lt;/p&gt;&lt;ul style=&quot;margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;&quot;&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Export to CSV: this option exports the data of the browsed table as currently displayed (after filters, display formats and order column) to a CSV file.&lt;/li&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Save as view: this option saves the current setting of the browsed table (filters, display formats and order column) as an SQL view that you can later browse or use in SQL statements.&lt;/li&gt;&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;</source>
7364+
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;This pop-up menu provides the following options applying to the currently browsed and filtered table:&lt;/p&gt;&lt;ul style=&quot;margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;&quot;&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Export to CSV: this option exports the data of the browsed table as currently displayed (after filters, display formats and order column) to a CSV file.&lt;/li&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Save as view: this option saves the current setting of the browsed table (filters, display formats and order column) as an SQL view that you can later browse or use in SQL statements.&lt;/li&gt;&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;</source>
73657365
<translation type="unfinished"></translation>
73667366
</message>
73677367
<message>

0 commit comments

Comments
 (0)