mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-01-27 02:28:50 +01:00
Translate complete index application.html.erb
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Projekt Euler</title>
|
<title><%= t :site_title %></title>
|
||||||
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
|
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
|
||||||
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
|
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
|
||||||
<%= csrf_meta_tags %>
|
<%= csrf_meta_tags %>
|
||||||
@@ -9,12 +9,12 @@
|
|||||||
<body>
|
<body>
|
||||||
<%= navbar position: :static do %>
|
<%= navbar position: :static do %>
|
||||||
<%= vertical do %>
|
<%= vertical do %>
|
||||||
<%= link_to 'Projekt Euler', root_path %>
|
<%= link_to t(:site_title), root_path %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<%= horizontal do %>
|
<%= horizontal do %>
|
||||||
<%= nav class: 'navbar-left' do %>
|
<%= nav class: 'navbar-left' do %>
|
||||||
<%= link_to 'Problems', problems_path %>
|
<%= link_to Problem.model_name.human(count: 2), problems_path %>
|
||||||
<%= link_to 'Translations', translations_path %>
|
<%= link_to Translation.model_name.human(count: 2), translations_path %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
de:
|
de:
|
||||||
|
site_title: 'Projekt Euler'
|
||||||
date:
|
date:
|
||||||
abbr_day_names:
|
abbr_day_names:
|
||||||
- So
|
- So
|
||||||
|
|||||||
Reference in New Issue
Block a user