From d2dba64ce0336967099fcbf8f6eed4261deee390 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Fri, 19 Jun 2020 13:24:15 +0900
Subject: [PATCH] *: use "New Password Confirmation" term in dialogs to change
 password

Use consistent term as in PreferenceTool_viewChangePasswordDialog. In
dialogs the field label show "what information is in the field" not
"what the user is supposed to do with this field"
---
 .../erp5_web_renderjs_ui/WebSite_viewResetPassword.zpt          | 2 +-
 .../PasswordTool_viewResetPassword/password_confirm.xml         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/WebSite_viewResetPassword.zpt b/bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/WebSite_viewResetPassword.zpt
index e523501f84..7730b6bf11 100644
--- a/bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/WebSite_viewResetPassword.zpt
+++ b/bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/WebSite_viewResetPassword.zpt
@@ -32,7 +32,7 @@
                 <div><input autofocus name="password" type="password" value="" required=""></div>
               </div>
               <div class="ui-field-contain">
-                <label data-i18n="Retype New Password">Retype New Password<span></span></label>
+                <label data-i18n="New Password Confirmation">New Password Confirmation<span></span></label>
                 <div><input name="password_confirm" type="password" value="" required=""></div>
               </div>
               <div class="ui-field-contain">
diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/PasswordTool_viewResetPassword/password_confirm.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/PasswordTool_viewResetPassword/password_confirm.xml
index 0158f59ca6..cf4dab1a51 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/PasswordTool_viewResetPassword/password_confirm.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/PasswordTool_viewResetPassword/password_confirm.xml
@@ -241,7 +241,7 @@
                 </item>
                 <item>
                     <key> <string>title</string> </key>
-                    <value> <string>Retype New Password</string> </value>
+                    <value> <string>New Password Confirmation</string> </value>
                 </item>
                 <item>
                     <key> <string>truncate</string> </key>
-- 
2.30.9