[users] Add translation context to AD job

This commit is contained in:
Adriaan de Groot 2024-04-14 00:20:57 +02:00
parent fe68b45fc5
commit d0420ea3ee
2 changed files with 2 additions and 9 deletions

View File

@ -30,19 +30,13 @@ ActiveDirectoryJob::ActiveDirectoryJob(QStringList& activeDirectoryInfo)
QString
ActiveDirectoryJob::prettyName() const
{
return tr( "Enroll system in Active Directory" );
}
QString
ActiveDirectoryJob::prettyDescription() const
{
return tr( "Enroll system in Active Directory" );
return tr( "Enroll system in Active Directory", "@label" );
}
QString
ActiveDirectoryJob::prettyStatusMessage() const
{
return tr( "Enrolling system in Active Directory" );
return tr( "Enrolling system in Active Directory…", "@status" );
}
Calamares::JobResult

View File

@ -18,7 +18,6 @@ class ActiveDirectoryJob : public Calamares::Job
public:
ActiveDirectoryJob( QStringList& activeDirectoryInfo );
QString prettyName() const override;
QString prettyDescription() const override;
QString prettyStatusMessage() const override;
Calamares::JobResult exec() override;