mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
Internationalize application layout
This commit is contained in:
parent
3773e71f9b
commit
8cf88fd5d0
@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<html lang="<%= I18n.locale %>">
|
||||
<head>
|
||||
<title>Indent</title>
|
||||
<%= stylesheet_link_tag "application", :media => "all" %>
|
||||
@ -28,10 +28,10 @@
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<p>
|
||||
Indent ·
|
||||
<a href="/about/attribution">Image Attribution</a> ·
|
||||
<a href="/about/privacy">Privacy Policy</a> ·
|
||||
<a href="https://github.com/drusepth/Indent">Source Code</a>
|
||||
<%= t '.brand' %> ·
|
||||
<%= link_to t('.image_attribution'), attribution_info_path %> ·
|
||||
<%= link_to t('.privacy_policy'), privacy_info_path %> ·
|
||||
<%= link_to t('.source_code'), 'https://github.com/drusepth/Indent' %>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -1,5 +1,10 @@
|
||||
en:
|
||||
layouts:
|
||||
application:
|
||||
brand: Indent
|
||||
image_attribution: Image Attribution
|
||||
privacy_policy: Privacy Policy
|
||||
source_code: Source Code
|
||||
login_box:
|
||||
logged_in_as: Logged in as %{username}
|
||||
my_content: My Content
|
||||
|
||||
Loading…
Reference in New Issue
Block a user