From 08aa827366280a8bc478455d64b1f0f019f7a1ce Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Sun, 6 Aug 2017 01:44:09 +0300 Subject: [PATCH] Fix some more strings. --- src/app/cmdoptions.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/app/cmdoptions.cpp b/src/app/cmdoptions.cpp index c01faefa2..87d46f821 100644 --- a/src/app/cmdoptions.cpp +++ b/src/app/cmdoptions.cpp @@ -417,7 +417,7 @@ QBtCommandLineParameters parseCommandLine(const QStringList &args) else if (arg == WEBUI_PORT_OPTION) { result.webUiPort = WEBUI_PORT_OPTION.value(arg); if ((result.webUiPort < 1) || (result.webUiPort > 65535)) - throw CommandLineParameterError(QObject::tr("%1 must specify the correct port (1 to 65535).") + throw CommandLineParameterError(QObject::tr("%1 must specify a valid port (1 to 65535).") .arg(QLatin1String("--webui-port"))); } #ifndef DISABLE_GUI @@ -525,9 +525,9 @@ QString makeUsage(const QString &prgName) #ifndef Q_OS_WIN stream << SHOW_VERSION_OPTION.usage() << wrapText(QObject::tr("Display program version and exit")) << '\n'; #endif - stream << SHOW_HELP_OPTION.usage() << wrapText(QObject::tr("Displays this help message and exit")) << '\n'; + stream << SHOW_HELP_OPTION.usage() << wrapText(QObject::tr("Display this help message and exit")) << '\n'; stream << WEBUI_PORT_OPTION.usage(QObject::tr("port")) - << wrapText(QObject::tr("Changes the Web UI port")) + << wrapText(QObject::tr("Change the Web UI port")) << '\n'; #ifndef DISABLE_GUI stream << NO_SPLASH_OPTION.usage() << wrapText(QObject::tr("Disable splash screen")) << '\n'; @@ -545,7 +545,7 @@ QString makeUsage(const QString &prgName) stream << PORTABLE_OPTION.usage() << wrapText(QObject::tr("Shortcut for --profile=/profile --relative-fastresume")) << '\n'; stream << Option::padUsageText(QObject::tr("files or URLs")) - << wrapText(QObject::tr("Downloads the torrents passed by the user")) << '\n' + << wrapText(QObject::tr("Download the torrents passed by the user")) << '\n' << '\n'; stream << wrapText(QObject::tr("Options when adding new torrents:"), 0) << '\n'; @@ -553,13 +553,13 @@ QString makeUsage(const QString &prgName) stream << PAUSED_OPTION.usage() << wrapText(QObject::tr("Add torrents as started or paused")) << '\n'; stream << SKIP_HASH_CHECK_OPTION.usage() << wrapText(QObject::tr("Skip hash check")) << '\n'; stream << CATEGORY_OPTION.usage(QObject::tr("name")) - << wrapText(QObject::tr("Assign torrents to category. If the category doesn\'t exist, it will be " + << wrapText(QObject::tr("Assign torrents to category. If the category doesn't exist, it will be " "created.")) << '\n'; stream << SEQUENTIAL_OPTION.usage() << wrapText(QObject::tr("Download files in sequential order")) << '\n'; stream << FIRST_AND_LAST_OPTION.usage() << wrapText(QObject::tr("Download first and last pieces first")) << '\n'; stream << SKIP_DIALOG_OPTION.usage() - << wrapText(QObject::tr("Specifies whether the \"Add New Torrent\" dialog opens when adding a " + << wrapText(QObject::tr("Specify whether the \"Add New Torrent\" dialog opens when adding a " "torrent.")) << '\n'; stream << '\n';