Is the code below the correct format for number_to_human_size? I placed them under five, [en:, es:, de:, it:, fr:] .yml files.
storage_units:
format: "%n %u"
units:
byte:
one: "Byte"
other: "Bytes"
kb: "KB"
mb: "MB"
gb: "GB"
tb: "TB"
I have following reference
<%= number_to_human_size(@game.downloadsize, :precision => 2, :locale=>I18n.locale) %>
I am getting the error message:
can not load translations from C:/Documents and Settings/rajg/antixdiscoveraws/config/locales/de.yml, expected it to return a hash, but does not
Any help is much appreciated.
Try to indent the format: