mirror of
https://github.com/projekteuler/projekteuler.git
synced 2025-12-10 08:46:41 +01:00
Translate problems/show
This commit is contained in:
parent
6dfdcffc69
commit
545a165752
@ -3,10 +3,10 @@
|
||||
<% end %>
|
||||
|
||||
<div class="page-header">
|
||||
<h1><%= @problem.title %> <small>Problem <%= @problem.id %></small></h1>
|
||||
<h1><%= @problem.title %> <small><%= t '.problem_subtitle', id: @problem.id %></small></h1>
|
||||
</div>
|
||||
<%= link_to new_problem_translation_path(@problem), class: 'btn btn-default btn-sm pull-right' do %>
|
||||
<%= icon :pencil %> Übersetzung verbessern
|
||||
<%= icon :pencil %> <%= t '.improve_translation' %>
|
||||
<% end %>
|
||||
<%= panel do %>
|
||||
<div class="panel-body problem-content">
|
||||
@ -14,5 +14,5 @@
|
||||
</div>
|
||||
<% end %>
|
||||
<div class="text-center">
|
||||
<%= link_to 'Dieses Problem auf projecteuler.net', @problem.original_url, target: '_blank' %>
|
||||
<%= link_to t('.view_original_problem'), @problem.original_url, target: '_blank' %>
|
||||
</div>
|
||||
@ -4,4 +4,8 @@ de:
|
||||
problems:
|
||||
index:
|
||||
not_yet_translated: 'Dieses Problem wurde noch nicht übersetzt.'
|
||||
suggest_translation: 'Übersetzung vorschlagen'
|
||||
suggest_translation: 'Übersetzung vorschlagen'
|
||||
show:
|
||||
improve_translation: 'Übersetzung verbessern'
|
||||
problem_subtitle: 'Problem %{id}'
|
||||
view_original_problem: 'Dieses Problem auf projecteuler.net'
|
||||
Loading…
Reference in New Issue
Block a user