Commit 3ad39cb5 authored by Milan's avatar Milan
Browse files

prepare blog locales

parent 890d1f77
<% content_for :title, t('blogposts.index.title') %> <% content_for :title, t('blog.index.title') %>
<%= auto_discovery_link_tag(:rss, "/blog") %> <%= auto_discovery_link_tag(:rss, "/blog") %>
<h1>Blog</h1> <h1>Blog</h1>
<ul id="posts"> <ul id="posts">
......
<% content_for :title, t('blogposts.show.title') %> <% content_for :title do %>
<%= @blogposts.title %>
<% end %>
<div class="content"> <div class="content">
<h2><%= @blogposts.title %> <h2><%= @blogposts.title %>
<span class="lead pull-right"><%= l @blogposts.created_at, format: :blog_headline %></span></h2> <span class="lead pull-right"><%= l @blogposts.created_at, format: :blog_headline %></span></h2>
<p><%= markdown(@blogposts.body).html_safe %></p> <p><%= markdown(@blogposts.body).html_safe %></p>
<hr> <hr>
<%= link_to t('blogposts.show.all_posts'), blog_index_path, class: "btn btn-default" %> <%= link_to t('blog.show.all_posts'), blog_index_path, class: "btn btn-default" %>
</div> </div>
de: de:
time: time:
formats: formats:
blog_headline: ~ blog_headline: "%d.%m.%Y"
nav: nav:
home: "Home" home: "Home"
rules: "Regeln" rules: "Regeln"
...@@ -190,15 +190,8 @@ de: ...@@ -190,15 +190,8 @@ de:
townhall: townhall:
title: "coeseta's Stadthalle" title: "coeseta's Stadthalle"
headline: "..:: coeseta's stadthalle ::.." headline: "..:: coeseta's stadthalle ::.."
blogposts: blog:
show: index:
title: "Titel" title: "Blog"
show:
all_posts: "Alle Posts" all_posts: "Alle Posts"
edit_post: "Editieren"
delete_post: "Löschen"
edit:
title: "Post editieren"
header: "Editieren von"
...@@ -165,7 +165,6 @@ en: ...@@ -165,7 +165,6 @@ en:
wool: "Part of the original Minetest game" wool: "Part of the original Minetest game"
xdecor: "Workbench, Enchanting table and other interesting stuff." xdecor: "Workbench, Enchanting table and other interesting stuff."
xpanes: "Part of the original Minetest game." xpanes: "Part of the original Minetest game."
screenshots: screenshots:
index: index:
title: "Official Screenshots" title: "Official Screenshots"
...@@ -190,4 +189,9 @@ en: ...@@ -190,4 +189,9 @@ en:
headline: "..:: coeseta's tower of madness ::.." headline: "..:: coeseta's tower of madness ::.."
townhall: townhall:
title: "coeseta's Townhall" title: "coeseta's Townhall"
headline: "..:: coeseta's townhall ::.." headline: "..:: coeseta's townhall ::.."
blog:
index:
title: "Blog"
show:
all_posts: "All Posts"
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