mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
[auth] Strip translated display name from auth method plugins
This commit is contained in:
parent
264d2ebbdd
commit
ee5e120627
@ -22,8 +22,6 @@ class QgsAuthMethod : QObject
|
||||
|
||||
virtual QString description() const = 0;
|
||||
|
||||
virtual QString displayName() const = 0;
|
||||
|
||||
virtual QString displayDescription() const = 0;
|
||||
|
||||
int version() const;
|
||||
|
@ -53,11 +53,6 @@ QString QgsAuthBasicMethod::description() const
|
||||
return AUTH_METHOD_DESCRIPTION;
|
||||
}
|
||||
|
||||
QString QgsAuthBasicMethod::displayName() const
|
||||
{
|
||||
return tr( "Basic" );
|
||||
}
|
||||
|
||||
QString QgsAuthBasicMethod::displayDescription() const
|
||||
{
|
||||
return tr( "Basic authentication" );
|
||||
|
@ -36,8 +36,6 @@ class QgsAuthBasicMethod : public QgsAuthMethod
|
||||
|
||||
QString description() const override;
|
||||
|
||||
QString displayName() const override;
|
||||
|
||||
QString displayDescription() const override;
|
||||
|
||||
bool updateNetworkRequest( QNetworkRequest &request, const QString &authcfg,
|
||||
|
@ -62,11 +62,6 @@ QString QgsAuthIdentCertMethod::description() const
|
||||
return AUTH_METHOD_DESCRIPTION;
|
||||
}
|
||||
|
||||
QString QgsAuthIdentCertMethod::displayName() const
|
||||
{
|
||||
return tr( "Identity-Cert" );
|
||||
}
|
||||
|
||||
QString QgsAuthIdentCertMethod::displayDescription() const
|
||||
{
|
||||
return tr( "PKI stored identity certificate" );
|
||||
|
@ -36,8 +36,6 @@ class QgsAuthIdentCertMethod : public QgsAuthMethod
|
||||
|
||||
QString description() const override;
|
||||
|
||||
QString displayName() const override;
|
||||
|
||||
QString displayDescription() const override;
|
||||
|
||||
bool updateNetworkRequest( QNetworkRequest &request, const QString &authcfg,
|
||||
|
@ -62,11 +62,6 @@ QString QgsAuthPkiPathsMethod::description() const
|
||||
return AUTH_METHOD_DESCRIPTION;
|
||||
}
|
||||
|
||||
QString QgsAuthPkiPathsMethod::displayName() const
|
||||
{
|
||||
return tr( "PKI-Paths" );
|
||||
}
|
||||
|
||||
QString QgsAuthPkiPathsMethod::displayDescription() const
|
||||
{
|
||||
return tr( "PKI paths authentication" );
|
||||
|
@ -36,8 +36,6 @@ class QgsAuthPkiPathsMethod : public QgsAuthMethod
|
||||
|
||||
QString description() const override;
|
||||
|
||||
QString displayName() const override;
|
||||
|
||||
QString displayDescription() const override;
|
||||
|
||||
bool updateNetworkRequest( QNetworkRequest &request, const QString &authcfg,
|
||||
|
@ -62,11 +62,6 @@ QString QgsAuthPkcs12Method::description() const
|
||||
return AUTH_METHOD_DESCRIPTION;
|
||||
}
|
||||
|
||||
QString QgsAuthPkcs12Method::displayName() const
|
||||
{
|
||||
return tr( "PKI-PKCS#12" );
|
||||
}
|
||||
|
||||
QString QgsAuthPkcs12Method::displayDescription() const
|
||||
{
|
||||
return tr( "PKI PKCS#12 authentication" );
|
||||
|
@ -36,8 +36,6 @@ class QgsAuthPkcs12Method : public QgsAuthMethod
|
||||
|
||||
QString description() const override;
|
||||
|
||||
QString displayName() const override;
|
||||
|
||||
QString displayDescription() const override;
|
||||
|
||||
bool updateNetworkRequest( QNetworkRequest &request, const QString &authcfg,
|
||||
|
@ -62,9 +62,6 @@ class CORE_EXPORT QgsAuthMethod : public QObject
|
||||
/** A non-translated short description representing the auth method for use in debug output and About dialog */
|
||||
virtual QString description() const = 0;
|
||||
|
||||
/** Translatable display version of the 'key()' */
|
||||
virtual QString displayName() const = 0;
|
||||
|
||||
/** Translatable display version of the 'description()' */
|
||||
virtual QString displayDescription() const = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user