Ver código fonte

密码限制改为6-12位文案

ting.yin 1 ano atrás
pai
commit
84766df2ae

+ 1 - 1
stmms-web/src/main/webapp/WEB-INF/views/modules/mark/reset.jsp

@@ -93,7 +93,7 @@
                     </div>
                     <div class="input-group input-top">
                    		 <img src="${ctxStatic}/images/password.png" class="input-icon">
-                        <input type="password" class="form-control required" id="password" name="password" placeholder="请输入4位以上新密码" autocomplete="off" data-i18n-placeholder="user.reset.password"/>
+                        <input type="password" class="form-control required" id="password" name="password" placeholder="请输入6位以上新密码" autocomplete="off" data-i18n-placeholder="user.reset.password"/>
                     </div>
                     <div class="input-group input-top">
                     	<img src="${ctxStatic}/images/password.png" class="input-icon">

+ 3 - 3
stmms-web/src/main/webapp/static/i18n/messages.properties

@@ -18,12 +18,12 @@ user.reset.submit=\u786e\u5b9a
 user.reset.logout=\u9000\u51fa
 user.reset.title=\u9996\u6b21\u767b\u5f55\uff0c\u8bf7\u5b8c\u5584\u8d44\u6599
 user.reset.name=\u8f93\u5165\u59d3\u540d
-user.reset.password=\u8f93\u51654\u4f4d\u4ee5\u4e0a\u65b0\u5bc6\u7801
+user.reset.password=\u8f93\u51656\u4f4d\u4ee5\u4e0a\u65b0\u5bc6\u7801
 user.reset.password.again=\u518d\u6b21\u8f93\u5165\u65b0\u5bc6\u7801
-user.reset.name.length=\u957f\u5ea6\u4e0d\u80fd\u8d85\u8fc710\u4e2a\u5b57
+user.reset.name.length=\u957f\u5ea6\u4e0d\u80fd\u8d85\u8fc712\u4e2a\u5b57
 user.reset.name.chinese=\u8bf7\u8f93\u5165\u4e2d\u6587
 user.reset.password.same=\u4e24\u6b21\u5bc6\u7801\u8bf7\u4fdd\u6301\u4e00\u81f4
-user.reset.password.length=\u5bc6\u7801\u7684\u957f\u5ea6\u81f3\u5c114\u4f4d\uff0c\u4e0d\u80fd\u8d85\u8fc78\u4f4d
+user.reset.password.length=\u5bc6\u7801\u7684\u957f\u5ea6\u81f3\u5c116\u4f4d\uff0c\u4e0d\u80fd\u8d85\u8fc712\u4f4d
 #mark-control
 mark.control.assistant=\u5c0f\u52a9\u624b
 mark.control.mode.track=\u5207\u6362\u5230\u8f68\u8ff9\u6a21\u5f0f

+ 3 - 3
stmms-web/src/main/webapp/static/i18n/messages_en.properties

@@ -18,12 +18,12 @@ user.reset.submit=Submit
 user.reset.logout=Logout
 user.reset.title=Supplement personal information
 user.reset.name=press your name
-user.reset.password=press new password more than 4 word
+user.reset.password=press new password more than 6 word
 user.reset.password.again=press new password again
-user.reset.name.length=length cannot exceed 10 words
+user.reset.name.length=length cannot exceed 12 words
 user.reset.name.chinese=\u8bf7\u8f93\u5165\u4e2d\u6587
 user.reset.password.same=please keep the same password twice
-user.reset.password.length=password must be at least 4 word,cannot exceed 8 words
+user.reset.password.length=password must be at least 6 word,cannot exceed 12 words
 #mark-control
 mark.control.assistant=Assistant
 mark.control.mode.track=Track Mode

+ 2 - 2
stmms-web/src/main/webapp/static/i18n/messages_ja.properties

@@ -20,10 +20,10 @@ user.reset.title=\u65b0\u898f\u767b\u9332
 user.reset.name=\u30e6\u30fc\u30b6\u30fc\u540d
 user.reset.password=\u30d1\u30b9\u30ef\u30fc\u30c9
 user.reset.password.again=\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u518d\u5165\u529b
-user.reset.name.length=\u30d1\u30b9\u30ef\u30fc\u30c9\u306f10\u6587\u5b57\u4ee5\u5185\u306b\u3057\u3066\u304f\u3060\u3055\u3044
+user.reset.name.length=\u30d1\u30b9\u30ef\u30fc\u30c9\u306f12\u6587\u5b57\u4ee5\u5185\u306b\u3057\u3066\u304f\u3060\u3055\u3044
 user.reset.name.chinese=\u8bf7\u8f93\u5165\u4e2d\u6587
 user.reset.password.same=\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u4e00\u81f4\u3057\u307e\u305b\u3093
-user.reset.password.length=4\u6587\u5b57\u4ee5\u4e0a\u30018\u6587\u5b57\u4ee5\u5185\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044
+user.reset.password.length=6\u6587\u5b57\u4ee5\u4e0a\u300112\u6587\u5b57\u4ee5\u5185\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044
 #mark-control
 mark.control.assistant=\u305d\u306e\u4ed6\u306e\u6a5f\u80fd
 mark.control.mode.track=\u90e8\u5206\u63a1\u70b9\u30e2\u30fc\u30c9\u306b\u5207\u308a\u66ff\u3048\u308b

+ 3 - 3
stmms-web/src/main/webapp/static/i18n/messages_zh.properties

@@ -18,12 +18,12 @@ user.reset.submit=\u786e\u5b9a
 user.reset.logout=\u9000\u51fa
 user.reset.title=\u9996\u6b21\u767b\u5f55\uff0c\u8bf7\u5b8c\u5584\u8d44\u6599
 user.reset.name=\u8f93\u5165\u59d3\u540d
-user.reset.password=\u8f93\u51654\u4f4d\u4ee5\u4e0a\u65b0\u5bc6\u7801
+user.reset.password=\u8f93\u51656\u4f4d\u4ee5\u4e0a\u65b0\u5bc6\u7801
 user.reset.password.again=\u518d\u6b21\u8f93\u5165\u65b0\u5bc6\u7801
-user.reset.name.length=\u957f\u5ea6\u4e0d\u80fd\u8d85\u8fc710\u4e2a\u5b57
+user.reset.name.length=\u957f\u5ea6\u4e0d\u80fd\u8d85\u8fc712\u4e2a\u5b57
 user.reset.name.chinese=\u8bf7\u8f93\u5165\u4e2d\u6587
 user.reset.password.same=\u4e24\u6b21\u5bc6\u7801\u8bf7\u4fdd\u6301\u4e00\u81f4
-user.reset.password.length=\u5bc6\u7801\u7684\u957f\u5ea6\u81f3\u5c114\u4f4d\uff0c\u4e0d\u80fd\u8d85\u8fc78\u4f4d
+user.reset.password.length=\u5bc6\u7801\u7684\u957f\u5ea6\u81f3\u5c116\u4f4d\uff0c\u4e0d\u80fd\u8d85\u8fc712\u4f4d
 #mark-control
 mark.control.assistant=\u5c0f\u52a9\u624b
 mark.control.mode.track=\u5207\u6362\u5230\u8f68\u8ff9\u6a21\u5f0f