mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
b928d245b2
* Use i18n fallbacks when looking up localized paths In #853, the usage of i18n-fallbacks was introduced. For undocumented reasons, the fallbacks are ignored for localized paths, though. This commit removes this limitation, and adds a test to make sure, that it works as desired. * Extending fixture data to fix tests With the introduction of i18n fallbacks for localized paths, the tests which set the default locale to Spanish failed, since the Spanish path mappings were now used for the English locale as well. So the expected paths were now incorrect. This change adds the expected paths to the English i18n file, so that the tests pass again. |
||
---|---|---|
.. | ||
data | ||
locales | ||
source |