Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added Japanese-language errors for model-validations.

  • Loading branch information...
commit c8fe36bd24f1a039850e869ccf06b4b62c74486e 1 parent a581938
@mde mde authored
Showing with 18 additions and 8 deletions.
  1. +8 −8 templates/locales/en-us.json
  2. +10 −0 templates/locales/ja-jp.json
View
16 templates/locales/en-us.json
@@ -1,10 +1,10 @@
{
- "model.validatesPresent": "Field {name} is required."
-, "model.validatesAbsent": "Field {name} must not be filled in."
-, "model.validatesConfirmed": "Field {name} and field {qual} must match."
-, "model.validatesFormat": "Field {name} is not correctly formatted."
-, "model.validatesExactLength": "Field {name} must be {qual} characters long."
-, "model.validatesMinLength": "Field {name} must be at least {min} characters long."
-, "model.validatesMaxLength": "Field {name} may not be more than {max} characters long."
-, "model.validatesWithFunction": "Field {name} is not valid."
+ "model.validatesPresent": "\"{name}\" is required."
+, "model.validatesAbsent": "\"{name}\" must not be filled in."
+, "model.validatesConfirmed": "\"{name}\" and \"{qual}\" must match."
+, "model.validatesFormat": "\"{name}\" is not correctly formatted."
+, "model.validatesExactLength": "\"{name}\" must be {qual} characters long."
+, "model.validatesMinLength": "\"{name}\" must be at least {min} characters long."
+, "model.validatesMaxLength": "\"{name}\" may not be more than {max} characters long."
+, "model.validatesWithFunction": "\"{name}\" is not valid."
}
View
10 templates/locales/ja-jp.json
@@ -0,0 +1,10 @@
+{
+ "model.validatesPresent": "「{name}」の入力が必要です。"
+, "model.validatesAbsent": "「{name}」の入力は不要です。"
+, "model.validatesConfirmed": "「{name}」と「{qual}」が一致しません。"
+, "model.validatesFormat": "「{name}」のフォーマットが正しくありません。"
+, "model.validatesExactLength": "「{name}」は{qual}文字でなければいけません。"
+, "model.validatesMinLength": "「{name}」は{min}文字以上でなければいけません。"
+, "model.validatesMaxLength": "「{name}」は{max}文字以内でなければいけません。"
+, "model.validatesWithFunction": "「{name}」は有効ではありません。"
+}
Please sign in to comment.
Something went wrong with that request. Please try again.