1
0
Fork 0
mirror of https://github.com/nishiki/manage-password.git synced 2025-02-17 08:30:04 +00:00

fix bug in error message

This commit is contained in:
nishiki 2015-02-09 21:39:13 +01:00
parent 43abe95579
commit a119a954d3

View file

@ -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