Permalink
Browse files

Fix login dialog messages for password-only authentication

  • Loading branch information...
1 parent 2010759 commit f6d66f8a5e8d5f2e8abf5147f23bc4e60e98aeb0 @cdujeu cdujeu committed Aug 24, 2016
Showing with 73 additions and 10 deletions.
  1. +6 −0 core/src/plugins/authfront.session_login/manifest.xml
  2. +5 −3 core/src/plugins/core.ajaxplorer/i18n/ca.php
  3. +5 −3 core/src/plugins/core.ajaxplorer/i18n/cs.php
  4. +2 −0 core/src/plugins/core.ajaxplorer/i18n/da.php
  5. +2 −0 core/src/plugins/core.ajaxplorer/i18n/de.php
  6. +2 −0 core/src/plugins/core.ajaxplorer/i18n/en.php
  7. +2 −0 core/src/plugins/core.ajaxplorer/i18n/es.php
  8. +2 −0 core/src/plugins/core.ajaxplorer/i18n/et.php
  9. +2 −0 core/src/plugins/core.ajaxplorer/i18n/eus.php
  10. +2 −0 core/src/plugins/core.ajaxplorer/i18n/fi.php
  11. +2 −0 core/src/plugins/core.ajaxplorer/i18n/fr.php
  12. +2 −0 core/src/plugins/core.ajaxplorer/i18n/gr.php
  13. +2 −0 core/src/plugins/core.ajaxplorer/i18n/he.php
  14. +2 −0 core/src/plugins/core.ajaxplorer/i18n/hu.php
  15. +2 −0 core/src/plugins/core.ajaxplorer/i18n/it.php
  16. +6 −1 core/src/plugins/core.ajaxplorer/i18n/ja.php
  17. +2 −0 core/src/plugins/core.ajaxplorer/i18n/kr.php
  18. +2 −0 core/src/plugins/core.ajaxplorer/i18n/nl.php
  19. +2 −0 core/src/plugins/core.ajaxplorer/i18n/no.php
  20. +2 −0 core/src/plugins/core.ajaxplorer/i18n/pl.php
  21. +5 −3 core/src/plugins/core.ajaxplorer/i18n/pt-br.php
  22. +2 −0 core/src/plugins/core.ajaxplorer/i18n/pt.php
  23. +2 −0 core/src/plugins/core.ajaxplorer/i18n/ru.php
  24. +2 −0 core/src/plugins/core.ajaxplorer/i18n/si.php
  25. +2 −0 core/src/plugins/core.ajaxplorer/i18n/sv.php
  26. +2 −0 core/src/plugins/core.ajaxplorer/i18n/tr.php
  27. +2 −0 core/src/plugins/core.ajaxplorer/i18n/zh-tw.php
  28. +2 −0 core/src/plugins/core.ajaxplorer/i18n/zh.php
@@ -56,6 +56,9 @@
oForm.addClassName('ajxp_password_auth');
authConfs.set('SECURE_LOGIN_FORM', true);
authConfs.set('ENABLE_FORGOT_PASSWORD', false);
+ oForm.down('.dialogLegend').update(pydio.MessageHash[552]);
+ }else{
+ oForm.down('.dialogLegend').update(pydio.MessageHash[180]);
}
$("generic_dialog_box").down(".titleString").hide();
$("generic_dialog_box").down("#modalCloseBtn").hide();
@@ -133,6 +136,9 @@
hideLightBox(true);
}else{
var errorId = PydioApi.getClient().LAST_ERROR_ID;
+ if(errorId == '285' && window.ajxpBootstrap.parameters.get('PASSWORD_AUTH_ONLY')){
+ errorId = '553';
+ }
if(transport.responseXML && XPathGetSingleNodeText(transport.responseXML.documentElement, "logging_result/@value") == "-4"){
ajaxplorer.UI.loadSeedOrCaptcha(oForm.down('#login_seed'), oForm.down('img#captcha_image'), oForm.down('div.dialogLegend'), 'before');
}
@@ -648,7 +648,9 @@
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
"547" => "Accept",
"548" => "Decline",
- "549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
- "550" => "Reject this share",
- "551" => "Reject",
+"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
+"550" => "Reject this share",
+"551" => "Reject",
+"552" => "Please provide password.",
+"553" => "Invalid password, please try again. \\n Make sure your Caps Lock is not engaged!",
);
@@ -646,7 +646,9 @@
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
"547" => "Accept",
"548" => "Decline",
- "549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
- "550" => "Reject this share",
- "551" => "Reject",
+"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
+"550" => "Reject this share",
+"551" => "Reject",
+"552" => "Please provide password.",
+"553" => "Invalid password, please try again. \\n Make sure your Caps Lock is not engaged!",
);
@@ -652,5 +652,7 @@
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
+"552" => "Please provide password.",
+"553" => "Invalid password, please try again. \\n Make sure your Caps Lock is not engaged!",
/* END SENTENCE */
);
@@ -656,4 +656,6 @@
"549" => "Sie haben die Freigabe des Benutzers %%OWNER%% von einem entfernten System bereits akzeptiert. Möchten Sie diese nun ablehnen?",
"550" => "Freigabe ablehnen",
"551" => "Ablehnen",
+"552" => "Please provide password.",
+"553" => "Invalid password, please try again. \\n Make sure your Caps Lock is not engaged!",
);
@@ -649,4 +649,6 @@
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
+"552" => "Please provide password.",
+"553" => "Invalid password, please try again. \\n Make sure your Caps Lock is not engaged!"
);
@@ -654,4 +654,6 @@
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
+"552" => "Please provide password.",
+"553" => "Invalid password, please try again. \\n Make sure your Caps Lock is not engaged!",
);
@@ -650,5 +650,7 @@
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
+ "552" => "Please provide password.",
+ "553" => "Invalid password, please try again. \\n Make sure your Caps Lock is not engaged!",
/* END SENTENCE */
);
@@ -648,5 +648,7 @@
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
+ "552" => "Please provide password.",
+ "553" => "Invalid password, please try again. \\n Make sure your Caps Lock is not engaged!",
/* END SENTENCE */
);
@@ -650,5 +650,7 @@
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
+ "552" => "Please provide password.",
+ "553" => "Invalid password, please try again. \\n Make sure your Caps Lock is not engaged!",
/* END SENTENCE */
);
@@ -649,5 +649,7 @@
"549" => "Vaous avez précedemment accepté ce partage depuis un système distant (par %%OWNER%%). Désirez-vous le rejeter désormais?",
"550" => "Rejeter ce partage",
"551" => "Rejeter",
+ "552" => "Please provide a password.",
+ "553" => "Invalid password, please try again. \\n Make sure your Caps Lock is not engaged!"
/* END SENTENCE */
);
@@ -647,5 +647,7 @@
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
+ "552" => "Please provide password.",
+ "553" => "Invalid password, please try again. \\n Make sure your Caps Lock is not engaged!",
/* END SENTENCE */
);
@@ -647,5 +647,7 @@
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
+ "552" => "Please provide password.",
+ "553" => "Invalid password, please try again. \\n Make sure your Caps Lock is not engaged!",
/* END SENTENCE */
);
@@ -652,5 +652,7 @@
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
+ "552" => "Please provide password.",
+ "553" => "Invalid password, please try again. \\n Make sure your Caps Lock is not engaged!",
/* END SENTENCE */
);
@@ -667,5 +667,7 @@
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
+"552" => "Please provide password.",
+"553" => "Invalid password, please try again. \\n Make sure your Caps Lock is not engaged!",
/* END SENTENCE */
);
@@ -648,7 +648,12 @@
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
"547" => "Accept",
-"548" => "Decline"
+"548" => "Decline",
+"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
+"550" => "Reject this share",
+"551" => "Reject",
+"552" => "Please provide password.",
+"553" => "Invalid password, please try again. \\n Make sure your Caps Lock is not engaged!",
/* 文章はここまで */
/* 文章終了 */
);
@@ -656,5 +656,7 @@
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
+ "552" => "Please provide password.",
+ "553" => "Invalid password, please try again. \\n Make sure your Caps Lock is not engaged!",
/* END SENTENCE */
);
@@ -653,5 +653,7 @@
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
+ "552" => "Please provide password.",
+ "553" => "Invalid password, please try again. \\n Make sure your Caps Lock is not engaged!",
/* END SENTENCE */
);
@@ -651,5 +651,7 @@
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
+ "552" => "Please provide password.",
+ "553" => "Invalid password, please try again. \\n Make sure your Caps Lock is not engaged!",
/* END SENTENCE */
);
@@ -647,5 +647,7 @@
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
+ "552" => "Please provide password.",
+ "553" => "Invalid password, please try again. \\n Make sure your Caps Lock is not engaged!",
/* END SENTENCE */
);
@@ -648,8 +648,10 @@
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
"547" => "Accept",
"548" => "Decline",
- "549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
- "550" => "Reject this share",
- "551" => "Reject",
+"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
+"550" => "Reject this share",
+"551" => "Reject",
+"552" => "Please provide password.",
+"553" => "Invalid password, please try again. \\n Make sure your Caps Lock is not engaged!",
/* END SENTENCE */
);
@@ -647,6 +647,8 @@
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
+ "552" => "Please provide password.",
+ "553" => "Invalid password, please try again. \\n Make sure your Caps Lock is not engaged!",
/* END SENTENCE */
/* password strength tester */
);
@@ -649,4 +649,6 @@
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
+ "552" => "Please provide password.",
+ "553" => "Invalid password, please try again. \\n Make sure your Caps Lock is not engaged!",
);
@@ -648,5 +648,7 @@
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
+ "552" => "Please provide password.",
+ "553" => "Invalid password, please try again. \\n Make sure your Caps Lock is not engaged!",
/* END SENTENCE */
);
@@ -647,5 +647,7 @@
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
+ "552" => "Please provide password.",
+ "553" => "Invalid password, please try again. \\n Make sure your Caps Lock is not engaged!",
/* END SENTENCE */
);
@@ -650,5 +650,7 @@
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
+ "552" => "Please provide password.",
+ "553" => "Invalid password, please try again. \\n Make sure your Caps Lock is not engaged!",
/* END SENTENCE */
);
@@ -650,5 +650,7 @@
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
+ "552" => "Please provide password.",
+ "553" => "Invalid password, please try again. \\n Make sure your Caps Lock is not engaged!",
/* END SENTENCE */
);
@@ -659,5 +659,7 @@
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
"550" => "Reject this share",
"551" => "Reject",
+ "552" => "Please provide password.",
+ "553" => "Invalid password, please try again. \\n Make sure your Caps Lock is not engaged!",
/* END SENTENCE */
);

0 comments on commit f6d66f8

Please sign in to comment.