Update translation strings for english and spanish

Jorge Calás Lozano committed May 30, 2011
commit ccc598c898a4a13d88cd3a61758bc034d01ac693
Showing 2 changed files with 73 additions and 19 deletions
config/locales/en.yml +45 -9
@@ @@ -1,4 +1,33 @@
+ # encoding: utf-8
en:
+ attributes:
+ label: "Label"
+ slug: "Slug"
+ parent_id: "Parent"
+ content: "Content"
+
+ activerecord:
+ models:
+ cms/site: "Site"
+ cms/layout: "Layout"
+ cms/page: "Page"
+ cms/snippet: "Snippet"
+ attributes:
+ cms/site:
+ hostname: "Hostname"
+ cms/layout:
+ label: "Layout Name"
+ app_layout: "App Layout"
+ parent_id: "Parent Layout"
+ css: "Stylesheets"
+ js: "Javascript"
+ cms/page:
+ label: "Label"
+ layout_id: "Layout"
+ slug: "Slug"
+ target_page_id: "Redirect to Page"
+ is_published: "Published"
+
cms:
sections:
sites: "Sites"
@@ @@ -6,12 +35,6 @@ en:
pages: "Pages"
snippets: "Snippets"
forms:
- label: "Label"
- hostname: "Hostname"
- slug: "Slug"
- layout: "Layout"
- parent: "Parent"
- content: "Content"
and_continue: "And Continue"
views:
edit: "Edit"
@@ @@ -23,8 +46,6 @@ en:
create_new_layout: "Create new Layout"
add_child_layout: "Add Child Layout"
editing_layout: "Editing Layout"
- layout_name: "Layout Name"
- parent_layout: "Parent Layout"
select_parent_layout: "Select Parent Layout"
app_layout: "App Layout"
select_application_layout: "Select Application Layout"
@@ @@ -41,7 +62,6 @@ en:
add_child_page: "Add Child Page"
create_new_page: "Create new Page"
no_redirect: "No Redirect"
- redirect_to_page: "Redirect to Page"
create_page: "Create Page"
update_page: "Update Page"
@@ @@ -61,3 +81,19 @@ en:
create_new_site: "Create New Site"
create_site: "Create Site"
update_site: "Update Site"
+
+ controllers:
+ sites:
+ default_site: "Default Site"
+ layouts:
+ layout_created: "Layout created"
+ failed_to_create_layout: "Failed to create Layout"
+ layout_updated: "Layout updated"
+ failed_to_update_layout: "Failed to update Layout"
+ layout_deleted: "Layout deleted"
+
+ errors:
+ layout_not_found: "Layout not found"
+ site_not_found: "Site not found"
+ page_not_found: "Page not found"
+ no_site_for_this_hostname: "No site have been created for this hostname. Create it now!"
config/locales/es.yml +28 -10
@@ @@ -1,5 +1,33 @@
# encoding: utf-8
es:
+ attributes:
+ label: "Nombre"
+ slug: "Identificador"
+ parent_id: "Padre"
+ content: "Contenido"
+
+ activerecord:
+ models:
+ cms/site: "Sitio"
+ cms/layout: "Plantilla"
+ cms/page: "Página"
+ cms/snippet: "Fragmento"
+ attributes:
+ cms/site:
+ hostname: "Dirección"
+ cms/layout:
+ label: "Nombre de Plantilla"
+ app_layout: "Plantilla Base"
+ parent_id: "Plantilla Padre"
+ css: "Hoja de Estilo"
+ js: "Javascript"
+ cms/page:
+ label: "Título"
+ layout_id: "Plantilla"
+ slug: "Ruta"
+ target_page_id: "Redirigir a"
+ is_published: "Publicada"
+
cms:
sections:
sites: "Sitios"
@@ @@ -7,12 +35,6 @@ es:
pages: "Páginas"
snippets: "Fragmentos"
forms:
- label: "Rótulo"
- hostname: "Dirección"
- slug: "Ruta"
- layout: "Diseño"
- parent: "Padre"
- content: "Contenido"
and_continue: "Y Continuar Editando"
views:
edit: "Editar"
@@ @@ -24,10 +46,7 @@ es:
create_new_layout: "Crear Nuevo Diseño"
add_child_layout: "Añadir diseño hijo"
editing_layout: "Editando Diseño"
- layout_name: "Nombre del Diseño"
- parent_layout: "Diseño Padre"
select_parent_layout: "Seleccionar diseño padre"
- app_layout: "Diseño (App)"
select_application_layout: "Seleccionar diseño (App)"
create_layout: "Crear Diseño"
update_layout: "Actualizar Diseño"
@@ @@ -42,7 +61,6 @@ es:
add_child_page: "Añadir página hija"
create_new_page: "Crear Nueva Página"
no_redirect: "No Redirigir"
- redirect_to_page: "Redirigir a la Página"
create_page: "Crear Página"
update_page: "Actualizar Página"