hobo 1.1.0 → 1.3.0.RC

Sign up to get free protection for your applications and to get access to all the features.
Files changed (278) hide show
  1. data/CHANGES.txt +238 -287
  2. data/Rakefile +14 -31
  3. data/VERSION +1 -0
  4. data/{lib/hobo → app/controllers}/dev_controller.rb +6 -6
  5. data/app/controllers/dryml_support_controller.rb +13 -0
  6. data/{rails_generators/hobo_front_controller/templates → app/views/dev}/summary.dryml +7 -10
  7. data/bin/hobo +12 -144
  8. data/config/initializers/inflections.rb +3 -0
  9. data/config/routes.rb +6 -0
  10. data/{doctest → doctests}/hobo/lifecycles.rdoctest +40 -59
  11. data/{doctest → doctests/hobo}/model.rdoctest +33 -40
  12. data/{doctest → doctests/hobo}/multi_model_forms.rdoctest +15 -19
  13. data/{doctest → doctests/hobo}/scopes.rdoctest +27 -41
  14. data/doctests/prepare_testapp.rb +8 -0
  15. data/hobo.gemspec +26 -199
  16. data/lib/generators/hobo/activation_email.rb +11 -0
  17. data/lib/generators/hobo/admin_subsite/admin_subsite_generator.rb +35 -0
  18. data/lib/generators/hobo/admin_subsite/templates/admin.css +20 -0
  19. data/lib/generators/hobo/admin_subsite/templates/admin_tag_injection.erb +10 -0
  20. data/{rails_generators/hobo_admin_site → lib/generators/hobo/admin_subsite}/templates/application.dryml +0 -0
  21. data/{rails_generators/hobo_admin_site/templates/controller.rb → lib/generators/hobo/admin_subsite/templates/controller.rb.erb} +5 -5
  22. data/lib/generators/hobo/admin_subsite/templates/users_index.dryml +7 -0
  23. data/lib/generators/hobo/assets/assets_generator.rb +18 -0
  24. data/{rails_generators/hobo → lib/generators/hobo/assets}/templates/application.css +0 -0
  25. data/lib/generators/hobo/assets/templates/application.dryml.erb +9 -0
  26. data/{rails_generators/hobo → lib/generators/hobo/assets}/templates/dryml-support.js +2 -2
  27. data/lib/generators/hobo/assets/templates/dryml_taglibs_initializer.rb +1 -0
  28. data/lib/generators/hobo/assets/templates/en_injection.yml +19 -0
  29. data/{rails_generators/hobo → lib/generators/hobo/assets}/templates/guest.rb +1 -1
  30. data/lib/generators/hobo/controller.rb +35 -0
  31. data/lib/generators/hobo/controller/controller_generator.rb +6 -0
  32. data/lib/generators/hobo/controller/templates/controller.rb.erb +7 -0
  33. data/{rails_generators/hobo_front_controller → lib/generators/hobo/front_controller}/USAGE +0 -0
  34. data/lib/generators/hobo/front_controller/front_controller_generator.rb +55 -0
  35. data/{rails_generators/hobo_front_controller/templates/controller.rb → lib/generators/hobo/front_controller/templates/controller.rb.erb} +0 -0
  36. data/{rails_generators/hobo_front_controller → lib/generators/hobo/front_controller}/templates/index.dryml +6 -12
  37. data/lib/generators/hobo/i18n/i18n_generator.rb +35 -0
  38. data/lib/generators/hobo/i18n/templates/app.de.yml +30 -0
  39. data/lib/generators/hobo/i18n/templates/app.en.yml +25 -0
  40. data/lib/generators/hobo/i18n/templates/app.es.yml +31 -0
  41. data/lib/generators/hobo/i18n/templates/app.fr.yml +26 -0
  42. data/lib/generators/hobo/i18n/templates/app.it.yml +28 -0
  43. data/lib/generators/hobo/i18n/templates/app.pt-PT.yml +25 -0
  44. data/lib/generators/hobo/i18n/templates/app.ru.yml +24 -0
  45. data/lib/generators/hobo/i18n/templates/hobo.de.yml +204 -0
  46. data/lib/generators/hobo/i18n/templates/hobo.en.yml +195 -0
  47. data/lib/generators/hobo/i18n/templates/hobo.es.yml +202 -0
  48. data/lib/generators/hobo/i18n/templates/hobo.fr.yml +195 -0
  49. data/lib/generators/hobo/i18n/templates/hobo.it.yml +202 -0
  50. data/lib/generators/hobo/i18n/templates/hobo.pt-PT.yml +196 -0
  51. data/lib/generators/hobo/i18n/templates/hobo.ru.yml +200 -0
  52. data/lib/generators/hobo/invite_only.rb +18 -0
  53. data/lib/generators/hobo/model/USAGE +19 -0
  54. data/lib/generators/hobo/model/model_generator.rb +11 -0
  55. data/{rails_generators/hobo_model/templates/model.rb → lib/generators/hobo/model/templates/model_injection.rb.erb} +0 -2
  56. data/{rails_generators/hobo_rapid → lib/generators/hobo/rapid}/USAGE +0 -0
  57. data/lib/generators/hobo/rapid/rapid_generator.rb +24 -0
  58. data/{rails_generators/hobo_rapid → lib/generators/hobo/rapid}/templates/IE7.js +0 -0
  59. data/{rails_generators/hobo_rapid → lib/generators/hobo/rapid}/templates/blank.gif +0 -0
  60. data/{rails_generators/hobo_rapid → lib/generators/hobo/rapid}/templates/hobo-rapid.css +0 -0
  61. data/{rails_generators/hobo_rapid → lib/generators/hobo/rapid}/templates/hobo-rapid.js +65 -65
  62. data/{rails_generators/hobo_rapid → lib/generators/hobo/rapid}/templates/ie7-recalc.js +21 -21
  63. data/{rails_generators/hobo_rapid → lib/generators/hobo/rapid}/templates/lowpro.js +31 -31
  64. data/{rails_generators/hobo_rapid → lib/generators/hobo/rapid}/templates/reset.css +1 -1
  65. data/lib/generators/hobo/rapid/templates/themes/clean-sidemenu/public/images/100-ACD3E6-DBE1E5-H.png +0 -0
  66. data/lib/generators/hobo/rapid/templates/themes/clean-sidemenu/public/images/100-DBE1E5-FCFEF5-H.png +0 -0
  67. data/lib/generators/hobo/rapid/templates/themes/clean-sidemenu/public/images/300-3B5F87-ACD3E6-H.png +0 -0
  68. data/{rails_generators/hobo_rapid/templates/themes/clean → lib/generators/hobo/rapid/templates/themes/clean-sidemenu}/public/images/spinner.gif +0 -0
  69. data/lib/generators/hobo/rapid/templates/themes/clean-sidemenu/public/stylesheets/clean-sidemenu.css +81 -0
  70. data/lib/generators/hobo/rapid/templates/themes/clean-sidemenu/views/clean-sidemenu.dryml +30 -0
  71. data/{rails_generators/hobo_rapid → lib/generators/hobo/rapid}/templates/themes/clean/public/images/101-3B5F87-ACD3E6.png +0 -0
  72. data/{rails_generators/hobo_rapid → lib/generators/hobo/rapid}/templates/themes/clean/public/images/30-3E547A-242E42.png +0 -0
  73. data/{rails_generators/hobo_rapid → lib/generators/hobo/rapid}/templates/themes/clean/public/images/30-DBE1E5-FCFEF5.png +0 -0
  74. data/{rails_generators/hobo_rapid → lib/generators/hobo/rapid}/templates/themes/clean/public/images/300-ACD3E6-fff.png +0 -0
  75. data/{rails_generators/hobo_rapid → lib/generators/hobo/rapid}/templates/themes/clean/public/images/50-ACD3E6-fff.png +0 -0
  76. data/{rails_generators/hobo_rapid → lib/generators/hobo/rapid}/templates/themes/clean/public/images/fieldbg.gif +0 -0
  77. data/{rails_generators/hobo_rapid → lib/generators/hobo/rapid}/templates/themes/clean/public/images/pencil.png +0 -0
  78. data/{rails_generators/hobo_rapid → lib/generators/hobo/rapid}/templates/themes/clean/public/images/small_close.png +0 -0
  79. data/lib/generators/hobo/rapid/templates/themes/clean/public/images/spinner.gif +0 -0
  80. data/{rails_generators/hobo_rapid → lib/generators/hobo/rapid}/templates/themes/clean/public/stylesheets/clean.css +16 -16
  81. data/{rails_generators/hobo_rapid → lib/generators/hobo/rapid}/templates/themes/clean/public/stylesheets/rapid-ui.css +3 -3
  82. data/{rails_generators/hobo_rapid → lib/generators/hobo/rapid}/templates/themes/clean/views/clean.dryml +1 -1
  83. data/lib/generators/hobo/resource/resource_generator.rb +23 -0
  84. data/lib/generators/hobo/routes/USAGE +9 -0
  85. data/lib/generators/hobo/routes/router.rb +115 -0
  86. data/lib/generators/hobo/routes/routes_generator.rb +40 -0
  87. data/lib/generators/hobo/routes/templates/hobo_routes.rb.erb +33 -0
  88. data/lib/generators/hobo/setup_wizard/USAGE +4 -0
  89. data/lib/generators/hobo/setup_wizard/setup_wizard_generator.rb +274 -0
  90. data/lib/generators/hobo/subsite.rb +48 -0
  91. data/lib/generators/hobo/subsite/subsite_generator.rb +16 -0
  92. data/{rails_generators/hobo_subsite → lib/generators/hobo/subsite}/templates/application.dryml +0 -0
  93. data/{rails_generators/hobo_subsite/templates/controller.rb → lib/generators/hobo/subsite/templates/controller.rb.erb} +1 -1
  94. data/lib/generators/hobo/subsite_taglib/subsite_taglib_generator.rb +16 -0
  95. data/{rails_generators/hobo_admin_site/templates/site_taglib.dryml → lib/generators/hobo/subsite_taglib/templates/taglib.dryml.erb} +9 -10
  96. data/lib/generators/hobo/taglib.rb +12 -0
  97. data/lib/generators/hobo/test_framework/test_framework_generator.rb +72 -0
  98. data/lib/generators/hobo/test_options.rb +19 -0
  99. data/{rails_generators/hobo_user_controller → lib/generators/hobo/user_controller}/templates/accept_invitation.dryml +0 -0
  100. data/lib/generators/hobo/user_controller/templates/controller.rb.erb +31 -0
  101. data/lib/generators/hobo/user_controller/user_controller_generator.rb +25 -0
  102. data/lib/generators/hobo/user_mailer/templates/activation.erb +9 -0
  103. data/{rails_generators/hobo_user_model → lib/generators/hobo/user_mailer}/templates/forgot_password.erb +2 -2
  104. data/{rails_generators/hobo_user_model → lib/generators/hobo/user_mailer}/templates/invite.erb +2 -2
  105. data/lib/generators/hobo/user_mailer/templates/mailer.rb.erb +25 -0
  106. data/lib/generators/hobo/user_mailer/user_mailer_generator.rb +33 -0
  107. data/lib/generators/hobo/user_model/USAGE +12 -0
  108. data/{rails_generators/hobo_user_model/templates/model.rb → lib/generators/hobo/user_model/templates/model_injection.rb.erb} +40 -20
  109. data/lib/generators/hobo/user_model/user_model_generator.rb +23 -0
  110. data/lib/generators/hobo/user_resource/user_resource_generator.rb +27 -0
  111. data/lib/hobo.rb +29 -129
  112. data/lib/hobo/controller.rb +37 -47
  113. data/lib/hobo/controller/authentication_support.rb +109 -0
  114. data/lib/hobo/{model_controller.rb → controller/model.rb} +71 -79
  115. data/lib/hobo/{user_controller.rb → controller/user.rb} +59 -49
  116. data/lib/hobo/engine.rb +80 -0
  117. data/lib/hobo/extensions/action_controller/hobo_methods.rb +44 -0
  118. data/lib/hobo/extensions/action_mailer/helper.rb +38 -0
  119. data/lib/{action_view_extensions/helpers → hobo/extensions/action_view}/tag_helper.rb +5 -2
  120. data/lib/hobo/extensions/action_view/translation_helper.rb +25 -0
  121. data/lib/hobo/extensions/active_model/name.rb +16 -0
  122. data/lib/hobo/extensions/active_model/translation.rb +35 -0
  123. data/lib/{active_record/association_collection.rb → hobo/extensions/active_record/associations/collection.rb} +8 -17
  124. data/lib/{active_record/association_proxy.rb → hobo/extensions/active_record/associations/proxy.rb} +6 -7
  125. data/lib/hobo/extensions/active_record/associations/reflection.rb +23 -0
  126. data/lib/hobo/extensions/active_record/associations/scope.rb +35 -0
  127. data/lib/hobo/extensions/active_record/hobo_methods.rb +11 -0
  128. data/lib/hobo/extensions/active_record/permissions.rb +159 -0
  129. data/lib/hobo/extensions/active_record/relation_with_origin.rb +28 -0
  130. data/lib/hobo/extensions/array.rb +27 -0
  131. data/lib/hobo/extensions/enumerable.rb +12 -0
  132. data/lib/hobo/extensions/i18n.rb +17 -0
  133. data/lib/hobo/{hobo_helper.rb → helper.rb} +58 -31
  134. data/lib/hobo/helper/translations.rb +54 -0
  135. data/lib/hobo/helper/translations/normalizer.rb +39 -0
  136. data/lib/hobo/model.rb +61 -95
  137. data/lib/hobo/model/accessible_associations.rb +178 -0
  138. data/lib/hobo/{find_for.rb → model/find_for.rb} +17 -17
  139. data/lib/hobo/model/guest.rb +25 -0
  140. data/lib/hobo/model/include_in_save.rb +55 -0
  141. data/lib/hobo/model/lifecycles.rb +119 -0
  142. data/lib/hobo/model/lifecycles/actions.rb +146 -0
  143. data/lib/hobo/model/lifecycles/creator.rb +74 -0
  144. data/lib/hobo/model/lifecycles/lifecycle.rb +243 -0
  145. data/lib/hobo/model/lifecycles/state.rb +22 -0
  146. data/lib/hobo/model/lifecycles/transition.rb +70 -0
  147. data/lib/hobo/model/permissions.rb +448 -0
  148. data/lib/hobo/model/scopes.rb +38 -0
  149. data/lib/hobo/model/scopes/apply_scopes.rb +21 -0
  150. data/lib/hobo/model/scopes/automatic_scopes.rb +428 -0
  151. data/lib/hobo/model/user_base.rb +184 -0
  152. data/lib/hobo/model/view_hints.rb +123 -0
  153. data/{rapid_generators → lib/hobo/rapid/generators}/rapid/cards.dryml.erb +2 -2
  154. data/{rapid_generators → lib/hobo/rapid/generators}/rapid/forms.dryml.erb +3 -3
  155. data/{rapid_generators → lib/hobo/rapid/generators}/rapid/pages.dryml.erb +38 -51
  156. data/lib/hobo/rapid/helper.rb +166 -0
  157. data/{taglibs → lib/hobo/rapid/taglibs}/rapid.dryml +6 -5
  158. data/{taglibs → lib/hobo/rapid/taglibs}/rapid_core.dryml +286 -118
  159. data/{taglibs → lib/hobo/rapid/taglibs}/rapid_document_tags.dryml +2 -2
  160. data/{taglibs → lib/hobo/rapid/taglibs}/rapid_editing.dryml +45 -45
  161. data/{taglibs → lib/hobo/rapid/taglibs}/rapid_forms.dryml +190 -158
  162. data/{taglibs → lib/hobo/rapid/taglibs}/rapid_generics.dryml +12 -9
  163. data/lib/hobo/rapid/taglibs/rapid_i18n.dryml +107 -0
  164. data/{taglibs → lib/hobo/rapid/taglibs}/rapid_lifecycles.dryml +7 -7
  165. data/{taglibs → lib/hobo/rapid/taglibs}/rapid_navigation.dryml +15 -15
  166. data/{taglibs → lib/hobo/rapid/taglibs}/rapid_pages.dryml +37 -36
  167. data/{taglibs → lib/hobo/rapid/taglibs}/rapid_plus.dryml +107 -43
  168. data/{taglibs → lib/hobo/rapid/taglibs}/rapid_summary.dryml +28 -57
  169. data/{taglibs → lib/hobo/rapid/taglibs}/rapid_support.dryml +9 -9
  170. data/{taglibs → lib/hobo/rapid/taglibs}/rapid_user_pages.dryml +41 -40
  171. data/lib/hobo/routes.rb +31 -0
  172. data/{doctest → test/doctest}/hobo/hobo_helper.rdoctest +11 -11
  173. data/test/irt/generators/admin_subsite.irt +27 -0
  174. data/test/irt/generators/assets.irt +16 -0
  175. data/test/irt/generators/controller.irt +6 -0
  176. data/test/irt/generators/front_controller.irt +30 -0
  177. data/test/irt/generators/helper.rb +31 -0
  178. data/test/irt/generators/model.irt +28 -0
  179. data/test/irt/generators/partials/_account_user_model_tests.rb +21 -0
  180. data/test/irt/generators/partials/_accounts_users_controller_tests.rb +15 -0
  181. data/test/irt/generators/partials/_default_user_model_tests.rb +21 -0
  182. data/test/irt/generators/partials/_default_users_controller_tests.rb +16 -0
  183. data/test/irt/generators/partials/_house_controller_tests.rb +15 -0
  184. data/test/irt/generators/partials/_house_model_tests.rb +18 -0
  185. data/test/irt/generators/partials/_subsite_taglib_admin.rb +4 -0
  186. data/test/irt/generators/partials/_subsite_taglib_admin_invite_only.rb +3 -0
  187. data/test/irt/generators/partials/_subsite_taglib_noopt.rb +4 -0
  188. data/test/irt/generators/partials/_subsite_taglib_variables.rb +27 -0
  189. data/test/irt/generators/partials/_user_mailer_tests.rb +19 -0
  190. data/test/irt/generators/rapid.irt +29 -0
  191. data/test/irt/generators/resource.irt +8 -0
  192. data/test/irt/generators/subsite.irt +52 -0
  193. data/test/irt/generators/subsite_taglib.irt +23 -0
  194. data/test/irt/generators/test_framework.irt +62 -0
  195. data/test/irt/generators/user_controller.irt +10 -0
  196. data/test/irt/generators/user_mailer.irt +20 -0
  197. data/test/irt/generators/user_model.irt +10 -0
  198. data/test/irt/generators/user_resource.irt +14 -0
  199. data/test/irt/readme.txt +7 -0
  200. data/test/permissions/models/models.rb +27 -24
  201. data/test/permissions/test_permissions.rb +104 -104
  202. metadata +239 -217
  203. data/lib/active_record/association_reflection.rb +0 -20
  204. data/lib/active_record/viewhints_validations_interceptor.rb +0 -9
  205. data/lib/hobo/accessible_associations.rb +0 -183
  206. data/lib/hobo/authentication_support.rb +0 -131
  207. data/lib/hobo/generator.rb +0 -26
  208. data/lib/hobo/guest.rb +0 -25
  209. data/lib/hobo/include_in_save.rb +0 -55
  210. data/lib/hobo/lifecycles.rb +0 -137
  211. data/lib/hobo/lifecycles/actions.rb +0 -142
  212. data/lib/hobo/lifecycles/creator.rb +0 -72
  213. data/lib/hobo/lifecycles/lifecycle.rb +0 -249
  214. data/lib/hobo/lifecycles/state.rb +0 -22
  215. data/lib/hobo/lifecycles/transition.rb +0 -70
  216. data/lib/hobo/model_router.rb +0 -290
  217. data/lib/hobo/permissions.rb +0 -451
  218. data/lib/hobo/permissions/associations.rb +0 -175
  219. data/lib/hobo/rapid_helper.rb +0 -157
  220. data/lib/hobo/scopes.rb +0 -43
  221. data/lib/hobo/scopes/apply_scopes.rb +0 -23
  222. data/lib/hobo/scopes/association_proxy_extensions.rb +0 -62
  223. data/lib/hobo/scopes/automatic_scopes.rb +0 -421
  224. data/lib/hobo/scopes/named_scope_extensions.rb +0 -39
  225. data/lib/hobo/tasks/rails.rb +0 -4
  226. data/lib/hobo/translations.rb +0 -93
  227. data/lib/hobo/undefined_access_error.rb +0 -5
  228. data/lib/hobo/user.rb +0 -182
  229. data/lib/hobo/view_hints.rb +0 -115
  230. data/rails/init.rb +0 -10
  231. data/rails_generators/hobo/USAGE +0 -4
  232. data/rails_generators/hobo/hobo_generator.rb +0 -53
  233. data/rails_generators/hobo/templates/application.dryml +0 -1
  234. data/rails_generators/hobo/templates/initializer.rb +0 -2
  235. data/rails_generators/hobo_admin_site/USAGE +0 -16
  236. data/rails_generators/hobo_admin_site/hobo_admin_site_generator.rb +0 -45
  237. data/rails_generators/hobo_admin_site/templates/admin.css +0 -2
  238. data/rails_generators/hobo_admin_site/templates/users_index.dryml +0 -5
  239. data/rails_generators/hobo_front_controller/hobo_front_controller_generator.rb +0 -95
  240. data/rails_generators/hobo_front_controller/templates/functional_test.rb +0 -8
  241. data/rails_generators/hobo_front_controller/templates/helper.rb +0 -2
  242. data/rails_generators/hobo_model/USAGE +0 -25
  243. data/rails_generators/hobo_model/hobo_model_generator.rb +0 -43
  244. data/rails_generators/hobo_model/templates/fixtures.yml +0 -6
  245. data/rails_generators/hobo_model/templates/hints.rb +0 -7
  246. data/rails_generators/hobo_model/templates/unit_test.rb +0 -8
  247. data/rails_generators/hobo_model_controller/USAGE +0 -30
  248. data/rails_generators/hobo_model_controller/hobo_model_controller_generator.rb +0 -46
  249. data/rails_generators/hobo_model_controller/templates/controller.rb +0 -7
  250. data/rails_generators/hobo_model_controller/templates/functional_test.rb +0 -8
  251. data/rails_generators/hobo_model_controller/templates/helper.rb +0 -2
  252. data/rails_generators/hobo_model_resource/USAGE +0 -38
  253. data/rails_generators/hobo_model_resource/hobo_model_resource_generator.rb +0 -73
  254. data/rails_generators/hobo_model_resource/templates/controller.rb +0 -7
  255. data/rails_generators/hobo_model_resource/templates/functional_test.rb +0 -8
  256. data/rails_generators/hobo_model_resource/templates/helper.rb +0 -2
  257. data/rails_generators/hobo_rapid/hobo_rapid_generator.rb +0 -94
  258. data/rails_generators/hobo_subsite/USAGE +0 -16
  259. data/rails_generators/hobo_subsite/hobo_subsite_generator.rb +0 -73
  260. data/rails_generators/hobo_subsite/templates/site_taglib.dryml +0 -13
  261. data/rails_generators/hobo_user_controller/USAGE +0 -34
  262. data/rails_generators/hobo_user_controller/hobo_user_controller_generator.rb +0 -65
  263. data/rails_generators/hobo_user_controller/templates/controller.rb +0 -29
  264. data/rails_generators/hobo_user_controller/templates/functional_test.rb +0 -8
  265. data/rails_generators/hobo_user_controller/templates/helper.rb +0 -2
  266. data/rails_generators/hobo_user_model/USAGE +0 -16
  267. data/rails_generators/hobo_user_model/hobo_user_model_generator.rb +0 -46
  268. data/rails_generators/hobo_user_model/templates/fixtures.yml +0 -19
  269. data/rails_generators/hobo_user_model/templates/mailer.rb +0 -29
  270. data/rails_generators/hobo_user_model/templates/unit_test.rb +0 -8
  271. data/script/destroy +0 -14
  272. data/script/generate +0 -14
  273. data/taglibs/rapid_translations.dryml +0 -36
  274. data/tasks/environments.rake +0 -19
  275. data/tasks/hobo_tasks.rake +0 -58
  276. data/test/generators/test_generator_helper.rb +0 -29
  277. data/test/generators/test_helper.rb +0 -1
  278. data/test/generators/test_hobo_model_controller_generator.rb +0 -56
@@ -0,0 +1,202 @@
1
+ # Hobo internals translation file for Spanish (Mexico).
2
+ # Translated by Domizio Demichelis (dd.nexus@gmail.com)
3
+ # Corrections by Ricardo Pacheco
4
+
5
+ # This file might be used for other Latin America Spanish Countries without any change
6
+ # It might be ok also for Spain. If you find any error, or if you have any more specific translation,
7
+ # please post it to http://hobousers.googlegroups.com. Thank you!
8
+
9
+ es:
10
+ hobo:
11
+ # default hobo pages translations
12
+ index:
13
+ # if you uncomment the following you will loose the automatic selection of dinamically pluralized nav-tabs
14
+ # if you need a different title you should implement a different way to select the tab on your own
15
+ #title: "Indice %{model}"
16
+ heading: "Indice %{model}"
17
+
18
+ new:
19
+ title: "Nuevo Registro de %{model}"
20
+ heading: "Nuevo Registro de %{model}"
21
+
22
+ show:
23
+ title: "%{model}"
24
+ heading: "%{model} %{name}"
25
+ back_link: "Atrás"
26
+ edit_link: "Actualizar %{model}"
27
+ new_link: "Nuevo Registro %{model}"
28
+ add_form_heading: "Añadir %{model}"
29
+
30
+ edit:
31
+ title: "Actualización %{model}"
32
+ heading: "Actualización %{model}"
33
+
34
+ index_for_owner:
35
+ title: "%{model} para"
36
+ # you can use the following to completely override the collection heading
37
+ # be aware that you will loose the automatic Your <collection> / Jom's <collection>
38
+ # default output for User models
39
+ # you better define the heading.* in the specific collection namespace
40
+ #heading:
41
+ subheading: "Para:"
42
+
43
+ new_for_owner:
44
+ title: "Nuevo Registro de %{model} para"
45
+ heading: "Nuevo Registro de %{model}"
46
+ subheading: "Para:"
47
+
48
+ login:
49
+ title: "Iniciar Sesión"
50
+ heading: "Iniciar Sesión"
51
+ email_address: &email_address "Correo Eléctronico"
52
+ name: "Nombre"
53
+ password: "Contraseña"
54
+ remember_me: "Recuerda mis datos"
55
+ login: "Identifición"
56
+ signup: "Inscripción"
57
+ forgot_password: &forgot_password "¿Contraseña olvidada?"
58
+
59
+ signup:
60
+ title: "Inscripción"
61
+ heading: "Inscribir Nuevo Usuario"
62
+
63
+ forgot_password:
64
+ title: *forgot_password
65
+ heading: *forgot_password
66
+ text: "Ingresa la dirección de tu Correo Eléctronico que utilizaste cuando te inscribiste.
67
+ Te enviaremos un Correo Eléctronico que podrás utilizar para generar una nueva contraseña."
68
+ email_address: *email_address
69
+ send: "Enviar"
70
+
71
+ forgot_password_sent:
72
+ title: "Contraseña olvidada - Correo Eléctronico enviado"
73
+ heading: "Contraseña olvidada - Correo Eléctronico enviado"
74
+ text: "El mensaje con las instruciones para generar una nueva contraseña ha sido enviado a %{email_address}
75
+ Si no lo recibe, por favor verifique el filtro anti-spam."
76
+
77
+ account_disabled_page:
78
+ title: "Cuenta Desactivada"
79
+ heading: "Cuenta Desactivada"
80
+ text: "Su cuenta está desactivada en ese momento."
81
+
82
+ account_page:
83
+ title: "Tu Perfil"
84
+ heading: "Tu Perfil"
85
+ new_password: "Nueva Contraseña"
86
+ confirm_new_password: "Confirmación Nueva Contraseña"
87
+
88
+ # default hobo action translation
89
+ actions:
90
+ new: "Nuevo Registro de %{model}"
91
+ create: "Crear %{model}"
92
+ previous: "Precedente"
93
+ next: "Próxima"
94
+ add: "Añadir"
95
+ show_all: "Muestra todos %{model}..."
96
+ delete: "Borrar %{model}"
97
+ save: "Guardar %{model}"
98
+ cancel: "Cancelar"
99
+ edit: "Actualizar %{model}"
100
+ edit_control: "Actualizar"
101
+ back: "Volver a"
102
+ back_to_parent: "Volver a %{parent} %{name}"
103
+ send: "Enviar"
104
+ remove: "Eliminar"
105
+ signup: "Inscripción"
106
+ login: "Iniciar Sesión"
107
+ logout: "Terminar Sesión"
108
+ logged_in_as: "%{name}"
109
+ account: "Perfil"
110
+ save_account: "Guarda Tu Perfil"
111
+
112
+ # default hobo message translation
113
+ messages:
114
+ create:
115
+ success: "La creación de %{model} ha sido exitosa"
116
+ error: "La creación de %{model} no ha sido exitosa.\n%{errors}"
117
+ creator:
118
+ error: "El creator %{name} no se pudo executar.\n%{errors}"
119
+ transition:
120
+ error: "La transición %{name} no se pudo executar.\n%{errors}"
121
+ update:
122
+ no_attribute_error: "Ninguna actualización esta especificada en los parámetros"
123
+ success: "Los cambios a %{model} han sido guardados"
124
+ error: "Ha habido un problema con ese cambio.\n%{errors}"
125
+ destroy:
126
+ success: "La borradura de %{model} ha sido exitosa."
127
+ signup:
128
+ success: "¡Gracias por inscribirse!"
129
+ must_activate: "Tiene que activar la cuenta antes de iniciar la sesión. Por favor verifique su correo eléctronico."
130
+ login:
131
+ success: "La sesión ha iniciado."
132
+ error: "¡No se ingresaron %{login} y Contraseña válidos!"
133
+ logout: "La sesión ha terminado."
134
+ reset_password: "Tu contraseña ha sido reiniciada."
135
+ permission_denied: "¡Permiso denegado!"
136
+ not_found: "La página solicitada no se encuentra."
137
+ unauthenticated: "No se pudo autenticar."
138
+ validate_password: "debe contener tansiquiera 6 caracteres, letras mayúsculas y minúsculas"
139
+ current_password_is_not_correct: "no está correcta"
140
+ you_are_site_admin: "Ahora usted es el administrador del sitio."
141
+ you_signed_up: "Usted se inscribió."
142
+ none: "No hay %{model} disponibles."
143
+ confirm: "¿Está seguro?"
144
+
145
+ # default hobo collection translation
146
+ collection:
147
+ count: &collection_count
148
+ zero: &no_model "No hay %{model}"
149
+ one: "Hay solo 1 %{model}"
150
+ other: "Hay %{count} %{model}"
151
+ # you can use the following to completely override the collection heading
152
+ # be aware that you will loose the automatic Your <collection> / Jom's <collection>
153
+ # default output for User models
154
+ # you better define the heading.* in the specific collection namespace
155
+ #heading:
156
+ add_form_heading: "Añadir %{model}"
157
+ empty_message: "Ningun registros"
158
+
159
+ # default hobo form translation
160
+ form:
161
+ new:
162
+ heading: "Nuevo Registro de %{model}"
163
+ error:
164
+ heading: "Ocurrió el siguiente error:"
165
+ select_many:
166
+ prompt: "Añadir %{model}"
167
+
168
+ # hobo support
169
+ support:
170
+ or: "o"
171
+ a: "un/una"
172
+ an: "un/una"
173
+
174
+ table_plus:
175
+ search: "Buscar"
176
+ submit_label: "Ir"
177
+
178
+ live_search:
179
+ label: "Buscar"
180
+ results_label: "Buscar Resultados"
181
+ close_button: "cierrar"
182
+ no_results: "No se encuentran resultados."
183
+
184
+ dev_user_changer:
185
+ guest: "Invitado"
186
+
187
+ admin:
188
+ subsite_name: "Administración"
189
+ invite_new_user: "Invitar Nuevo Usuario"
190
+
191
+ subsite:
192
+ back_link: "Sitio Principal"
193
+
194
+ boolean_yes: "Si"
195
+ boolean_no: "No"
196
+ password_hidden: "[contraseña]"
197
+
198
+ in_place_editor:
199
+ click_to_edit: "(haga clic para editar)"
200
+
201
+ select_one_editor:
202
+ blank_message: *no_model
@@ -0,0 +1,195 @@
1
+ # Hobo internals translation file for French
2
+ fr:
3
+ hobo:
4
+ # default hobo pages translations
5
+ index:
6
+ # if you uncomment the following you will loose the automatic selection of dynamically pluralized nav-tabs
7
+ # if you need a different title you should implement a different way to select the tab on your own
8
+ #title: "%{model} Index"
9
+ heading: "Index des %{model}"
10
+
11
+ new:
12
+ title: "Ajout de %{model}"
13
+ heading: "Ajout de %{model}"
14
+
15
+ show:
16
+ title: "%{model}"
17
+ heading: "%{model} %{name}"
18
+ back_link: "Retour"
19
+ edit_link: "Editer %{model}"
20
+ new_link: "Ajout de %{model}"
21
+ add_form_heading: "Ajout de %{model}"
22
+
23
+ edit:
24
+ title: "Edition de %{model}"
25
+ heading: "Edition de %{model}"
26
+
27
+ index_for_owner:
28
+ title: "%{model} pour"
29
+ # be aware that you will loose the automatic Your <collection> / Jom's <collection>
30
+ # default output for User models
31
+ # you better define the heading.* in the specific collection namespace
32
+ #heading:
33
+ subheading: "Pour:"
34
+
35
+ new_for_owner:
36
+ title: "Ajout de %{model} pour"
37
+ heading: "Ajout de %{model}"
38
+ subheading: "Pour:"
39
+
40
+ login:
41
+ title: "Login"
42
+ heading: "Login"
43
+ email_address: &email_address "Email"
44
+ name: "Nom"
45
+ password: "Mot de passe"
46
+ remember_me: "Mémoriser"
47
+ login: "Login"
48
+ signup: "Inscription"
49
+ forgot_password: &forgot_password "Mot de passe oublié?"
50
+
51
+ signup:
52
+ title: "Inscription"
53
+ heading: "Inscription d'un nouvel utilisateur"
54
+
55
+ forgot_password:
56
+ title: *forgot_password
57
+ heading: *forgot_password
58
+ text: "Veuillez saisir l'adresse email que vous avez utilisée lors de votre inscription.
59
+ Nous vous enverrons un email vous permettant de générer un nouveau mot de passe."
60
+ email_address: *email_address
61
+ send: "Envoyer"
62
+
63
+ forgot_password_sent:
64
+ title: "Mot de passe oublié - Email envoyé"
65
+ heading: "Mot de passe oublié - Email envoyé"
66
+ text: "Un email contenant les instructions nécessaires pour générer un nouveau mot de passe ont été envoyées à %{email_address}. Si vous ne recevez pas cet email, merci de bien vouloir vérfier vos spams."
67
+
68
+ account_disabled_page:
69
+ title: "Compte désactivé"
70
+ heading: "Compte désactivé"
71
+ text: "Votre compte est actuellement désactivé."
72
+
73
+ account_page:
74
+ title: "Votre compte"
75
+ heading: "Votre compte"
76
+ new_password: "Nouveau mot de passe"
77
+ confirm_new_password: "Confirmer le mot de passe"
78
+
79
+ # default hobo action translation
80
+ # The action with added model variable are new, create, delete, save,
81
+ # edit and back_to_parent
82
+ actions:
83
+ new: "Ajout de %{model}"
84
+ create: "Creation de %{model}"
85
+ previous: "Précédent"
86
+ next: "Suivant"
87
+ add: "Ajouter"
88
+ show_all: "Lister tous les %{model}..."
89
+ delete: "Effacement de %{model}"
90
+ save: "Sauvegarde de %{model}"
91
+ cancel: "Annuler"
92
+ edit: "Edition de %{model}"
93
+ edit_control: "Editer"
94
+ back: "Retour à"
95
+ back_to_parent: "Retour à %{parent} %{name}"
96
+ send: "Envoyer"
97
+ remove: "Effacer"
98
+ signup: "Inscription"
99
+ login: "Login"
100
+ logout: "Quitter"
101
+ logged_in_as: "%{name}"
102
+ account: "Compte"
103
+ save_account: "Sauvegarder vos données"
104
+
105
+ # default hobo message translation
106
+ messages:
107
+ create:
108
+ success: "La création de %{model} a été réalisée avec succès"
109
+ error: "Echec de la création de %{model}.\n%{errors}"
110
+ creator:
111
+ error: "Le createur %{name} a échoué.\n%{errors}"
112
+ transition:
113
+ error: "La transition %{name} a échoué.\n%{errors}"
114
+ update:
115
+ no_attribute_error: "Pas de mise à jour spécifiée dans les paramètres"
116
+ success: "Les modifications de %{model} ont été sauvegardés"
117
+ error: "Problème avec la modification.\n%{errors}"
118
+ destroy:
119
+ success: "L'effacement de %{model} a été réalisé avec succès"
120
+ signup:
121
+ success: "Merci de votre inscription!"
122
+ must_activate: "Vous devez activer votre compte avant de pouvoir vous logger. L'activation devrait être dans vos emails."
123
+ login:
124
+ success: "Vous êtes loggé."
125
+ error: "Erreur de %{login} et de mot de passe!"
126
+ logout: "Vous avez quitté votre session."
127
+ reset_password: "Votre mot de passe a été réinitialisé."
128
+ permission_denied: "Accès refusé"
129
+ not_found: "Page non trouvée."
130
+ unauthenticated: "Echec de l'authentification"
131
+ validate_password: "doit être long d'au moins 6 caractères et ne peut contenir que des lettres minuscules"
132
+ current_password_is_not_correct: "n'est pas correct"
133
+ you_are_site_admin: "Vous êtes désormais administrateur du site"
134
+ you_signed_up: "Vous vous êtes inscrit"
135
+ none: "Pas de %{model} disponible."
136
+ confirm: "Etes-vous certain?"
137
+
138
+ # default hobo collection translation
139
+ collection:
140
+ count: &collection_count
141
+ zero: &no_model "Pas de %{model}"
142
+ one: "Il y a 1 %{model}."
143
+ other: "Il y a %{count} %{model}."
144
+ # you can use the following to completely override the collection heading
145
+ # be aware that you will loose the automatic Your <collection> / Jom's <collection>
146
+ # default output for User models
147
+ # you better define the heading.* in the specific collection namespace
148
+ #heading:
149
+ add_form_heading: "Ajouter %{model}"
150
+ empty_message: "Aucun enregistrement à afficher"
151
+
152
+ # default hobo form translation
153
+ form:
154
+ new:
155
+ heading: "Ajout de %{model}"
156
+ error:
157
+ heading: "L'erreur suivante s'est produite:"
158
+ select_many:
159
+ prompt: "Ajouter %{model}"
160
+
161
+ # hobo support
162
+ support:
163
+ or: "ou"
164
+ a: "un(e)"
165
+ an: "un(e)"
166
+
167
+ table_plus:
168
+ search: "Rechercher"
169
+ submit_label: "OK"
170
+
171
+ live_search:
172
+ label: "Rechercher"
173
+ results_label: "Résultats de recherche"
174
+ close_button: "fermer"
175
+ no_results: "Votre recherche n'a pas produit de résultat."
176
+
177
+ dev_user_changer:
178
+ guest: "Invité"
179
+
180
+ admin:
181
+ subsite_name: "Administration"
182
+ invite_new_user: "Inviter un nouvel utilisateur"
183
+
184
+ subsite:
185
+ back_link: "Retour au site"
186
+
187
+ boolean_yes: "Oui"
188
+ boolean_no: "Non"
189
+ password_hidden: "[mot de passe caché]"
190
+
191
+ in_place_editor:
192
+ click_to_edit: "(cliquez pour éditer)"
193
+
194
+ select_one_editor:
195
+ blank_message: *no_model
@@ -0,0 +1,202 @@
1
+ # Hobo internals translation file for Italian.
2
+ # Translated by Domizio Demichelis (dd.nexus@gmail.com)
3
+
4
+ # If you find any error, please post it to http://hobousers.googlegroups.com.
5
+ # Thank you!
6
+
7
+ it:
8
+ hobo:
9
+ # default hobo pages translations
10
+ index:
11
+ # if you uncomment the following you will loose the automatic selection of dinamically pluralized nav-tabs
12
+ # if you need a different title you should implement a different way to select the tab on your own
13
+ #title: "Indice %{model}"
14
+ heading: "Indice %{model}"
15
+
16
+ new:
17
+ title: "Nuovo Record %{model}"
18
+ heading: "Nuovo Record %{model}"
19
+
20
+ show:
21
+ title: "%{model}"
22
+ heading: "%{model} %{name}"
23
+ back_link: "Indietro"
24
+ edit_link: "Modifica %{model}"
25
+ new_link: "Nuovo Record %{model}"
26
+ add_form_heading: "Aggiungi %{model}"
27
+
28
+ edit:
29
+ title: "Modifica %{model}"
30
+ heading: "Modifica %{model}"
31
+
32
+ index_for_owner:
33
+ title: "%{model} per"
34
+ # you can use the following to completely override the collection heading
35
+ # be aware that you will loose the automatic Your <collection> / Jom's <collection>
36
+ # default output for User models
37
+ # you better define the heading.* in the specific collection namespace
38
+ #heading: "%{model} per"
39
+ subheading: "Per:"
40
+
41
+ new_for_owner:
42
+ title: "Nuovo Record %{model} per"
43
+ heading: "Nuovo Record %{model}"
44
+ subheading: "Per:"
45
+
46
+ login:
47
+ title: &start_session "Inizia Sessione"
48
+ heading: *start_session
49
+ email: &email_address "Indirizzo Elettronico"
50
+ name: "Nome"
51
+ password: "Parola Chiave"
52
+ remember_me: "Ricorda i miei dati"
53
+ login: "Identificazione"
54
+ signup: "Iscrizione"
55
+ forgot_password: &forgot_password "Parola Chiave dimenticata?"
56
+
57
+ signup:
58
+ title: "Iscrizione"
59
+ heading: "Iscrivere Nuovo Utente"
60
+
61
+ forgot_password:
62
+ title: *forgot_password
63
+ heading: *forgot_password
64
+ text: "Inserisci l'indirizzo di posta elettronica che hai usato quanto ti sei iscritto.
65
+ Ti invieremo un messaggio che potrai usare per generare una nuova Parola Chiave"
66
+ email_address: *email_address
67
+ send: "Invia"
68
+
69
+ forgot_password_sent:
70
+ title: "Parola Chiave Dimenticata - Messaggio inviato"
71
+ heading: "Parola Chiave Dimenticata - Messaggio inviato"
72
+ text: "Il messaggio con le istruioni per generare una nuova Parola Chiave ti è stato inviato a %{email_address}.
73
+ Se non lo ricevi, per favore verifica il filtro anti-spam."
74
+
75
+ account_disabled_page:
76
+ title: "Utenza Disabilitata"
77
+ heading: "Utenza Disabilitata"
78
+ text: "La tua utenza è disabilitata in questo momento."
79
+
80
+ account_page:
81
+ title: "Preferenze"
82
+ heading: "Preferenze"
83
+ new_password: "Nuova Parola Chiave"
84
+ confirm_new_password: "Conferma Nuova Parola Chiave"
85
+
86
+
87
+ # default hobo action translation
88
+ actions:
89
+ new: "Nuovo Record %{model}"
90
+ create: "Crea %{model}"
91
+ previous: "Precedente"
92
+ next: "Prossimo"
93
+ add: "Aggiungere"
94
+ show_all: "Mostra tutti..."
95
+ delete: "Elimina %{model}"
96
+ save: "Registra %{model}"
97
+ cancel: "Annulla"
98
+ edit: "Modifica %{model}"
99
+ edit_control: "Modifica"
100
+ back: "Ritorna a"
101
+ back_to_parent: "Ritorna a %{parent} %{name}"
102
+ send: "Invia"
103
+ remove: "Elimina"
104
+ signup: "Iscrizione"
105
+ login: *start_session
106
+ logout: "Chiudi Sessione"
107
+ logged_in_as: "%{name}"
108
+ account: "Profilo"
109
+ save_account: "Registra Profilo"
110
+
111
+ # default hobo message translation
112
+ messages:
113
+ create:
114
+ success: "Creazione del record %{model} avvenuta con successo."
115
+ error: "Creazione del record %{model} fallita.\n%{errors}"
116
+ creator:
117
+ error: "Impossibile eseguire il creatore %{name}.\n%{errors}"
118
+ transition:
119
+ error: "Impossibile eseguire la transizione %{name}.\n%{errors}"
120
+ update:
121
+ no_attribute_error: "Nessuna modifica specificata nei parametri."
122
+ success: "Le modifiche al record %{model} sono state registrate."
123
+ error: "La modifica ha generato un problema.\n%{errors}"
124
+ destroy:
125
+ success: "Il record %{model} è stato eliminato con successo."
126
+ signup:
127
+ success: "Grazie per iscriverti!"
128
+ must_activate: "Prima di iniziare la sessione devi attivare la registrazione. Per favore verifica la tua Posta Elettronica."
129
+ login:
130
+ success: "La sessione è iniziata."
131
+ error: "%{login} e Parola Chiave non validi."
132
+ logout: "La sessione è terminata."
133
+ reset_password: "La tua Parola Chiave è stata azzerata."
134
+ permission_denied: "Permesso negato!"
135
+ not_found: "La pagina richiesta non è stata trovata."
136
+ unauthenticated: "La tua utenticazione è fallita."
137
+ validate_password: "deve contenere almeno 6 caratteri, sia maiuscoli che minuscoli"
138
+ current_password_is_not_correct: "non è esatta"
139
+ you_are_site_admin: "Adesso sei amministratore del sito."
140
+ you_signed_up: "Ti sei iscritto."
141
+ none: "Nessun record %{model} disponibile."
142
+ confirm: "Sei sicuro?"
143
+
144
+ # default hobo collection translation
145
+ collection:
146
+ count: &collection_count
147
+ zero: &no_model "Non ci sono %{model}"
148
+ one: "C'è solo 1 %{model}"
149
+ other: "Ci sono %{count} %{model}"
150
+
151
+ # you can use the following to completely override the collection heading
152
+ # be aware that you will loose the automatic Your <collection> / Jom's <collection>
153
+ # default output for User models
154
+ # you better define the heading.* in the specific collection namespace
155
+ #heading:
156
+ add_form_heading: "Aggiungere %{model}"
157
+ empty_message: "Nessun record"
158
+
159
+ # default hobo form translation
160
+ form:
161
+ new:
162
+ heading: "Nuovo Record %{model}"
163
+ error:
164
+ heading: "Si è verificato il seguente errore:"
165
+ select_many:
166
+ prompt: "Aggiungere %{model}"
167
+
168
+ # hobo support
169
+ support:
170
+ or: "o"
171
+ a: "un/una"
172
+ an: "un/una"
173
+
174
+ table_plus:
175
+ search: "Cerca"
176
+ submit_label: "Vai"
177
+
178
+ live_search:
179
+ label: "Cerca"
180
+ results_label: "Cerca nei risultati"
181
+ close_button: "chiudi"
182
+ no_results: "Nessun risultato trovato."
183
+
184
+ dev_user_changer:
185
+ guest: "Invitato"
186
+
187
+ admin:
188
+ subsite_name: "Amministrazione"
189
+ invite_new_user: "Invita Nuovo Utente"
190
+
191
+ subsite:
192
+ back_link: "Sito Principale"
193
+
194
+ boolean_yes: "Si"
195
+ boolean_no: "No"
196
+ password_hidden: "[parola chiave]"
197
+
198
+ in_place_editor:
199
+ click_to_edit: "cliccare per modificare"
200
+
201
+ select_one_editor:
202
+ blank_message: *no_model