Skip to content

Commit

Permalink
Spanish locale bundles, and flags for switching languges
Browse files Browse the repository at this point in the history
  • Loading branch information
lmarkus committed Dec 4, 2013
1 parent 05a32c1 commit 00c4817
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions locales/ES/es/index.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
index.greeting=Bienvenido a la tienda Kraken Store. Su destino para mercancía Kraken.
index.addToCart=Agregar
4 changes: 4 additions & 0 deletions locales/ES/es/layouts/master.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
master.storeName=La Tienda Kraken
master.buy=Compre nuestros productos!
master.edit=Editor de Productos
master.cart=Ver carrito
6 changes: 6 additions & 0 deletions public/templates/layouts/master.dust
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
<li><a href="/cart">{@pre type="content" key="master.cart"/}</a></li>
</ul>
</nav>
<div class="lang">
<ul class="nm-np inline">
<li><a href="/setLanguage/en-us"><img src="/img/us.png" alt="English"></a></li>
<li><a href="/setLanguage/es-es"><img src="/img/es.png" alt="Spanish"></a></li>
</ul>
</div>
</div>
</header>
<div class="wrapper">
Expand Down

0 comments on commit 00c4817

Please sign in to comment.