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