From e47a53e98379baee550367c96a9cc2ca2c1cd8e2 Mon Sep 17 00:00:00 2001 From: tsamukawa Date: Fri, 15 Mar 2024 12:19:15 +0900 Subject: [PATCH 1/3] Inconsistent use of words for `numeric`. `numeric` accepts negative float value like `-1.3`, `0.5E-3` etc. --- locales/ja/php-inline.json | 6 +++--- locales/ja/php.json | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/locales/ja/php-inline.json b/locales/ja/php-inline.json index 3bc82f0ec43..0db8c4cc25a 100644 --- a/locales/ja/php-inline.json +++ b/locales/ja/php-inline.json @@ -69,14 +69,14 @@ "mac_address": "この値は有効なMACアドレスでなければならない。", "max.array": "項目数は、:max個以下である必要があります。", "max.file": "ファイルサイズは、:max KB以下である必要があります。", - "max.numeric": ":Max以下の数字である必要があります。", + "max.numeric": ":Max以下の数値である必要があります。", "max.string": "文字数は、:max文字以下である必要があります。", "max_digits": ":Max桁以下の数字である必要があります。", "mimes": ":Valuesのファイルである必要があります。", "mimetypes": ":Valuesのファイルである必要があります。", "min.array": "項目数は、:min個以上である必要があります。", "min.file": "ファイルサイズが :min KB以上である必要があります。", - "min.numeric": ":Min以上の数字である必要があります。", + "min.numeric": ":Min以上の数値である必要があります。", "min.string": "文字数は、:min文字以上必要です。", "min_digits": ":Max桁以上の数字である必要があります。", "missing": "この項目を入力する必要はありません。", @@ -87,7 +87,7 @@ "multiple_of": ":Valueの倍数である必要があります。", "not_in": "選択した値が無効です。", "not_regex": "この形式は無効です。", - "numeric": "数字である必要があります。", + "numeric": "数値である必要があります。", "password.letters": "この項目は文字を1文字以上含む必要があります。", "password.mixed": "この項目は大文字と小文字をそれぞれ1文字以上含む必要があります。", "password.numbers": "この項目は数字を1文字以上含む必要があります。", diff --git a/locales/ja/php.json b/locales/ja/php.json index c03f9a80350..19bbb226dec 100644 --- a/locales/ja/php.json +++ b/locales/ja/php.json @@ -71,14 +71,14 @@ "mac_address": ":Attributeは有効なMACアドレスである必要があります。", "max.array": ":Attributeの項目数は、:max個以下である必要があります。", "max.file": ":Attributeは、:max KB以下のファイルである必要があります。", - "max.numeric": ":Attributeは、:max以下の数字である必要があります。", + "max.numeric": ":Attributeは、:max以下の数値である必要があります。", "max.string": ":Attributeの文字数は、:max文字以下である必要があります。", "max_digits": ":Attributeは、:max桁以下の数字である必要があります。", "mimes": ":Attributeには、以下のファイルタイプを指定してください。:values", "mimetypes": ":Attributeには、以下のファイルタイプを指定してください。:values", "min.array": ":Attributeの項目数は、:min個以上にしてください。", "min.file": ":Attributeには、:min KB以上のファイルを指定してください。", - "min.numeric": ":Attributeには、:min以上の数字を指定してください。", + "min.numeric": ":Attributeには、:min以上の数値を指定してください。", "min.string": ":Attributeの文字数は、:min文字以上である必要があります。", "min_digits": ":Attributeは、:min桁以上の数字である必要があります。", "missing": ":Attribute を入力する必要はありません。", @@ -90,7 +90,7 @@ "next": "次へ »", "not_in": "選択された:attributeは、有効ではありません。", "not_regex": ":Attributeの形式が正しくありません。", - "numeric": ":Attributeには、数字を指定してください。", + "numeric": ":Attributeには、数値を指定してください。", "password": "パスワードが正しくありません。", "password.letters": ":Attributeは文字を1文字以上含める必要があります。", "password.mixed": ":Attributeは大文字と小文字をそれぞれ1文字以上含める必要があります。", From 052ece197f64a02eb1e07273476383a623b260ed Mon Sep 17 00:00:00 2001 From: tsamukawa Date: Fri, 15 Mar 2024 14:03:33 +0900 Subject: [PATCH 2/3] Useless trailing space in translation for `decimal`. --- locales/ja/php-inline.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locales/ja/php-inline.json b/locales/ja/php-inline.json index 0db8c4cc25a..8dd3c49217f 100644 --- a/locales/ja/php-inline.json +++ b/locales/ja/php-inline.json @@ -22,7 +22,7 @@ "date": "有効な日付ではありません。", "date_equals": ":Date 同じ日付を指定してください。", "date_format": ":Format の形と一致しません。", - "decimal": "小数点以下が:decimalでなければなりません。 ", + "decimal": "小数点以下が:decimalでなければなりません。", "declined": "拒否する必要があります。", "declined_if": ":Otherが:valueである場合、拒否する必要があります。", "different": ":Otherとは異なる値を指定する必要があります。", From 923acb53c3b45ecc953482ee97fed6cc45cb6a4f Mon Sep 17 00:00:00 2001 From: tsamukawa Date: Fri, 15 Mar 2024 15:26:22 +0900 Subject: [PATCH 3/3] Inconsistent translate for `integer` in inline or not. --- locales/ja/php-inline.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locales/ja/php-inline.json b/locales/ja/php-inline.json index 8dd3c49217f..0ac5b9d132b 100644 --- a/locales/ja/php-inline.json +++ b/locales/ja/php-inline.json @@ -51,7 +51,7 @@ "image": "画像である必要があります。", "in": "選択した値が無効です。", "in_array": "この値は:otherに存在しません。", - "integer": "数字である必要があります。", + "integer": "整数である必要があります。", "ip": "有効なIPアドレスである必要があります。", "ipv4": "有効なIPv4アドレスである必要があります。", "ipv6": "有効なIPv6アドレスである必要があります。",