Commit da22df9e by Mykhailo Makohin

someprogres in localization

parent 61c40a43
......@@ -6,12 +6,11 @@
#1.tab-pane.tab-pane_people.active
.main_head_title
= image_tag ("logo_lg.png")
%h1 Середовище Тепле Місто
.title_highlighted
Простір міста формюють його жителі
%h1= t ("body.title")
.title_highlighted= t ("body.title_highlighted")
.tab-pane_content
.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
.counter
.counter_value
......@@ -34,7 +33,7 @@
.counter_digit
%span 0
.counter_gradient_top
.counter_text Обєднаних людей
.counter_text= t ("body.joined_people")
.counter.counter_violet
.counter_value
.counter_digit
......@@ -53,7 +52,7 @@
.counter_digit
%span 0
.counter_gradient_top
.counter_text Зібраних коштів (грн)
.counter_text= t ("body.colected_money")
.cubes_wrap
.cubes_inner_wrap
#cube-wall.cube-wall
......
......@@ -37,7 +37,7 @@
%li.active
%a{"data-toggle" => "tab", :href => "#1"}= t 'header.people'
%li
%a{"data-toggle" => "tab", :href => "#2"} Бізнеси
%a{"data-toggle" => "tab", :href => "#2"}= t 'header.businesses'
.show_tip
Ознайомтесь з дружніми бізнесами
які допомагають формувати
......@@ -48,6 +48,6 @@
%button.login_btn{"data-target" => "#modal3", "data-toggle" => "modal"}
= image_tag ("login.png")
.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
%i.icon.icon_search
\ No newline at end of file
......@@ -14,22 +14,23 @@
#bs-example-navbar-collapse-1.collapse.navbar-collapse
%ul.nav.navbar-nav
%li
%a{:href => "#"} про палатформу
%a{:href => "#"}= t ("header.platfform")
%li
%a{:href => "#"} Ґранти
%a{:href => "#"}= t ("header.grants")
%li
%a{:href => "#"} Проекти
%li.active
%a{:href => "#"}
Партнери
%span.sr-only (current)
%a{:href => "#"}= t ("header.projects")
%li
%a{:href => "#"} DIGITAL WORKSHOP
%a{:href => "#"}= t ("header.partners")
%li
%a{:href => "#"} Про нас
%a{:href => "#"}= t ("header.digital")
%li
%a{:href => "#"} Новини
%a{:href => "#"}= t ("header.about_us")
%li
%a{:href => "#"} Звіти
%a{:href => "#"}= t ("header.news")
%li
%a{:href => "#"}= t ("header.reports")
%li
%a{:href => "#"} connectif
%li
- if current_user
= link_to('Logout', destroy_user_session_path, method: :delete)
......@@ -9,4 +9,5 @@ Bundler.require(*Rails.groups)
module WarmCity
class Application < Rails::Application
config.i18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}')]
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:
# 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