1
0
Fork 0
mirror of https://github.com/activerecord-hackery/ransack.git synced 2022-11-09 13:47:45 -05:00
activerecord-hackery--ransack/spec/support/en.yml
Jon Atack 8505e8673b Fix #label specs with has_many associations and
improve #label test coverage.

Fixed specs: searches/labels for `has_many` associations
need to use pluralized model_name (was singularized).

Test for finding the translation when provided in the I18n file,
as well for correctly falling back (with coherent capitalization)
in different cases when no translation is provided.

Test with direct attributes (both one word and multi-word),
as well as with `has_many` and `belongs_to` associations.

To-do: improve Ransack I18n documentation.
2014-10-18 00:20:00 +02:00

18 lines
397 B
YAML

en:
attributes:
id: 'id'
ransack:
attributes:
person:
name: Full Name
only_admin: admin uSer Only
salary: wages
awesome: ransack is really awesome
article:
body: maiN BoDy
activerecord:
attributes:
namespace/article:
title: AR Namespaced Title
namespace_article:
title: Old Ransack Namespaced Title