Typo & improve msg (#2071)

lowercase-endpoints
Christophe Maudoux 5 years ago
parent 1ae96b5dd2
commit 0df38323af
  1. 2
      lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Lib/StatusConstants.pm
  2. 7
      lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Attributes.pm
  3. 8
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Plugins/Notifications.pm
  4. 5
      lemonldap-ng-portal/site/htdocs/static/languages/ar.json
  5. 5
      lemonldap-ng-portal/site/htdocs/static/languages/de.json
  6. 5
      lemonldap-ng-portal/site/htdocs/static/languages/en.json
  7. 5
      lemonldap-ng-portal/site/htdocs/static/languages/es.json
  8. 5
      lemonldap-ng-portal/site/htdocs/static/languages/fi.json
  9. 5
      lemonldap-ng-portal/site/htdocs/static/languages/fr.json
  10. 5
      lemonldap-ng-portal/site/htdocs/static/languages/it.json
  11. 5
      lemonldap-ng-portal/site/htdocs/static/languages/nl.json
  12. 5
      lemonldap-ng-portal/site/htdocs/static/languages/pt.json
  13. 5
      lemonldap-ng-portal/site/htdocs/static/languages/ro.json
  14. 5
      lemonldap-ng-portal/site/htdocs/static/languages/tr.json
  15. 5
      lemonldap-ng-portal/site/htdocs/static/languages/vi.json
  16. 5
      lemonldap-ng-portal/site/htdocs/static/languages/zh.json

@ -108,7 +108,7 @@ sub portalConsts {
}
# EXPORTER PARAMETERS
our @EXPORT_OK = ('portalConsts');
our @EXPORT_OK = ('portalConsts');
our %EXPORT_TAGS = ( 'all' => [ @EXPORT_OK, 'import' ], );
1;

@ -142,7 +142,7 @@ qr/^(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-
eval {
do {
qr/$_[0]/;
}
}
};
return $@ ? ( 0, "__badRegexp__: $@" ) : 1;
}
@ -223,7 +223,8 @@ m[^(?:(?:\-+\s*BEGIN\s+(?:PUBLIC\s+KEY|CERTIFICATE)\s*\-+\r?\n)?[a-zA-Z0-9/\+\r\
},
'select' => {
'test' => sub {
my $test = grep( { $_ eq $_[0]; }
my $test =
grep( { $_ eq $_[0]; }
map( { $_->{'k'}; } @{ $_[2]{'select'}; } ) );
return $test
? 1
@ -1694,7 +1695,7 @@ qr/^(?:\*\.)?(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][
eval {
do {
qr/$_[0]/;
}
}
};
return $@ ? 0 : 1;
},

@ -174,6 +174,8 @@ sub myNotifs {
}
my $_notifications = $self->retrieveNotifs($req);
my $msg = scalar @$_notifications ? 'myNotification' : 'noNotification';
$msg .= 's' if ( @$_notifications > 1 );
# Display form
my $params = {
@ -182,11 +184,7 @@ sub myNotifs {
SKIN => $self->p->getSkin($req),
LANGS => $self->conf->{showLanguages},
NOTIFICATIONS => $_notifications,
MSG => (
scalar @$_notifications > 1
? 'myNofifications'
: 'myNofification'
)
MSG => $msg
};
return $self->p->sendHtml( $req, 'notifications', params => $params );

@ -190,13 +190,14 @@
"maintenanceMode":"هذا التطبيق في صيانة، يرجى محاولة الاتصال في وقت لاحق",
"maxNumberof2FDevicesReached":"Maximum number of 2F devices reached!",
"missingCode":"Code is missing",
"myNofification":"My accepted notification",
"myNofifications":"My accepted notifications",
"myNotification":"My accepted notification",
"myNotifications":"My accepted notifications",
"name":"اسم",
"newMessages":"رسالة جديدة (رسائل)",
"newPassword":"كلمة مرور جديدة",
"newPwdSentTo":"تم إرسال تأكيد إلى عنوان بريدك الإلكتروني.",
"noHistory":"هذا هو أول اتصال، مرحبا بك!",
"noNotification":"None accepted notification found",
"notAnEncryptedValue":"It is not an encrypted value",
"notAuthorized":"You're not authorized to do this",
"notFound":"لم يتم العثور: محاولة الدخول إلى صفحة غير متوفرة",

@ -190,13 +190,14 @@
"maintenanceMode":"Diese Anwendung ist in Wartung, bitte versuche später eine Verbindung herzustellen",
"maxNumberof2FDevicesReached":"Maximum number of 2F devices reached!",
"missingCode":"Code fehlt",
"myNofification":"My accepted notification",
"myNofifications":"My accepted notifications",
"myNotification":"My accepted notification",
"myNotifications":"My accepted notifications",
"name":"Name",
"newMessages":"Neue Nachricht(en)",
"newPassword":"Neues Passwort",
"newPwdSentTo":"Eine Bestätigung wurde an deine E-Mail Adresse gesendet.",
"noHistory":"Das ist deine erste Verbindung, willkommen!",
"noNotification":"None accepted notification found",
"notAnEncryptedValue":"It is not an encrypted value",
"notAuthorized":"Du bist nicht dazu berechtigt",
"notFound":"Nicht gefunden: Du versuchst, auf eine nicht verfügbare Seite zuzugreifen",

@ -190,13 +190,14 @@
"maintenanceMode":"This application is in maintenance, please try to connect later",
"maxNumberof2FDevicesReached":"Maximum number of 2F devices reached!",
"missingCode":"Code is missing",
"myNofification":"My accepted notification",
"myNofifications":"My accepted notifications",
"myNotification":"My accepted notification",
"myNotifications":"My accepted notifications",
"name":"Name",
"newMessages":"New message(s)",
"newPassword":"New password",
"newPwdSentTo":"A confirmation has been sent to your mail address.",
"noHistory":"This is your first connection, welcome!",
"noNotification":"None accepted notification found",
"notAnEncryptedValue":"It is not an encrypted value",
"notAuthorized":"You're not authorized to do this",
"notFound": "Not found: you try to access to an unavailable page",

@ -190,13 +190,14 @@
"maintenanceMode":"Aplicación en mantenimiento, por favor intente conectarse luego",
"maxNumberof2FDevicesReached":"¡El límite de dispositivos 2F ha sido alcanzado!",
"missingCode":"Código faltante",
"myNofification":"My accepted notification",
"myNofifications":"My accepted notifications",
"myNotification":"My accepted notification",
"myNotifications":"My accepted notifications",
"name":"Nombre",
"newMessages":"Nuevo(s) mensaje(s)",
"newPassword":"Contraseña nueva",
"newPwdSentTo":"Una confirmación ha sido enviada a su dirección de e-mail.",
"noHistory":"Esta es su primera conexión, bienvenido.",
"noNotification":"None accepted notification found",
"notAnEncryptedValue":"It is not an encrypted value",
"notAuthorized":"Usted no está autorizado a hacer esto",
"notFound":"No encontrado: página no disponible",

@ -190,13 +190,14 @@
"maintenanceMode":"This application is in maintenance, please try to connect later",
"maxNumberof2FDevicesReached":"Maximum number of 2F devices reached!",
"missingCode":"Code is missing",
"myNofification":"My accepted notification",
"myNofifications":"My accepted notifications",
"myNotification":"My accepted notification",
"myNotifications":"My accepted notifications",
"name":"Name",
"newMessages":"New message(s)",
"newPassword":"Uusi salasana",
"newPwdSentTo":"A confirmation has been sent to your mail address.",
"noHistory":"This is your first connection, welcome!",
"noNotification":"None accepted notification found",
"notAnEncryptedValue":"It is not an encrypted value",
"notAuthorized":"You're not authorized to do this",
"notFound":"Not found: you try to access to an unavailable page",

@ -190,13 +190,14 @@
"maintenanceMode":"Cette application est en maintenance, merci de réessayer plus tard",
"maxNumberof2FDevicesReached":"Nombre maximum de seconds facteurs atteint !",
"missingCode":"Code manquant",
"myNofification":"Ma notification acceptée",
"myNofifications":"Mes notifications acceptées",
"myNotification":"Ma notification acceptée",
"myNotifications":"Mes notifications acceptées",
"name":"Nom",
"newMessages":"Nouveaux messages",
"newPassword":"Nouveau mot de passe",
"newPwdSentTo":"Une confirmation a été envoyée à votre adresse mail.",
"noHistory":"Ceci est votre première connexion. Bienvenue !",
"noNotification":"Aucune notification acceptée trouvée",
"notAnEncryptedValue":"Ce n'est pas une valeur cryptée",
"notAuthorized":"Vous n'êtes pas autorisé à faire cette requête",
"notFound": "Non trouvé : vous tentez d'accéder à une page non disponible",

@ -190,13 +190,14 @@
"maintenanceMode":"Questa applicazione è in manutenzione, prova a connetterti più tardi",
"maxNumberof2FDevicesReached":"Raggiunto il numero massimo di dispositivi 2F !",
"missingCode":"Manca il codice",
"myNofification":"My accepted notification",
"myNofifications":"My accepted notifications",
"myNotification":"My accepted notification",
"myNotifications":"My accepted notifications",
"name":"Nome",
"newMessages":"Nuovo(i) messaggio(i)",
"newPassword":"Nuova password",
"newPwdSentTo":"Una conferma è stata inviata all'indirizzo di posta elettronica.",
"noHistory":"Questa è la tua prima connessione, benvenuto!",
"noNotification":"None accepted notification found",
"notAnEncryptedValue":"It is not an encrypted value",
"notAuthorized":"Non sei autorizzato a farlo",
"notFound":"Non trovato: si tenta di accedere ad una pagina non disponibile",

@ -190,13 +190,14 @@
"maintenanceMode":"This application is in maintenance, please try to connect later",
"maxNumberof2FDevicesReached":"Maximum number of 2F devices reached!",
"missingCode":"Code is missing",
"myNofification":"My accepted notification",
"myNofifications":"My accepted notifications",
"myNotification":"My accepted notification",
"myNotifications":"My accepted notifications",
"name":"Name",
"newMessages":"New message(s)",
"newPassword":"New password",
"newPwdSentTo":"A confirmation has been sent to your mail address.",
"noHistory":"This is your first connection, welcome!",
"noNotification":"None accepted notification found",
"notAnEncryptedValue":"It is not an encrypted value",
"notAuthorized":"You're not authorized to do this",
"notFound":"Not found: you try to access to an unavailable page",

@ -190,13 +190,14 @@
"maintenanceMode":"This application is in maintenance, please try to connect later",
"maxNumberof2FDevicesReached":"Maximum number of 2F devices reached!",
"missingCode":"Code is missing",
"myNofification":"My accepted notification",
"myNofifications":"My accepted notifications",
"myNotification":"My accepted notification",
"myNotifications":"My accepted notifications",
"name":"Name",
"newMessages":"New message(s)",
"newPassword":"New password",
"newPwdSentTo":"A confirmation has been sent to your mail address.",
"noHistory":"This is your first connection, welcome!",
"noNotification":"None accepted notification found",
"notAnEncryptedValue":"It is not an encrypted value",
"notAuthorized":"You're not authorized to do this",
"notFound":"Not found: you try to access to an unavailable page",

@ -190,13 +190,14 @@
"maintenanceMode":"This application is in maintenance, please try to connect later",
"maxNumberof2FDevicesReached":"Maximum number of 2F devices reached!",
"missingCode":"Code is missing",
"myNofification":"My accepted notification",
"myNofifications":"My accepted notifications",
"myNotification":"My accepted notification",
"myNotifications":"My accepted notifications",
"name":"Name",
"newMessages":"New message(s)",
"newPassword":"New password",
"newPwdSentTo":"A confirmation has been sent to your mail address.",
"noHistory":"This is your first connection, welcome!",
"noNotification":"None accepted notification found",
"notAnEncryptedValue":"It is not an encrypted value",
"notAuthorized":"You're not authorized to do this",
"notFound":"Not found: you try to access to an unavailable page",

@ -190,13 +190,14 @@
"maintenanceMode":"Bu uygulama şuan bakımda, lütfen daha sonra bağlanmayı deneyin",
"maxNumberof2FDevicesReached":"Maksimum 2F cihaz sayısına ulaşıldı!",
"missingCode":"Kod eksik",
"myNofification":"My accepted notification",
"myNofifications":"My accepted notifications",
"myNotification":"My accepted notification",
"myNotifications":"My accepted notifications",
"name":"Ad",
"newMessages":"Yeni mesaj(lar)",
"newPassword":"Yeni parola",
"newPwdSentTo":"E-posta adresinize bir onay gönderildi.",
"noHistory":"Bu sizin ilk bağlantınız, hoş geldiniz!",
"noNotification":"None accepted notification found",
"notAnEncryptedValue":"Bu şifrelenmiş bir değer değil",
"notAuthorized":"Bunu yapmak için yetkili değilsiniz",
"notFound":"Bulunamadı: mevcut olmayan bir sayfaya erişmeyi deniyorsunuz",

@ -190,13 +190,14 @@
"maintenanceMode":"Ứng dụng này đang trong quá trình bảo trì, hãy thử kết nối sau",
"maxNumberof2FDevicesReached":"Maximum number of 2F devices reached!",
"missingCode":"Code is missing",
"myNofification":"My accepted notification",
"myNofifications":"My accepted notifications",
"myNotification":"My accepted notification",
"myNotifications":"My accepted notifications",
"name":"Tên",
"newMessages":"(Các) tin nhắn mới",
"newPassword":"Mật khẩu mới",
"newPwdSentTo":"Một xác nhận đã được gửi đến địa chỉ thư của bạn.",
"noHistory":"Đây là kết nối đầu tiên của bạn, chào mừng!",
"noNotification":"None accepted notification found",
"notAnEncryptedValue":"It is not an encrypted value",
"notAuthorized":"You're not authorized to do this",
"notFound":"Không tìm thấy: bạn cố gắng truy cập vào một trang không có sẵn",

@ -190,13 +190,14 @@
"maintenanceMode":"程序维护中,请稍后再尝试连接。",
"maxNumberof2FDevicesReached":"Maximum number of 2F devices reached!",
"missingCode":"Code is missing",
"myNofification":"My accepted notification",
"myNofifications":"My accepted notifications",
"myNotification":"My accepted notification",
"myNotifications":"My accepted notifications",
"name":"名字",
"newMessages":"新消息",
"newPassword":"新密码",
"newPwdSentTo":"确认邮件已发送至您的邮箱",
"noHistory":"欢迎,这是您的首次登陆",
"noNotification":"None accepted notification found",
"notAnEncryptedValue":"It is not an encrypted value",
"notAuthorized":"您没有权限进行该项操作",
"notFound":"无法找到:您请求的网页不存在。",

Loading…
Cancel
Save