[users] Add translation context to AD job
This commit is contained in:
parent
fe68b45fc5
commit
d0420ea3ee
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user