From 98976547feac60c8509a1c3917235d381767b496 Mon Sep 17 00:00:00 2001 From: powerjungle Date: Tue, 17 Nov 2020 12:37:22 +0200 Subject: [PATCH] fix(translation): match text to translation files part 2 Fixes various issues around the tree. --- src/widget/form/profileform.ui | 2 +- src/widget/form/settings/aboutform.cpp | 2 +- src/widget/form/settings/aboutsettings.ui | 2 +- src/widget/form/settings/advancedsettings.ui | 2 +- src/widget/form/settings/avform.ui | 4 ++-- src/widget/form/settings/generalsettings.ui | 8 ++++---- src/widget/form/settings/privacysettings.ui | 2 +- src/widget/form/settings/userinterfaceform.h | 2 +- src/widget/form/settings/userinterfacesettings.ui | 2 +- src/widget/widget.cpp | 2 +- 10 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/widget/form/profileform.ui b/src/widget/form/profileform.ui index 8d2b1569b..753daf5fe 100644 --- a/src/widget/form/profileform.ui +++ b/src/widget/form/profileform.ui @@ -138,7 +138,7 @@ - Public information + Public Information diff --git a/src/widget/form/settings/aboutform.cpp b/src/widget/form/settings/aboutform.cpp index 65d4c056d..51540c8d6 100644 --- a/src/widget/form/settings/aboutform.cpp +++ b/src/widget/form/settings/aboutform.cpp @@ -107,7 +107,7 @@ void AboutForm::replaceVersions() bodyUI->gitVersion->setText( tr("Commit hash: %1").arg(createLink(commitLink, QString(GIT_VERSION)))); - bodyUI->toxCoreVersion->setText(tr("Toxcore version: %1").arg(TOXCORE_VERSION)); + bodyUI->toxCoreVersion->setText(tr("toxcore version: %1").arg(TOXCORE_VERSION)); bodyUI->qtVersion->setText(tr("Qt version: %1").arg(QT_VERSION_STR)); QString issueBody = QString("##### Brief Description\n\n" diff --git a/src/widget/form/settings/aboutsettings.ui b/src/widget/form/settings/aboutsettings.ui index df0309573..1faec7617 100644 --- a/src/widget/form/settings/aboutsettings.ui +++ b/src/widget/form/settings/aboutsettings.ui @@ -360,7 +360,7 @@ p, li { white-space: pre-wrap; } - Known issues + Known Issues diff --git a/src/widget/form/settings/advancedsettings.ui b/src/widget/form/settings/advancedsettings.ui index bb1e0ad39..fad9cc581 100644 --- a/src/widget/form/settings/advancedsettings.ui +++ b/src/widget/form/settings/advancedsettings.ui @@ -83,7 +83,7 @@ - Copy debug log + Copy Debug Log diff --git a/src/widget/form/settings/avform.ui b/src/widget/form/settings/avform.ui index 9e37a0ce5..e096a56e9 100644 --- a/src/widget/form/settings/avform.ui +++ b/src/widget/form/settings/avform.ui @@ -38,7 +38,7 @@ - Audio settings + Audio Settings @@ -165,7 +165,7 @@ - Video settings + Video Settings diff --git a/src/widget/form/settings/generalsettings.ui b/src/widget/form/settings/generalsettings.ui index e958bf7a7..7896b3436 100644 --- a/src/widget/form/settings/generalsettings.ui +++ b/src/widget/form/settings/generalsettings.ui @@ -104,7 +104,7 @@ Start qTox on operating system startup (current profile). - Auto-start + Autostart @@ -235,7 +235,7 @@ instead of closing entirely. Qt::LeftToRight - Auto-away after (0 to disable): + Auto away after (0 to disable): @@ -303,14 +303,14 @@ instead of closing entirely. You can set this on a per-friend basis by right clicking individual friends. - Auto-accept files + Autoaccept files - Max auto-accept file size (0 for unlimited): + Max autoaccept file size (0 to disable): diff --git a/src/widget/form/settings/privacysettings.ui b/src/widget/form/settings/privacysettings.ui index 99d566829..2397d6661 100644 --- a/src/widget/form/settings/privacysettings.ui +++ b/src/widget/form/settings/privacysettings.ui @@ -123,7 +123,7 @@ If you are getting spammed with friend requests, change the NoSpam. - Blacklist + BlackList diff --git a/src/widget/form/settings/userinterfaceform.h b/src/widget/form/settings/userinterfaceform.h index 4babd1242..7de4e828e 100644 --- a/src/widget/form/settings/userinterfaceform.h +++ b/src/widget/form/settings/userinterfaceform.h @@ -36,7 +36,7 @@ public: ~UserInterfaceForm(); QString getFormName() final { - return tr("User interface"); + return tr("User Interface"); } private slots: diff --git a/src/widget/form/settings/userinterfacesettings.ui b/src/widget/form/settings/userinterfacesettings.ui index c9302e1f5..e88824023 100644 --- a/src/widget/form/settings/userinterfacesettings.ui +++ b/src/widget/form/settings/userinterfacesettings.ui @@ -111,7 +111,7 @@ New text styling preference may not load until qTox restarts. - Text style format: + Text Style format: Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter diff --git a/src/widget/widget.cpp b/src/widget/widget.cpp index 138f5c315..e5ab011c1 100644 --- a/src/widget/widget.cpp +++ b/src/widget/widget.cpp @@ -2602,7 +2602,7 @@ void Widget::retranslateUi() setStatusMessage(core->getStatusMessage()); filterDisplayName->setText(tr("By Name")); - filterDisplayActivity->setText(tr("By activity")); + filterDisplayActivity->setText(tr("By Activity")); filterAllAction->setText(tr("All")); filterOnlineAction->setText(tr("Online")); filterOfflineAction->setText(tr("Offline"));