Update lang & conf test (#1976)

v2.11
Christophe Maudoux 4 years ago
parent fc4024f024
commit e7baa348ba
  1. 9
      lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Build/Tree.pm
  2. 13
      lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Conf/Tests.pm
  3. 4
      lemonldap-ng-manager/site/htdocs/static/languages/ar.json
  4. 4
      lemonldap-ng-manager/site/htdocs/static/languages/de.json
  5. 6
      lemonldap-ng-manager/site/htdocs/static/languages/en.json
  6. 4
      lemonldap-ng-manager/site/htdocs/static/languages/es.json
  7. 4
      lemonldap-ng-manager/site/htdocs/static/languages/fr.json
  8. 4
      lemonldap-ng-manager/site/htdocs/static/languages/it.json
  9. 4
      lemonldap-ng-manager/site/htdocs/static/languages/pl.json
  10. 4
      lemonldap-ng-manager/site/htdocs/static/languages/tr.json
  11. 4
      lemonldap-ng-manager/site/htdocs/static/languages/vi.json
  12. 4
      lemonldap-ng-manager/site/htdocs/static/languages/zh.json
  13. 4
      lemonldap-ng-manager/site/htdocs/static/languages/zh_TW.json
  14. 2
      lemonldap-ng-manager/site/htdocs/static/reverseTree.json
  15. 2
      lemonldap-ng-manager/site/htdocs/static/struct.json
  16. 22
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Plugins/ContextSwitching.pm
  17. 1
      lemonldap-ng-portal/site/htdocs/static/languages/ar.json
  18. 1
      lemonldap-ng-portal/site/htdocs/static/languages/de.json
  19. 1
      lemonldap-ng-portal/site/htdocs/static/languages/en.json
  20. 1
      lemonldap-ng-portal/site/htdocs/static/languages/es.json
  21. 1
      lemonldap-ng-portal/site/htdocs/static/languages/fi.json
  22. 1
      lemonldap-ng-portal/site/htdocs/static/languages/fr.json
  23. 1
      lemonldap-ng-portal/site/htdocs/static/languages/it.json
  24. 1
      lemonldap-ng-portal/site/htdocs/static/languages/nl.json
  25. 1
      lemonldap-ng-portal/site/htdocs/static/languages/pl.json
  26. 1
      lemonldap-ng-portal/site/htdocs/static/languages/pt.json
  27. 1
      lemonldap-ng-portal/site/htdocs/static/languages/ro.json
  28. 1
      lemonldap-ng-portal/site/htdocs/static/languages/tr.json
  29. 1
      lemonldap-ng-portal/site/htdocs/static/languages/vi.json
  30. 1
      lemonldap-ng-portal/site/htdocs/static/languages/zh.json
  31. 1
      lemonldap-ng-portal/site/htdocs/static/languages/zh_TW.json

@ -774,13 +774,20 @@ sub tree {
{
title => 'impersonation',
help => 'impersonation.html',
form => 'simpleInputContainer',
nodes => [
'impersonationRule',
'impersonationIdRule',
'impersonationUnrestrictedUsersRule',
'impersonationHiddenAttributes',
'impersonationSkipEmptyValues',
'impersonationMergeSSOgroups',
'impersonationMergeSSOgroups'
]
},
{
title => 'findUsers',
help => 'finduser.html',
nodes => [
'findUser',
'findUserSearchingAttributes',
'findUserExcludingAttributes'

@ -692,7 +692,8 @@ sub tests {
}
grep { /\d+/ }
split /\s*,\s*/, $conf->{bruteForceProtectionLockTimes};
$conf->{bruteForceProtectionLockTimes} = join ', ', @lockTimes if scalar @lockTimes;
$conf->{bruteForceProtectionLockTimes} = join ', ', @lockTimes
if scalar @lockTimes;
return 1 unless ( $conf->{bruteForceProtection} );
return ( 0,
'"History" plugin is required to enable "BruteForceProtection" plugin'
@ -935,6 +936,16 @@ sub tests {
and $conf->{passwordDB} eq 'Null' );
return 1;
},
# Password module requires a password backend
findUserWithoutImpersonation => sub {
return ( -1,
'"Impersonation" plugin is required to enable "FindUser" plugin'
)
if ( $conf->{findUser}
and !$conf->{impersonationRule} );
return 1;
}
};
}

@ -328,6 +328,10 @@
"facebookUserField":"Field containing user identifier",
"failedLoginNumber":"عدد عمليات تسجيل الدخول الفاشلة المسجلة",
"fileToUpload":"الملف الذي ستحمله",
"findUser":"Activation",
"findUsers":"Search user account",
"findUserSearchingAttributes":"Searching attributes",
"findUserExcludingAttributes":"Excluding attributes",
"forbidden":"لست مخولا بعرض هذه الصفحة",
"forceSave":"فرض الحفظ",
"format":"الصيغة",

@ -328,6 +328,10 @@
"facebookUserField":"Field containing user identifier",
"failedLoginNumber":"Number of registered failed logins",
"fileToUpload":"File to upload",
"findUser":"Activation",
"findUsers":"Search user account",
"findUserSearchingAttributes":"Searching attributes",
"findUserExcludingAttributes":"Excluding attributes",
"forbidden":"You're not authorized to show this page",
"forceSave":"Force save",
"format":"Format",

@ -198,7 +198,7 @@
"checkboxes":"Checkboxes",
"checkState":"Activation",
"checkStateSecret":"Shared secret",
"checkUsers":"SSO profile Check",
"checkUsers":"SSO profile check",
"checkUser":"Activation",
"checkUserIdRule":"Identities use rule",
"checkUserHiddenAttributes":"Hidden attributes",
@ -328,6 +328,10 @@
"facebookUserField":"Field containing user identifier",
"failedLoginNumber":"Number of registered failed logins",
"fileToUpload":"File to upload",
"findUser":"Activation",
"findUsers":"Search for user account",
"findUserSearchingAttributes":"Searching attributes",
"findUserExcludingAttributes":"Excluding attributes",
"forbidden":"You're not authorized to show this page",
"forceSave":"Force save",
"format":"Format",

@ -328,6 +328,10 @@
"facebookUserField":"Campo que contiene identificador de usuario",
"failedLoginNumber":"Número de fallos en la identificación",
"fileToUpload":"Fichero a cargar",
"findUser":"Activation",
"findUsers":"Search user account",
"findUserSearchingAttributes":"Searching attributes",
"findUserExcludingAttributes":"Excluding attributes",
"forbidden":"No está autorizado a mostrar esta página",
"forceSave":"Forzar salvaguarda",
"format":"Formato",

@ -328,6 +328,10 @@
"facebookUserField":"Champ contenant l'identifiant de l'utilisateur",
"failedLoginNumber":"Nombre d'échecs de connexion mémorisés",
"fileToUpload":"Fichier à télécharger",
"findUser":"Activation",
"findUsers":"Rechercher un compte",
"findUserSearchingAttributes":"Attributs de recherche",
"findUserExcludingAttributes":"Attributs d'exclusion",
"forbidden":"Vous n'êtes pas autorisé à visualiser cette page",
"forceSave":"Forcer la sauvegarde",
"format":"Format",

@ -328,6 +328,10 @@
"facebookUserField":"Campo contenente l'identificatore dell'utente",
"failedLoginNumber":"Numero di login registrati non riusciti",
"fileToUpload":"File da caricare",
"findUser":"Activation",
"findUsers":"Search user account",
"findUserSearchingAttributes":"Searching attributes",
"findUserExcludingAttributes":"Excluding attributes",
"forbidden":"Non sei autorizzato a mostrare questa pagina",
"forceSave":"Forza salvataggio",
"format":"Formato",

@ -328,6 +328,10 @@
"facebookUserField":"Pole zawierające identyfikator użytkownika",
"failedLoginNumber":"Liczba zarejestrowanych nieudanych prób logowania",
"fileToUpload":"Plik do przesłania",
"findUser":"Activation",
"findUsers":"Search user account",
"findUserSearchingAttributes":"Searching attributes",
"findUserExcludingAttributes":"Excluding attributes",
"forbidden":"Nie masz uprawnień do wyświetlania tej strony",
"forceSave":"Wymuś zapis",
"format":"Format",

@ -328,6 +328,10 @@
"facebookUserField":"Alan kullanıcı kimliği içeriyor",
"failedLoginNumber":"Kayıtlı başarısız giriş sayısı",
"fileToUpload":"Yüklenecek dosya",
"findUser":"Activation",
"findUsers":"Search user account",
"findUserSearchingAttributes":"Searching attributes",
"findUserExcludingAttributes":"Excluding attributes",
"forbidden":"Bu sayfayı görüntülemek için yetkili değilsiniz",
"forceSave":"Kaydetmeye zorla",
"format":"Biçim",

@ -328,6 +328,10 @@
"facebookUserField":"Field containing user identifier",
"failedLoginNumber":"Số lượt đăng nhập thất bại",
"fileToUpload":"Tập tin để tải lên",
"findUser":"Activation",
"findUsers":"Search user account",
"findUserSearchingAttributes":"Searching attributes",
"findUserExcludingAttributes":"Excluding attributes",
"forbidden":"Bạn không được ủy quyền để hiển thị trang này",
"forceSave":"Bắt buộc lưu",
"format":"Định dạng",

@ -328,6 +328,10 @@
"facebookUserField":"Field containing user identifier",
"failedLoginNumber":"Number of registered failed logins",
"fileToUpload":"上传的文件",
"findUser":"Activation",
"findUsers":"Search user account",
"findUserSearchingAttributes":"Searching attributes",
"findUserExcludingAttributes":"Excluding attributes",
"forbidden":"You're not authorized to show this page",
"forceSave":"强制保存",
"format":"格式",

@ -328,6 +328,10 @@
"facebookUserField":"包含使用者識別符號的欄位",
"failedLoginNumber":"已註冊的失敗登入數",
"fileToUpload":"上傳失敗",
"findUser":"Activation",
"findUsers":"Search user account",
"findUserSearchingAttributes":"Searching attributes",
"findUserExcludingAttributes":"Excluding attributes",
"forbidden":"您無權顯示此頁面",
"forceSave":"強制儲存",
"format":"格式",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -119,15 +119,15 @@ sub display {
# Display form
my $params = {
PORTAL => $self->conf->{portal},
MAIN_LOGO => $self->conf->{portalMainLogo},
SKIN => $self->p->getSkin($req),
LANGS => $self->conf->{showLanguages},
MSG => 'contextSwitching_ON',
ALERTE => 'alert-danger',
LOGIN => '',
SPOOFID => $self->conf->{contextSwitchingRule},
TOKEN => (
PORTAL => $self->conf->{portal},
MAIN_LOGO => $self->conf->{portalMainLogo},
SKIN => $self->p->getSkin($req),
LANGS => $self->conf->{showLanguages},
MSG => 'contextSwitching_ON',
ALERTE => 'alert-danger',
LOGIN => '',
IMPERSONATION => $self->conf->{contextSwitchingRule},
TOKEN => (
$self->ottRule->( $req, {} )
? $self->ott->createToken()
: ''
@ -139,8 +139,8 @@ sub display {
sub run {
my ( $self, $req ) = @_;
my $statut = PE_OK;
my $realId = $req->userData->{ $self->conf->{whatToTrace} };
my $statut = PE_OK;
my $realId = $req->userData->{ $self->conf->{whatToTrace} };
my $spoofId = $req->param('spoofId') || ''; # ContextSwitching required ?
my $unUser = $self->unrestrictedUsersRule->( $req, $req->userData ) || 0;

@ -265,6 +265,7 @@
"rightsReloadNeedsLogout":" إعادة تحميل الحقوق تحتاج إلى تسجيل الخروج وتسجيل الدخول مرة أخرى",
"scope":"نطاق",
"search":"Search",
"searchAccount":"Search for account",
"seconds":"seconds",
"selectIdP":"اختر موفر الهوية الخاص بك",
"service":"Service",

@ -265,6 +265,7 @@
"rightsReloadNeedsLogout":"Zum Neuladen der Rechte musst du dich ab- und wieder anmelden",
"scope":"Scope",
"search":"Search",
"searchAccount":"Search for account",
"seconds":"seconds",
"selectIdP":"Wähle deinen Identitätsanbieter aus",
"service":"Dienst",

@ -265,6 +265,7 @@
"rightsReloadNeedsLogout":"Rights reloads need to logout and login again",
"scope":"Scope",
"search":"Search",
"searchAccount":"Search for account",
"seconds":"seconds",
"selectIdP":"Select your Identity Provider",
"service":"Service",

@ -265,6 +265,7 @@
"rightsReloadNeedsLogout":"La recarga de derechos necesita desconectarse y conectarse de nuevo",
"scope":"Alcance",
"search":"Buscar",
"searchAccount":"Search for account",
"seconds":"seconds",
"selectIdP":"Seleccione su proveedor de identidad",
"service":"Servicio",

@ -265,6 +265,7 @@
"rightsReloadNeedsLogout":"Rights reloads need to logout and login again",
"scope":"Scope",
"search":"Search",
"searchAccount":"Search for account",
"seconds":"seconds",
"selectIdP":"Select your Identity Provider",
"service":"Service",

@ -265,6 +265,7 @@
"rightsReloadNeedsLogout": "Le rechargement des droits nécessite une déconnexion",
"scope": "Informations",
"search":"Chercher",
"searchAccount":"Chercher un compte",
"seconds":"secondes",
"selectIdP":"Choisissez votre fournisseur d'identité",
"service":"Service",

@ -265,6 +265,7 @@
"rightsReloadNeedsLogout":"Le ricariche dei diritti necessitano di disconnettersi e di riconnettersi",
"scope":"Ambito",
"search":"Ricerca",
"searchAccount":"Search for account",
"seconds":"seconds",
"selectIdP":"Seleziona il tuo provider di identità",
"service":"Servizio",

@ -265,6 +265,7 @@
"rightsReloadNeedsLogout":"Rights reloads need to logout and login again",
"scope":"Scope",
"search":"Search",
"searchAccount":"Search for account",
"seconds":"seconds",
"selectIdP":"Select your Identity Provider",
"service":"Service",

@ -265,6 +265,7 @@
"rightsReloadNeedsLogout":"Przeładowania uprawnień wymaga wylogowania i ponownego zalogowania",
"scope":"Zakres",
"search":"Szukaj",
"searchAccount":"Search for account",
"seconds":"sekundy",
"selectIdP":"Wybierz dostawcę tożsamości",
"service":"Usługa",

@ -265,6 +265,7 @@
"rightsReloadNeedsLogout":"Rights reloads need to logout and login again",
"scope":"Scope",
"search":"Search",
"searchAccount":"Search for account",
"seconds":"seconds",
"selectIdP":"Select your Identity Provider",
"service":"Service",

@ -265,6 +265,7 @@
"rightsReloadNeedsLogout":"Rights reloads need to logout and login again",
"scope":"Scope",
"search":"Search",
"searchAccount":"Search for account",
"seconds":"seconds",
"selectIdP":"Select your Identity Provider",
"service":"Service",

@ -265,6 +265,7 @@
"rightsReloadNeedsLogout":"Yetkiler yeniden yüklendiğinde çıkış yapıp tekrar giriş yapmanız gerekir",
"scope":"Kapsam",
"search":"Ara",
"searchAccount":"Search for account",
"seconds":"saniye",
"selectIdP":"Kimlik Sağlayıcısını seç",
"service":"Servis",

@ -265,6 +265,7 @@
"rightsReloadNeedsLogout":"Tải lại quyền cần đăng xuất và đăng nhập lại",
"scope":"Phạm vi",
"search":"Search",
"searchAccount":"Search for account",
"seconds":"seconds",
"selectIdP":"Chọn bộ cung cấp danh tính của bạn",
"service":"Service",

@ -265,6 +265,7 @@
"rightsReloadNeedsLogout":"重新加载权限需要登出并且再次登录",
"scope":"Scope",
"search":"搜索",
"searchAccount":"Search for account",
"seconds":"seconds",
"selectIdP":"Select your Identity Provider",
"service":"服务",

@ -265,6 +265,7 @@
"rightsReloadNeedsLogout":"重新載入權限需要登出然後再次登入",
"scope":"範圍",
"search":"搜尋",
"searchAccount":"Search for account",
"seconds":"秒",
"selectIdP":"選取您的身份提供者",
"service":"服務",

Loading…
Cancel
Save