comfypress 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (289) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +15 -0
  3. data/.travis.yml +22 -0
  4. data/Gemfile +22 -0
  5. data/Gemfile.lock +175 -0
  6. data/LICENSE +20 -0
  7. data/README.md +79 -0
  8. data/Rakefile +5 -0
  9. data/app/assets/images/comfypress/arrow_bottom.gif +0 -0
  10. data/app/assets/images/comfypress/arrow_right.gif +0 -0
  11. data/app/assets/images/comfypress/bootstrap/glyphicons-halflings-white.png +0 -0
  12. data/app/assets/images/comfypress/bootstrap/glyphicons-halflings.png +0 -0
  13. data/app/assets/images/comfypress/checkerboard.gif +0 -0
  14. data/app/assets/images/comfypress/icon_draft.gif +0 -0
  15. data/app/assets/images/comfypress/icon_file.gif +0 -0
  16. data/app/assets/images/comfypress/icon_layout.gif +0 -0
  17. data/app/assets/images/comfypress/icon_move.gif +0 -0
  18. data/app/assets/images/comfypress/icon_page.gif +0 -0
  19. data/app/assets/images/comfypress/icon_site.gif +0 -0
  20. data/app/assets/images/comfypress/icon_snippet.gif +0 -0
  21. data/app/assets/images/comfypress/nav_arrow.png +0 -0
  22. data/app/assets/javascripts/comfypress/admin/application.js +1 -0
  23. data/app/assets/javascripts/comfypress/application.js.coffee +175 -0
  24. data/app/assets/javascripts/comfypress/lib/bootstrap-datetimepicker.js +21 -0
  25. data/app/assets/javascripts/comfypress/lib/bootstrap-wysihtml5.js +492 -0
  26. data/app/assets/javascripts/comfypress/lib/bootstrap.js +6 -0
  27. data/app/assets/javascripts/comfypress/lib/codemirror.js +10 -0
  28. data/app/assets/javascripts/comfypress/lib/wysihtml5.js +261 -0
  29. data/app/assets/stylesheets/comfypress/admin/application.css +1 -0
  30. data/app/assets/stylesheets/comfypress/application.css.sass +8 -0
  31. data/app/assets/stylesheets/comfypress/base.css.sass +333 -0
  32. data/app/assets/stylesheets/comfypress/bootstrap_overrides.css.sass +45 -0
  33. data/app/assets/stylesheets/comfypress/codemirror_overrides.css.sass +27 -0
  34. data/app/assets/stylesheets/comfypress/lib/bootstrap-datetimepicker.css +9 -0
  35. data/app/assets/stylesheets/comfypress/lib/bootstrap-wysihtml5.css +102 -0
  36. data/app/assets/stylesheets/comfypress/lib/bootstrap.css +9 -0
  37. data/app/assets/stylesheets/comfypress/lib/codemirror.css +240 -0
  38. data/app/assets/stylesheets/comfypress/wysihtml5_overrides.css.sass +5 -0
  39. data/app/controllers/application_controller.rb +5 -0
  40. data/app/controllers/cms_admin/base_controller.rb +51 -0
  41. data/app/controllers/cms_admin/categories_controller.rb +35 -0
  42. data/app/controllers/cms_admin/files_controller.rb +108 -0
  43. data/app/controllers/cms_admin/layouts_controller.rb +67 -0
  44. data/app/controllers/cms_admin/menu_items_controller.rb +65 -0
  45. data/app/controllers/cms_admin/menus_controller.rb +60 -0
  46. data/app/controllers/cms_admin/pages_controller.rb +112 -0
  47. data/app/controllers/cms_admin/revisions_controller.rb +57 -0
  48. data/app/controllers/cms_admin/sites_controller.rb +64 -0
  49. data/app/controllers/cms_admin/snippets_controller.rb +64 -0
  50. data/app/controllers/cms_content_controller.rb +79 -0
  51. data/app/helpers/application_helper.rb +16 -0
  52. data/app/models/cms/block.rb +48 -0
  53. data/app/models/cms/categorization.rb +21 -0
  54. data/app/models/cms/category.rb +30 -0
  55. data/app/models/cms/file.rb +75 -0
  56. data/app/models/cms/layout.rb +99 -0
  57. data/app/models/cms/menu.rb +26 -0
  58. data/app/models/cms/menu_item.rb +14 -0
  59. data/app/models/cms/page.rb +202 -0
  60. data/app/models/cms/revision.rb +17 -0
  61. data/app/models/cms/site.rb +113 -0
  62. data/app/models/cms/snippet.rb +58 -0
  63. data/app/models/cms.rb +5 -0
  64. data/app/views/cms_admin/categories/_categories.html.haml +3 -0
  65. data/app/views/cms_admin/categories/_edit.html.haml +6 -0
  66. data/app/views/cms_admin/categories/_form.html.haml +8 -0
  67. data/app/views/cms_admin/categories/_index.html.haml +24 -0
  68. data/app/views/cms_admin/categories/_show.html.haml +13 -0
  69. data/app/views/cms_admin/categories/create.js.erb +7 -0
  70. data/app/views/cms_admin/categories/destroy.js.erb +3 -0
  71. data/app/views/cms_admin/categories/edit.js.erb +3 -0
  72. data/app/views/cms_admin/categories/update.js.erb +6 -0
  73. data/app/views/cms_admin/files/_file.html.haml +13 -0
  74. data/app/views/cms_admin/files/_form.html.haml +14 -0
  75. data/app/views/cms_admin/files/_index.html.haml +14 -0
  76. data/app/views/cms_admin/files/_page_form.html.haml +9 -0
  77. data/app/views/cms_admin/files/destroy.js.coffee +2 -0
  78. data/app/views/cms_admin/files/edit.html.haml +5 -0
  79. data/app/views/cms_admin/files/index.html.haml +28 -0
  80. data/app/views/cms_admin/files/new.html.haml +5 -0
  81. data/app/views/cms_admin/layouts/_form.html.haml +17 -0
  82. data/app/views/cms_admin/layouts/_index_branch.html.haml +23 -0
  83. data/app/views/cms_admin/layouts/edit.html.haml +9 -0
  84. data/app/views/cms_admin/layouts/index.html.haml +9 -0
  85. data/app/views/cms_admin/layouts/new.html.haml +5 -0
  86. data/app/views/cms_admin/menu_items/_form.html.haml +22 -0
  87. data/app/views/cms_admin/menu_items/edit.html.haml +8 -0
  88. data/app/views/cms_admin/menu_items/index.html.haml +24 -0
  89. data/app/views/cms_admin/menu_items/new.html.haml +5 -0
  90. data/app/views/cms_admin/menus/_form.html.haml +8 -0
  91. data/app/views/cms_admin/menus/edit.html.haml +8 -0
  92. data/app/views/cms_admin/menus/index.html.haml +24 -0
  93. data/app/views/cms_admin/menus/new.html.haml +5 -0
  94. data/app/views/cms_admin/pages/_form.html.haml +38 -0
  95. data/app/views/cms_admin/pages/_form_blocks.html.haml +28 -0
  96. data/app/views/cms_admin/pages/_index_branch.html.haml +35 -0
  97. data/app/views/cms_admin/pages/edit.html.haml +9 -0
  98. data/app/views/cms_admin/pages/form_blocks.js.erb +2 -0
  99. data/app/views/cms_admin/pages/index.html.haml +11 -0
  100. data/app/views/cms_admin/pages/new.html.haml +5 -0
  101. data/app/views/cms_admin/pages/toggle_branch.js.erb +11 -0
  102. data/app/views/cms_admin/revisions/show.html.haml +28 -0
  103. data/app/views/cms_admin/sites/_form.html.haml +14 -0
  104. data/app/views/cms_admin/sites/_mirrors.html.haml +17 -0
  105. data/app/views/cms_admin/sites/edit.html.haml +5 -0
  106. data/app/views/cms_admin/sites/index.html.haml +24 -0
  107. data/app/views/cms_admin/sites/new.html.haml +5 -0
  108. data/app/views/cms_admin/snippets/_form.html.haml +11 -0
  109. data/app/views/cms_admin/snippets/edit.html.haml +9 -0
  110. data/app/views/cms_admin/snippets/index.html.haml +28 -0
  111. data/app/views/cms_admin/snippets/new.html.haml +5 -0
  112. data/app/views/cms_content/_menu.html.haml +5 -0
  113. data/app/views/cms_content/render_sitemap.xml.builder +15 -0
  114. data/app/views/layouts/cms_admin/_body.html.haml +16 -0
  115. data/app/views/layouts/cms_admin/_center.html.haml +7 -0
  116. data/app/views/layouts/cms_admin/_footer.html.haml +3 -0
  117. data/app/views/layouts/cms_admin/_footer_js.html.haml +7 -0
  118. data/app/views/layouts/cms_admin/_head.html.haml +12 -0
  119. data/app/views/layouts/cms_admin/_left.html.haml +11 -0
  120. data/app/views/layouts/cms_admin/_right.html.haml +1 -0
  121. data/app/views/layouts/cms_admin.html.haml +4 -0
  122. data/comfypress.gemspec +28 -0
  123. data/config/application.rb +69 -0
  124. data/config/boot.rb +6 -0
  125. data/config/database.sqlite.yml +47 -0
  126. data/config/database.yml +47 -0
  127. data/config/environment.rb +5 -0
  128. data/config/environments/development.rb +39 -0
  129. data/config/environments/production.rb +67 -0
  130. data/config/environments/test.rb +39 -0
  131. data/config/initializers/comfypress.rb +100 -0
  132. data/config/initializers/paperclip.rb +3 -0
  133. data/config/locales/de.yml +236 -0
  134. data/config/locales/en.yml +285 -0
  135. data/config/locales/es.yml +236 -0
  136. data/config/locales/fr.yml +236 -0
  137. data/config/locales/ja.yml +237 -0
  138. data/config/locales/pl.yml +236 -0
  139. data/config/locales/pt-BR.yml +236 -0
  140. data/config/locales/ru.yml +236 -0
  141. data/config/locales/sv.yml +236 -0
  142. data/config/locales/zh-CN.yml +236 -0
  143. data/config/routes.rb +10 -0
  144. data/config.ru +4 -0
  145. data/db/cms_fixtures/sample-site/layouts/default/_default.yml +1 -0
  146. data/db/cms_fixtures/sample-site/layouts/default/content.html +5 -0
  147. data/db/cms_fixtures/sample-site/layouts/default/css.css +1 -0
  148. data/db/cms_fixtures/sample-site/layouts/default/js.js +1 -0
  149. data/db/cms_fixtures/sample-site/layouts/default/nested/_nested.yml +2 -0
  150. data/db/cms_fixtures/sample-site/layouts/default/nested/content.html +2 -0
  151. data/db/cms_fixtures/sample-site/layouts/default/nested/css.css +1 -0
  152. data/db/cms_fixtures/sample-site/layouts/default/nested/js.js +1 -0
  153. data/db/cms_fixtures/sample-site/pages/index/_index.yml +2 -0
  154. data/db/cms_fixtures/sample-site/pages/index/child/_child.yml +3 -0
  155. data/db/cms_fixtures/sample-site/pages/index/child/left.html +1 -0
  156. data/db/cms_fixtures/sample-site/pages/index/child/right.html +1 -0
  157. data/db/cms_fixtures/sample-site/pages/index/content.html +2 -0
  158. data/db/cms_fixtures/sample-site/snippets/default/_default.yml +1 -0
  159. data/db/cms_fixtures/sample-site/snippets/default/content.html +1 -0
  160. data/db/migrate/01_create_cms.rb +163 -0
  161. data/db/seeds.rb +9 -0
  162. data/db/upgrade_migrations/02_upgrade_to_1_1_0.rb +19 -0
  163. data/db/upgrade_migrations/03_upgrade_to_1_2_0.rb +15 -0
  164. data/db/upgrade_migrations/04_upgrade_to_1_3_0.rb +23 -0
  165. data/db/upgrade_migrations/05_upgrade_to_1_4_0.rb +33 -0
  166. data/db/upgrade_migrations/06_upgrade_to_1_5_0.rb +21 -0
  167. data/db/upgrade_migrations/07_upgrade_to_1_6_0.rb +25 -0
  168. data/doc/preview.png +0 -0
  169. data/doc/sofa.png +0 -0
  170. data/lib/comfypress/authentication/dummy_auth.rb +8 -0
  171. data/lib/comfypress/authentication/http_auth.rb +18 -0
  172. data/lib/comfypress/configuration.rb +99 -0
  173. data/lib/comfypress/engine.rb +18 -0
  174. data/lib/comfypress/error.rb +24 -0
  175. data/lib/comfypress/extensions/acts_as_tree.rb +102 -0
  176. data/lib/comfypress/extensions/has_revisions.rb +64 -0
  177. data/lib/comfypress/extensions/is_categorized.rb +49 -0
  178. data/lib/comfypress/extensions/is_mirrored.rb +85 -0
  179. data/lib/comfypress/extensions/rails.rb +24 -0
  180. data/lib/comfypress/fixtures.rb +289 -0
  181. data/lib/comfypress/form_builder.rb +97 -0
  182. data/lib/comfypress/render_methods.rb +85 -0
  183. data/lib/comfypress/routing.rb +62 -0
  184. data/lib/comfypress/sitemap.rb +27 -0
  185. data/lib/comfypress/tag.rb +154 -0
  186. data/lib/comfypress/tags/asset.rb +25 -0
  187. data/lib/comfypress/tags/collection.rb +64 -0
  188. data/lib/comfypress/tags/field_datetime.rb +17 -0
  189. data/lib/comfypress/tags/field_integer.rb +17 -0
  190. data/lib/comfypress/tags/field_rich_text.rb +17 -0
  191. data/lib/comfypress/tags/field_string.rb +17 -0
  192. data/lib/comfypress/tags/field_text.rb +17 -0
  193. data/lib/comfypress/tags/file.rb +29 -0
  194. data/lib/comfypress/tags/helper.rb +24 -0
  195. data/lib/comfypress/tags/menu.rb +27 -0
  196. data/lib/comfypress/tags/page_datetime.rb +13 -0
  197. data/lib/comfypress/tags/page_file.rb +51 -0
  198. data/lib/comfypress/tags/page_files.rb +52 -0
  199. data/lib/comfypress/tags/page_integer.rb +13 -0
  200. data/lib/comfypress/tags/page_markdown.rb +22 -0
  201. data/lib/comfypress/tags/page_rich_text.rb +13 -0
  202. data/lib/comfypress/tags/page_string.rb +13 -0
  203. data/lib/comfypress/tags/page_text.rb +13 -0
  204. data/lib/comfypress/tags/partial.rb +23 -0
  205. data/lib/comfypress/tags/snippet.rb +19 -0
  206. data/lib/comfypress/version.rb +3 -0
  207. data/lib/comfypress/view_hooks.rb +32 -0
  208. data/lib/comfypress/view_methods.rb +52 -0
  209. data/lib/comfypress.rb +66 -0
  210. data/lib/generators/comfy/cms/README +10 -0
  211. data/lib/generators/comfy/cms/cms_generator.rb +57 -0
  212. data/lib/tasks/comfypress.rake +45 -0
  213. data/script/rails +6 -0
  214. data/test/fixtures/cms/blocks.yml +12 -0
  215. data/test/fixtures/cms/categories.yml +4 -0
  216. data/test/fixtures/cms/categorizations.yml +3 -0
  217. data/test/fixtures/cms/files.yml +9 -0
  218. data/test/fixtures/cms/layouts.yml +40 -0
  219. data/test/fixtures/cms/menu_items.yml +15 -0
  220. data/test/fixtures/cms/menus.yml +9 -0
  221. data/test/fixtures/cms/pages.yml +39 -0
  222. data/test/fixtures/cms/revisions.yml +21 -0
  223. data/test/fixtures/cms/sites.yml +6 -0
  224. data/test/fixtures/cms/snippets.yml +6 -0
  225. data/test/fixtures/files/data.zip +0 -0
  226. data/test/fixtures/files/document.pdf +0 -0
  227. data/test/fixtures/files/image.gif +0 -0
  228. data/test/fixtures/files/image.jpg +0 -0
  229. data/test/fixtures/views/_nav_hook.html.erb +1 -0
  230. data/test/fixtures/views/_nav_hook_2.html.erb +1 -0
  231. data/test/fixtures/views/render_test/_test.html.erb +1 -0
  232. data/test/fixtures/views/render_test/new.html.erb +1 -0
  233. data/test/fixtures/views/render_test/render_layout.html.erb +1 -0
  234. data/test/functional/cms_admin/base_controller_test.rb +18 -0
  235. data/test/functional/cms_admin/categories_controller_test.rb +70 -0
  236. data/test/functional/cms_admin/files_controller_test.rb +216 -0
  237. data/test/functional/cms_admin/layouts_controller_test.rb +123 -0
  238. data/test/functional/cms_admin/pages_controller_test.rb +450 -0
  239. data/test/functional/cms_admin/revisions_controller_test.rb +138 -0
  240. data/test/functional/cms_admin/sites_controller_test.rb +105 -0
  241. data/test/functional/cms_admin/snippets_controller_test.rb +140 -0
  242. data/test/functional/cms_content_controller_test.rb +205 -0
  243. data/test/gemfiles/Gemfile.rails.3.1 +16 -0
  244. data/test/gemfiles/Gemfile.rails.3.2 +16 -0
  245. data/test/gemfiles/Gemfile.rails.4.0 +16 -0
  246. data/test/integration/authentication_test.rb +48 -0
  247. data/test/integration/fixtures_test.rb +61 -0
  248. data/test/integration/mirrors_test.rb +72 -0
  249. data/test/integration/render_cms_test.rb +233 -0
  250. data/test/integration/sites_test.rb +120 -0
  251. data/test/integration/view_hooks_test.rb +43 -0
  252. data/test/test_helper.rb +124 -0
  253. data/test/unit/cms/menu_item_test.rb +7 -0
  254. data/test/unit/cms/menu_test.rb +7 -0
  255. data/test/unit/configuration_test.rb +42 -0
  256. data/test/unit/fixtures_test.rb +357 -0
  257. data/test/unit/mirrors_test.rb +242 -0
  258. data/test/unit/models/block_test.rb +199 -0
  259. data/test/unit/models/categorization_test.rb +76 -0
  260. data/test/unit/models/category_test.rb +39 -0
  261. data/test/unit/models/file_test.rb +89 -0
  262. data/test/unit/models/layout_test.rb +125 -0
  263. data/test/unit/models/page_test.rb +255 -0
  264. data/test/unit/models/site_test.rb +152 -0
  265. data/test/unit/models/snippet_test.rb +49 -0
  266. data/test/unit/revisions_test.rb +185 -0
  267. data/test/unit/sitemap_test.rb +20 -0
  268. data/test/unit/tag_test.rb +308 -0
  269. data/test/unit/tags/asset_test.rb +56 -0
  270. data/test/unit/tags/collection_test.rb +116 -0
  271. data/test/unit/tags/field_datetime_test.rb +50 -0
  272. data/test/unit/tags/field_integer_test.rb +49 -0
  273. data/test/unit/tags/field_rich_text_test.rb +49 -0
  274. data/test/unit/tags/field_string_test.rb +52 -0
  275. data/test/unit/tags/field_text_test.rb +48 -0
  276. data/test/unit/tags/file_test.rb +67 -0
  277. data/test/unit/tags/helper_test.rb +86 -0
  278. data/test/unit/tags/page_datetime_test.rb +50 -0
  279. data/test/unit/tags/page_file_test.rb +119 -0
  280. data/test/unit/tags/page_files_test.rb +113 -0
  281. data/test/unit/tags/page_integer_test.rb +49 -0
  282. data/test/unit/tags/page_markdown_test.rb +48 -0
  283. data/test/unit/tags/page_rich_text_test.rb +49 -0
  284. data/test/unit/tags/page_string_test.rb +49 -0
  285. data/test/unit/tags/page_text_test.rb +52 -0
  286. data/test/unit/tags/partial_test.rb +76 -0
  287. data/test/unit/tags/snippet_test.rb +45 -0
  288. data/test/unit/view_methods_test.rb +80 -0
  289. metadata +457 -0
@@ -0,0 +1,236 @@
1
+ # encoding: utf-8
2
+ es:
3
+ # -- Models ---------------------------------------------------------------
4
+ attributes:
5
+ label: Nombre
6
+ slug: Identificador
7
+ parent_id: Padre
8
+ content: Contenido
9
+ identifier: Identifier
10
+ activerecord:
11
+ models:
12
+ cms/site: Sitio
13
+ cms/layout: Plantilla
14
+ cms/page: Página
15
+ cms/snippet: Fragmento
16
+ cms/file: File
17
+ attributes:
18
+ cms/site:
19
+ identifier: Identifier
20
+ hostname: Dirección
21
+ path: Ruta
22
+ locale: Lengua
23
+ is_mirrored: Espejo
24
+ cms/layout:
25
+ identifier: Identifier
26
+ label: Nombre de Plantilla
27
+ app_layout: Plantilla Base
28
+ parent_id: Plantilla Padre
29
+ css: Hoja de Estilo
30
+ js: Javascript
31
+ cms/page:
32
+ label: Título
33
+ layout_id: Plantilla
34
+ slug: Ruta
35
+ target_page_id: Redirigir a
36
+ is_published: Publicada
37
+ cms/file:
38
+ file: File
39
+ description: Description
40
+ cms/snippet:
41
+ identifier: Identifier
42
+
43
+ # -- Controllers ----------------------------------------------------------
44
+ cms:
45
+ base:
46
+ site_not_found: Sitio no encontrado
47
+ fixtures_enabled: CMS Fixtures habilitadas. Todos los cambios realizados serán descartados.
48
+
49
+ sites:
50
+ created: Sitio creado
51
+ creation_failure: El sitio no ha podido ser creado
52
+ updated: Sitio actualizado
53
+ update_failure: El sitio no ha podido ser actualizado
54
+ deleted: Sitio eliminado
55
+ not_found: Sitio no encontrado
56
+
57
+ layouts:
58
+ created: Diseño Creado
59
+ creation_failure: El diseño NO ha podido ser Creado
60
+ updated: Diseño Actualizado"
61
+ update_failure: El diseño NO ha podido ser Actualizado
62
+ deleted: Diseñó Eliminado
63
+ not_found: Diseño no encontrado
64
+
65
+ pages:
66
+ created: Página creada
67
+ creation_failure: La página no ha podido ser creada
68
+ updated: Página actualizada
69
+ update_failure: La página no ha podido ser actualizada
70
+ deleted: Página eliminada
71
+ not_found: Página no encontrada
72
+ layout_not_found: No se ha encontrado una plantilla. Cree una primero.
73
+
74
+ snippets:
75
+ created: Fragmento creado
76
+ creation_failure: El fragmento no ha podido ser creado
77
+ updated: Fragmento actualizado
78
+ update_failure: El fragmento no ha podido ser actualizado
79
+ deleted: Fragmento eliminado
80
+ not_found: Fragmento no encontrado
81
+
82
+ revisions:
83
+ reverted: Contenido revertido
84
+ record_not_found: Registro no encontrado
85
+ not_found: Revisión no encontrada
86
+
87
+ files:
88
+ created: Archivos subidos
89
+ creation_failure: Fallo la subida del archivo
90
+ updated: Archivo actualizado
91
+ update_failure: Fallo la actualización del archivo
92
+ deleted: Archivo borrado
93
+ not_found: Archivo no encontrado
94
+
95
+ content:
96
+ site_not_found: Sitio no encontrado
97
+ layout_not_found: Diseño no encontrado
98
+ page_not_found: Página no encontrada
99
+
100
+ # -- Views ----------------------------------------------------------------
101
+ cms_admin:
102
+ base:
103
+ sites: Sitios
104
+ layouts: Diseños
105
+ pages: Páginas
106
+ snippets: Fragmentos
107
+ files: Archivos
108
+
109
+ sites:
110
+ index:
111
+ title: Listado de Sitios
112
+ new_link: Crear nuevo Sitio
113
+ select: Selecciona el Sitio
114
+ edit: Editar
115
+ delete: Eliminar
116
+ are_you_sure: ¿Está seguro de que desea eliminar este sitio?
117
+ new:
118
+ title: Creando Sitio
119
+ edit:
120
+ title: Editando Sitio
121
+ form:
122
+ create: Crear Sitio
123
+ update: Actualizar Sitio
124
+ is_mirrored: Espejo
125
+
126
+ layouts:
127
+ index:
128
+ title: Diseños
129
+ new_link: Crear Nuevo Diseño
130
+ index_branch:
131
+ add_child_layout: Añadir diseño hijo
132
+ edit: Editar
133
+ delete: Eliminar
134
+ are_you_sure: ¿Está seguro?
135
+ new:
136
+ title: Nuevo Diseño
137
+ edit:
138
+ title: Editando Diseño
139
+ revision: Revisión
140
+ form:
141
+ select_parent_layout: Seleccionar diseño padre
142
+ select_app_layout: Seleccionar diseño (App)
143
+ create: Crear Diseño
144
+ update: Actualizar Diseño
145
+
146
+ pages:
147
+ index:
148
+ title: Páginas
149
+ new_link: Crear Nueva Página
150
+ index_branch:
151
+ toggle: Cambiar
152
+ add_child_page: Añadir página hija
153
+ edit: Editar
154
+ delete: Eliminar
155
+ are_you_sure: ¿Está seguro?
156
+ new:
157
+ title: Nueva Página
158
+ edit:
159
+ title: Editando Página
160
+ revision: Revision
161
+ form:
162
+ select_target_page: No Redirigir
163
+ preview: Vista Previa
164
+ create: Crear Página
165
+ update: Actualizar Página
166
+ is_published: Publicada
167
+ form_blocks:
168
+ no_tags: |-
169
+ La plantilla no tiene etiquetas de contenido definidas.<br/>
170
+ Edite el contenido para incluir alguna etiqueta de página o campo, por ejemplo: <code>{{cms:page:content}}</code>
171
+
172
+ snippets:
173
+ index:
174
+ title: Fragmentos
175
+ new_link: Crear nuevo Fragmento
176
+ edit: Editar
177
+ delete: Eliminar
178
+ are_you_sure: ¿Está seguro?
179
+ new:
180
+ title: Nuevo Fragmento
181
+ edit:
182
+ title: Editando Fragmento
183
+ revision: Revisión
184
+ form:
185
+ create: Crear Fragmento
186
+ update: Actualizar Fragmento
187
+
188
+ revisions:
189
+ show:
190
+ title: Revisiones de
191
+ revision: Revisión
192
+ full_path: Ruta completa
193
+ slug: Identificador
194
+ update: Actualizar a esta versión
195
+ current: Corriente
196
+
197
+ files:
198
+ index:
199
+ title: Archivos
200
+ new_link: Subir Nuevo Archivo
201
+ edit: Editar
202
+ delete: Borrar
203
+ are_you_sure: ¿Estás seguro?
204
+ button: Cargar Archivos
205
+ new:
206
+ title: Nuevo Archivo
207
+ edit:
208
+ title: Editar Archivo
209
+ form:
210
+ current_file: Archivo Actual
211
+ create: Subir Archivo
212
+ update: Actualizar Archivo
213
+ page_form:
214
+ are_you_sure: ¿Estás seguro?
215
+ file:
216
+ are_you_sure: ¿Estás seguro?
217
+
218
+ categories:
219
+ index:
220
+ label: Categorias
221
+ edit: Editar
222
+ done: Listo
223
+ all: Todos
224
+ add: Agregar
225
+ show:
226
+ are_you_sure: ¿Estás seguro?
227
+ edit:
228
+ save: Guardar
229
+ form:
230
+ label: Categorias
231
+
232
+ dialogs:
233
+ image:
234
+ insert: Insertar Imagen
235
+ link:
236
+ create: Crear Link
@@ -0,0 +1,236 @@
1
+ # encoding: utf-8
2
+ fr:
3
+ # -- Models ---------------------------------------------------------------
4
+ attributes:
5
+ label: Nom
6
+ slug: Identifiant
7
+ parent_id: Parent
8
+ content: Contenu
9
+ identifier: Identifiant
10
+ activerecord:
11
+ models:
12
+ cms/site: Site
13
+ cms/layout: Mise en page
14
+ cms/page: Page
15
+ cms/snippet: Fragment
16
+ cms/file: Fichier
17
+ attributes:
18
+ cms/site:
19
+ identifier: Identifiant
20
+ hostname: Nom d'hôte
21
+ path: Chemin
22
+ locale: Langue
23
+ is_mirrored: En miroir
24
+ cms/layout:
25
+ identifier: Identifiant
26
+ label: Nom de la mise en page
27
+ app_layout: Mise en page de l'application
28
+ parent_id: Mise en page parent
29
+ css: Feuille de style
30
+ js: Javascript
31
+ cms/page:
32
+ label: Nom de la page
33
+ layout_id: Mise en page
34
+ slug: Identifiant
35
+ target_page_id: Rediriger vers
36
+ is_published: Publié
37
+ cms/file:
38
+ file: Fichier
39
+ description: Description
40
+ cms/snippet:
41
+ identifier: Identifiant
42
+
43
+ # -- Controllers ----------------------------------------------------------
44
+ cms:
45
+ base:
46
+ site_not_found: Site introuvable
47
+ fixtures_enabled: Fixtures activés. Toutes les modifications seront supprimées.
48
+
49
+ sites:
50
+ created: Site créé
51
+ creation_failure: Échec de la création du site
52
+ updated: Site modifié
53
+ update_failure: Échec de la modification du site
54
+ deleted: Site supprimé
55
+ not_found: Site introuvable
56
+
57
+ layouts:
58
+ created: Mise en page créée
59
+ creation_failure: Échec de la création de la mise en page
60
+ updated: Mise en page modifiée
61
+ update_failure: Échec de la modification de la mise en page
62
+ deleted: Mise en page supprimée
63
+ not_found: Mise en page introuvable
64
+
65
+ pages:
66
+ created: Page créée
67
+ creation_failure: Échec de la création de la page
68
+ updated: Page modifiée
69
+ update_failure: Échec de la modification de la page
70
+ deleted: Page supprimée
71
+ not_found: Page introuvable
72
+ layout_not_found: Aucune mise en page disponible. Créez-en une nouvelle.
73
+
74
+ snippets:
75
+ created: Fragment créé
76
+ creation_failure: Échec de la création du fragment
77
+ updated: Fragment modifié
78
+ update_failure: Échec de la modification du fragment
79
+ deleted: Fragment supprimé
80
+ not_found: Fragment introuvable
81
+
82
+ revisions:
83
+ reverted: Contenu restauré
84
+ record_not_found: Enregistrement introuvable
85
+ not_found: Révision introuvable
86
+
87
+ files:
88
+ created: Fichier téléchargé
89
+ creation_failure: Échec du téléchargement du fichier
90
+ updated: Fichier modifié
91
+ update_failure: Échec de la modification du fichier
92
+ deleted: Fichier supprimé
93
+ not_found: Fichier introuvable
94
+
95
+ content:
96
+ site_not_found: Site introuvable
97
+ layout_not_found: Mise en page introuvable
98
+ page_not_found: Page introuvable
99
+
100
+ # -- Views ----------------------------------------------------------------
101
+ cms_admin:
102
+ base:
103
+ sites: Sites
104
+ layouts: Mises en page
105
+ pages: Pages
106
+ snippets: Fragments
107
+ files: Fichiers
108
+
109
+ sites:
110
+ index:
111
+ title: Sites
112
+ new_link: Nouveau site
113
+ select: Sélectionner ce site
114
+ edit: Modifier
115
+ delete: Supprimer
116
+ are_you_sure: Êtes-vous sûr de vouloir supprimer ce site ?
117
+ new:
118
+ title: Nouveau site
119
+ edit:
120
+ title: Modification du site
121
+ form:
122
+ create: Créer le site
123
+ update: Modifier le site
124
+ is_mirrored: En miroir
125
+
126
+ layouts:
127
+ index:
128
+ title: Mises en page
129
+ new_link: Nouvelle mise en page
130
+ index_branch:
131
+ add_child_layout: Ajouter une mise en page enfant
132
+ edit: Modifier
133
+ delete: Supprimer
134
+ are_you_sure: Êtes-vous sûr de vouloir supprimer cette mise en page ?
135
+ new:
136
+ title: Nouvelle mise en page
137
+ edit:
138
+ title: Modification de la mise en page
139
+ revision: révision
140
+ form:
141
+ select_parent_layout: Sélectionner une mise en page parent
142
+ select_app_layout: Sélectionner une mise en page de l'application
143
+ create: Créer la mise en page
144
+ update: Modifier la mise en page
145
+
146
+ pages:
147
+ index:
148
+ title: Pages
149
+ new_link: Nouvelle page
150
+ index_branch:
151
+ toggle: Basculer
152
+ add_child_page: Ajouter une page enfant
153
+ edit: Modifier
154
+ delete: Supprimer
155
+ are_you_sure: Êtes-vous sûr de vouloir supprimer cette page ?
156
+ new:
157
+ title: Nouvelle page
158
+ edit:
159
+ title: Modification de la page
160
+ revision: révision
161
+ form:
162
+ select_target_page: Pas de redirection
163
+ preview: Prévisualiser
164
+ create: Créer la page
165
+ update: Modifier la page
166
+ is_published: Publié
167
+ form_blocks:
168
+ no_tags: |-
169
+ Mise en page sans aucun tag de contenu.<br/>
170
+ Modifiez le contenu pour y ajouter un tag de page ou de champ. Exemple : <code>{{cms:page:content}}</code>
171
+
172
+ snippets:
173
+ index:
174
+ title: Fragments
175
+ new_link: Nouveau fragment
176
+ edit: Modifier
177
+ delete: Supprimer
178
+ are_you_sure: Êtes-vous sûr de vouloir supprimer ce fragment ?
179
+ new:
180
+ title: Nouveau fragment
181
+ edit:
182
+ title: Modification du fragment
183
+ revision: révision
184
+ form:
185
+ create: Créer le fragment
186
+ update: Modifier le fragment
187
+
188
+ revisions:
189
+ show:
190
+ title: "Révisions :"
191
+ revision: révision
192
+ full_path: Chemin complet
193
+ slug: Identifiant
194
+ update: Restaurer cette révision
195
+ current: Actuel
196
+
197
+ files:
198
+ index:
199
+ title: Fichiers
200
+ new_link: Nouveau fichier
201
+ edit: Modifier
202
+ delete: Supprimer
203
+ are_you_sure: Êtes-vous sûr de vouloir supprimer ce fichier ?
204
+ button: Ajouter des fichiers
205
+ new:
206
+ title: Nouveau fichier
207
+ edit:
208
+ title: Modification du fichier
209
+ form:
210
+ current_file: Fichier actuel
211
+ create: Envoyer
212
+ update: Modifier le fichier
213
+ page_form:
214
+ are_you_sure: Êtes-vous sûr de vouloir supprimer ce fichier ?
215
+ file:
216
+ are_you_sure: Êtes-vous sûr de vouloir supprimer ce fichier ?
217
+
218
+ categories:
219
+ index:
220
+ label: Catégories
221
+ edit: Modifier les catégories
222
+ done: Terminé
223
+ all: Tout
224
+ add: Ajouter
225
+ show:
226
+ are_you_sure: Êtes-vous sûr de vouloir supprimer cette catégorie ?
227
+ edit:
228
+ save: Enregistrer
229
+ form:
230
+ label: Catégories
231
+
232
+ dialogs:
233
+ image:
234
+ insert: Insérer une image
235
+ link:
236
+ create: Insérer un lien
@@ -0,0 +1,237 @@
1
+ # encoding: utf-8
2
+ ja:
3
+ # -- Models ---------------------------------------------------------------
4
+ attributes:
5
+ label: ラベル
6
+ slug: スラッグ
7
+ parent_id: 親
8
+ content: コンテンツ
9
+ identifier: Identifier
10
+ activerecord:
11
+ models:
12
+ cms/site: サイト
13
+ cms/layout: レイアウト
14
+ cms/page: ページ
15
+ cms/snippet: スニペット
16
+ cms/file: File
17
+ attributes:
18
+ cms/site:
19
+ identifier: Identifier
20
+ hostname: ホスト名
21
+ path: パス
22
+ locale: 言語
23
+ is_mirrored: ミラーリング済み
24
+ cms/layout:
25
+ identifier: Identifier
26
+ label: レイアウト名
27
+ app_layout: アプリケーションレイアウト
28
+ parent_id: 親レイアウト
29
+ css: スタイルシート
30
+ js: Javascript
31
+ cms/page:
32
+ label: ラベル
33
+ layout_id: レイアウト
34
+ slug: スラッグ
35
+ target_page_id: ページにリダイレクト
36
+ is_published: パブリッシュ済み
37
+ cms/file:
38
+ file: File
39
+ description: Description
40
+ cms/snippet:
41
+ identifier: Identifier
42
+
43
+ # -- Controllers ----------------------------------------------------------
44
+ cms:
45
+ base:
46
+ site_not_found: サイトが見つかりません
47
+ fixtures_enabled: CMS フィクスチャが有効です。 ここでの変更はすべて破棄されます。
48
+
49
+ sites:
50
+ created: サイトが作成されました
51
+ creation_failure: サイトの作成に失敗しました
52
+ updated: サイトが更新されました
53
+ update_failure: サイトの更新に失敗しました
54
+ deleted: サイトが削除されました
55
+ not_found: サイトが見つかりません
56
+
57
+ layouts:
58
+ created: レイアウトが作成されました
59
+ creation_failure: レイアウトの作成に失敗しました
60
+ updated: レイアウトが更新されました
61
+ update_failure: レイアウトの更新に失敗しました
62
+ deleted: レイアウトが削除されました
63
+ not_found: レイアウトが見つかりません
64
+
65
+ pages:
66
+ created: ページが作成されました
67
+ creation_failure: ページの作成に失敗しました
68
+ updated: ページが更新されました
69
+ update_failure: ページの更新に失敗しました
70
+ deleted: ページが削除されました
71
+ not_found: ページが見つかりません
72
+ layout_not_found: レイアウトが見つかりません。 レイアウトを作成してください。
73
+
74
+ snippets:
75
+ created: スニペットが作成されました
76
+ creation_failure: スニペットの作成に失敗しました
77
+ updated: スニペットが更新されました
78
+ update_failure: スニペットの更新に失敗しました
79
+ deleted: スニペットが削除されました
80
+ not_found: スニペットが見つかりません
81
+
82
+ revisions:
83
+ reverted: コンテンツが元に戻りました
84
+ record_not_found: レコードが見つかりません
85
+ not_found: リビジョンが見つかりません
86
+
87
+ files:
88
+ created: ファイルがアップロードされました
89
+ creation_failure: ファイルのアップロードに失敗しました
90
+ updated: ファイルが更新されました
91
+ update_failure: ファイルの更新に失敗しました
92
+ deleted: ファイルが削除されました
93
+ not_found: ファイルが見つかりません
94
+
95
+ content:
96
+ site_not_found: サイトが見つかりません
97
+ layout_not_found: レイアウトが見つかりません
98
+ page_not_found: ページが見つかりません
99
+
100
+ # -- Views ----------------------------------------------------------------
101
+ cms_admin:
102
+ base:
103
+ sites: サイト
104
+ layouts: レイアウト
105
+ pages: ページ
106
+ snippets: スニペット
107
+ files: ファイル
108
+
109
+ sites:
110
+ index:
111
+ title: サイト
112
+ new_link: 新規サイトを作成
113
+ select: サイトを選択
114
+ edit: 編集
115
+ delete: 削除
116
+ are_you_sure: このサイトを削除してもよろしいですか?
117
+ new:
118
+ title: 新規サイト
119
+ edit:
120
+ title: サイトを編集
121
+ form:
122
+ create: サイトを作成
123
+ update: サイトを更新
124
+ is_mirrored: ミラーリング済み
125
+
126
+ layouts:
127
+ index:
128
+ title: レイアウト
129
+ new_link: 新規レイアウトを作成
130
+ index_branch:
131
+ add_child_layout: 子レイアウトを追加
132
+ edit: 編集
133
+ delete: 削除
134
+ are_you_sure: よろしいですか?
135
+ new:
136
+ title: 新規レイアウト
137
+ edit:
138
+ title: レイアウトを編集
139
+ revision: リビジョン
140
+ form:
141
+ select_parent_layout: 親レイアウトを選択
142
+ select_app_layout: アプリケーションレイアウトを選択
143
+ create: レイアウトを作成
144
+ update: レイアウトを更新
145
+
146
+ pages:
147
+ index:
148
+ title: ページ
149
+ new_link: 新規ページを作成
150
+ index_branch:
151
+ toggle: 切り替え
152
+ add_child_page: 子ページを追加
153
+ edit: 編集
154
+ delete: 削除
155
+ are_you_sure: よろしいですか?
156
+ new:
157
+ title: 新規ページ
158
+ edit:
159
+ title: ページを編集
160
+ revision: リビジョン
161
+ form:
162
+ select_target_page: リダイレクトなし
163
+ preview: プレビュー
164
+ create: ページを作成
165
+ update: ページを更新
166
+ is_published: パブリッシュ済み
167
+ form_blocks:
168
+ no_tags: |-
169
+ レイアウトにはコンテンツタグが定義されていません。<br/>
170
+ コンテンツを編集してページまたはフィールドタグを含めてください。 例: <code>{{cms:page:content}}</code>
171
+
172
+ snippets:
173
+ index:
174
+ title: スニペット
175
+ new_link: 新規スニペットを作成
176
+ edit: 編集
177
+ delete: 削除
178
+ are_you_sure: よろしいですか?
179
+ new:
180
+ title: 新規スニペット
181
+ edit:
182
+ title: スニペットを編集
183
+ revision: リビジョン
184
+ form:
185
+ create: スニペットを作成
186
+ update: スニペットを更新
187
+
188
+ revisions:
189
+ show:
190
+ title: リビジョン
191
+ revision: リビジョン
192
+ full_path: フルパス
193
+ slug: スラッグ
194
+ update: このリビジョンに更新
195
+ current: Current
196
+
197
+ files:
198
+ index:
199
+ title: ファイル
200
+ new_link: 新規ファイルをアップロード
201
+ edit: 編集
202
+ delete: 削除
203
+ are_you_sure: よろしいですか?
204
+ button: ファイルをアップロード
205
+ new:
206
+ title: 新規ファイル
207
+ edit:
208
+ title: ファイルを編集
209
+ form:
210
+ current_file: 現在のファイル
211
+ create: ファイルをアップロード
212
+ update: ファイルを更新
213
+ page_form:
214
+ are_you_sure: よろしいですか?
215
+ file:
216
+ are_you_sure: よろしいですか?
217
+
218
+ categories:
219
+ index:
220
+ label: カテゴリー
221
+ edit: 編集
222
+ done: 完了
223
+ all: すべて
224
+ add: 追加
225
+ show:
226
+ are_you_sure: よろしいですか?
227
+ edit:
228
+ save: 保存
229
+ form:
230
+ label: カテゴリー
231
+
232
+ dialogs:
233
+ image:
234
+ insert: 画像を挿入
235
+ link:
236
+ create: リンクを作成
237
+