middleman-i18n 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (354) hide show
  1. data/.gitignore +3 -0
  2. data/.travis.yml +7 -0
  3. data/Gemfile +4 -0
  4. data/README +6 -0
  5. data/Rakefile +15 -0
  6. data/features/builder_alt_path.feature +27 -0
  7. data/features/builder_alt_root.feature +27 -0
  8. data/features/builder_default.feature +27 -0
  9. data/features/builder_no_mount.feature +32 -0
  10. data/features/builder_subset.feature +27 -0
  11. data/features/preview_alt_path.feature +37 -0
  12. data/features/preview_alt_root.feature +37 -0
  13. data/features/preview_default.feature +37 -0
  14. data/features/preview_no_mount.feature +37 -0
  15. data/features/preview_subset.feature +37 -0
  16. data/features/step_definitions/builder_steps.rb +40 -0
  17. data/features/step_definitions/middleman_steps.rb +53 -0
  18. data/features/support/env.rb +4 -0
  19. data/fixtures/alt-path-app/.sass-cache/10724afd6f5974a893560df569c26d86a8c5edc2/_utilities.scssc +0 -0
  20. data/fixtures/alt-path-app/.sass-cache/3042ced4cd348e207d3211006b2c68a362e6d19a/_clearfix.scssc +0 -0
  21. data/fixtures/alt-path-app/.sass-cache/3042ced4cd348e207d3211006b2c68a362e6d19a/_float.scssc +0 -0
  22. data/fixtures/alt-path-app/.sass-cache/3042ced4cd348e207d3211006b2c68a362e6d19a/_hacks.scssc +0 -0
  23. data/fixtures/alt-path-app/.sass-cache/3042ced4cd348e207d3211006b2c68a362e6d19a/_min.scssc +0 -0
  24. data/fixtures/alt-path-app/.sass-cache/3042ced4cd348e207d3211006b2c68a362e6d19a/_reset.scssc +0 -0
  25. data/fixtures/alt-path-app/.sass-cache/3042ced4cd348e207d3211006b2c68a362e6d19a/_tag-cloud.scssc +0 -0
  26. data/fixtures/alt-path-app/.sass-cache/33a211ee6c1730d1758d9420e73d28bf583d55e6/_ellipsis.scssc +0 -0
  27. data/fixtures/alt-path-app/.sass-cache/33a211ee6c1730d1758d9420e73d28bf583d55e6/_force-wrap.scssc +0 -0
  28. data/fixtures/alt-path-app/.sass-cache/33a211ee6c1730d1758d9420e73d28bf583d55e6/_nowrap.scssc +0 -0
  29. data/fixtures/alt-path-app/.sass-cache/33a211ee6c1730d1758d9420e73d28bf583d55e6/_replacement.scssc +0 -0
  30. data/fixtures/alt-path-app/.sass-cache/49ad737e3c38823be7cedc4cb08d0df08bba460e/_sprite-img.scssc +0 -0
  31. data/fixtures/alt-path-app/.sass-cache/4c4992c06571c30502413267a4ed7c0dde0861ed/_alternating-rows-and-columns.scssc +0 -0
  32. data/fixtures/alt-path-app/.sass-cache/4c4992c06571c30502413267a4ed7c0dde0861ed/_borders.scssc +0 -0
  33. data/fixtures/alt-path-app/.sass-cache/4c4992c06571c30502413267a4ed7c0dde0861ed/_scaffolding.scssc +0 -0
  34. data/fixtures/alt-path-app/.sass-cache/505433bc275003acf085f216eff8d41758a64b34/_compass.scssc +0 -0
  35. data/fixtures/alt-path-app/.sass-cache/64c06d71261a14ffecd9e3d9f2297133ea5e1a18/_css3.scssc +0 -0
  36. data/fixtures/alt-path-app/.sass-cache/64c06d71261a14ffecd9e3d9f2297133ea5e1a18/_reset.scssc +0 -0
  37. data/fixtures/alt-path-app/.sass-cache/64c06d71261a14ffecd9e3d9f2297133ea5e1a18/_support.scssc +0 -0
  38. data/fixtures/alt-path-app/.sass-cache/64c06d71261a14ffecd9e3d9f2297133ea5e1a18/_typography.scssc +0 -0
  39. data/fixtures/alt-path-app/.sass-cache/64c06d71261a14ffecd9e3d9f2297133ea5e1a18/_utilities.scssc +0 -0
  40. data/fixtures/alt-path-app/.sass-cache/7cd76a330b2b179d0e76e8faba8471e1b26230a5/asset_host.css.sassc +0 -0
  41. data/fixtures/alt-path-app/.sass-cache/7cd76a330b2b179d0e76e8faba8471e1b26230a5/layout.css.sassc +0 -0
  42. data/fixtures/alt-path-app/.sass-cache/7cd76a330b2b179d0e76e8faba8471e1b26230a5/relative_assets.css.sassc +0 -0
  43. data/fixtures/alt-path-app/.sass-cache/7cd76a330b2b179d0e76e8faba8471e1b26230a5/site.css.sassc +0 -0
  44. data/fixtures/alt-path-app/.sass-cache/7cd76a330b2b179d0e76e8faba8471e1b26230a5/site_scss.css.scssc +0 -0
  45. data/fixtures/alt-path-app/.sass-cache/80b4c32b16909d1b79499b771ccc6b3a07c446bc/_links.scssc +0 -0
  46. data/fixtures/alt-path-app/.sass-cache/80b4c32b16909d1b79499b771ccc6b3a07c446bc/_lists.scssc +0 -0
  47. data/fixtures/alt-path-app/.sass-cache/80b4c32b16909d1b79499b771ccc6b3a07c446bc/_text.scssc +0 -0
  48. data/fixtures/alt-path-app/.sass-cache/80b4c32b16909d1b79499b771ccc6b3a07c446bc/_vertical_rhythm.scssc +0 -0
  49. data/fixtures/alt-path-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_appearance.scssc +0 -0
  50. data/fixtures/alt-path-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_background-clip.scssc +0 -0
  51. data/fixtures/alt-path-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_background-origin.scssc +0 -0
  52. data/fixtures/alt-path-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_background-size.scssc +0 -0
  53. data/fixtures/alt-path-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_border-radius.scssc +0 -0
  54. data/fixtures/alt-path-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_box-shadow.scssc +0 -0
  55. data/fixtures/alt-path-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_box-sizing.scssc +0 -0
  56. data/fixtures/alt-path-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_box.scssc +0 -0
  57. data/fixtures/alt-path-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_columns.scssc +0 -0
  58. data/fixtures/alt-path-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_font-face.scssc +0 -0
  59. data/fixtures/alt-path-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_gradient.scssc +0 -0
  60. data/fixtures/alt-path-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_images.scssc +0 -0
  61. data/fixtures/alt-path-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_inline-block.scssc +0 -0
  62. data/fixtures/alt-path-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_opacity.scssc +0 -0
  63. data/fixtures/alt-path-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_shared.scssc +0 -0
  64. data/fixtures/alt-path-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_text-shadow.scssc +0 -0
  65. data/fixtures/alt-path-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_transform.scssc +0 -0
  66. data/fixtures/alt-path-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_transition.scssc +0 -0
  67. data/fixtures/alt-path-app/.sass-cache/d687da6d6d06a0f3ffb08f949bd46a74c3225960/_color.scssc +0 -0
  68. data/fixtures/alt-path-app/.sass-cache/d687da6d6d06a0f3ffb08f949bd46a74c3225960/_general.scssc +0 -0
  69. data/fixtures/alt-path-app/.sass-cache/d687da6d6d06a0f3ffb08f949bd46a74c3225960/_sprites.scssc +0 -0
  70. data/fixtures/alt-path-app/.sass-cache/d687da6d6d06a0f3ffb08f949bd46a74c3225960/_tables.scssc +0 -0
  71. data/fixtures/alt-path-app/.sass-cache/e0442a673e623cb6ca8381eb07ccb93b13b71fe4/_contrast.scssc +0 -0
  72. data/fixtures/alt-path-app/.sass-cache/e2d02fab84b0831aa8f421b7b8641b20851ca0e5/_hover-link.scssc +0 -0
  73. data/fixtures/alt-path-app/.sass-cache/e2d02fab84b0831aa8f421b7b8641b20851ca0e5/_link-colors.scssc +0 -0
  74. data/fixtures/alt-path-app/.sass-cache/e2d02fab84b0831aa8f421b7b8641b20851ca0e5/_unstyled-link.scssc +0 -0
  75. data/fixtures/alt-path-app/.sass-cache/f61ddd8505e17c06837607417b2236a8a8496714/_bullets.scssc +0 -0
  76. data/fixtures/alt-path-app/.sass-cache/f61ddd8505e17c06837607417b2236a8a8496714/_horizontal-list.scssc +0 -0
  77. data/fixtures/alt-path-app/.sass-cache/f61ddd8505e17c06837607417b2236a8a8496714/_inline-block-list.scssc +0 -0
  78. data/fixtures/alt-path-app/.sass-cache/f61ddd8505e17c06837607417b2236a8a8496714/_inline-list.scssc +0 -0
  79. data/fixtures/alt-path-app/config.rb +2 -0
  80. data/fixtures/alt-path-app/locales/en.yml +4 -0
  81. data/fixtures/alt-path-app/locales/es.yml +7 -0
  82. data/fixtures/alt-path-app/source/layout.erb +1 -0
  83. data/fixtures/alt-path-app/source/localizable/hello.html.erb +1 -0
  84. data/fixtures/alt-path-app/source/localizable/index.html.erb +1 -0
  85. data/fixtures/alt-root-app/.sass-cache/10724afd6f5974a893560df569c26d86a8c5edc2/_utilities.scssc +0 -0
  86. data/fixtures/alt-root-app/.sass-cache/3042ced4cd348e207d3211006b2c68a362e6d19a/_clearfix.scssc +0 -0
  87. data/fixtures/alt-root-app/.sass-cache/3042ced4cd348e207d3211006b2c68a362e6d19a/_float.scssc +0 -0
  88. data/fixtures/alt-root-app/.sass-cache/3042ced4cd348e207d3211006b2c68a362e6d19a/_hacks.scssc +0 -0
  89. data/fixtures/alt-root-app/.sass-cache/3042ced4cd348e207d3211006b2c68a362e6d19a/_min.scssc +0 -0
  90. data/fixtures/alt-root-app/.sass-cache/3042ced4cd348e207d3211006b2c68a362e6d19a/_reset.scssc +0 -0
  91. data/fixtures/alt-root-app/.sass-cache/3042ced4cd348e207d3211006b2c68a362e6d19a/_tag-cloud.scssc +0 -0
  92. data/fixtures/alt-root-app/.sass-cache/33a211ee6c1730d1758d9420e73d28bf583d55e6/_ellipsis.scssc +0 -0
  93. data/fixtures/alt-root-app/.sass-cache/33a211ee6c1730d1758d9420e73d28bf583d55e6/_force-wrap.scssc +0 -0
  94. data/fixtures/alt-root-app/.sass-cache/33a211ee6c1730d1758d9420e73d28bf583d55e6/_nowrap.scssc +0 -0
  95. data/fixtures/alt-root-app/.sass-cache/33a211ee6c1730d1758d9420e73d28bf583d55e6/_replacement.scssc +0 -0
  96. data/fixtures/alt-root-app/.sass-cache/49ad737e3c38823be7cedc4cb08d0df08bba460e/_sprite-img.scssc +0 -0
  97. data/fixtures/alt-root-app/.sass-cache/4c4992c06571c30502413267a4ed7c0dde0861ed/_alternating-rows-and-columns.scssc +0 -0
  98. data/fixtures/alt-root-app/.sass-cache/4c4992c06571c30502413267a4ed7c0dde0861ed/_borders.scssc +0 -0
  99. data/fixtures/alt-root-app/.sass-cache/4c4992c06571c30502413267a4ed7c0dde0861ed/_scaffolding.scssc +0 -0
  100. data/fixtures/alt-root-app/.sass-cache/505433bc275003acf085f216eff8d41758a64b34/_compass.scssc +0 -0
  101. data/fixtures/alt-root-app/.sass-cache/64c06d71261a14ffecd9e3d9f2297133ea5e1a18/_css3.scssc +0 -0
  102. data/fixtures/alt-root-app/.sass-cache/64c06d71261a14ffecd9e3d9f2297133ea5e1a18/_reset.scssc +0 -0
  103. data/fixtures/alt-root-app/.sass-cache/64c06d71261a14ffecd9e3d9f2297133ea5e1a18/_support.scssc +0 -0
  104. data/fixtures/alt-root-app/.sass-cache/64c06d71261a14ffecd9e3d9f2297133ea5e1a18/_typography.scssc +0 -0
  105. data/fixtures/alt-root-app/.sass-cache/64c06d71261a14ffecd9e3d9f2297133ea5e1a18/_utilities.scssc +0 -0
  106. data/fixtures/alt-root-app/.sass-cache/7cd76a330b2b179d0e76e8faba8471e1b26230a5/asset_host.css.sassc +0 -0
  107. data/fixtures/alt-root-app/.sass-cache/7cd76a330b2b179d0e76e8faba8471e1b26230a5/layout.css.sassc +0 -0
  108. data/fixtures/alt-root-app/.sass-cache/7cd76a330b2b179d0e76e8faba8471e1b26230a5/relative_assets.css.sassc +0 -0
  109. data/fixtures/alt-root-app/.sass-cache/7cd76a330b2b179d0e76e8faba8471e1b26230a5/site.css.sassc +0 -0
  110. data/fixtures/alt-root-app/.sass-cache/7cd76a330b2b179d0e76e8faba8471e1b26230a5/site_scss.css.scssc +0 -0
  111. data/fixtures/alt-root-app/.sass-cache/80b4c32b16909d1b79499b771ccc6b3a07c446bc/_links.scssc +0 -0
  112. data/fixtures/alt-root-app/.sass-cache/80b4c32b16909d1b79499b771ccc6b3a07c446bc/_lists.scssc +0 -0
  113. data/fixtures/alt-root-app/.sass-cache/80b4c32b16909d1b79499b771ccc6b3a07c446bc/_text.scssc +0 -0
  114. data/fixtures/alt-root-app/.sass-cache/80b4c32b16909d1b79499b771ccc6b3a07c446bc/_vertical_rhythm.scssc +0 -0
  115. data/fixtures/alt-root-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_appearance.scssc +0 -0
  116. data/fixtures/alt-root-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_background-clip.scssc +0 -0
  117. data/fixtures/alt-root-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_background-origin.scssc +0 -0
  118. data/fixtures/alt-root-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_background-size.scssc +0 -0
  119. data/fixtures/alt-root-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_border-radius.scssc +0 -0
  120. data/fixtures/alt-root-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_box-shadow.scssc +0 -0
  121. data/fixtures/alt-root-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_box-sizing.scssc +0 -0
  122. data/fixtures/alt-root-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_box.scssc +0 -0
  123. data/fixtures/alt-root-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_columns.scssc +0 -0
  124. data/fixtures/alt-root-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_font-face.scssc +0 -0
  125. data/fixtures/alt-root-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_gradient.scssc +0 -0
  126. data/fixtures/alt-root-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_images.scssc +0 -0
  127. data/fixtures/alt-root-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_inline-block.scssc +0 -0
  128. data/fixtures/alt-root-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_opacity.scssc +0 -0
  129. data/fixtures/alt-root-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_shared.scssc +0 -0
  130. data/fixtures/alt-root-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_text-shadow.scssc +0 -0
  131. data/fixtures/alt-root-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_transform.scssc +0 -0
  132. data/fixtures/alt-root-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_transition.scssc +0 -0
  133. data/fixtures/alt-root-app/.sass-cache/d687da6d6d06a0f3ffb08f949bd46a74c3225960/_color.scssc +0 -0
  134. data/fixtures/alt-root-app/.sass-cache/d687da6d6d06a0f3ffb08f949bd46a74c3225960/_general.scssc +0 -0
  135. data/fixtures/alt-root-app/.sass-cache/d687da6d6d06a0f3ffb08f949bd46a74c3225960/_sprites.scssc +0 -0
  136. data/fixtures/alt-root-app/.sass-cache/d687da6d6d06a0f3ffb08f949bd46a74c3225960/_tables.scssc +0 -0
  137. data/fixtures/alt-root-app/.sass-cache/e0442a673e623cb6ca8381eb07ccb93b13b71fe4/_contrast.scssc +0 -0
  138. data/fixtures/alt-root-app/.sass-cache/e2d02fab84b0831aa8f421b7b8641b20851ca0e5/_hover-link.scssc +0 -0
  139. data/fixtures/alt-root-app/.sass-cache/e2d02fab84b0831aa8f421b7b8641b20851ca0e5/_link-colors.scssc +0 -0
  140. data/fixtures/alt-root-app/.sass-cache/e2d02fab84b0831aa8f421b7b8641b20851ca0e5/_unstyled-link.scssc +0 -0
  141. data/fixtures/alt-root-app/.sass-cache/f61ddd8505e17c06837607417b2236a8a8496714/_bullets.scssc +0 -0
  142. data/fixtures/alt-root-app/.sass-cache/f61ddd8505e17c06837607417b2236a8a8496714/_horizontal-list.scssc +0 -0
  143. data/fixtures/alt-root-app/.sass-cache/f61ddd8505e17c06837607417b2236a8a8496714/_inline-block-list.scssc +0 -0
  144. data/fixtures/alt-root-app/.sass-cache/f61ddd8505e17c06837607417b2236a8a8496714/_inline-list.scssc +0 -0
  145. data/fixtures/alt-root-app/config.rb +2 -0
  146. data/fixtures/alt-root-app/locales/en.yml +4 -0
  147. data/fixtures/alt-root-app/locales/es.yml +7 -0
  148. data/fixtures/alt-root-app/source/lang_data/hello.html.erb +1 -0
  149. data/fixtures/alt-root-app/source/lang_data/index.html.erb +1 -0
  150. data/fixtures/alt-root-app/source/layout.erb +1 -0
  151. data/fixtures/no-mount-app/.sass-cache/10724afd6f5974a893560df569c26d86a8c5edc2/_utilities.scssc +0 -0
  152. data/fixtures/no-mount-app/.sass-cache/3042ced4cd348e207d3211006b2c68a362e6d19a/_clearfix.scssc +0 -0
  153. data/fixtures/no-mount-app/.sass-cache/3042ced4cd348e207d3211006b2c68a362e6d19a/_float.scssc +0 -0
  154. data/fixtures/no-mount-app/.sass-cache/3042ced4cd348e207d3211006b2c68a362e6d19a/_hacks.scssc +0 -0
  155. data/fixtures/no-mount-app/.sass-cache/3042ced4cd348e207d3211006b2c68a362e6d19a/_min.scssc +0 -0
  156. data/fixtures/no-mount-app/.sass-cache/3042ced4cd348e207d3211006b2c68a362e6d19a/_reset.scssc +0 -0
  157. data/fixtures/no-mount-app/.sass-cache/3042ced4cd348e207d3211006b2c68a362e6d19a/_tag-cloud.scssc +0 -0
  158. data/fixtures/no-mount-app/.sass-cache/33a211ee6c1730d1758d9420e73d28bf583d55e6/_ellipsis.scssc +0 -0
  159. data/fixtures/no-mount-app/.sass-cache/33a211ee6c1730d1758d9420e73d28bf583d55e6/_force-wrap.scssc +0 -0
  160. data/fixtures/no-mount-app/.sass-cache/33a211ee6c1730d1758d9420e73d28bf583d55e6/_nowrap.scssc +0 -0
  161. data/fixtures/no-mount-app/.sass-cache/33a211ee6c1730d1758d9420e73d28bf583d55e6/_replacement.scssc +0 -0
  162. data/fixtures/no-mount-app/.sass-cache/49ad737e3c38823be7cedc4cb08d0df08bba460e/_sprite-img.scssc +0 -0
  163. data/fixtures/no-mount-app/.sass-cache/4c4992c06571c30502413267a4ed7c0dde0861ed/_alternating-rows-and-columns.scssc +0 -0
  164. data/fixtures/no-mount-app/.sass-cache/4c4992c06571c30502413267a4ed7c0dde0861ed/_borders.scssc +0 -0
  165. data/fixtures/no-mount-app/.sass-cache/4c4992c06571c30502413267a4ed7c0dde0861ed/_scaffolding.scssc +0 -0
  166. data/fixtures/no-mount-app/.sass-cache/505433bc275003acf085f216eff8d41758a64b34/_compass.scssc +0 -0
  167. data/fixtures/no-mount-app/.sass-cache/64c06d71261a14ffecd9e3d9f2297133ea5e1a18/_css3.scssc +0 -0
  168. data/fixtures/no-mount-app/.sass-cache/64c06d71261a14ffecd9e3d9f2297133ea5e1a18/_reset.scssc +0 -0
  169. data/fixtures/no-mount-app/.sass-cache/64c06d71261a14ffecd9e3d9f2297133ea5e1a18/_support.scssc +0 -0
  170. data/fixtures/no-mount-app/.sass-cache/64c06d71261a14ffecd9e3d9f2297133ea5e1a18/_typography.scssc +0 -0
  171. data/fixtures/no-mount-app/.sass-cache/64c06d71261a14ffecd9e3d9f2297133ea5e1a18/_utilities.scssc +0 -0
  172. data/fixtures/no-mount-app/.sass-cache/7cd76a330b2b179d0e76e8faba8471e1b26230a5/asset_host.css.sassc +0 -0
  173. data/fixtures/no-mount-app/.sass-cache/7cd76a330b2b179d0e76e8faba8471e1b26230a5/layout.css.sassc +0 -0
  174. data/fixtures/no-mount-app/.sass-cache/7cd76a330b2b179d0e76e8faba8471e1b26230a5/relative_assets.css.sassc +0 -0
  175. data/fixtures/no-mount-app/.sass-cache/7cd76a330b2b179d0e76e8faba8471e1b26230a5/site.css.sassc +0 -0
  176. data/fixtures/no-mount-app/.sass-cache/7cd76a330b2b179d0e76e8faba8471e1b26230a5/site_scss.css.scssc +0 -0
  177. data/fixtures/no-mount-app/.sass-cache/80b4c32b16909d1b79499b771ccc6b3a07c446bc/_links.scssc +0 -0
  178. data/fixtures/no-mount-app/.sass-cache/80b4c32b16909d1b79499b771ccc6b3a07c446bc/_lists.scssc +0 -0
  179. data/fixtures/no-mount-app/.sass-cache/80b4c32b16909d1b79499b771ccc6b3a07c446bc/_text.scssc +0 -0
  180. data/fixtures/no-mount-app/.sass-cache/80b4c32b16909d1b79499b771ccc6b3a07c446bc/_vertical_rhythm.scssc +0 -0
  181. data/fixtures/no-mount-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_appearance.scssc +0 -0
  182. data/fixtures/no-mount-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_background-clip.scssc +0 -0
  183. data/fixtures/no-mount-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_background-origin.scssc +0 -0
  184. data/fixtures/no-mount-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_background-size.scssc +0 -0
  185. data/fixtures/no-mount-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_border-radius.scssc +0 -0
  186. data/fixtures/no-mount-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_box-shadow.scssc +0 -0
  187. data/fixtures/no-mount-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_box-sizing.scssc +0 -0
  188. data/fixtures/no-mount-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_box.scssc +0 -0
  189. data/fixtures/no-mount-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_columns.scssc +0 -0
  190. data/fixtures/no-mount-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_font-face.scssc +0 -0
  191. data/fixtures/no-mount-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_gradient.scssc +0 -0
  192. data/fixtures/no-mount-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_images.scssc +0 -0
  193. data/fixtures/no-mount-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_inline-block.scssc +0 -0
  194. data/fixtures/no-mount-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_opacity.scssc +0 -0
  195. data/fixtures/no-mount-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_shared.scssc +0 -0
  196. data/fixtures/no-mount-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_text-shadow.scssc +0 -0
  197. data/fixtures/no-mount-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_transform.scssc +0 -0
  198. data/fixtures/no-mount-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_transition.scssc +0 -0
  199. data/fixtures/no-mount-app/.sass-cache/d687da6d6d06a0f3ffb08f949bd46a74c3225960/_color.scssc +0 -0
  200. data/fixtures/no-mount-app/.sass-cache/d687da6d6d06a0f3ffb08f949bd46a74c3225960/_general.scssc +0 -0
  201. data/fixtures/no-mount-app/.sass-cache/d687da6d6d06a0f3ffb08f949bd46a74c3225960/_sprites.scssc +0 -0
  202. data/fixtures/no-mount-app/.sass-cache/d687da6d6d06a0f3ffb08f949bd46a74c3225960/_tables.scssc +0 -0
  203. data/fixtures/no-mount-app/.sass-cache/e0442a673e623cb6ca8381eb07ccb93b13b71fe4/_contrast.scssc +0 -0
  204. data/fixtures/no-mount-app/.sass-cache/e2d02fab84b0831aa8f421b7b8641b20851ca0e5/_hover-link.scssc +0 -0
  205. data/fixtures/no-mount-app/.sass-cache/e2d02fab84b0831aa8f421b7b8641b20851ca0e5/_link-colors.scssc +0 -0
  206. data/fixtures/no-mount-app/.sass-cache/e2d02fab84b0831aa8f421b7b8641b20851ca0e5/_unstyled-link.scssc +0 -0
  207. data/fixtures/no-mount-app/.sass-cache/f61ddd8505e17c06837607417b2236a8a8496714/_bullets.scssc +0 -0
  208. data/fixtures/no-mount-app/.sass-cache/f61ddd8505e17c06837607417b2236a8a8496714/_horizontal-list.scssc +0 -0
  209. data/fixtures/no-mount-app/.sass-cache/f61ddd8505e17c06837607417b2236a8a8496714/_inline-block-list.scssc +0 -0
  210. data/fixtures/no-mount-app/.sass-cache/f61ddd8505e17c06837607417b2236a8a8496714/_inline-list.scssc +0 -0
  211. data/fixtures/no-mount-app/config.rb +2 -0
  212. data/fixtures/no-mount-app/locales/en.yml +4 -0
  213. data/fixtures/no-mount-app/locales/es.yml +7 -0
  214. data/fixtures/no-mount-app/source/layout.erb +1 -0
  215. data/fixtures/no-mount-app/source/localizable/hello.html.erb +1 -0
  216. data/fixtures/no-mount-app/source/localizable/index.html.erb +1 -0
  217. data/fixtures/subset-app/.sass-cache/10724afd6f5974a893560df569c26d86a8c5edc2/_utilities.scssc +0 -0
  218. data/fixtures/subset-app/.sass-cache/3042ced4cd348e207d3211006b2c68a362e6d19a/_clearfix.scssc +0 -0
  219. data/fixtures/subset-app/.sass-cache/3042ced4cd348e207d3211006b2c68a362e6d19a/_float.scssc +0 -0
  220. data/fixtures/subset-app/.sass-cache/3042ced4cd348e207d3211006b2c68a362e6d19a/_hacks.scssc +0 -0
  221. data/fixtures/subset-app/.sass-cache/3042ced4cd348e207d3211006b2c68a362e6d19a/_min.scssc +0 -0
  222. data/fixtures/subset-app/.sass-cache/3042ced4cd348e207d3211006b2c68a362e6d19a/_reset.scssc +0 -0
  223. data/fixtures/subset-app/.sass-cache/3042ced4cd348e207d3211006b2c68a362e6d19a/_tag-cloud.scssc +0 -0
  224. data/fixtures/subset-app/.sass-cache/33a211ee6c1730d1758d9420e73d28bf583d55e6/_ellipsis.scssc +0 -0
  225. data/fixtures/subset-app/.sass-cache/33a211ee6c1730d1758d9420e73d28bf583d55e6/_force-wrap.scssc +0 -0
  226. data/fixtures/subset-app/.sass-cache/33a211ee6c1730d1758d9420e73d28bf583d55e6/_nowrap.scssc +0 -0
  227. data/fixtures/subset-app/.sass-cache/33a211ee6c1730d1758d9420e73d28bf583d55e6/_replacement.scssc +0 -0
  228. data/fixtures/subset-app/.sass-cache/49ad737e3c38823be7cedc4cb08d0df08bba460e/_sprite-img.scssc +0 -0
  229. data/fixtures/subset-app/.sass-cache/4c4992c06571c30502413267a4ed7c0dde0861ed/_alternating-rows-and-columns.scssc +0 -0
  230. data/fixtures/subset-app/.sass-cache/4c4992c06571c30502413267a4ed7c0dde0861ed/_borders.scssc +0 -0
  231. data/fixtures/subset-app/.sass-cache/4c4992c06571c30502413267a4ed7c0dde0861ed/_scaffolding.scssc +0 -0
  232. data/fixtures/subset-app/.sass-cache/505433bc275003acf085f216eff8d41758a64b34/_compass.scssc +0 -0
  233. data/fixtures/subset-app/.sass-cache/64c06d71261a14ffecd9e3d9f2297133ea5e1a18/_css3.scssc +0 -0
  234. data/fixtures/subset-app/.sass-cache/64c06d71261a14ffecd9e3d9f2297133ea5e1a18/_reset.scssc +0 -0
  235. data/fixtures/subset-app/.sass-cache/64c06d71261a14ffecd9e3d9f2297133ea5e1a18/_support.scssc +0 -0
  236. data/fixtures/subset-app/.sass-cache/64c06d71261a14ffecd9e3d9f2297133ea5e1a18/_typography.scssc +0 -0
  237. data/fixtures/subset-app/.sass-cache/64c06d71261a14ffecd9e3d9f2297133ea5e1a18/_utilities.scssc +0 -0
  238. data/fixtures/subset-app/.sass-cache/7cd76a330b2b179d0e76e8faba8471e1b26230a5/asset_host.css.sassc +0 -0
  239. data/fixtures/subset-app/.sass-cache/7cd76a330b2b179d0e76e8faba8471e1b26230a5/layout.css.sassc +0 -0
  240. data/fixtures/subset-app/.sass-cache/7cd76a330b2b179d0e76e8faba8471e1b26230a5/relative_assets.css.sassc +0 -0
  241. data/fixtures/subset-app/.sass-cache/7cd76a330b2b179d0e76e8faba8471e1b26230a5/site.css.sassc +0 -0
  242. data/fixtures/subset-app/.sass-cache/7cd76a330b2b179d0e76e8faba8471e1b26230a5/site_scss.css.scssc +0 -0
  243. data/fixtures/subset-app/.sass-cache/80b4c32b16909d1b79499b771ccc6b3a07c446bc/_links.scssc +0 -0
  244. data/fixtures/subset-app/.sass-cache/80b4c32b16909d1b79499b771ccc6b3a07c446bc/_lists.scssc +0 -0
  245. data/fixtures/subset-app/.sass-cache/80b4c32b16909d1b79499b771ccc6b3a07c446bc/_text.scssc +0 -0
  246. data/fixtures/subset-app/.sass-cache/80b4c32b16909d1b79499b771ccc6b3a07c446bc/_vertical_rhythm.scssc +0 -0
  247. data/fixtures/subset-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_appearance.scssc +0 -0
  248. data/fixtures/subset-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_background-clip.scssc +0 -0
  249. data/fixtures/subset-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_background-origin.scssc +0 -0
  250. data/fixtures/subset-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_background-size.scssc +0 -0
  251. data/fixtures/subset-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_border-radius.scssc +0 -0
  252. data/fixtures/subset-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_box-shadow.scssc +0 -0
  253. data/fixtures/subset-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_box-sizing.scssc +0 -0
  254. data/fixtures/subset-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_box.scssc +0 -0
  255. data/fixtures/subset-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_columns.scssc +0 -0
  256. data/fixtures/subset-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_font-face.scssc +0 -0
  257. data/fixtures/subset-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_gradient.scssc +0 -0
  258. data/fixtures/subset-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_images.scssc +0 -0
  259. data/fixtures/subset-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_inline-block.scssc +0 -0
  260. data/fixtures/subset-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_opacity.scssc +0 -0
  261. data/fixtures/subset-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_shared.scssc +0 -0
  262. data/fixtures/subset-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_text-shadow.scssc +0 -0
  263. data/fixtures/subset-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_transform.scssc +0 -0
  264. data/fixtures/subset-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_transition.scssc +0 -0
  265. data/fixtures/subset-app/.sass-cache/d687da6d6d06a0f3ffb08f949bd46a74c3225960/_color.scssc +0 -0
  266. data/fixtures/subset-app/.sass-cache/d687da6d6d06a0f3ffb08f949bd46a74c3225960/_general.scssc +0 -0
  267. data/fixtures/subset-app/.sass-cache/d687da6d6d06a0f3ffb08f949bd46a74c3225960/_sprites.scssc +0 -0
  268. data/fixtures/subset-app/.sass-cache/d687da6d6d06a0f3ffb08f949bd46a74c3225960/_tables.scssc +0 -0
  269. data/fixtures/subset-app/.sass-cache/e0442a673e623cb6ca8381eb07ccb93b13b71fe4/_contrast.scssc +0 -0
  270. data/fixtures/subset-app/.sass-cache/e2d02fab84b0831aa8f421b7b8641b20851ca0e5/_hover-link.scssc +0 -0
  271. data/fixtures/subset-app/.sass-cache/e2d02fab84b0831aa8f421b7b8641b20851ca0e5/_link-colors.scssc +0 -0
  272. data/fixtures/subset-app/.sass-cache/e2d02fab84b0831aa8f421b7b8641b20851ca0e5/_unstyled-link.scssc +0 -0
  273. data/fixtures/subset-app/.sass-cache/f61ddd8505e17c06837607417b2236a8a8496714/_bullets.scssc +0 -0
  274. data/fixtures/subset-app/.sass-cache/f61ddd8505e17c06837607417b2236a8a8496714/_horizontal-list.scssc +0 -0
  275. data/fixtures/subset-app/.sass-cache/f61ddd8505e17c06837607417b2236a8a8496714/_inline-block-list.scssc +0 -0
  276. data/fixtures/subset-app/.sass-cache/f61ddd8505e17c06837607417b2236a8a8496714/_inline-list.scssc +0 -0
  277. data/fixtures/subset-app/config.rb +2 -0
  278. data/fixtures/subset-app/locales/en.yml +4 -0
  279. data/fixtures/subset-app/locales/es.yml +7 -0
  280. data/fixtures/subset-app/source/layout.erb +1 -0
  281. data/fixtures/subset-app/source/localizable/hello.html.erb +1 -0
  282. data/fixtures/subset-app/source/localizable/index.html.erb +1 -0
  283. data/fixtures/test-app/.sass-cache/10724afd6f5974a893560df569c26d86a8c5edc2/_utilities.scssc +0 -0
  284. data/fixtures/test-app/.sass-cache/3042ced4cd348e207d3211006b2c68a362e6d19a/_clearfix.scssc +0 -0
  285. data/fixtures/test-app/.sass-cache/3042ced4cd348e207d3211006b2c68a362e6d19a/_float.scssc +0 -0
  286. data/fixtures/test-app/.sass-cache/3042ced4cd348e207d3211006b2c68a362e6d19a/_hacks.scssc +0 -0
  287. data/fixtures/test-app/.sass-cache/3042ced4cd348e207d3211006b2c68a362e6d19a/_min.scssc +0 -0
  288. data/fixtures/test-app/.sass-cache/3042ced4cd348e207d3211006b2c68a362e6d19a/_reset.scssc +0 -0
  289. data/fixtures/test-app/.sass-cache/3042ced4cd348e207d3211006b2c68a362e6d19a/_tag-cloud.scssc +0 -0
  290. data/fixtures/test-app/.sass-cache/33a211ee6c1730d1758d9420e73d28bf583d55e6/_ellipsis.scssc +0 -0
  291. data/fixtures/test-app/.sass-cache/33a211ee6c1730d1758d9420e73d28bf583d55e6/_force-wrap.scssc +0 -0
  292. data/fixtures/test-app/.sass-cache/33a211ee6c1730d1758d9420e73d28bf583d55e6/_nowrap.scssc +0 -0
  293. data/fixtures/test-app/.sass-cache/33a211ee6c1730d1758d9420e73d28bf583d55e6/_replacement.scssc +0 -0
  294. data/fixtures/test-app/.sass-cache/49ad737e3c38823be7cedc4cb08d0df08bba460e/_sprite-img.scssc +0 -0
  295. data/fixtures/test-app/.sass-cache/4c4992c06571c30502413267a4ed7c0dde0861ed/_alternating-rows-and-columns.scssc +0 -0
  296. data/fixtures/test-app/.sass-cache/4c4992c06571c30502413267a4ed7c0dde0861ed/_borders.scssc +0 -0
  297. data/fixtures/test-app/.sass-cache/4c4992c06571c30502413267a4ed7c0dde0861ed/_scaffolding.scssc +0 -0
  298. data/fixtures/test-app/.sass-cache/505433bc275003acf085f216eff8d41758a64b34/_compass.scssc +0 -0
  299. data/fixtures/test-app/.sass-cache/64c06d71261a14ffecd9e3d9f2297133ea5e1a18/_css3.scssc +0 -0
  300. data/fixtures/test-app/.sass-cache/64c06d71261a14ffecd9e3d9f2297133ea5e1a18/_reset.scssc +0 -0
  301. data/fixtures/test-app/.sass-cache/64c06d71261a14ffecd9e3d9f2297133ea5e1a18/_support.scssc +0 -0
  302. data/fixtures/test-app/.sass-cache/64c06d71261a14ffecd9e3d9f2297133ea5e1a18/_typography.scssc +0 -0
  303. data/fixtures/test-app/.sass-cache/64c06d71261a14ffecd9e3d9f2297133ea5e1a18/_utilities.scssc +0 -0
  304. data/fixtures/test-app/.sass-cache/7cd76a330b2b179d0e76e8faba8471e1b26230a5/asset_host.css.sassc +0 -0
  305. data/fixtures/test-app/.sass-cache/7cd76a330b2b179d0e76e8faba8471e1b26230a5/layout.css.sassc +0 -0
  306. data/fixtures/test-app/.sass-cache/7cd76a330b2b179d0e76e8faba8471e1b26230a5/relative_assets.css.sassc +0 -0
  307. data/fixtures/test-app/.sass-cache/7cd76a330b2b179d0e76e8faba8471e1b26230a5/site.css.sassc +0 -0
  308. data/fixtures/test-app/.sass-cache/7cd76a330b2b179d0e76e8faba8471e1b26230a5/site_scss.css.scssc +0 -0
  309. data/fixtures/test-app/.sass-cache/80b4c32b16909d1b79499b771ccc6b3a07c446bc/_links.scssc +0 -0
  310. data/fixtures/test-app/.sass-cache/80b4c32b16909d1b79499b771ccc6b3a07c446bc/_lists.scssc +0 -0
  311. data/fixtures/test-app/.sass-cache/80b4c32b16909d1b79499b771ccc6b3a07c446bc/_text.scssc +0 -0
  312. data/fixtures/test-app/.sass-cache/80b4c32b16909d1b79499b771ccc6b3a07c446bc/_vertical_rhythm.scssc +0 -0
  313. data/fixtures/test-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_appearance.scssc +0 -0
  314. data/fixtures/test-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_background-clip.scssc +0 -0
  315. data/fixtures/test-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_background-origin.scssc +0 -0
  316. data/fixtures/test-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_background-size.scssc +0 -0
  317. data/fixtures/test-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_border-radius.scssc +0 -0
  318. data/fixtures/test-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_box-shadow.scssc +0 -0
  319. data/fixtures/test-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_box-sizing.scssc +0 -0
  320. data/fixtures/test-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_box.scssc +0 -0
  321. data/fixtures/test-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_columns.scssc +0 -0
  322. data/fixtures/test-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_font-face.scssc +0 -0
  323. data/fixtures/test-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_gradient.scssc +0 -0
  324. data/fixtures/test-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_images.scssc +0 -0
  325. data/fixtures/test-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_inline-block.scssc +0 -0
  326. data/fixtures/test-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_opacity.scssc +0 -0
  327. data/fixtures/test-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_shared.scssc +0 -0
  328. data/fixtures/test-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_text-shadow.scssc +0 -0
  329. data/fixtures/test-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_transform.scssc +0 -0
  330. data/fixtures/test-app/.sass-cache/d07221099526fcdc9810773a1a41c06477884024/_transition.scssc +0 -0
  331. data/fixtures/test-app/.sass-cache/d687da6d6d06a0f3ffb08f949bd46a74c3225960/_color.scssc +0 -0
  332. data/fixtures/test-app/.sass-cache/d687da6d6d06a0f3ffb08f949bd46a74c3225960/_general.scssc +0 -0
  333. data/fixtures/test-app/.sass-cache/d687da6d6d06a0f3ffb08f949bd46a74c3225960/_sprites.scssc +0 -0
  334. data/fixtures/test-app/.sass-cache/d687da6d6d06a0f3ffb08f949bd46a74c3225960/_tables.scssc +0 -0
  335. data/fixtures/test-app/.sass-cache/e0442a673e623cb6ca8381eb07ccb93b13b71fe4/_contrast.scssc +0 -0
  336. data/fixtures/test-app/.sass-cache/e2d02fab84b0831aa8f421b7b8641b20851ca0e5/_hover-link.scssc +0 -0
  337. data/fixtures/test-app/.sass-cache/e2d02fab84b0831aa8f421b7b8641b20851ca0e5/_link-colors.scssc +0 -0
  338. data/fixtures/test-app/.sass-cache/e2d02fab84b0831aa8f421b7b8641b20851ca0e5/_unstyled-link.scssc +0 -0
  339. data/fixtures/test-app/.sass-cache/f61ddd8505e17c06837607417b2236a8a8496714/_bullets.scssc +0 -0
  340. data/fixtures/test-app/.sass-cache/f61ddd8505e17c06837607417b2236a8a8496714/_horizontal-list.scssc +0 -0
  341. data/fixtures/test-app/.sass-cache/f61ddd8505e17c06837607417b2236a8a8496714/_inline-block-list.scssc +0 -0
  342. data/fixtures/test-app/.sass-cache/f61ddd8505e17c06837607417b2236a8a8496714/_inline-list.scssc +0 -0
  343. data/fixtures/test-app/config.rb +2 -0
  344. data/fixtures/test-app/locales/en.yml +4 -0
  345. data/fixtures/test-app/locales/es.yml +7 -0
  346. data/fixtures/test-app/source/layout.erb +1 -0
  347. data/fixtures/test-app/source/localizable/hello.html.erb +1 -0
  348. data/fixtures/test-app/source/localizable/index.html.erb +1 -0
  349. data/lib/middleman-i18n.rb +1 -0
  350. data/lib/middleman-i18n/feature.rb +77 -0
  351. data/lib/middleman-i18n/version.rb +5 -0
  352. data/lib/middleman_init.rb +1 -0
  353. data/middleman-i18n.gemspec +26 -0
  354. metadata +497 -0
@@ -0,0 +1,4 @@
1
+ require "middleman"
2
+ root_path = File.dirname(File.dirname(File.dirname(__FILE__)))
3
+ require File.join(root_path, 'lib', 'middleman-i18n')
4
+ require "rack/test"
@@ -0,0 +1,2 @@
1
+ activate :i18n
2
+ localize :path => "/lang_:locale/"
@@ -0,0 +1,4 @@
1
+ ---
2
+ en:
3
+ greetings: "Howdy"
4
+ hi: "Hello"
@@ -0,0 +1,7 @@
1
+ ---
2
+ es:
3
+ paths:
4
+ hello: "hola"
5
+
6
+ greetings: "Como Esta?"
7
+ hi: "Hola"
@@ -0,0 +1 @@
1
+ <%= yield %>
@@ -0,0 +1 @@
1
+ <%= I18n.t(:hi) %> World
@@ -0,0 +1 @@
1
+ <%= I18n.t(:greetings) %>
@@ -0,0 +1,2 @@
1
+ activate :i18n
2
+ localize :templates_dir => "lang_data"
@@ -0,0 +1,4 @@
1
+ ---
2
+ en:
3
+ greetings: "Howdy"
4
+ hi: "Hello"
@@ -0,0 +1,7 @@
1
+ ---
2
+ es:
3
+ paths:
4
+ hello: "hola"
5
+
6
+ greetings: "Como Esta?"
7
+ hi: "Hola"
@@ -0,0 +1 @@
1
+ <%= I18n.t(:hi) %> World
@@ -0,0 +1 @@
1
+ <%= I18n.t(:greetings) %>
@@ -0,0 +1 @@
1
+ <%= yield %>
@@ -0,0 +1,2 @@
1
+ activate :i18n
2
+ localize :mount_at_root => false
@@ -0,0 +1,4 @@
1
+ ---
2
+ en:
3
+ greetings: "Howdy"
4
+ hi: "Hello"
@@ -0,0 +1,7 @@
1
+ ---
2
+ es:
3
+ paths:
4
+ hello: "hola"
5
+
6
+ greetings: "Como Esta?"
7
+ hi: "Hola"