Skip to content

Commit

Permalink
Move lang to locale for pages index
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannick Francois committed Oct 15, 2013
1 parent bbe4e62 commit 5b96c7a
Show file tree
Hide file tree
Showing 34 changed files with 129 additions and 103 deletions.
13 changes: 7 additions & 6 deletions app/views/admin/pages/index.html.erb
@@ -1,17 +1,18 @@
<%- content_for :page_heading do %>
<i class="icon-large icon-pages"></i><h2 class="page-title"><%= _("Manage pages") %></h2>
<i class="icon-large icon-pages"></i>
<h2 class="page-title"><%= t(".manage_pages") %></h2>
<div class='pull-right'>
<%= link_to(_("New Page"), {controller: 'pages', action: 'new'}, id: 'dialog-link', class: 'btn btn-info') %>
<%= link_to(t(".new_page"), {controller: 'pages', action: 'new'}, id: 'dialog-link', class: 'btn btn-info') %>
</div>
<% end %>

<table class='table table-striped'>
<thead>
<tr class='noborder'>
<th><%= _("Title") %></th>
<th><%= _("Permalink")%></th>
<th><%= _("Author")%></th>
<th><%= _("Date") %></th>
<th><%= t(".title") %></th>
<th><%= t(".permalink")%></th>
<th><%= t(".author")%></th>
<th><%= t(".date") %></th>
</tr>
</thead>
<%= render 'pages' %>
Expand Down
7 changes: 7 additions & 0 deletions config/locales/da.yml
Expand Up @@ -6,6 +6,13 @@ da:
last: "Last"
admin:
pages:
index:
manage_pages: "Administrer sider"
new_page: "New Page"
title: "Titel"
permalink: "Permanent link"
author: "Forfatter"
date: "Dato"
form:
publish: "Udgiv"
title: "Titel"
Expand Down
7 changes: 7 additions & 0 deletions config/locales/de.yml
Expand Up @@ -6,6 +6,13 @@ de:
last: "Last"
admin:
pages:
index:
manage_pages: "Seiten verwalten"
new_page: "New Page"
title: "Titel"
permalink: "Permanenter Link"
author: "Autor"
date: "Date"
form:
publish: "Veröffentlichen"
title: "Titel"
Expand Down
7 changes: 7 additions & 0 deletions config/locales/en.yml
Expand Up @@ -6,6 +6,13 @@ en:
last: "Last"
admin:
pages:
index:
manage_pages: "Manage pages"
new_page: "New Page"
title: "Title"
permalink: "Permalink"
author: "Author"
date: "Date"
form:
publish: "Publish"
title: "Title"
Expand Down
7 changes: 7 additions & 0 deletions config/locales/es-MX.yml
Expand Up @@ -6,6 +6,13 @@ es-MX:
last: "Last"
admin:
pages:
index:
manage_pages: "Administrar P&aacute;ginas"
new_page: "New Page"
title: "T&iacute;tulo"
permalink: "Link permanente"
author: "Autor"
date: "Date"
form:
publish: "Publicar"
title: "T&iacute;tulo"
Expand Down
7 changes: 7 additions & 0 deletions config/locales/fr.yml
Expand Up @@ -6,6 +6,13 @@ fr:
last: "Last"
admin:
pages:
index:
manage_pages: "Administrer les pages"
new_page: "Nouvelle page"
title: "Titre"
permalink: "Lien permanent"
author: "Auteur"
date: "Date"
form:
publish: "Publier"
title: "Titre"
Expand Down
7 changes: 7 additions & 0 deletions config/locales/he-IL.yml
Expand Up @@ -6,6 +6,13 @@ he-IL:
last: "Last"
admin:
pages:
index:
manage_pages: "נהל דפים"
new_page: "New Page"
title: "כותרת"
permalink: "קישור קבוע"
author: "כותב"
date: "תאריך"
form:
publish: "פרסם"
title: "כותרת"
Expand Down
7 changes: 7 additions & 0 deletions config/locales/it.yml
Expand Up @@ -6,6 +6,13 @@ it:
last: "Last"
admin:
pages:
index:
manage_pages: "Gestisci le pagine"
new_page: "New Page"
title: "Titolo"
permalink: "Permalink"
author: "Autore"
date: "Date"
form:
publish: "Pubblica"
title: "Titolo"
Expand Down
7 changes: 7 additions & 0 deletions config/locales/ja.yml
Expand Up @@ -6,6 +6,13 @@ ja:
last: "Last"
admin:
pages:
index:
manage_pages: "ページの管理"
new_page: "New Page"
title: "タイトル"
permalink: "パーマリンク"
author: "投稿者"
date: "日付"
form:
publish: "公開"
title: "タイトル"
Expand Down
7 changes: 7 additions & 0 deletions config/locales/lt.yml
Expand Up @@ -6,6 +6,13 @@ lt:
last: "Last"
admin:
pages:
index:
manage_pages: "Valdyti puslapius"
new_page: "New Page"
title: "Pavadinimas"
permalink: "Nuoroda"
author: "Autorius"
date: "Date"
form:
publish: "Publikuoti"
title: "Pavadinimas"
Expand Down
7 changes: 7 additions & 0 deletions config/locales/nb-NO.yml
Expand Up @@ -6,6 +6,13 @@ nb-NO:
last: "Last"
admin:
pages:
index:
manage_pages: "Administrer sider"
new_page: "Ny side"
title: "Tittel"
permalink: "Permalenke"
author: "Forfatter"
date: "Dato"
form:
publish: "Publiser"
title: "Tittel"
Expand Down
7 changes: 7 additions & 0 deletions config/locales/nl.yml
Expand Up @@ -6,6 +6,13 @@ nl:
last: "Last"
admin:
pages:
index:
manage_pages: "Beheer pagina's"
new_page: "Nieuwe pagina"
title: "Titel"
permalink: "Permalink"
author: "Auteur"
date: "Datum"
form:
publish: "Publiceer"
title: "Titel"
Expand Down
7 changes: 7 additions & 0 deletions config/locales/pl.yml
Expand Up @@ -6,6 +6,13 @@ pl:
last: "Last"
admin:
pages:
index:
manage_pages: "Zarządzaj stronami"
new_page: "New Page"
title: "Tytuł"
permalink: "Permalink"
author: "Author"
date: "Data"
form:
publish: "Publikuj"
title: "Tytuł"
Expand Down
7 changes: 7 additions & 0 deletions config/locales/pt-BR.yml
Expand Up @@ -6,6 +6,13 @@ pt-BR:
last: "Anterior"
admin:
pages:
index:
manage_pages: "Administrar P&aacute;ginas"
new_page: "New Page"
title: "Título"
permalink: "Link permanente"
author: "Autor"
date: "Date"
form:
publish: "Publicar"
title: "Título"
Expand Down
7 changes: 7 additions & 0 deletions config/locales/ro.yml
Expand Up @@ -6,6 +6,13 @@ ro:
last: "Last"
admin:
pages:
index:
manage_pages: "Listează paginile"
new_page: "New Page"
title: "Titlu"
permalink: "Legătură permanentă"
author: "Autor"
date: "Date"
form:
publish: "Publică"
title: "Titlu"
Expand Down
7 changes: 7 additions & 0 deletions config/locales/ru.yml
Expand Up @@ -6,6 +6,13 @@ ru:
last: "Last"
admin:
pages:
index:
manage_pages: "Manage pages"
new_page: "New Page"
title: "Заголовок"
permalink: "Постоянная ссылка"
author: "Автор"
date: "Дата"
form:
publish: "Опубликовать"
title: "Заголовок"
Expand Down
13 changes: 10 additions & 3 deletions config/locales/zh-CN.yml
Expand Up @@ -6,9 +6,16 @@ zh-CN:
last: "Last"
admin:
pages:
index:
manage_pages: "管理页面"
new_page: "新页面"
title: "标题"
permalink: "固定链接"
author: "作者"
date: "日期"
form:
publish: "发布"
title: "Title"
title: "标题"
images: "Images"
publish_settings: "发布设定"
status: "状态"
Expand Down Expand Up @@ -127,15 +134,15 @@ zh-CN:
drafts: "草稿"
publication_pending: "Publication pending"
search: "搜索"
title: "Title"
title: "标题"
select_a_category: "Select a category"
select_an_author: "Select an author"
publication_date: "Publication date"
filter: "筛选"
form:
public: "Public"
publish: "发布"
title: "Title"
title: "标题"
images: "Images"
excerpt: "摘要"
excerpt_explaination: "摘要对文章的总结,只会显示在首页,不会出现在文章正文。"
Expand Down
7 changes: 7 additions & 0 deletions config/locales/zh-TW.yml
Expand Up @@ -6,6 +6,13 @@ zh-TW:
last: "Last"
admin:
pages:
index:
manage_pages: "管理頁面"
new_page: "New Page"
title: "標題"
permalink: "固定連接"
author: "作者"
date: "Date"
form:
publish: "公開"
title: "標題"
Expand Down
3 changes: 0 additions & 3 deletions lang/da_DK.rb
Expand Up @@ -72,7 +72,6 @@

# app/views/admin/content/index.html.erb
l.store "Search articles that contain ...", "Søg efter artikler der indeholder..."
l.store "Date", "Dato"

# app/views/admin/dashboard/_comments.html.erb
l.store "Latest Comments", "Seneste kommentarer"
Expand Down Expand Up @@ -314,7 +313,6 @@
l.store "Edit User", "Rediger bruger"

# app/views/admin/users/index.html.erb
l.store "Manage users", ""
l.store "New User", "Ny bruger"
l.store "Comments", "Kommentarer"
l.store "State", ""
Expand Down Expand Up @@ -494,7 +492,6 @@
l.store "Macros", "Makroer"
l.store "Manage", "Administrer"
l.store "Manage Categories", "Administrer kategorier"
l.store "Manage Pages", "Administrer sider"
l.store "Manage Resources", "Administrer ressourcer"
l.store "Manage Text Filters", "Administrer text filtre"
l.store "Markup", "Markup"
Expand Down
10 changes: 0 additions & 10 deletions lang/de_DE.rb
Expand Up @@ -108,14 +108,6 @@
l.store "Pages","Seiten"
l.store "Are you sure you want to delete the page", "Sind Sie sicher, diese Seite zu löschen"
l.store "Delete this page", "Diese Seite löschen"

# app/views/admin/pages/index.html.erb
l.store "Manage pages", ""

# app/views/admin/profiles/index.html.erb
l.store "Your profile", ""

# app/views/admin/resources/_mime_edit.html.erb
l.store "Content Type", "Content Type"

# app/views/admin/resources/_pages.html.erb
Expand Down Expand Up @@ -308,7 +300,6 @@
l.store "Edit User", "Benutzer bearbeiten"

# app/views/admin/users/index.html.erb
l.store "Manage users", ""
l.store "New User", "Neuer Benutzer"
l.store "Comments", ""
l.store "State", ""
Expand Down Expand Up @@ -458,7 +449,6 @@
l.store "Macros", "Makros"
l.store "Manage", "Verwalten"
l.store "Manage Categories", "Kategorien verwalten"
l.store "Manage Pages", "Seiten verwalten"
l.store "Manage Resources", "Ressourcen verwalten"
l.store "Manage Text Filters", "Textfilter verwalten"
l.store "Markup", "Markup"
Expand Down
1 change: 0 additions & 1 deletion lang/es_MX.rb
Expand Up @@ -537,7 +537,6 @@
l.store "Macros", "Macros"
l.store "Manage", "Administrar"
l.store "Manage Categories", "Administrar categor&iacute;as"
l.store "Manage Pages", "Administrar P&aacute;ginas"
l.store "Manage Resources", "Administrar Recursos"
l.store "Manage Text Filters", "Configurar Filtros de Texto"
l.store "Markup", "Marcado"
Expand Down
6 changes: 0 additions & 6 deletions lang/fr_FR.rb
Expand Up @@ -147,14 +147,10 @@
l.store "SmartyPants", "SmartyPants"
l.store "Visual", "Éditeur riche"
l.store "Edit article", "Éditer un article"
l.store "Date", "Date"
l.store "Latest Comments", "Derniers commentaires"

l.store "Most popular", "Billets les plus populaires"
l.store "Nothing to show yet", "Rien à afficher pour l'instant"

l.store "Welcome back, %s!", "Bienvenue, %s !"

l.store "Total posts:", "Nombre total d'articles :"
l.store "Your posts:", "Vos articles :"
l.store "Total comments:", "Nombre total de commentaires :"
Expand All @@ -164,8 +160,6 @@
l.store "Page settings", "Paramètres de la page"

# app/views/admin/pages/index.html.erb
l.store "New Page", "Nouvelle page"
l.store "Manage pages", "Administrer les pages"
l.store "All Pages", "Toutes les pages"

# app/views/admin/post_types/new.html.erb
Expand Down
9 changes: 0 additions & 9 deletions lang/he_IL.rb
Expand Up @@ -144,16 +144,8 @@
l.store "Are you sure you want to delete this article", "האם אתה בטוח שברצונך למחוק כתבה זו"
l.store "Delete this article", "מחק כתבה זו"
l.store "Articles", "כתבות"

# app/views/admin/content/index.html.erb
l.store "Date", "תאריך"

# app/views/admin/dashboard/_popular.html.erb
l.store "Most popular", "הכי פופלריים"
l.store "Nothing to show yet", "אין מה להציג כרגע"

# app/views/admin/dashboard/_posts.html.erb
l.store "Latest Posts", ""
l.store "No posts yet, why don't you start and write one", "אין כתבות עדיין, למה שלא תתחיל לכתוב כתבה חדשה"

# app/views/admin/dashboard/_welcome.html.erb
Expand All @@ -168,7 +160,6 @@
l.store "Pages", "דפים"
l.store "Are you sure you want to delete the page", "האם אתה בטוח שברצונך למחוק דף זה ?"
l.store "Delete this page", "מחק דף זה"
l.store "Manage pages", "נהל דפים"
l.store "Content Type", "סוג התוכן"
l.store "Previous page", "הדף הקודם"
l.store "Next page", "הדף הבא"
Expand Down

0 comments on commit 5b96c7a

Please sign in to comment.