mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
Internationalize dashboard_intro partial
This commit is contained in:
parent
0615ae3baa
commit
201448dc95
@ -1,37 +1,18 @@
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="card">
|
||||
<h1 class="card-heading">This is is your dashboard</h1>
|
||||
<div class="card-body">
|
||||
<p>
|
||||
As you plan your stories, you can always return back here to get a view of everything
|
||||
you've created at a glance. To get back here from anywhere, simply click the
|
||||
<strong>Indent</strong> logo up top, or the <span class="glyphicon glyphicon-home"></span> icon next to it.
|
||||
</p>
|
||||
<p>
|
||||
Good luck and have fun!
|
||||
</p>
|
||||
</div>
|
||||
<h1 class="card-heading"><%= t '.card_1_heading' %></h1>
|
||||
<div class="card-body"><%= t '.card_1_body_html' %></div>
|
||||
<div class="card-comments"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="card">
|
||||
<h1 class="card-heading">Ready to get started?</h1>
|
||||
<div class="card-body">
|
||||
<p>
|
||||
Welcome to Indent. Before you get started, it's recommended that you
|
||||
<%= link_to "create a universe", :universe_create %>.
|
||||
</p>
|
||||
<p>
|
||||
This universe will contain
|
||||
everything you create about your world, and is a handy way to keep multiple worlds
|
||||
cleanly separated during the planning process.
|
||||
</p>
|
||||
</div>
|
||||
<h1 class="card-heading"><%= t '.card_2_heading' %></h1>
|
||||
<div class="card-body"><%= t('.card_2_body_html', create_universe_link: link_to(t('.create_universe_link_title'), :universe_create)) %></div>
|
||||
<div class="card-comments">
|
||||
<%= link_to "Create a universe!", :universe_create %>
|
||||
<%= link_to t('.create_universe_button'), :universe_create %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -21,4 +21,21 @@ en:
|
||||
all you have to do is visit <a href="/account">this page</a> and type
|
||||
in the login information you want to use – it's that easy. All of
|
||||
your content will be saved and you can log in to your account with that
|
||||
username in the future.
|
||||
username in the future.
|
||||
dashboard_intro:
|
||||
card_1_heading: This is is your dashboard
|
||||
card_1_body_html: >
|
||||
<p>As you plan your stories, you can always return back here to get a view of everything
|
||||
you've created at a glance. To get back here from anywhere, simply click the
|
||||
<strong>Indent</strong> logo up top, or the
|
||||
<span class="glyphicon glyphicon-home"></span> icon next to it.</p>
|
||||
<p>Good luck and have fun!</p>
|
||||
card_2_heading: Ready to get started?
|
||||
card_2_body_html: >
|
||||
<p>Welcome to Indent. Before you get started, it's recommended that you
|
||||
%{create_universe_link}.</p>
|
||||
<p>This universe will contain
|
||||
everything you create about your world, and is a handy way to keep multiple worlds
|
||||
cleanly separated during the planning process.</p>
|
||||
create_universe_link_title: create a universe
|
||||
create_universe_button: Create a universe!
|
||||
Loading…
Reference in New Issue
Block a user