fix spelling error in locales

This commit is contained in:
Corey Woodcox 2012-01-18 18:30:12 -07:00 committed by Mario Visic
parent d665a85591
commit 81db1da423
16 changed files with 26 additions and 26 deletions

View File

@ -6,7 +6,7 @@ module Admin::ContentTypesHelper
return @content_types if @content_types
@content_types = current_site.content_types.ordered.
limit(:contents => Locomotive.config.lastest_items_nb).
limit(:contents => Locomotive.config.latest_items_nb).
only(:site_id, :name, :slug, :highlighted_field_name, :content_custom_fields_version, :order_by, :serialized_item_template, :raw_item_template).to_a
if @content_type && @content_type.persisted? && @content_types.index(@content_type) >= MAX_DISPLAYED_CONTENTS

View File

@ -26,7 +26,7 @@ class ContentInstance
after_create :send_notifications
## named scopes ##
scope :latest_updated, :order_by => :updated_at.desc, :limit => Locomotive.config.lastest_items_nb
scope :latest_updated, :order_by => :updated_at.desc, :limit => Locomotive.config.latest_items_nb
## methods ##

View File

@ -40,7 +40,7 @@ class Page
validates_exclusion_of :slug, :in => Locomotive.config.reserved_slugs, :if => Proc.new { |p| p.depth == 0 }
## named scopes ##
scope :latest_updated, :order_by => [[:updated_at, :desc]], :limit => Locomotive.config.lastest_items_nb
scope :latest_updated, :order_by => [[:updated_at, :desc]], :limit => Locomotive.config.latest_items_nb
scope :root, :where => { :slug => 'index', :depth => 0 }
scope :not_found, :where => { :slug => '404', :depth => 0 }
scope :published, :where => { :published => true }

View File

@ -3,7 +3,7 @@
.header
%p= link_to t('admin.pages.index.new'), new_admin_page_url
.inner
%h2!= t('admin.pages.index.lastest_items')
%h2!= t('admin.pages.index.latest_items')
%ul
- current_site.pages.latest_updated.minimal_attributes.each do |page|
%li
@ -18,7 +18,7 @@
%p.edit= link_to t('admin.contents.index.edit'), edit_admin_content_type_url(content_type)
.inner
%h2!= t('admin.contents.index.lastest_items')
%h2!= t('admin.contents.index.latest_items')
%ul
- content_type.latest_updated_contents.each do |content|
%li

View File

@ -46,7 +46,7 @@ Locomotive.configure do |config|
config.delayed_job = false
# configure how many items we display in sub menu in the "Contents" section.
# config.lastest_items_nb = 5
# config.latest_items_nb = 5
# default locale (for now, only en, de, fr, pt-BR and it are supported)
config.default_locale = :en

View File

@ -101,7 +101,7 @@ de:
help: "Seiten sind als Baum organisiert. Du kannst die Seiten also wie Ordner sortieren und verschachteln."
no_items: "Momentan gibt es keine Seiten. Klicke einfach <a href='%{url}'>hier</a>, um die erste Seite zu erstellen."
new: neue Seite
lastest_items: Neueste Seiten
latest_items: Neueste Seiten
new:
title: Neue Seite
help: "Fülle das folgende Formular aus, um eine neue Seite zu erstellen. Nur zur Info: Die Seite wird nicht standardmäßig publiziert!"
@ -244,7 +244,7 @@ de:
download: Elemente herunterladen
new: neues Element
category_noname: "Kein Name"
lastest_items: "Neueste Elemente"
latest_items: "Neueste Elemente"
updated_at: "Aktualisiert am"
list:
no_items: "Momentan gibt es keine Elemente. Klicke einfach <a href='%{url}'>hier</a>, um das erste Element zu erstellen."

View File

@ -101,7 +101,7 @@ en:
help: "Pages are organized as a tree. You can order pages as well as folders"
no_items: "There are no pages for now. Just click <a href=\"%{url}\">here</a> to create the first one."
new: new page
lastest_items: Lastest pages
latest_items: Latest pages
new:
title: New page
help: "Please fill in the below form to create your page. Be careful, by default, the page is not published."
@ -245,7 +245,7 @@ en:
download: download items
new: new item
category_noname: "No name"
lastest_items: "Lastest items"
latest_items: "Lastest items"
updated_at: "Updated at"
list:
no_items: "There are no items for now. Just click <a href=\"%{url}\">here</a> to create the first one."

View File

@ -99,7 +99,7 @@ es:
no_items: "No se ha creado ninguna página aún. Pulse <a href=\"%{url}\">aquí</a> to para crear la primera."
new: Nueva página
lastest_items: Últimas páginas
latest_items: Últimas páginas
new:
title: Nueva página
help: "Por favor rellene el formulario de más abajo para crear su página. ¡Atención! Las páginas, por defecto, están 'no publicadas'."
@ -244,7 +244,7 @@ es:
download: descargar elementos
new: nuevo elemento
category_noname: "Sin nombre"
lastest_items: "Últimos elementos"
latest_items: "Últimos elementos"
updated_at: "Última actualización"
list:
no_items: "No hay ningún elemento. Haga click <a href=\"%{url}\">aquí</a> para crear el primero."

View File

@ -101,7 +101,7 @@ fr:
help: "Les pages sont organisées sous forme d'un arbre. Vous pouvez classes les pages ainsi que les dossiers."
no_items: "Il n'existe pas de page. Vous pouvez commencer par créer une <a href='%{url}'>ici</a>."
new: nouvelle page
lastest_items: Dernières pages
latest_items: Dernières pages
new:
title: Nouvelle page
help: "Remplissez le formulaire ci-dessous pour créer votre page. Attention, par défaut, la page n'est pas publiée."
@ -248,7 +248,7 @@ fr:
download: télécharger éléments
new: nouvel élément
category_noname: "Pas de nom"
lastest_items: "Eléments récents"
latest_items: "Eléments récents"
updated_at: "Mis à jour le"
list:
no_items: "Il n'existe pas d'éléments. Vous pouvez commencer par créer un <a href='%{url}'>ici</a>"

View File

@ -99,7 +99,7 @@ it:
help: "Le pagine sono organizzate ad albero. Puoi ordinarle come se fossero delle cartelle"
no_items: "Per ora non ci sono pagine. Clicca <a href=\"%{url}\">qui</a> per creare la prima pagina."
new: nuova pagina
lastest_items: Ultime pagine
latest_items: Ultime pagine
new:
title: Nuova pagina
help: "Prego, compila il seguente modulo per creare la tua pagina. Fai attenzione, per default, la pagina non è pubblicata."
@ -243,7 +243,7 @@ it:
download: scarica elementi
new: nuovo elemento
category_noname: "Senza nome"
lastest_items: "Ultimi elementi"
latest_items: "Ultimi elementi"
updated_at: "modificato il"
list:
no_items: "Per ora non ci sono elementi. Clicca <a href=\"%{url}\">qui</a> per creare il primo."

View File

@ -91,7 +91,7 @@ nl:
help: "Pagina's zijn georganiseerd als een boom. U kunt zowel pagina's als mappen ordenen"
no_items: "Er zijn momenteel geen pagina's. Klik <a href=\"%{url}\">hier</a> om de eerste pagina te maken."
new: Nieuwe pagina
lastest_items: Laatste pagina's
latest_items: Laatste pagina's
new:
title: Nieuwe pagina
help: "Voer onderstaande formulier in om uw pagina te maken. Opgelet, de pagina is niet gepubliseerd"
@ -227,7 +227,7 @@ nl:
download: download items
new: nieuw item
category_noname: "Geen naam"
lastest_items: "Laatste items"
latest_items: "Laatste items"
updated_at: "Gewijzigd op"
list:
no_items: "Er zijn momenteel geen items. Klik hier <a href=\"%{url}\">here</a> om de eerste te maken."

View File

@ -101,7 +101,7 @@
help: "Sidene er organisert i en trestruktur. Du kan sortere både sider og mapper."
no_items: "Det har ikke blitt opprettet noen sider ennå. Klikk <a href=\"%{url}\">her</a> for lage den første."
new: ny side
lastest_items: Siste sider
latest_items: Siste sider
new:
title: Ny side
help: "Fyll ut skjemaet nedenfor for å opprette en ny side. Publisering er skrudd av som standard."
@ -245,7 +245,7 @@
download: last ned elementer
new: nytt element
category_noname: "Navn mangler"
lastest_items: "Siste elementer"
latest_items: "Siste elementer"
updated_at: "Sist oppdatert"
list:
no_items: "Det har ikke blitt opprettet noen elementer her ennå. Klikk <a href=\"%{url}\">her</a> for å opprette det første."

View File

@ -90,7 +90,7 @@ pt-BR:
help: "As páginas são organizadas como uma árvore. Você pode reordenar as páginas como se fossem pastas"
no_items: "Não existe nenhuma página ainda. Clique <a href=\"%{url}\">aqui</a> para criar a primeira."
new: nova página
lastest_items: Últmas páginas
latest_items: Últmas páginas
new:
title: Nova página
help: "Por favor, preencha o formulário a seguir para criar sua página. Atenção: Por padrão a página não é publicada."
@ -223,7 +223,7 @@ pt-BR:
download: download dos itens
new: novo item
category_noname: "Sem nome"
lastest_items: "Últimos itens"
latest_items: "Últimos itens"
updated_at: "Atualizado em"
list:
no_items: "Não existem itens ainda. Clique <a href=\"%{url}\">aqui</a> para criar o primeiro."

View File

@ -101,7 +101,7 @@ ru:
help: "Страницы организованы в виде дерева. Вы можете сортировать как страницы, так и папки"
no_items: "There are no pages for now. Just click <a href=\"%{url}\">here</a> to create the first one."
new: новая страница
lastest_items: Страницы за последнее время
latest_items: Страницы за последнее время
new:
title: Новая страница
help: "Заполните форму, приведенную ниже, для создания страницы. Будьте осторожны, по умолчанию, страница не опубликована."
@ -244,7 +244,7 @@ ru:
download: скачать элементы
new: новый элемент
category_noname: "Без имени"
lastest_items: "Элементы за последнее время"
latest_items: "Элементы за последнее время"
updated_at: "Обновлено"
list:
no_items: "На данный момент нет ни одного элемента. Нажмите <a href=\"%{url}\">здесь</a> для создания первого элемента."

View File

@ -44,7 +44,7 @@ Locomotive.configure do |config|
config.delayed_job = false
# configure how many items we display in sub menu in the "Contents" section.
# config.lastest_items_nb = 5
# config.latest_items_nb = 5
# default locale (for now, only en, de, fr, pt-BR and it are supported)
config.default_locale = :en

View File

@ -16,7 +16,7 @@ module Locomotive
:mailer_sender => 'support', #support@example.com'
:manage_subdomain => false,
:manage_manage_domains => false,
:lastest_items_nb => 5,
:latest_items_nb => 5,
:rack_cache => {
:verbose => true,
:metastore => URI.encode("file:#{Rails.root}/tmp/dragonfly/cache/meta"), # URI encoded in case of spaces