From a119a954d39e59ff7a0e11baac34db245c38fc8b Mon Sep 17 00:00:00 2001 From: nishiki Date: Mon, 9 Feb 2015 21:39:13 +0100 Subject: [PATCH] fix bug in error message --- lib/Sync.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Sync.rb b/lib/Sync.rb index 18dbad9..984181d 100644 --- a/lib/Sync.rb +++ b/lib/Sync.rb @@ -56,7 +56,7 @@ module MPW file_tmp.close(true) return true rescue Exception => e - @error_msg = "#{I18n.t('error.sync')} #{e}" + @error_msg = "#{I18n.t('error.sync.download')} #{e}" file_tmp.close(true) return false end @@ -125,7 +125,7 @@ module MPW return true rescue Exception => e - @error_msg = "#{I18n.t('error.sync')} #{e}" + @error_msg = "#{I18n.t('error.sync.unknown')} #{e}" return false end end