瀏覽代碼

Modify 'Password is not set' message of /me/password

Yuki Takei 8 年之前
父節點
當前提交
e857031783
共有 3 個文件被更改,包括 4 次插入4 次删除
  1. 1 1
      lib/locales/en-US/translation.json
  2. 1 1
      lib/locales/ja/translation.json
  3. 2 2
      lib/views/me/password.html

+ 1 - 1
lib/locales/en-US/translation.json

@@ -125,7 +125,7 @@
   "Current password": "Current password",
   "New password": "New password",
   "Re-enter new password": "Re-enter new password",
-  "Please set a password": "Please set a password",
+  "Password is not set": "Password is not set",
   "You can sign in with email and password": "You can sign in with <code>%s</code> and password",
 
   "API Settings": "API Settings",

+ 1 - 1
lib/locales/ja/translation.json

@@ -124,7 +124,7 @@
   "Current password": "現在のパスワード",
   "New password": "新しいパスワード",
   "Re-enter new password": "(確認用)",
-  "Please set a password": "パスワードを設定してください",
+  "Password is not set": "パスワードが設定されていません",
   "You can sign in with email and password": "<code>%s</code> と設定されたパスワードの組み合わせでログイン可能になります。",
 
   "API Settings": "API設定",

+ 2 - 2
lib/views/me/password.html

@@ -22,8 +22,8 @@
   <div class="tab-content">
 
   {% if not user.password %}
-  <div class="alert alert-danger">
-    {{ t('Please set a password') }}
+  <div class="alert alert-warning">
+    {{ t('Password is not set') }}
   </div>
   {% endif %}