Commit da22df9e by Mykhailo Makohin

someprogres in localization

parent 61c40a43
...@@ -6,12 +6,11 @@ ...@@ -6,12 +6,11 @@
#1.tab-pane.tab-pane_people.active #1.tab-pane.tab-pane_people.active
.main_head_title .main_head_title
= image_tag ("logo_lg.png") = image_tag ("logo_lg.png")
%h1 Середовище Тепле Місто %h1= t ("body.title")
.title_highlighted .title_highlighted= t ("body.title_highlighted")
Простір міста формюють його жителі
.tab-pane_content .tab-pane_content
.bot_btn .bot_btn
%a.btn.btn_main{"data-target" => "#modal", "data-toggle" => "modal"} Підтримати %a.btn.btn_main{"data-target" => "#modal", "data-toggle" => "modal"}= t ("body.btn_main")
.head_couters.clearfix .head_couters.clearfix
.counter .counter
.counter_value .counter_value
...@@ -34,7 +33,7 @@ ...@@ -34,7 +33,7 @@
.counter_digit .counter_digit
%span 0 %span 0
.counter_gradient_top .counter_gradient_top
.counter_text Обєднаних людей .counter_text= t ("body.joined_people")
.counter.counter_violet .counter.counter_violet
.counter_value .counter_value
.counter_digit .counter_digit
...@@ -53,7 +52,7 @@ ...@@ -53,7 +52,7 @@
.counter_digit .counter_digit
%span 0 %span 0
.counter_gradient_top .counter_gradient_top
.counter_text Зібраних коштів (грн) .counter_text= t ("body.colected_money")
.cubes_wrap .cubes_wrap
.cubes_inner_wrap .cubes_inner_wrap
#cube-wall.cube-wall #cube-wall.cube-wall
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
%li.active %li.active
%a{"data-toggle" => "tab", :href => "#1"}= t 'header.people' %a{"data-toggle" => "tab", :href => "#1"}= t 'header.people'
%li %li
%a{"data-toggle" => "tab", :href => "#2"} Бізнеси %a{"data-toggle" => "tab", :href => "#2"}= t 'header.businesses'
.show_tip .show_tip
Ознайомтесь з дружніми бізнесами Ознайомтесь з дружніми бізнесами
які допомагають формувати які допомагають формувати
...@@ -48,6 +48,6 @@ ...@@ -48,6 +48,6 @@
%button.login_btn{"data-target" => "#modal3", "data-toggle" => "modal"} %button.login_btn{"data-target" => "#modal3", "data-toggle" => "modal"}
= image_tag ("login.png") = image_tag ("login.png")
.search_block .search_block
%input#search_field.search_field{:placeholder => "Пошук за іменем... ", :type => "text"}/ %input#search_field.search_field{placeholder: "#{t 'header.find_by_name'}", :type => "text"}/
%button.search_btn %button.search_btn
%i.icon.icon_search %i.icon.icon_search
\ No newline at end of file
...@@ -14,22 +14,23 @@ ...@@ -14,22 +14,23 @@
#bs-example-navbar-collapse-1.collapse.navbar-collapse #bs-example-navbar-collapse-1.collapse.navbar-collapse
%ul.nav.navbar-nav %ul.nav.navbar-nav
%li %li
%a{:href => "#"} про палатформу %a{:href => "#"}= t ("header.platfform")
%li %li
%a{:href => "#"} Ґранти %a{:href => "#"}= t ("header.grants")
%li %li
%a{:href => "#"} Проекти %a{:href => "#"}= t ("header.projects")
%li.active
%a{:href => "#"}
Партнери
%span.sr-only (current)
%li %li
%a{:href => "#"} DIGITAL WORKSHOP %a{:href => "#"}= t ("header.partners")
%li %li
%a{:href => "#"} Про нас %a{:href => "#"}= t ("header.digital")
%li %li
%a{:href => "#"} Новини %a{:href => "#"}= t ("header.about_us")
%li %li
%a{:href => "#"} Звіти %a{:href => "#"}= t ("header.news")
%li
%a{:href => "#"}= t ("header.reports")
%li %li
%a{:href => "#"} connectif %a{:href => "#"} connectif
%li
- if current_user
= link_to('Logout', destroy_user_session_path, method: :delete)
...@@ -9,4 +9,5 @@ Bundler.require(*Rails.groups) ...@@ -9,4 +9,5 @@ Bundler.require(*Rails.groups)
module WarmCity module WarmCity
class Application < Rails::Application class Application < Rails::Application
config.i18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}')] config.i18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}')]
end
end end
en:
header:
platfform: 'about platform'
grants: 'grants'
projects: 'projects'
partners: 'partners'
digital: 'digital workshop'
about_us: 'about us'
news: 'news'
reports: 'reports'
people: 'People'
businesses: 'Businesses'
\ No newline at end of file
uk:
header:
platfform: 'про платформу'
grants: 'Ґранти'
projects: 'Проекти'
partners: 'Партнери'
digital: 'DIGITAL WORKSHOP'
about_us: 'Про нас'
news: 'Новини'
reports: 'Звіти'
people: 'Люди'
businesses: 'Бізнеси'
uk: uk:
# header:
# platfform: 'про платформу'
\ No newline at end of file
uk:
header:
platfform: 'про платформу'
en:
body:
title: 'teple misto platform'
title_highlighted: 'The city space is created by its citizens'
btn_main: 'donate'
joined people: 'joined people'
\ No newline at end of file
uk:
body:
title: 'Середовище Тепле Місто'
title_highlighted: 'Простір міста формюють його жителі'
btn_main: 'Підтримати'
joined_people: 'Обєднаних людей'
colected_money: 'Зібраних коштів (грн)'
\ No newline at end of file
en:
header:
platfform: 'about platform'
\ No newline at end of file
en:
header:
platfform: 'about platform'
grants: 'grants'
projects: 'projects'
partners: 'partners'
digital: 'digital workshop'
about_us: 'about us'
news: 'news'
reports: 'reports'
people: 'People'
businesses: 'Businesses'
find_by_name: 'Find by name'
\ No newline at end of file
uk:
header:
platfform: 'про платформу'
grants: 'Ґранти'
projects: 'Проекти'
partners: 'Партнери'
digital: 'DIGITAL WORKSHOP'
about_us: 'Про нас'
news: 'Новини'
reports: 'Звіти'
people: 'Люди'
businesses: 'Бізнеси'
find_by_name: 'Пошук за іменем...'
\ No newline at end of file
en:
header:
platfform: 'about platform'
grants: 'grants'
projects: 'projects'
partners: 'partners'
digital: 'digital workshop'
about_us: 'about us'
news: 'news'
reports: 'reports'
find_by_name: 'Find by name'
\ No newline at end of file
uk:
header:
platfform: 'про платформу'
grants: 'Ґранти'
projects: 'Проекти'
partners: 'Партнери'
digital: 'DIGITAL WORKSHOP'
about_us: 'Про нас'
news: 'Новини'
reports: 'Звіти'
find_by_name: 'Пошук за іменем...'
uk:
header:
platfform: 'про платформу'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment