pwb 1.2.0 → 1.3.0

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 (442) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +40 -25
  3. data/app/assets/fonts/fonts/FontAwesome.otf +0 -0
  4. data/app/assets/fonts/fonts/fontawesome-webfont.eot +0 -0
  5. data/app/assets/fonts/fonts/fontawesome-webfont.svg +2668 -637
  6. data/app/assets/fonts/fonts/fontawesome-webfont.ttf +0 -0
  7. data/app/assets/fonts/fonts/fontawesome-webfont.woff +0 -0
  8. data/app/assets/fonts/fonts/fontawesome-webfont.woff2 +0 -0
  9. data/app/assets/javascripts/pwb/shared/page-content.js +24 -0
  10. data/app/assets/javascripts/pwb/shared/squares-container.js +58 -0
  11. data/app/assets/javascripts/pwb/shared/vue-main.js +1 -1
  12. data/app/assets/javascripts/pwb/shared/vue-squares.js.erb +74 -0
  13. data/app/assets/javascripts/pwb/squares/tabable-section.js +47 -0
  14. data/app/assets/javascripts/pwb/themes/squares.js.erb +45 -0
  15. data/app/assets/javascripts/pwb/themes/vic.js.erb +152 -0
  16. data/app/assets/javascripts/pwb_admin_panel/application_legacy_1.js +5 -0
  17. data/app/assets/stylesheets/pwb/themes/berlin.scss +4 -0
  18. data/app/assets/stylesheets/pwb/themes/berlin/main.scss +1 -1
  19. data/app/assets/stylesheets/pwb/themes/default.scss +1 -0
  20. data/app/assets/stylesheets/pwb/themes/default/carousel.scss +2 -1
  21. data/app/assets/stylesheets/pwb/themes/default/landing_content_areas.scss +13 -13
  22. data/app/assets/stylesheets/pwb/themes/default/shame.scss +0 -16
  23. data/app/assets/stylesheets/pwb/themes/matt.scss +18 -0
  24. data/app/assets/stylesheets/pwb/themes/shared/liquid_templates.scss +37 -0
  25. data/app/assets/stylesheets/pwb/themes/shared/shame.scss +7 -0
  26. data/app/assets/stylesheets/pwb/themes/squares.scss +22 -0
  27. data/app/assets/stylesheets/pwb/themes/squares/vue-material-docs.scss +200 -0
  28. data/app/assets/stylesheets/pwb/themes/squares/vue-material-vars.scss +141 -0
  29. data/app/assets/stylesheets/pwb/themes/vic.scss +104 -0
  30. data/app/assets/stylesheets/pwb/themes/vic/general.scss +15 -0
  31. data/app/assets/stylesheets/pwb/themes/vic/landing.scss +189 -0
  32. data/app/assets/stylesheets/pwb/themes/vic/slider.scss +127 -0
  33. data/app/assets/stylesheets/pwb_admin_panel/application_legacy_1.scss +6 -0
  34. data/app/controllers/pwb/admin_panel_controller.rb +7 -1
  35. data/app/controllers/pwb/api/v1/clients_controller.rb +35 -0
  36. data/app/controllers/pwb/api/v1/contacts_controller.rb +41 -0
  37. data/app/controllers/pwb/api/v1/links_controller.rb +47 -0
  38. data/app/controllers/pwb/api/v1/page_controller.rb +117 -0
  39. data/app/controllers/pwb/api/v1/page_fragments_controller.rb +74 -0
  40. data/app/controllers/pwb/api/v1/properties_controller.rb +30 -9
  41. data/app/controllers/pwb/api/v1/sections_controller.rb +27 -26
  42. data/app/controllers/pwb/api/v1/website_controller.rb +11 -11
  43. data/app/controllers/pwb/application_controller.rb +22 -11
  44. data/app/controllers/pwb/{sections_controller.rb → contact_us_controller.rb} +24 -45
  45. data/app/controllers/pwb/css_controller.rb +5 -2
  46. data/app/controllers/pwb/pages_controller.rb +36 -0
  47. data/app/controllers/pwb/search_controller.rb +33 -11
  48. data/app/controllers/pwb/squares_controller.rb +48 -0
  49. data/app/controllers/pwb/welcome_controller.rb +30 -5
  50. data/app/helpers/pwb/application_helper.rb +50 -49
  51. data/app/helpers/pwb/css_helper.rb +14 -0
  52. data/app/helpers/pwb/navigation_helper.rb +82 -0
  53. data/app/models/pwb/contact.rb +25 -0
  54. data/app/models/pwb/content.rb +26 -8
  55. data/app/models/pwb/content_photo.rb +18 -0
  56. data/app/models/pwb/link.rb +41 -0
  57. data/app/models/pwb/message.rb +1 -1
  58. data/app/models/pwb/page.rb +227 -0
  59. data/app/models/pwb/page_content.rb +33 -0
  60. data/app/models/pwb/page_part.rb +17 -0
  61. data/app/models/pwb/preset_style.rb +37 -0
  62. data/app/models/pwb/prop.rb +4 -0
  63. data/app/models/pwb/website.rb +64 -9
  64. data/app/resources/pwb/api/v1/{section_resource.rb → client_resource.rb} +3 -4
  65. data/app/resources/pwb/api/v1/property_resource.rb +23 -4
  66. data/app/resources/pwb/api/v1/web_content_resource.rb +1 -1
  67. data/app/resources/pwb/api_public/v1/prop_resource.rb +9 -2
  68. data/{db/cms_fixtures/cms/layouts/about-us/content.html → app/themes/airbnb/views/layouts/pwb/_generic_modal.html.erb} +0 -0
  69. data/{db/cms_fixtures/cms/layouts/about-us/javascript.js → app/themes/airbnb/views/layouts/pwb/_login_modal.html.erb} +0 -0
  70. data/app/themes/airbnb/views/layouts/pwb/application.html.erb +82 -0
  71. data/app/themes/airbnb/views/pwb/_footer.html.erb +25 -0
  72. data/app/themes/airbnb/views/pwb/props/_images_section_carousel.html.erb +43 -0
  73. data/app/themes/airbnb/views/pwb/props/show.html.erb +69 -0
  74. data/app/themes/airbnb/views/pwb/search/_search_form_for_rent.html.erb +183 -0
  75. data/app/themes/airbnb/views/pwb/search/_search_results.html.erb +34 -0
  76. data/app/themes/airbnb/views/pwb/search/buy.html.erb +65 -0
  77. data/app/themes/airbnb/views/pwb/search/rent.html.erb +87 -0
  78. data/app/themes/airbnb/views/pwb/sections/_contact_us_form.html.erb +49 -0
  79. data/app/themes/airbnb/views/pwb/sections/contact_us.html.erb +56 -0
  80. data/app/themes/airbnb/views/pwb/welcome/_content_area_cols.html.erb +12 -0
  81. data/app/themes/airbnb/views/pwb/welcome/_single_property_row.html.erb +51 -0
  82. data/app/themes/airbnb/views/pwb/welcome/index.html.erb +66 -0
  83. data/app/themes/berlin/views/pwb/_footer.html.erb +15 -20
  84. data/app/themes/berlin/views/pwb/_header.html.erb +7 -9
  85. data/app/themes/berlin/views/pwb/pages/show.html.erb +50 -0
  86. data/app/themes/berlin/views/pwb/search/buy.html.erb +1 -1
  87. data/app/themes/berlin/views/pwb/search/rent.html.erb +1 -2
  88. data/app/themes/berlin/views/pwb/sections/contact_us.html.erb +1 -1
  89. data/app/themes/berlin/views/pwb/welcome/index.html.erb +51 -7
  90. data/app/themes/config.json +14 -0
  91. data/app/themes/default/views/pwb/{sections/cms.html.erb → pages/show.html.erb} +9 -8
  92. data/app/themes/default/views/pwb/search/buy.html.erb +1 -1
  93. data/app/themes/default/views/pwb/search/rent.html.erb +1 -1
  94. data/app/themes/default/views/pwb/sections/about_us.html.erb +8 -7
  95. data/app/themes/default/views/pwb/sections/contact_us.html.erb +40 -30
  96. data/app/themes/default/views/pwb/sections/static.html.erb +3 -20
  97. data/app/themes/default/views/pwb/welcome/_single_property_row.html.erb +1 -1
  98. data/app/themes/default/views/pwb/welcome/index.html.erb +7 -38
  99. data/app/themes/matt/views/layouts/pwb/application.html.erb +45 -0
  100. data/app/themes/matt/views/pwb/_footer.html.erb +60 -0
  101. data/app/themes/matt/views/pwb/_header.html.erb +105 -0
  102. data/app/themes/matt/views/pwb/search/buy.html.erb +65 -0
  103. data/app/themes/matt/views/pwb/welcome/index.html.erb +132 -0
  104. data/app/themes/vic/views/layouts/pwb/application.html.erb +94 -0
  105. data/app/themes/vic/views/pwb/_header.html.erb +100 -0
  106. data/app/themes/vic/views/pwb/props/_images_section_carousel.html.erb +43 -0
  107. data/app/themes/vic/views/pwb/props/show.html.erb +69 -0
  108. data/app/themes/vic/views/pwb/search/buy.html.erb +65 -0
  109. data/app/themes/vic/views/pwb/search/rent.html.erb +65 -0
  110. data/app/themes/vic/views/pwb/sections/_contact_us_form.html.erb +49 -0
  111. data/app/themes/vic/views/pwb/sections/contact_us.html.erb +56 -0
  112. data/app/themes/vic/views/pwb/welcome/_content_area_cols.html.erb +12 -0
  113. data/app/themes/vic/views/pwb/welcome/_single_property_row.html.erb +51 -0
  114. data/app/themes/vic/views/pwb/welcome/index.html.erb +27 -0
  115. data/app/views/devise/shared/_links.html.erb +1 -1
  116. data/app/views/layouts/pwb/admin_panel_error.html.erb +19 -0
  117. data/app/views/layouts/pwb/admin_panel_legacy_1.html.erb +21 -0
  118. data/app/views/layouts/pwb/squares.html.erb +72 -0
  119. data/app/views/pwb/_footer.html.erb +2 -6
  120. data/app/views/pwb/_header.html.erb +23 -25
  121. data/app/views/pwb/admin_panel/show_legacy_1.html.erb +3 -0
  122. data/app/views/pwb/custom_css/_berlin.css.erb +0 -67
  123. data/app/views/pwb/custom_css/_default.css.erb +0 -22
  124. data/app/views/pwb/custom_css/_shared.css.erb +4 -3
  125. data/app/views/pwb/custom_css/_vic.css.erb +10 -0
  126. data/app/views/pwb/props/_images_section_carousel.html.erb +1 -1
  127. data/app/views/pwb/search/_search_result_item.html.erb +1 -1
  128. data/app/views/pwb/squares/show_client.html.erb +26 -0
  129. data/app/views/pwb/squares/show_prop.html.erb +26 -0
  130. data/app/views/pwb/squares/vue.html.erb +1 -0
  131. data/config/client_setups/default.json +28 -27
  132. data/config/initializers/i18n_globalise.rb +4 -0
  133. data/config/locales/admin.en.yml +38 -7
  134. data/config/locales/admin.es.yml +60 -6
  135. data/config/locales/admin.pt.yml +474 -0
  136. data/config/locales/admin.ru.yml +49 -6
  137. data/config/locales/devise.it.yml +137 -0
  138. data/config/locales/en.yml +7 -7
  139. data/config/locales/it.yml +160 -0
  140. data/config/locales/pt.yml +2 -0
  141. data/config/locales/rails.it.yml +213 -0
  142. data/config/locales/tr.yml +36 -36
  143. data/config/locales/vi.yml +5 -5
  144. data/config/preset_styles/green_amber.json +23 -0
  145. data/config/preset_styles/purple_teal.json +23 -0
  146. data/config/preset_styles/red_light.json +18 -0
  147. data/config/routes.rb +35 -23
  148. data/db/example_images/carousel_villa_with_pool.jpg +0 -0
  149. data/db/example_images/flat_luxury_dining_area.jpg +0 -0
  150. data/db/example_images/flat_luxury_living_area.jpg +0 -0
  151. data/db/migrate/20161120103546_create_pwb_props.rb +3 -3
  152. data/db/migrate/20161122174847_create_pwb_sections.rb +9 -8
  153. data/db/migrate/20161128221919_create_pwb_clients.rb +1 -0
  154. data/db/migrate/20170315195413_add_extra_cols_to_pwb_sections.rb +7 -6
  155. data/db/migrate/20170716075456_create_pwb_pages.rb +23 -0
  156. data/db/migrate/20170716110121_translate_pages.rb +17 -0
  157. data/db/migrate/20170720183443_create_pwb_links.rb +29 -0
  158. data/db/migrate/20170720201601_translate_links.rb +13 -0
  159. data/db/migrate/20170915094326_create_pwb_page_contents.rb +17 -0
  160. data/db/migrate/20170917215533_add_page_part_key_to_pwb_contents.rb +7 -0
  161. data/db/migrate/20170919134945_add_block_key_to_pwb_content_photos.rb +5 -0
  162. data/db/migrate/20170923195321_create_pwb_contacts.rb +33 -0
  163. data/db/migrate/20171011212930_create_pwb_page_parts.rb +30 -0
  164. data/db/seeds/translations_es.rb +1 -87
  165. data/db/seeds/translations_it.rb +92 -0
  166. data/db/yml_seeds/agency_address.yml +8 -8
  167. data/db/yml_seeds/contacts.yml +13 -0
  168. data/db/yml_seeds/content_translations/en.yml +73 -0
  169. data/db/yml_seeds/content_translations/es.yml +74 -0
  170. data/db/yml_seeds/content_translations/it.yml +73 -0
  171. data/db/yml_seeds/content_translations/pt.yml +73 -0
  172. data/db/yml_seeds/{content/footer.yml → footer.yml} +0 -0
  173. data/db/yml_seeds/links.yml +389 -0
  174. data/db/yml_seeds/page_parts/ABOUT_PAGE_PARTS.md +5 -0
  175. data/db/yml_seeds/page_parts/about-us__content_html.yml +24 -0
  176. data/db/yml_seeds/page_parts/about-us__our_agency.yml +51 -0
  177. data/db/yml_seeds/page_parts/contact-us__content_html.yml +24 -0
  178. data/db/yml_seeds/page_parts/contact-us__form_and_map.yml +17 -0
  179. data/db/yml_seeds/page_parts/home__about_us_services.yml +85 -0
  180. data/db/yml_seeds/page_parts/home__content_html.yml +24 -0
  181. data/db/yml_seeds/page_parts/home__landing_hero.yml +51 -0
  182. data/db/yml_seeds/page_parts/legal__content_html.yml +24 -0
  183. data/db/yml_seeds/page_parts/privacy__content_html.yml +24 -0
  184. data/db/yml_seeds/page_parts/sell__content_html.yml +24 -0
  185. data/db/yml_seeds/pages/about.yml +11 -0
  186. data/db/yml_seeds/pages/buy.yml +23 -0
  187. data/db/yml_seeds/pages/contact.yml +12 -0
  188. data/db/yml_seeds/pages/home.yml +15 -0
  189. data/db/yml_seeds/pages/legal_notice.yml +11 -0
  190. data/db/yml_seeds/pages/privacy_policy.yml +11 -0
  191. data/db/yml_seeds/pages/rent.yml +15 -0
  192. data/db/yml_seeds/pages/sell.yml +13 -0
  193. data/db/yml_seeds/prop/flat_for_rent.yml +11 -11
  194. data/db/yml_seeds/prop/flat_for_rent_2.yml +57 -0
  195. data/db/yml_seeds/prop/flat_for_sale.yml +11 -12
  196. data/db/yml_seeds/prop/flat_for_sale_2.yml +56 -0
  197. data/db/yml_seeds/prop/villa_for_rent.yml +14 -14
  198. data/db/yml_seeds/prop/villa_for_sale.yml +15 -15
  199. data/db/yml_seeds/prop_spain/flat_for_rent.yml +58 -0
  200. data/db/yml_seeds/prop_spain/flat_for_sale.yml +58 -0
  201. data/db/yml_seeds/prop_spain/villa_for_rent.yml +58 -0
  202. data/db/yml_seeds/prop_spain/villa_for_sale.yml +59 -0
  203. data/db/yml_seeds/sections.yml +119 -119
  204. data/db/yml_seeds/{content → to_delete}/about_us.yml +0 -0
  205. data/db/yml_seeds/{content → to_delete}/carousel.yml +0 -0
  206. data/db/yml_seeds/{content → to_delete}/content_columns.yml +0 -0
  207. data/db/yml_seeds/to_delete/footer.yml +15 -0
  208. data/db/yml_seeds/{content → to_delete}/sell.yml +0 -0
  209. data/db/yml_seeds/{content → to_delete}/static.yml +0 -0
  210. data/db/yml_seeds/website.yml +2 -1
  211. data/lib/pwb/engine.rb +16 -2
  212. data/lib/pwb/pages_seeder.rb +190 -0
  213. data/lib/pwb/seeder.rb +56 -14
  214. data/lib/pwb/version.rb +1 -1
  215. data/lib/tasks/pwb_tasks.rake +19 -2
  216. data/spec/controllers/pwb/api/v1/propeties_controller_spec.rb +2 -2
  217. data/spec/controllers/pwb/welcome_controller_spec.rb +18 -5
  218. data/spec/dummy/config/initializers/assets.rb +9 -0
  219. data/spec/dummy/config/routes.rb +2 -0
  220. data/spec/dummy/config/secrets.yml +3 -0
  221. data/spec/dummy/db/migrate/20171201161323_create_property_web_scraper_import_hosts.property_web_scraper.rb +22 -0
  222. data/spec/dummy/db/migrate/20171201161324_create_property_web_scraper_listings.property_web_scraper.rb +84 -0
  223. data/spec/dummy/db/schema.rb +475 -398
  224. data/spec/factories/pwb_contacts.rb +5 -0
  225. data/spec/factories/pwb_contents.rb +3 -0
  226. data/spec/factories/pwb_links.rb +5 -0
  227. data/spec/factories/pwb_page_contents.rb +5 -0
  228. data/spec/factories/pwb_page_parts.rb +8 -0
  229. data/spec/factories/pwb_pages.rb +29 -0
  230. data/spec/factories/pwb_prop_photos.rb +11 -2
  231. data/spec/fixtures/mls/properties_interealty.json +1 -496
  232. data/spec/fixtures/params/bulk_create.json +3 -3
  233. data/spec/libraries/pwb/pages_seeder_spec.rb +56 -0
  234. data/spec/libraries/pwb/seeder_spec.rb +14 -10
  235. data/spec/models/pwb/contact_spec.rb +7 -0
  236. data/spec/models/pwb/link_spec.rb +7 -0
  237. data/spec/models/pwb/page_content_spec.rb +7 -0
  238. data/spec/models/pwb/page_part_spec.rb +7 -0
  239. data/spec/models/pwb/page_spec.rb +28 -0
  240. data/spec/models/pwb/website_spec.rb +10 -0
  241. data/spec/rails_helper.rb +1 -1
  242. data/spec/requests/pwb/themes_spec.rb +15 -10
  243. data/spec/views/pwb/application_layout.html.erb_spec.rb +28 -21
  244. data/spec/views/pwb/contact_us.html.erb_spec.rb +11 -0
  245. data/spec/views/pwb/welcome.html.erb_spec.rb +13 -9
  246. metadata +230 -244
  247. data/app/controllers/pwb/api/v1/cms_pages_controller.rb +0 -102
  248. data/app/controllers/pwb/comfy_controller.rb +0 -106
  249. data/app/models/pwb/cms_page_container.rb +0 -9
  250. data/app/models/pwb/section.rb +0 -35
  251. data/app/models/pwb/welcome.rb +0 -4
  252. data/app/resources/pwb/api/v1/cms_block_resource.rb +0 -11
  253. data/app/resources/pwb/api/v1/cms_page_resource.rb +0 -27
  254. data/app/themes/berlin/views/pwb/sections/about_us.html.erb +0 -59
  255. data/app/themes/berlin/views/pwb/sections/cms.html.erb +0 -34
  256. data/app/themes/berlin/views/pwb/sections/static.html.erb +0 -58
  257. data/app/views/pwb/search/_search_result_item_to_del.html.erb +0 -56
  258. data/config/cms_page_containers/about-us.json +0 -18
  259. data/config/cms_page_containers/about.json +0 -107
  260. data/config/cms_page_containers/landing.json +0 -19
  261. data/config/cms_page_containers/legal.json +0 -17
  262. data/config/cms_page_containers/sell.json +0 -96
  263. data/config/initializers/comfortable_mexican_sofa.rb +0 -142
  264. data/config/initializers/i18n.rb +0 -1
  265. data/db/cms_fixtures/cms/categories/pages.yml +0 -3
  266. data/db/cms_fixtures/cms/files/_rerenting-landing_framed.png.yml +0 -6
  267. data/db/cms_fixtures/cms/files/rerenting-landing_framed.png +0 -0
  268. data/db/cms_fixtures/cms/layouts/about-us/attributes.yml +0 -4
  269. data/db/cms_fixtures/cms/layouts/about-us/people/attributes.yml +0 -4
  270. data/db/cms_fixtures/cms/layouts/about-us/people/content.html +0 -55
  271. data/db/cms_fixtures/cms/layouts/about-us/services/attributes.yml +0 -4
  272. data/db/cms_fixtures/cms/layouts/about-us/services/content.html +0 -32
  273. data/db/cms_fixtures/cms/layouts/about-us/services/javascript.js +0 -0
  274. data/db/cms_fixtures/cms/layouts/about-us/services/stylesheet.css +0 -0
  275. data/db/cms_fixtures/cms/layouts/about-us/stylesheet.css +0 -0
  276. data/db/cms_fixtures/cms/layouts/default-layout/attributes.yml +0 -4
  277. data/db/cms_fixtures/cms/layouts/default-layout/content.html +0 -51
  278. data/db/cms_fixtures/cms/layouts/default-layout/javascript.js +0 -0
  279. data/db/cms_fixtures/cms/layouts/default-layout/stylesheet.css +0 -0
  280. data/db/cms_fixtures/cms/pages/index/about-us/attributes.yml +0 -8
  281. data/db/cms_fixtures/cms/pages/index/about-us/people/attributes.yml +0 -8
  282. data/db/cms_fixtures/cms/pages/index/about-us/people/de/attributes.yml +0 -8
  283. data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_details_a.html +0 -1
  284. data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_details_b.html +0 -1
  285. data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_details_c.html +0 -1
  286. data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_details_d.html +0 -1
  287. data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_img_url_a.html +0 -1
  288. data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_img_url_b.html +0 -1
  289. data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_img_url_c.html +0 -1
  290. data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_img_url_d.html +0 -1
  291. data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_name_a.html +0 -1
  292. data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_name_b.html +0 -1
  293. data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_name_c.html +0 -1
  294. data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_name_d.html +0 -1
  295. data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_title_a.html +0 -1
  296. data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_title_b.html +0 -1
  297. data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_title_c.html +0 -1
  298. data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_title_d.html +0 -1
  299. data/db/cms_fixtures/cms/pages/index/about-us/people/en/attributes.yml +0 -8
  300. data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_details_a.html +0 -1
  301. data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_details_b.html +0 -1
  302. data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_details_c.html +0 -1
  303. data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_details_d.html +0 -1
  304. data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_img_url_a.html +0 -1
  305. data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_img_url_b.html +0 -1
  306. data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_img_url_c.html +0 -1
  307. data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_img_url_d.html +0 -1
  308. data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_name_a.html +0 -1
  309. data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_name_b.html +0 -1
  310. data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_name_c.html +0 -1
  311. data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_name_d.html +0 -1
  312. data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_title_a.html +0 -1
  313. data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_title_b.html +0 -1
  314. data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_title_c.html +0 -1
  315. data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_title_d.html +0 -1
  316. data/db/cms_fixtures/cms/pages/index/about-us/people/es/attributes.yml +0 -8
  317. data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_details_a.html +0 -1
  318. data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_details_b.html +0 -1
  319. data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_details_c.html +0 -1
  320. data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_details_d.html +0 -1
  321. data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_img_url_a.html +0 -1
  322. data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_img_url_b.html +0 -1
  323. data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_img_url_c.html +0 -1
  324. data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_img_url_d.html +0 -1
  325. data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_name_a.html +0 -1
  326. data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_name_b.html +0 -1
  327. data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_name_c.html +0 -1
  328. data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_name_d.html +0 -1
  329. data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_title_a.html +0 -1
  330. data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_title_b.html +0 -1
  331. data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_title_c.html +0 -1
  332. data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_title_d.html +0 -1
  333. data/db/cms_fixtures/cms/pages/index/about-us/people/pt/attributes.yml +0 -8
  334. data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_details_a.html +0 -1
  335. data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_details_b.html +0 -1
  336. data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_details_c.html +0 -1
  337. data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_details_d.html +0 -1
  338. data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_name_a.html +0 -1
  339. data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_name_b.html +0 -1
  340. data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_name_c.html +0 -1
  341. data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_name_d.html +0 -1
  342. data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_title_a.html +0 -1
  343. data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_title_b.html +0 -1
  344. data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_title_c.html +0 -1
  345. data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_title_d.html +0 -1
  346. data/db/cms_fixtures/cms/pages/index/about-us/people/ru/attributes.yml +0 -8
  347. data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_details_a.html +0 -1
  348. data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_details_b.html +0 -1
  349. data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_details_c.html +0 -1
  350. data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_details_d.html +0 -1
  351. data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_img_url_a.html +0 -1
  352. data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_img_url_b.html +0 -1
  353. data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_img_url_c.html +0 -1
  354. data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_img_url_d.html +0 -1
  355. data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_name_a.html +0 -1
  356. data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_name_b.html +0 -1
  357. data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_name_c.html +0 -1
  358. data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_name_d.html +0 -1
  359. data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_title_a.html +0 -1
  360. data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_title_b.html +0 -1
  361. data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_title_c.html +0 -1
  362. data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_title_d.html +0 -1
  363. data/db/cms_fixtures/cms/pages/index/about-us/services/attributes.yml +0 -8
  364. data/db/cms_fixtures/cms/pages/index/about-us/services/content_a.html +0 -1
  365. data/db/cms_fixtures/cms/pages/index/about-us/services/content_b.html +0 -0
  366. data/db/cms_fixtures/cms/pages/index/about-us/services/content_c.html +0 -0
  367. data/db/cms_fixtures/cms/pages/index/about-us/services/de/attributes.yml +0 -8
  368. data/db/cms_fixtures/cms/pages/index/about-us/services/de/content_a.html +0 -1
  369. data/db/cms_fixtures/cms/pages/index/about-us/services/de/content_b.html +0 -1
  370. data/db/cms_fixtures/cms/pages/index/about-us/services/de/content_c.html +0 -1
  371. data/db/cms_fixtures/cms/pages/index/about-us/services/de/title_a.html +0 -1
  372. data/db/cms_fixtures/cms/pages/index/about-us/services/de/title_b.html +0 -1
  373. data/db/cms_fixtures/cms/pages/index/about-us/services/de/title_c.html +0 -1
  374. data/db/cms_fixtures/cms/pages/index/about-us/services/en/attributes.yml +0 -8
  375. data/db/cms_fixtures/cms/pages/index/about-us/services/en/content_a.html +0 -1
  376. data/db/cms_fixtures/cms/pages/index/about-us/services/en/content_b.html +0 -1
  377. data/db/cms_fixtures/cms/pages/index/about-us/services/en/content_c.html +0 -1
  378. data/db/cms_fixtures/cms/pages/index/about-us/services/en/title_a.html +0 -1
  379. data/db/cms_fixtures/cms/pages/index/about-us/services/en/title_b.html +0 -1
  380. data/db/cms_fixtures/cms/pages/index/about-us/services/en/title_c.html +0 -1
  381. data/db/cms_fixtures/cms/pages/index/about-us/services/es/attributes.yml +0 -8
  382. data/db/cms_fixtures/cms/pages/index/about-us/services/es/content_a.html +0 -1
  383. data/db/cms_fixtures/cms/pages/index/about-us/services/es/content_b.html +0 -1
  384. data/db/cms_fixtures/cms/pages/index/about-us/services/es/content_c.html +0 -1
  385. data/db/cms_fixtures/cms/pages/index/about-us/services/es/title_a.html +0 -1
  386. data/db/cms_fixtures/cms/pages/index/about-us/services/es/title_b.html +0 -1
  387. data/db/cms_fixtures/cms/pages/index/about-us/services/es/title_c.html +0 -1
  388. data/db/cms_fixtures/cms/pages/index/about-us/services/title_a.html +0 -1
  389. data/db/cms_fixtures/cms/pages/index/about-us/services/title_b.html +0 -0
  390. data/db/cms_fixtures/cms/pages/index/about-us/services/title_c.html +0 -0
  391. data/db/cms_fixtures/cms/pages/index/attributes.yml +0 -8
  392. data/db/cms_fixtures/cms/pages/index/content.html +0 -1
  393. data/db/cms_fixtures/cms/pages/index/title.html +0 -0
  394. data/db/cms_fixtures/cms/snippets/snippet1/attributes.yml +0 -3
  395. data/db/cms_fixtures/cms/snippets/snippet1/content.html +0 -1
  396. data/db/cms_fixtures/sample-site/categories/files.yml +0 -1
  397. data/db/cms_fixtures/sample-site/categories/pages.yml +0 -1
  398. data/db/cms_fixtures/sample-site/categories/snippets.yml +0 -1
  399. data/db/cms_fixtures/sample-site/files/_sample.jpg.yml +0 -5
  400. data/db/cms_fixtures/sample-site/files/sample.jpg +0 -0
  401. data/db/cms_fixtures/sample-site/layouts/default/attributes.yml +0 -1
  402. data/db/cms_fixtures/sample-site/layouts/default/content.html +0 -5
  403. data/db/cms_fixtures/sample-site/layouts/default/javascript.js +0 -1
  404. data/db/cms_fixtures/sample-site/layouts/default/nested/attributes.yml +0 -2
  405. data/db/cms_fixtures/sample-site/layouts/default/nested/content.haml +0 -3
  406. data/db/cms_fixtures/sample-site/layouts/default/nested/javascript.js +0 -1
  407. data/db/cms_fixtures/sample-site/layouts/default/nested/stylesheet.css +0 -1
  408. data/db/cms_fixtures/sample-site/layouts/default/stylesheet.css +0 -1
  409. data/db/cms_fixtures/sample-site/pages/index/attributes.yml +0 -6
  410. data/db/cms_fixtures/sample-site/pages/index/child/attributes.yml +0 -3
  411. data/db/cms_fixtures/sample-site/pages/index/child/left.haml +0 -1
  412. data/db/cms_fixtures/sample-site/pages/index/child/right.html +0 -1
  413. data/db/cms_fixtures/sample-site/pages/index/child/thumbnail.png +0 -0
  414. data/db/cms_fixtures/sample-site/pages/index/content.html +0 -2
  415. data/db/cms_fixtures/sample-site/snippets/default/attributes.yml +0 -4
  416. data/db/cms_fixtures/sample-site/snippets/default/content.html +0 -1
  417. data/db/migrate/20170315212222_translate_sections.rb +0 -15
  418. data/db/migrate/20170513221300_create_cms.rb +0 -133
  419. data/lib/pwb/cms_data_loader.rb +0 -38
  420. data/spec/dummy/log/development.log +0 -0
  421. data/spec/dummy/log/test.log +0 -0
  422. data/spec/dummy/public/uploads/pwb/content_photo/image/1/carousel_windows.jpg +0 -0
  423. data/spec/dummy/public/uploads/pwb/content_photo/image/2/carousel_deck_chair.jpg +0 -0
  424. data/spec/dummy/public/uploads/pwb/content_photo/image/3/carousel_grass.jpg +0 -0
  425. data/spec/dummy/public/uploads/pwb/content_photo/image/4/carousel_grass.jpg +0 -0
  426. data/spec/dummy/public/uploads/pwb/prop_photo/image/1/flat_balcony.jpg +0 -0
  427. data/spec/dummy/public/uploads/pwb/prop_photo/image/1/gdaje3atcct1gx2ngv9u.jpg +0 -0
  428. data/spec/dummy/public/uploads/pwb/prop_photo/image/1/new_villa.jpg +0 -0
  429. data/spec/dummy/public/uploads/pwb/prop_photo/image/2/flat_balcony.jpg +0 -0
  430. data/spec/dummy/public/uploads/pwb/prop_photo/image/2/kitchen_modern.jpg +0 -0
  431. data/spec/dummy/public/uploads/pwb/prop_photo/image/2/rxo23syongfydjpoizrd.jpg +0 -0
  432. data/spec/dummy/public/uploads/pwb/prop_photo/image/3/mansion_front.jpg +0 -0
  433. data/spec/dummy/public/uploads/pwb/prop_photo/image/3/vzlptgtccsk2d2ewp4id.jpg +0 -0
  434. data/spec/dummy/public/uploads/pwb/prop_photo/image/4/mansion_bedroom.jpg +0 -0
  435. data/spec/dummy/public/uploads/pwb/prop_photo/image/4/xwayprwnmmmhrzrgwvch.jpg +0 -0
  436. data/spec/dummy/public/uploads/pwb/prop_photo/image/5/flat_window.jpg +0 -0
  437. data/spec/dummy/public/uploads/pwb/prop_photo/image/5/ilxn2u37bak0v60u6f8q.jpg +0 -0
  438. data/spec/dummy/public/uploads/pwb/prop_photo/image/6/kitchen_classic.jpg +0 -0
  439. data/spec/dummy/public/uploads/pwb/prop_photo/image/7/flat_balcony.jpg +0 -0
  440. data/spec/dummy/public/uploads/pwb/prop_photo/image/8/lounge_cosy.jpg +0 -0
  441. data/spec/factories/pwb_sections.rb +0 -4
  442. data/spec/models/pwb/section_spec.rb +0 -11
@@ -1,5 +1,47 @@
1
1
  ru:
2
2
  admin:
3
+ pages:
4
+ aboutUs: About us
5
+ sell: Sell
6
+ landing: Landing
7
+ legal: Legal
8
+ pageSections:
9
+ notEditable:
10
+ This section cannot be edited
11
+ contactUsFormAndMap:
12
+ title: Form and Map
13
+ info: Contact us form and map
14
+ pageTitle: Page title
15
+ services:
16
+ title: Services you offer
17
+ info: An overview of the services you offer
18
+ people:
19
+ title: Your team
20
+ info: Summary info about your team
21
+ # landingCarousel:
22
+ # title: Home page carousel
23
+ # info: Main section displaying images and text
24
+ rawHtml:
25
+ title: HTML Content
26
+ info: You can add extra HTML here
27
+ topRentals:
28
+ title: Top Rentals
29
+ info: Summary list of properties to rent
30
+ topSales:
31
+ title: Top Sales
32
+ info: Summary list of properties for sale
33
+ contactUsForm:
34
+ title: Contact us form
35
+ info: Form to allow visitors to send you a message
36
+ # aboutUs:
37
+ # title: Text and photo
38
+ # info: A little bit about your business
39
+ ourAgency:
40
+ title: About our agency
41
+ info: A little bit about your business
42
+ landingHero:
43
+ title: Main header
44
+ info: Large image and text highlighting your busi
3
45
  "true": "true"
4
46
  "false": "false"
5
47
  "yes": "да"
@@ -65,6 +107,7 @@ ru:
65
107
  legalAdvice: "Соглашение с пользователем"
66
108
  privacyPolicy: "Политика конфиденциальности"
67
109
  adminSections:
110
+ pages: Pages
68
111
  import: Импорт данных
69
112
  start: Главная
70
113
  agencyDetails: Агенство
@@ -107,12 +150,12 @@ ru:
107
150
  suffixFr: in French
108
151
  privacyPolicy: Политика конфиденциальности
109
152
  legalAdvice: Соглашение с пользователем
110
- landingcarousel: Текст для фотографии слайдера
111
- cac1: Колонка 1
112
- cac2: Колонка 2
113
- cac3: Колонка 3
114
- landingPageHero: Контент для главной страницы
115
- tagLine: Поле тэга
153
+ # landingcarousel: Текст для фотографии слайдера
154
+ # cac1: Колонка 1
155
+ # cac2: Колонка 2
156
+ # cac3: Колонка 3
157
+ # landingPageHero: Контент для главной страницы
158
+ # tagLine: Поле тэга
116
159
  aboutUs: О нас
117
160
  footerInfo: Дополнительный контент для футера
118
161
 
@@ -0,0 +1,137 @@
1
+ # https://raw.githubusercontent.com/tigrish/devise-i18n/master/rails/locales/it.yml
2
+ it:
3
+ activerecord:
4
+ attributes:
5
+ user:
6
+ confirmation_sent_at: Conferma inviata a
7
+ confirmation_token: Token di conferma
8
+ confirmed_at: Confermato il
9
+ created_at: Creato il
10
+ current_password: Password corrente
11
+ current_sign_in_at: Accesso corrente il
12
+ current_sign_in_ip: IP accesso corrente
13
+ email: Email
14
+ encrypted_password: Password criptata
15
+ failed_attempts: Tentativi falliti
16
+ last_sign_in_at: Ultimo accesso il
17
+ last_sign_in_ip: Ultimo IP di accesso
18
+ locked_at: Bloccato il
19
+ password: Password
20
+ password_confirmation: Conferma password
21
+ remember_created_at: Ricordami creato il
22
+ remember_me: Ricordami
23
+ reset_password_sent_at: Reset password inviata a
24
+ reset_password_token: Token di reset password
25
+ sign_in_count: Numero di accessi
26
+ unconfirmed_email: Email non confermata
27
+ unlock_token: Token di sblocco
28
+ updated_at: Aggiornato il
29
+ models:
30
+ user: Utente
31
+ devise:
32
+ confirmations:
33
+ confirmed: Il tuo account è stato correttamente confermato.
34
+ new:
35
+ resend_confirmation_instructions: Invia di nuovo le istruzioni per la conferma
36
+ send_instructions: Riceverai un messaggio email con le istruzioni per confermare il tuo account entro qualche minuto.
37
+ send_paranoid_instructions: Se la tua e-mail esiste nel nostro database, riceverai un messaggio email con le istruzioni per confermare il tuo account entro qualche minuto.
38
+ failure:
39
+ already_authenticated: Hai già effettuato l'accesso.
40
+ inactive: Il tuo account non è stato ancora attivato.
41
+ invalid:
42
+ last_attempt: Hai ancora un tentativo prima che l'account venga bloccato.
43
+ locked: Il tuo account è bloccato.
44
+ not_found_in_database:
45
+ timeout: Sessione scaduta, accedere nuovamente per continuare.
46
+ unauthenticated: Devi accedere o registrarti per continuare.
47
+ unconfirmed: Devi confermare il tuo account per continuare.
48
+ mailer:
49
+ confirmation_instructions:
50
+ action: Conferma il mio account
51
+ greeting: Benvenuto %{recipient}!
52
+ instruction: 'Puoi confermare il tuo account cliccando sul link qui sotto:'
53
+ subject: Istruzioni per la conferma
54
+ password_change:
55
+ greeting: Ciao %{recipient}!
56
+ message: Ti stiamo contattando per notificarti che la tua password è stata modificata.
57
+ subject: Password modificata
58
+ reset_password_instructions:
59
+ action: Cambia la mia password
60
+ greeting: Ciao %{recipient}!
61
+ instruction: Qualcuno ha richiesto di resettare la tua password, se lo vuoi davvero puoi farlo cliccando sul link qui sotto.
62
+ instruction_2: Se non sei stato tu ad effettuare questa richiesta puoi ignorare questa mail.
63
+ instruction_3: La tua password non cambierà finchè non accederai al link sopra.
64
+ subject: Istruzioni per reimpostare la password
65
+ unlock_instructions:
66
+ action: Sblocca il mio account
67
+ greeting: Ciao %{recipient}!
68
+ instruction: 'Clicca sul link qui sotto per sbloccare il tuo account:'
69
+ message: Il tuo account è stato bloccato a seguito di un numero eccessivo di tentativi di accesso falliti.
70
+ subject: Istruzioni per sbloccare l'account
71
+ omniauth_callbacks:
72
+ failure: Non è stato possibile autorizzarti da %{kind} perchè "%{reason}".
73
+ success: Autorizzato con successo dall'account %{kind}.
74
+ passwords:
75
+ edit:
76
+ change_my_password: Cambia la mia password
77
+ change_your_password: Cambia la tua password
78
+ confirm_new_password: Conferma la nuova password
79
+ new_password: Nuova password
80
+ new:
81
+ forgot_your_password: Password dimenticata?
82
+ send_me_reset_password_instructions: Inviami le istruzioni per resettare la password
83
+ no_token: Puoi accedere a questa pagina solamente dalla email di reset della password. Se vieni dalla email controlla di aver inserito l'url completo riportato nella email.
84
+ send_instructions: Riceverai un messaggio email con le istruzioni per reimpostare la tua password entro qualche minuto.
85
+ send_paranoid_instructions: Se la tua e-mail esiste nel nostro database, riceverai un messaggio email contentente un link per il ripristino della password
86
+ updated: La tua password è stata cambiata. Ora sei collegato.
87
+ updated_not_active: La tua password è stata cambiata.
88
+ registrations:
89
+ destroyed: Arrivederci! L'account è stato cancellato. Speriamo di rivederci presto.
90
+ edit:
91
+ are_you_sure: Sei sicuro?
92
+ cancel_my_account: Rimuovi il mio account
93
+ currently_waiting_confirmation_for_email: 'In attesa di conferma per: %{email}'
94
+ leave_blank_if_you_don_t_want_to_change_it: lascia in bianco se non vuoi cambiarla
95
+ title: Modifica %{resource}
96
+ unhappy: Scontento
97
+ update: Aggiorna
98
+ we_need_your_current_password_to_confirm_your_changes: abbiamo bisogno della tua password attuale per confermare i cambiamenti
99
+ new:
100
+ sign_up: Registrati
101
+ signed_up: Iscrizione eseguita correttamente. Se abilitata, una conferma è stata inviata al tuo indirizzo email.
102
+ signed_up_but_inactive: Iscrizione eseguita correttamente. Però non puoi accedere in quanto il tuo account non è ancora attivo.
103
+ signed_up_but_locked: Iscrizione eseguita correttamente. Però non puoi accedere in quanto il tuo account è bloccato.
104
+ signed_up_but_unconfirmed: Ti è stato inviato un messaggio con un link di conferma. Ti invitiamo a visitare il link per attivare il tuo account.
105
+ update_needs_confirmation: Il tuo account è stato aggiornato, ma dobbiamo verificare la tua email. Ti invitiamo a consultare la tua email e cliccare sul link di conferma.
106
+ updated: Il tuo account è stato aggiornato.
107
+ sessions:
108
+ already_signed_out: Sei uscito correttamente.
109
+ new:
110
+ sign_in: Accedi
111
+ signed_in: Accesso effettuato con successo.
112
+ signed_out: Sei uscito correttamente.
113
+ shared:
114
+ links:
115
+ back: Indietro
116
+ didn_t_receive_confirmation_instructions: Non hai ricevuto le istruzioni per la conferma?
117
+ didn_t_receive_unlock_instructions: Non hai ricevuto le istruzioni per lo sblocco?
118
+ forgot_your_password: Password dimenticata?
119
+ sign_in: Accedi
120
+ sign_in_with_provider: Accedi con %{provider}
121
+ sign_up: Registrati
122
+ unlocks:
123
+ new:
124
+ resend_unlock_instructions: Invia di nuovo le istruzioni per lo sblocco
125
+ send_instructions: Riceverai un messaggio email con le istruzioni per sbloccare il tuo account entro qualche minuto.
126
+ send_paranoid_instructions: Se la tua e-mail esiste nel nostro database, riceverai un messaggio email con le istruzioni per sbloccare il tuo account entro qualche minuto.
127
+ unlocked: Il tuo account è stato correttamente sbloccato. Ora sei collegato.
128
+ errors:
129
+ messages:
130
+ already_confirmed: "è stato già confermato"
131
+ confirmation_period_expired: deve essere confermato entro %{period}, richiedi una nuova conferma
132
+ expired: "è scaduto, si prega di richiederne uno nuovo"
133
+ not_found: non trovato
134
+ not_locked: non era bloccato
135
+ not_saved:
136
+ one: 'Non posso salvare questo %{resource}: 1 errore'
137
+ other: 'Non posso salvare questo %{resource}: %{count} errori.'
@@ -50,14 +50,14 @@ en:
50
50
  message: Message
51
51
  name: Name
52
52
  navbar:
53
- aboutUs: About Us
53
+ about-us: About Us
54
54
  admin: Admin
55
- buy: Buy
56
- contactUs: Contact
55
+ buy: Properties to buy
56
+ contact-us: Contact
57
57
  home: Home
58
- legalAdvice: Legal Notice
59
- privacyPolicy: Privacy Policy
60
- rent: Rent
58
+ legal: Legal Notice
59
+ privacy: Privacy Policy
60
+ rent: Properties to rent
61
61
  sell: Sell
62
62
  needCurrentPwd: we need your current password to confirm your changes
63
63
  newPassword: New Password
@@ -75,7 +75,7 @@ en:
75
75
  name: Your name
76
76
  subject: Subject
77
77
  tel: Fixed or mobile
78
- privacyPolicy: Privacy Policy
78
+ # privacyPolicy: Privacy Policy
79
79
  property:
80
80
  description: Description
81
81
  details: Details
@@ -0,0 +1,160 @@
1
+ ---
2
+ it:
3
+ aboutUs: Su di noi
4
+ address: Indirizzo
5
+ back: Indietro
6
+ changePassword: Cambia Password
7
+ contact:
8
+ emailSubject: Contatto dal tuo sito
9
+ error: Spiacenti, è avvenuto un errore.
10
+ success: Grazie per il vostro messaggio. Vi ricontatteremo presto!
11
+ contactUs: Contattaci
12
+ contactUsPrompt: Compilate il seguente modulo per contattarci
13
+ devise:
14
+ user_update_success: Avete aggiornato il vostro account con successo.
15
+ user_update_success_title: Congratulazioni
16
+ editarPropiedad: Modifica una proprietà
17
+ email: Email
18
+ 'false': 'No'
19
+ findAProperty: Trova una proprità
20
+ findByReference: Trova tramite riferimento
21
+ forRent: In Affitto
22
+ forSale: In Vendita
23
+ go: Vai
24
+ labels:
25
+ create: Crea
26
+ edit: Modifica
27
+ latestProperties: Proprietà più recenti
28
+ new: Nuova
29
+ ourServices: I nostri servizi
30
+ save: Salva
31
+ leaveBlank: Lascia in bianco se non vuoi modificarlo
32
+ legalAdvice: Informazioni legali
33
+ listadoPropiedades: Lista delle proprietà
34
+ mailers:
35
+ confirm_registration: Vi preghiamo di confermare il vostro account attraverso il LINK sottostante
36
+ from: Da
37
+ general_enquiry_targeting_agency:
38
+ title: Richiesta di informazioni generiche dal vostro sito
39
+ general_enquiry_targeting_enquirer:
40
+ message_title: ''
41
+ subject: ''
42
+ message: Messaggio
43
+ phone: Tel
44
+ property: Proprietà
45
+ property_enquiry_targeting_agency:
46
+ title: Richiesta di informazioni su una proprietà
47
+ received_on: Ricevuto su
48
+ welcome: Benvenuti
49
+ menu_admin: amministratore
50
+ message: Messaggio
51
+ name: Nome
52
+ navbar:
53
+ about-us: Su di noi
54
+ admin: Amministratore
55
+ buy: Compra
56
+ contact-us: Contattaci
57
+ home: Home
58
+ legal: Informazioni legali
59
+ privacy: Politica sulla riservatezza
60
+ rent: Affitta
61
+ sell: Vendi
62
+ needCurrentPwd: abbiamo bisogno della vostra password attuale per confermare i cambiamenti
63
+ newPassword: Nuova Password
64
+ noResultsForSearch: Spiacenti, nessun risultato
65
+ nuevoPropiedad: Nuova proprietà
66
+ orderBy:
67
+ priceAscending: "↓ Prezzo (ascendente)"
68
+ priceDescending: "↑ Prezzo (decrescente)"
69
+ pages:
70
+ aboutUs: Su di noi
71
+ sell: Vendi
72
+ placeHolders:
73
+ email: La vostra email
74
+ message: Scrivete qui il vostro messaggio
75
+ name: Il vostro nome
76
+ subject: Suggetto
77
+ tel: Fisso o mobile
78
+ # privacyPolicy: Politica sulla riservatezza
79
+ property:
80
+ description: Descrizione
81
+ details: Dettagli
82
+ extras: Specifiche
83
+ furniture: Arredo
84
+ goToProperty: Vai alla proprietà
85
+ highlightedProperty: Proprietà in risalto
86
+ locality: Località
87
+ map: Mappa
88
+ monthlyRentalPriceHighSeason: Prezzo Mensile (Alta Stagione)
89
+ monthlyRentalPriceLowSeason: Prezzo Mensile (Bassa Stagione)
90
+ monthlyRentalPriceStandardSeason: Prezzo Mensile (Media Stagione)
91
+ operationType: Tipo di operazione
92
+ price: Prezzo
93
+ propertyType: Tipo di proprietà
94
+ ref: Ref
95
+ propertyForRent: Proprietà in affitto
96
+ propertyForSale: Propietà in vendita
97
+ propertyNotFound: Proprietà non trovata
98
+ pwb:
99
+ copyright: "%{company_name}. Tutti i diritti riservati."
100
+ createPrompt: Crea il sito della tua agenzia
101
+ createTagLine: Perfavore inserisci i dettagli del tuo account
102
+ getStarted: Inizia adesso
103
+ registerNow: Registrati ora
104
+ tagLine: Siti professionali per agenzie immobiliari in pochi minuti
105
+ tagLineExt: Siti internet stupendi che devono essere visti per poterci credere.<br>Nessuno
106
+ ti mette online più velocemente.
107
+ requestPropertyInfo: Richiedi informazioni
108
+ search: Cerca
109
+ searchForProperties: Cerca proprietà
110
+ selectpicker:
111
+ countSelectedText: Selezionati {0} di {1}
112
+ noneResultsText: Nessun risultato trovato {0}
113
+ noneSelectedText: Nessuna selezione
114
+ send: Invia
115
+ setup:
116
+ claimSubdomain: Ottienu questo URL
117
+ createdSuccessfully: Sito creato con successo
118
+ goToYourSite: Vai al tuo sito
119
+ loggedInAs: 'Accesso effettuato come '
120
+ logout: Esci
121
+ selectUrl: Seleziona un url
122
+ selectUrlMessage: Hai creato un account con successo - adesso scegli l'url
123
+ del tuo nuovo sito
124
+ subdomain: sottodominio
125
+ subdomainMissing: Vi preghiamo di inserire un nome per il sottodominio
126
+ thankYouForTrusting: Grazie per aver scelto %{company_name}
127
+ urlNotAvailable: Spiacenti, questo url non è disponibile
128
+ weAreCreatingSite: Stiamo creando il vostro sito
129
+ signOut: Esci
130
+ simple_form:
131
+ error_notification:
132
+ default_message: 'Vi preghiamo di revisionare i problemi qui sotto:'
133
+ labels:
134
+ search:
135
+ count_bathrooms: Bagni (min)
136
+ count_bedrooms: Camere (min)
137
+ for_rent_price_from: Affitto da (Mensile)
138
+ for_rent_price_till: Affitto a (Mensile)
139
+ for_sale_price_from: Prezzi da
140
+ for_sale_price_till: Prezzi a
141
+ in_locality: Località
142
+ in_zone: Zona
143
+ locality: Località
144
+ property_state: Stato della proprietà
145
+ property_type: Tipologia della proprietà
146
+ 'no': 'No'
147
+ required:
148
+ mark: "*"
149
+ text: mandatorio
150
+ 'yes': 'Si'
151
+ subject: Soggetto
152
+ tel: Telefono
153
+ 'true': 'Si'
154
+ update: Aggiorna
155
+ webContentSections:
156
+ aboutUs: Su di noi
157
+ contactInformation: Contatti per Informazioni
158
+ home: Home
159
+ sell: Vendi
160
+ tagLine: sotto titolo
@@ -124,6 +124,7 @@ pt:
124
124
  urlNotAvailable: Desculpe, esta URL não está disponível
125
125
  weAreCreatingSite: Estamos criando o seu site
126
126
  signOut: Sair
127
+
127
128
  simple_form:
128
129
  error_notification:
129
130
  default_message: 'Reveja os problemas abaixo:'
@@ -145,6 +146,7 @@ pt:
145
146
  mark: "*"
146
147
  text: requeridos
147
148
  'yes': sim
149
+
148
150
  subject: Sujeito
149
151
  tel: Telefone
150
152
  'true': sim
@@ -0,0 +1,213 @@
1
+ # https://raw.githubusercontent.com/svenfuchs/rails-i18n/master/rails/locale/it.yml
2
+ ---
3
+ it:
4
+ activerecord:
5
+ errors:
6
+ messages:
7
+ record_invalid: 'Validazione fallita: %{errors}'
8
+ restrict_dependent_destroy:
9
+ has_one: Il record non può essere cancellato perchè esiste un %{record} dipendente
10
+ has_many: Il record non può essere cancellato perchè esistono %{record} dipendenti
11
+ date:
12
+ abbr_day_names:
13
+ - dom
14
+ - lun
15
+ - mar
16
+ - mer
17
+ - gio
18
+ - ven
19
+ - sab
20
+ abbr_month_names:
21
+ -
22
+ - gen
23
+ - feb
24
+ - mar
25
+ - apr
26
+ - mag
27
+ - giu
28
+ - lug
29
+ - ago
30
+ - set
31
+ - ott
32
+ - nov
33
+ - dic
34
+ day_names:
35
+ - domenica
36
+ - lunedì
37
+ - martedì
38
+ - mercoledì
39
+ - giovedì
40
+ - venerdì
41
+ - sabato
42
+ formats:
43
+ default: "%d/%m/%Y"
44
+ long: "%d %B %Y"
45
+ short: "%d %b"
46
+ month_names:
47
+ -
48
+ - gennaio
49
+ - febbraio
50
+ - marzo
51
+ - aprile
52
+ - maggio
53
+ - giugno
54
+ - luglio
55
+ - agosto
56
+ - settembre
57
+ - ottobre
58
+ - novembre
59
+ - dicembre
60
+ order:
61
+ - :day
62
+ - :month
63
+ - :year
64
+ datetime:
65
+ distance_in_words:
66
+ about_x_hours:
67
+ one: circa un'ora
68
+ other: circa %{count} ore
69
+ about_x_months:
70
+ one: circa un mese
71
+ other: circa %{count} mesi
72
+ about_x_years:
73
+ one: circa un anno
74
+ other: circa %{count} anni
75
+ almost_x_years:
76
+ one: circa 1 anno
77
+ other: circa %{count} anni
78
+ half_a_minute: mezzo minuto
79
+ less_than_x_minutes:
80
+ one: meno di un minuto
81
+ other: meno di %{count} minuti
82
+ less_than_x_seconds:
83
+ one: meno di un secondo
84
+ other: meno di %{count} secondi
85
+ over_x_years:
86
+ one: oltre un anno
87
+ other: oltre %{count} anni
88
+ x_days:
89
+ one: 1 giorno
90
+ other: "%{count} giorni"
91
+ x_minutes:
92
+ one: 1 minuto
93
+ other: "%{count} minuti"
94
+ x_months:
95
+ one: 1 mese
96
+ other: "%{count} mesi"
97
+ x_years:
98
+ one: 1 anno
99
+ other: "%{count} anni"
100
+ x_seconds:
101
+ one: 1 secondo
102
+ other: "%{count} secondi"
103
+ prompts:
104
+ day: Giorno
105
+ hour: Ora
106
+ minute: Minuto
107
+ month: Mese
108
+ second: Secondi
109
+ year: Anno
110
+ errors:
111
+ format: "%{attribute} %{message}"
112
+ messages:
113
+ accepted: deve essere accettata
114
+ blank: non può essere lasciato in bianco
115
+ present: deve essere lasciato in bianco
116
+ confirmation: non coincide con %{attribute}
117
+ empty: non può essere vuoto
118
+ equal_to: deve essere uguale a %{count}
119
+ even: deve essere pari
120
+ exclusion: è riservato
121
+ greater_than: deve essere maggiore di %{count}
122
+ greater_than_or_equal_to: deve essere maggiore o uguale a %{count}
123
+ inclusion: non è compreso tra le opzioni disponibili
124
+ invalid: non è valido
125
+ less_than: deve essere minore di %{count}
126
+ less_than_or_equal_to: deve essere minore o uguale a %{count}
127
+ not_a_number: non è un numero
128
+ not_an_integer: non è un numero intero
129
+ odd: deve essere dispari
130
+ required: deve esistere
131
+ taken: è già presente
132
+ too_long:
133
+ one: è troppo lungo (il massimo è 1 carattere)
134
+ other: è troppo lungo (il massimo è %{count} caratteri)
135
+ too_short:
136
+ one: è troppo corto (il minimo è 1 carattere)
137
+ other: è troppo corto (il minimo è %{count} caratteri)
138
+ wrong_length:
139
+ one: è della lunghezza sbagliata (deve essere di 1 carattere)
140
+ other: è della lunghezza sbagliata (deve essere di %{count} caratteri)
141
+ other_than: devono essere di numero diverso da %{count}
142
+ template:
143
+ body: 'Ricontrolla i seguenti campi:'
144
+ header:
145
+ one: 'Non posso salvare questo %{model}: 1 errore'
146
+ other: 'Non posso salvare questo %{model}: %{count} errori.'
147
+ helpers:
148
+ select:
149
+ prompt: Seleziona...
150
+ submit:
151
+ create: Crea %{model}
152
+ submit: Invia %{model}
153
+ update: Aggiorna %{model}
154
+ number:
155
+ currency:
156
+ format:
157
+ delimiter: "."
158
+ format: "%n %u"
159
+ precision: 2
160
+ separator: ","
161
+ significant: false
162
+ strip_insignificant_zeros: false
163
+ unit: "€"
164
+ format:
165
+ delimiter: "."
166
+ precision: 2
167
+ separator: ","
168
+ significant: false
169
+ strip_insignificant_zeros: false
170
+ human:
171
+ decimal_units:
172
+ format: "%n %u"
173
+ units:
174
+ billion: Miliardi
175
+ million: Milioni
176
+ quadrillion: Biliardi
177
+ thousand: Mila
178
+ trillion: Bilioni
179
+ unit: ''
180
+ format:
181
+ delimiter: ''
182
+ precision: 3
183
+ significant: true
184
+ strip_insignificant_zeros: true
185
+ storage_units:
186
+ format: "%n %u"
187
+ units:
188
+ byte:
189
+ one: Byte
190
+ other: Byte
191
+ gb: GB
192
+ kb: KB
193
+ mb: MB
194
+ tb: TB
195
+ percentage:
196
+ format:
197
+ delimiter: ''
198
+ format: "%n%"
199
+ precision:
200
+ format:
201
+ delimiter: ''
202
+ support:
203
+ array:
204
+ last_word_connector: " e "
205
+ two_words_connector: " e "
206
+ words_connector: ", "
207
+ time:
208
+ am: am
209
+ formats:
210
+ default: "%a %d %b %Y, %H:%M:%S %z"
211
+ long: "%d %B %Y %H:%M"
212
+ short: "%d %b %H:%M"
213
+ pm: pm