From 445d8501a7fe4b19f95759f25047de82f657873c Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Fri, 8 Nov 2019 13:22:37 +0100 Subject: [PATCH] [users] Different disambiguation for pwd-empty check - all the other checks use "PWQ" as a tag, so use that here too --- src/modules/users/UsersPage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/users/UsersPage.cpp b/src/modules/users/UsersPage.cpp index 74bf67655..b8e2d057c 100644 --- a/src/modules/users/UsersPage.cpp +++ b/src/modules/users/UsersPage.cpp @@ -523,7 +523,7 @@ UsersPage::addPasswordCheck( const QString& key, const QVariant& value ) if ( value.toBool() ) { m_passwordChecks.push_back( PasswordCheck( - []() { return QCoreApplication::translate( "EMP", "Password is empty" ); }, + []() { return QCoreApplication::translate( "PWQ", "Password is empty" ); }, []( const QString& s ) { return ( ( cDebug() << "Checking pwd" << s << "for empty" ), !s.isEmpty() ); }, PasswordCheck::Weight( 1 ) ) ); }