This commit is contained in:
silverqx
2024-09-02 08:22:33 +02:00
parent f0e93944b7
commit b2ce629109
5 changed files with 5 additions and 5 deletions
@@ -173,7 +173,7 @@ QString ConfigurationOptionsParser::concatenateOptions(const QVariantHash &optio
const auto value = itOption.value().value<QString>();
concatenated.emplaceBack(
// Support option flags without a value (are considred as enabled)
// Support option flags without a value (are considered as enabled)
value.isEmpty() ? key : u"%1=%2"_s.arg(key, value));
++itOption;
@@ -21,7 +21,7 @@ QString RelationNotLoadedError::formatMessage(const QString &model,
{
using namespace Qt::StringLiterals; // NOLINT(google-build-using-namespace)
return u"Undefined relation '%1' (in the m_relation data memeber) on model '%2', "
return u"Undefined relation '%1' (in the m_relation data member) on model '%2', "
"the relation was not loaded."_s
.arg(relation, model);
}
@@ -118,7 +118,7 @@ namespace Tom::Commands::Make
bool snakeAttributes;
/*! Disable snake_cased attributes during serialization. */
bool disableSnakeAttributes;
/*! Genarate a custom pivot model class. */
/*! Generate a custom pivot model class. */
bool pivotModel;
};
+1 -1
View File
@@ -194,7 +194,7 @@ QList<CommandLineOption> ModelCommand::optionsSignature() const
{appends, u"The attributes that should be appended during "
"serialization <comment>(multiple values allowed)"
"</comment>"_s, appends_up}, // Value
{pivot_model, u"Genarate a custom pivot model class"_s},
{pivot_model, u"Generate a custom pivot model class"_s},
// Others
{{QChar('o'),
@@ -70,7 +70,7 @@ int MigrateCommand::run()
so that migrations may be run for any path within the applications. */
m_migrator->run({isSet(pretend), isSet(step_)});
info(u"Database migaration completed successfully."_s);
info(u"Database migration completed successfully."_s);
int exitCode = EXIT_SUCCESS; // NOLINT(misc-const-correctness)