From cade11d55a3d6a6da28e9dae8b9b4862de7d3e54 Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi Date: Wed, 4 Mar 2015 10:40:21 +0900 Subject: [PATCH] Fix incorrect Japanese translation --- lib/phony_rails/locales/ja.yml | 2 +- spec/lib/validators/phony_validator_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/phony_rails/locales/ja.yml b/lib/phony_rails/locales/ja.yml index f527c88..abbb17c 100644 --- a/lib/phony_rails/locales/ja.yml +++ b/lib/phony_rails/locales/ja.yml @@ -1,4 +1,4 @@ ja: errors: messages: - improbable_phone: "は正し電話番号ではありません" + improbable_phone: "は正しい電話番号ではありません" diff --git a/spec/lib/validators/phony_validator_spec.rb b/spec/lib/validators/phony_validator_spec.rb index c264bff..2c75223 100644 --- a/spec/lib/validators/phony_validator_spec.rb +++ b/spec/lib/validators/phony_validator_spec.rb @@ -177,7 +177,7 @@ class MismatchedHelpfulHome < ActiveRecord::Base I18n.with_locale(:ja) do @home.phone_number = INVALID_NUMBER @home.valid? - @home.errors.messages.should include(:phone_number => ["は正し電話番号ではありません"]) + @home.errors.messages.should include(:phone_number => ["は正しい電話番号ではありません"]) end end