Fixed album controller errors
This commit is contained in:
parent
34d784bbbc
commit
07138041b0
12 changed files with 406 additions and 508 deletions
|
|
@ -17,7 +17,7 @@ class AlbumsController < ApplicationController
|
||||||
def create
|
def create
|
||||||
aspect = params[:album][:to]
|
aspect = params[:album][:to]
|
||||||
@album = current_user.post(:album, params[:album])
|
@album = current_user.post(:album, params[:album])
|
||||||
flash[:notice] = I18n.t('albums.create.success', :name => @album.name)
|
flash[:notice] = I18n.t 'albums.create.success', :name => @album.name
|
||||||
redirect_to :action => :show, :id => @album.id, :aspect => aspect
|
redirect_to :action => :show, :id => @album.id, :aspect => aspect
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -28,7 +28,7 @@ class AlbumsController < ApplicationController
|
||||||
def destroy
|
def destroy
|
||||||
@album = Album.find_by_id params[:id]
|
@album = Album.find_by_id params[:id]
|
||||||
@album.destroy
|
@album.destroy
|
||||||
flash[:notice] = I18n.t('albums.destroy.success', :name => @album.name)
|
flash[:notice] = I18n.t 'albums.destroy.success', :name => @album.name
|
||||||
respond_with :location => albums_url
|
respond_with :location => albums_url
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -48,10 +48,10 @@ class AlbumsController < ApplicationController
|
||||||
def update
|
def update
|
||||||
@album = Album.find_by_id params[:id]
|
@album = Album.find_by_id params[:id]
|
||||||
if @album.update_attributes params[:album]
|
if @album.update_attributes params[:album]
|
||||||
flash[:notice] = I18n.t('albums.update.success', :name => @album.name)
|
flash[:notice] = I18n.t 'albums.update.success', :name => @album.name
|
||||||
respond_with @album
|
respond_with @album
|
||||||
else
|
else
|
||||||
flash[:error] = I18n.t('albums.update.failure', :name => @album.name)
|
flash[:error] = I18n.t 'albums.update.failure', :name => @album.name
|
||||||
render :action => :edit
|
render :action => :edit
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -30,9 +30,9 @@
|
||||||
= link_to image_tag(photo.url(:thumb_medium)), "#"
|
= link_to image_tag(photo.url(:thumb_medium)), "#"
|
||||||
|
|
||||||
- else
|
- else
|
||||||
You don't have any photos! Go to the
|
=t('.you_dont_have_any_photos')
|
||||||
= link_to t('.albums'), albums_path(:aspect => 'all')
|
= link_to t('.albums'), albums_path(:aspect => 'all')
|
||||||
page to upload some.
|
=t('.page_to_upload_some')
|
||||||
|
|
||||||
=will_paginate @photos
|
=will_paginate @photos
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -30,8 +30,6 @@ de:
|
||||||
new_album:
|
new_album:
|
||||||
create: "erstellen"
|
create: "erstellen"
|
||||||
add_a_new_album: "Album hinzufügen"
|
add_a_new_album: "Album hinzufügen"
|
||||||
create:
|
|
||||||
success: Du hast das Album %{name} erstellt.
|
|
||||||
show:
|
show:
|
||||||
edit_album: "Album bearbeiten"
|
edit_album: "Album bearbeiten"
|
||||||
albums: "Alben"
|
albums: "Alben"
|
||||||
|
|
@ -43,14 +41,16 @@ de:
|
||||||
are_you_sure: "Bist du sicher?"
|
are_you_sure: "Bist du sicher?"
|
||||||
delete_album: "Album löschen"
|
delete_album: "Album löschen"
|
||||||
cancel: "Abbrechen"
|
cancel: "Abbrechen"
|
||||||
update:
|
|
||||||
success: Album %{name} erfolgreich geändert.
|
|
||||||
failure: %{name} wurde nicht geändert.
|
|
||||||
index:
|
index:
|
||||||
home: "Startseite"
|
home: "Startseite"
|
||||||
new_album: "Neues Album"
|
new_album: "Neues Album"
|
||||||
|
create:
|
||||||
|
success: "Du hast das Album %{name} erstellt."
|
||||||
|
update:
|
||||||
|
success: "Album %{name} erfolgreich geändert."
|
||||||
|
failure: "%{name} wurde nicht geändert."
|
||||||
destroy:
|
destroy:
|
||||||
success: Album %{name} gelöscht.
|
success: "Album %{name} gelöscht."
|
||||||
aspects:
|
aspects:
|
||||||
index:
|
index:
|
||||||
photos: "Fotos"
|
photos: "Fotos"
|
||||||
|
|
@ -75,6 +75,8 @@ de:
|
||||||
picture: "Bild"
|
picture: "Bild"
|
||||||
editing_profile: "Profil bearbeiten"
|
editing_profile: "Profil bearbeiten"
|
||||||
albums: "Alben"
|
albums: "Alben"
|
||||||
|
you_dont_have_any_photos: "#TODO"
|
||||||
|
page_to_upload_some: "#TODO"
|
||||||
comments:
|
comments:
|
||||||
comment:
|
comment:
|
||||||
# this won't work in german at all. Needs more thorough I18n
|
# this won't work in german at all. Needs more thorough I18n
|
||||||
|
|
|
||||||
264
config/locales/defaults/es.yml
Normal file
264
config/locales/defaults/es.yml
Normal file
|
|
@ -0,0 +1,264 @@
|
||||||
|
# Spanish translations for Rails
|
||||||
|
# by Francisco Fernando García Nieto (ffgarcianieto@gmail.com)
|
||||||
|
|
||||||
|
"es":
|
||||||
|
# Action View
|
||||||
|
number:
|
||||||
|
# Used in number_with_delimiter()
|
||||||
|
# These are also the defaults for 'currency', 'percentage', 'precision', and 'human'
|
||||||
|
format:
|
||||||
|
# Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5)
|
||||||
|
separator: ","
|
||||||
|
# Delimets thousands (e.g. 1,000,000 is a million) (always in groups of three)
|
||||||
|
delimiter: "."
|
||||||
|
# Number of decimals, behind the separator (1 with a precision of 2 gives: 1.00)
|
||||||
|
precision: 3
|
||||||
|
# If set to true, precision will mean the number of significant digits instead
|
||||||
|
# of the number of decimal digits (1234 with precision 2 becomes 1200, 1.23543 becomes 1.2)
|
||||||
|
significant: false
|
||||||
|
# If set, the zeros after the decimal separator will always be stripped (eg.: 1.200 will be 1.2)
|
||||||
|
strip_insignificant_zeros: false
|
||||||
|
|
||||||
|
# Used in number_to_currency()
|
||||||
|
currency:
|
||||||
|
format:
|
||||||
|
# Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
|
||||||
|
format: "%n %u"
|
||||||
|
unit: "€"
|
||||||
|
# These three are to override number.format and are optional
|
||||||
|
separator: ","
|
||||||
|
delimiter: "."
|
||||||
|
precision: 2
|
||||||
|
significant: false
|
||||||
|
strip_insignificant_zeros: false
|
||||||
|
|
||||||
|
# Used in number_to_percentage()
|
||||||
|
percentage:
|
||||||
|
format:
|
||||||
|
# These three are to override number.format and are optional
|
||||||
|
# separator:
|
||||||
|
delimiter: ""
|
||||||
|
# precision:
|
||||||
|
|
||||||
|
# Used in number_to_precision()
|
||||||
|
precision:
|
||||||
|
format:
|
||||||
|
# These three are to override number.format and are optional
|
||||||
|
# separator:
|
||||||
|
delimiter: ""
|
||||||
|
# precision:
|
||||||
|
# significant: false
|
||||||
|
# strip_insignificant_zeros: false
|
||||||
|
|
||||||
|
# Used in number_to_human_size()
|
||||||
|
human:
|
||||||
|
format:
|
||||||
|
# These three are to override number.format and are optional
|
||||||
|
# separator:
|
||||||
|
delimiter: ""
|
||||||
|
precision: 1
|
||||||
|
significant: true
|
||||||
|
strip_insignificant_zeros: true
|
||||||
|
# Used in number_to_human_size()
|
||||||
|
storage_units:
|
||||||
|
format: "%n %u"
|
||||||
|
units:
|
||||||
|
byte:
|
||||||
|
one: "Byte"
|
||||||
|
other: "Bytes"
|
||||||
|
kb: "KB"
|
||||||
|
mb: "MB"
|
||||||
|
gb: "GB"
|
||||||
|
tb: "TB"
|
||||||
|
# Used in number_to_human()
|
||||||
|
decimal_units:
|
||||||
|
format: "%n %u"
|
||||||
|
# Decimal units output formatting
|
||||||
|
# By default we will only quantify some of the exponents
|
||||||
|
# but the commented ones might be defined or overridden
|
||||||
|
# by the user.
|
||||||
|
units:
|
||||||
|
# femto: Quadrillionth
|
||||||
|
# pico: Trillionth
|
||||||
|
# nano: Billionth
|
||||||
|
# micro: Millionth
|
||||||
|
# mili: Thousandth
|
||||||
|
# centi: Hundredth
|
||||||
|
# deci: Tenth
|
||||||
|
unit: ""
|
||||||
|
# ten:
|
||||||
|
# one: Ten
|
||||||
|
# other: Tens
|
||||||
|
# hundred: Hundred
|
||||||
|
thousand: "Mil"
|
||||||
|
million: "Millón"
|
||||||
|
billion: "Mil millones"
|
||||||
|
trillion: "Trillón"
|
||||||
|
quadrillion: "Cuatrillón"
|
||||||
|
|
||||||
|
# Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
|
||||||
|
datetime:
|
||||||
|
distance_in_words:
|
||||||
|
half_a_minute: "medio minuto"
|
||||||
|
less_than_x_seconds:
|
||||||
|
one: "menos de 1 segundo"
|
||||||
|
other: "menos de %{count} segundos"
|
||||||
|
x_seconds:
|
||||||
|
one: "1 segundo"
|
||||||
|
other: "%{count} segundos"
|
||||||
|
less_than_x_minutes:
|
||||||
|
one: "menos de 1 minuto"
|
||||||
|
other: "menos de %{count} minutos"
|
||||||
|
x_minutes:
|
||||||
|
one: "1 minuto"
|
||||||
|
other: "%{count} minutos"
|
||||||
|
about_x_hours:
|
||||||
|
one: "alrededor de 1 hora"
|
||||||
|
other: "alrededor de %{count} horas"
|
||||||
|
x_days:
|
||||||
|
one: "1 día"
|
||||||
|
other: "%{count} días"
|
||||||
|
about_x_months:
|
||||||
|
one: "alrededor de 1 mes"
|
||||||
|
other: "alrededor de %{count} meses"
|
||||||
|
x_months:
|
||||||
|
one: "1 mes"
|
||||||
|
other: "%{count} meses"
|
||||||
|
about_x_years:
|
||||||
|
one: "alrededor de 1 año"
|
||||||
|
other: "alrededor de %{count} años"
|
||||||
|
over_x_years:
|
||||||
|
one: "más de 1 año"
|
||||||
|
other: "más de %{count} años"
|
||||||
|
almost_x_years:
|
||||||
|
one: "casi 1 año"
|
||||||
|
other: "casi %{count} años"
|
||||||
|
prompts:
|
||||||
|
year: "Año"
|
||||||
|
month: "Mes"
|
||||||
|
day: "Día"
|
||||||
|
hour: "Hora"
|
||||||
|
minute: "Minutos"
|
||||||
|
second: "Segundos"
|
||||||
|
|
||||||
|
helpers:
|
||||||
|
select:
|
||||||
|
# Default value for :prompt => true in FormOptionsHelper
|
||||||
|
prompt: "Por favor seleccione"
|
||||||
|
|
||||||
|
# Default translation keys for submit FormHelper
|
||||||
|
submit:
|
||||||
|
create: 'Guardar %{model}'
|
||||||
|
update: 'Actualizar %{model}'
|
||||||
|
submit: 'Guardar %{model}'
|
||||||
|
|
||||||
|
# Attributes names common to most models
|
||||||
|
#attributes:
|
||||||
|
#created_at: "Created at"
|
||||||
|
#updated_at: "Updated at"
|
||||||
|
|
||||||
|
# Active Record models configuration
|
||||||
|
activerecord:
|
||||||
|
errors:
|
||||||
|
messages:
|
||||||
|
taken: "ya está en uso"
|
||||||
|
record_invalid: "La validación falló: %{errors}"
|
||||||
|
# Append your own errors here or at the model/attributes scope.
|
||||||
|
|
||||||
|
# You can define own errors for models or model attributes.
|
||||||
|
# The values :model, :attribute and :value are always available for interpolation.
|
||||||
|
#
|
||||||
|
# For example,
|
||||||
|
# models:
|
||||||
|
# user:
|
||||||
|
# blank: "This is a custom blank message for %{model}: %{attribute}"
|
||||||
|
# attributes:
|
||||||
|
# login:
|
||||||
|
# blank: "This is a custom blank message for User login"
|
||||||
|
# Will define custom blank validation message for User model and
|
||||||
|
# custom blank validation message for login attribute of User model.
|
||||||
|
#models:
|
||||||
|
|
||||||
|
# Translate model names. Used in Model.human_name().
|
||||||
|
#models:
|
||||||
|
# For example,
|
||||||
|
# user: "Dude"
|
||||||
|
# will translate User model name to "Dude"
|
||||||
|
|
||||||
|
# Translate model attribute names. Used in Model.human_attribute_name(attribute).
|
||||||
|
#attributes:
|
||||||
|
# For example,
|
||||||
|
# user:
|
||||||
|
# login: "Handle"
|
||||||
|
# will translate User attribute "login" as "Handle"
|
||||||
|
|
||||||
|
# Active Model
|
||||||
|
errors:
|
||||||
|
# The default format to use in full error messages.
|
||||||
|
format: "%{attribute} %{message}"
|
||||||
|
|
||||||
|
template:
|
||||||
|
header:
|
||||||
|
one: "No se pudo guardar este/a %{model} porque se encontró 1 error"
|
||||||
|
other: "No se pudo guardar este/a %{model} porque se encontraron %{count} errores"
|
||||||
|
# The variable :count is also available
|
||||||
|
body: "Se encontraron problemas con los siguientes campos:"
|
||||||
|
|
||||||
|
# The values :model, :attribute and :value are always available for interpolation
|
||||||
|
# The value :count is available when applicable. Can be used for pluralization.
|
||||||
|
messages:
|
||||||
|
inclusion: "no está incluido en la lista"
|
||||||
|
exclusion: "está reservado"
|
||||||
|
invalid: "no es válido"
|
||||||
|
confirmation: "no coincide con la confirmación"
|
||||||
|
accepted: "debe ser aceptado"
|
||||||
|
empty: "no puede estar vacío"
|
||||||
|
blank: "no puede estar en blanco"
|
||||||
|
too_long: "es demasiado largo (%{count} caracteres máximo)"
|
||||||
|
too_short: "es demasiado corto (%{count} caracteres mínimo)"
|
||||||
|
wrong_length: "no tiene la longitud correcta (%{count} caracteres exactos)"
|
||||||
|
not_a_number: "no es un número"
|
||||||
|
greater_than: "debe ser mayor que %{count}"
|
||||||
|
greater_than_or_equal_to: "debe ser mayor que o igual a %{count}"
|
||||||
|
equal_to: "debe ser igual a %{count}"
|
||||||
|
less_than: "debe ser menor que %{count}"
|
||||||
|
less_than_or_equal_to: "debe ser menor que o igual a %{count}"
|
||||||
|
odd: "debe ser impar"
|
||||||
|
even: "debe ser par"
|
||||||
|
|
||||||
|
# Active Support
|
||||||
|
date:
|
||||||
|
formats:
|
||||||
|
# Use the strftime parameters for formats.
|
||||||
|
# When no format has been given, it uses default.
|
||||||
|
# You can provide other formats here if you like!
|
||||||
|
default: "%e/%m/%Y"
|
||||||
|
short: "%e de %b"
|
||||||
|
long: "%e de %B de %Y"
|
||||||
|
|
||||||
|
day_names: [Domingo, Lunes, Martes, Miércoles, Jueves, Viernes, Sábado]
|
||||||
|
abbr_day_names: [Dom, Lun, Mar, Mie, Jue, Vie, Sab]
|
||||||
|
|
||||||
|
# Don't forget the nil at the beginning; there's no such thing as a 0th month
|
||||||
|
month_names: [~, Enero, Febrero, Marzo, Abril, Mayo, Junio, Julio, Agosto, Septiembre, Octubre, Noviembre, Diciembre]
|
||||||
|
abbr_month_names: [~, Ene, Feb, Mar, Abr, May, Jun, Jul, Ago, Sep, Oct, Nov, Dic]
|
||||||
|
# Used in date_select and datime_select.
|
||||||
|
order:
|
||||||
|
- :day
|
||||||
|
- :month
|
||||||
|
- :year
|
||||||
|
|
||||||
|
time:
|
||||||
|
formats:
|
||||||
|
default: "%A, %e de %B de %Y %H:%M:%S %z"
|
||||||
|
short: "%e de %b %H:%M"
|
||||||
|
long: "%e de %B de %Y %H:%M"
|
||||||
|
am: "am"
|
||||||
|
pm: "pm"
|
||||||
|
|
||||||
|
# Used in array.to_sentence.
|
||||||
|
support:
|
||||||
|
array:
|
||||||
|
words_connector: ", "
|
||||||
|
two_words_connector: " y "
|
||||||
|
last_word_connector: ", y "
|
||||||
|
|
@ -1,115 +0,0 @@
|
||||||
# Copyright (c) 2010, Diaspora Inc. This file is
|
|
||||||
# licensed under the Affero General Public License version 3. See
|
|
||||||
# the COPYRIGHT file.
|
|
||||||
|
|
||||||
|
|
||||||
# Sample localization file for English. Add more files in this directory for other locales.
|
|
||||||
# See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
|
|
||||||
|
|
||||||
en:
|
|
||||||
hello: "Hello world"
|
|
||||||
layouts:
|
|
||||||
application:
|
|
||||||
edit_profile: "edit profile"
|
|
||||||
logout: "logout"
|
|
||||||
shared:
|
|
||||||
aspect_nav:
|
|
||||||
all_aspects: "All Aspects"
|
|
||||||
manage: "Manage"
|
|
||||||
manage_your_aspects: "Manage your Aspects"
|
|
||||||
sub_header:
|
|
||||||
all_aspects: "All Aspects"
|
|
||||||
manage_aspects: "Manage Aspects"
|
|
||||||
publisher:
|
|
||||||
share: "Share"
|
|
||||||
aspect_friends:
|
|
||||||
add_friends: "add friends"
|
|
||||||
albums:
|
|
||||||
album:
|
|
||||||
you: "you"
|
|
||||||
new_album:
|
|
||||||
create: "create"
|
|
||||||
add_a_new_album: "Add a new album"
|
|
||||||
show:
|
|
||||||
edit_album: "Edit Album"
|
|
||||||
albums: "albums"
|
|
||||||
updated: "updated"
|
|
||||||
by: "by"
|
|
||||||
edit:
|
|
||||||
editing: "Editing"
|
|
||||||
updated: "updated"
|
|
||||||
are_you_sure: "Are you sure?"
|
|
||||||
delete_album: "Delete Album"
|
|
||||||
cancel: "Cancel"
|
|
||||||
index:
|
|
||||||
home: "home"
|
|
||||||
new_album: "New Album"
|
|
||||||
aspects:
|
|
||||||
index:
|
|
||||||
photos: "photos"
|
|
||||||
show:
|
|
||||||
photos: "photos"
|
|
||||||
manage:
|
|
||||||
add_a_new_aspect: "Add a new aspect"
|
|
||||||
add_a_new_friend: "Add a new friend"
|
|
||||||
show: "Show"
|
|
||||||
update_aspects: "Update Aspects"
|
|
||||||
requests: "Requests"
|
|
||||||
ignore_remove: "Ignore/Remove"
|
|
||||||
new_aspect:
|
|
||||||
create: "Create"
|
|
||||||
users:
|
|
||||||
edit:
|
|
||||||
cancel: "Cancel"
|
|
||||||
update_profile: "Update Profile"
|
|
||||||
home: "Home"
|
|
||||||
diaspora_username: "DIASPORA USERNAME"
|
|
||||||
info: "Info"
|
|
||||||
picture: "Picture"
|
|
||||||
editing_profile: "Editing profile"
|
|
||||||
albums: "Albums"
|
|
||||||
comments:
|
|
||||||
comment:
|
|
||||||
ago: "ago"
|
|
||||||
new_comment:
|
|
||||||
comment: "Comment"
|
|
||||||
photos:
|
|
||||||
show:
|
|
||||||
prev: "prev"
|
|
||||||
full_size: "full size"
|
|
||||||
next: "next"
|
|
||||||
edit_photo: "Edit Photo"
|
|
||||||
delete_photo: "Delete Photo"
|
|
||||||
are_you_sure: "Are you sure?"
|
|
||||||
comments: "comments"
|
|
||||||
edit:
|
|
||||||
editing: "Editing"
|
|
||||||
are_you_sure: "Are you sure?"
|
|
||||||
delete_photo: "Delete Photo"
|
|
||||||
photo:
|
|
||||||
show_comments: "show comments"
|
|
||||||
new:
|
|
||||||
new_photo: "New Photo"
|
|
||||||
back_to_list: "Back to List"
|
|
||||||
post_it: "post it!"
|
|
||||||
registrations:
|
|
||||||
new:
|
|
||||||
sign_up: "Sign up"
|
|
||||||
status_messages:
|
|
||||||
new_status_message:
|
|
||||||
tell_me_something_good: "tell me something good"
|
|
||||||
oh_yeah: "oh yeah!"
|
|
||||||
status_message:
|
|
||||||
show_comments: "show comments"
|
|
||||||
delete: "Delete"
|
|
||||||
are_you_sure: "Are you sure?"
|
|
||||||
show:
|
|
||||||
status_message: "Status Message"
|
|
||||||
comments: "comments"
|
|
||||||
are_you_sure: "Are you sure?"
|
|
||||||
destroy: "Destroy"
|
|
||||||
view_all: "View All"
|
|
||||||
message: "Message"
|
|
||||||
owner: "Owner"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,114 +0,0 @@
|
||||||
# Copyright (c) 2010, Diaspora Inc. This file is
|
|
||||||
# licensed under the Affero General Public License version 3. See
|
|
||||||
# the COPYRIGHT file.
|
|
||||||
|
|
||||||
|
|
||||||
# Sample localization file for English. Add more files in this directory for other locales.
|
|
||||||
# See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
|
|
||||||
|
|
||||||
|
|
||||||
es:
|
|
||||||
hello: "Hola Mundo"
|
|
||||||
layouts:
|
|
||||||
application:
|
|
||||||
edit_profile: "editar perfil"
|
|
||||||
logout: "desloguear"
|
|
||||||
shared:
|
|
||||||
aspect_nav:
|
|
||||||
all_aspects: "All Aspects"
|
|
||||||
manage: "Manejar"
|
|
||||||
manage_your_aspects: "Manage your Aspects"
|
|
||||||
sub_header:
|
|
||||||
all_aspects: "All Aspects"
|
|
||||||
manage_aspects: "Manage Aspects"
|
|
||||||
publisher:
|
|
||||||
share: "Compartir"
|
|
||||||
aspect_friends:
|
|
||||||
add_friends: "Añade amigos"
|
|
||||||
albums:
|
|
||||||
album:
|
|
||||||
you: "usted"
|
|
||||||
new_album:
|
|
||||||
create: "Crear"
|
|
||||||
add_a_new_album: "Añade un nuevo álbum"
|
|
||||||
show:
|
|
||||||
edit_album: "Editar Álbum"
|
|
||||||
albums: "álbumes"
|
|
||||||
updated: "actualizar"
|
|
||||||
by: "por"
|
|
||||||
edit:
|
|
||||||
editing: "Editando"
|
|
||||||
updated: "actualizado"
|
|
||||||
are_you_sure: "Esta seguro?"
|
|
||||||
delete_album: "Eliminar Album"
|
|
||||||
cancel: "Cancelar"
|
|
||||||
index:
|
|
||||||
home: "home"
|
|
||||||
new_album: "Nuevo Album"
|
|
||||||
aspects:
|
|
||||||
index:
|
|
||||||
photos: "fotos"
|
|
||||||
show:
|
|
||||||
photos: "fotos"
|
|
||||||
manage:
|
|
||||||
add_a_new_aspect: "Añadir nuevo aspecto"
|
|
||||||
add_a_new_friend: "Añadir nuevo amigo"
|
|
||||||
show: "Mostrar"
|
|
||||||
update_aspects: "Actualizar Aspectos"
|
|
||||||
requests: "Requests"
|
|
||||||
ignore_remove: "Ignorar/Remover"
|
|
||||||
new_aspect:
|
|
||||||
create: "Crear"
|
|
||||||
users:
|
|
||||||
edit:
|
|
||||||
cancel: "Cancelar"
|
|
||||||
update_profile: "Actualizar Perfil"
|
|
||||||
home: "Home"
|
|
||||||
diaspora_username: "USUARIO DE DIASPORA"
|
|
||||||
info: "Info"
|
|
||||||
picture: "Picture"
|
|
||||||
editing_profile: "Editando perfil"
|
|
||||||
albums: "Álbums"
|
|
||||||
comments:
|
|
||||||
comment:
|
|
||||||
ago: "atras"
|
|
||||||
new_comment:
|
|
||||||
comment: "Commentario"
|
|
||||||
photos:
|
|
||||||
show:
|
|
||||||
prev: "prev"
|
|
||||||
full_size: "tamaño actual"
|
|
||||||
next: "prox"
|
|
||||||
edit_photo: "Editar Foto"
|
|
||||||
delete_photo: "Eliminar Foto"
|
|
||||||
are_you_sure: "Esta seguro?"
|
|
||||||
comments: "comentarios"
|
|
||||||
edit:
|
|
||||||
editing: "Editando"
|
|
||||||
are_you_sure: "Esta seguro?"
|
|
||||||
delete_photo: "Eliminar Foto"
|
|
||||||
photo:
|
|
||||||
show_comments: "mostrar comentarios"
|
|
||||||
new:
|
|
||||||
new_photo: "Nueva Foto"
|
|
||||||
back_to_list: "Devuelta a la lista"
|
|
||||||
post_it: "post it!"
|
|
||||||
registrations:
|
|
||||||
new:
|
|
||||||
sign_up: "Registrar"
|
|
||||||
status_messages:
|
|
||||||
new_status_message:
|
|
||||||
tell_me_something_good: "dime algo bueno"
|
|
||||||
oh_yeah: "oh yeah!"
|
|
||||||
status_message:
|
|
||||||
show_comments: "mostrar comentarios"
|
|
||||||
delete: "Eliminar"
|
|
||||||
are_you_sure: "Esta seguro?"
|
|
||||||
show:
|
|
||||||
status_message: "Mensaje de status"
|
|
||||||
comments: "comentarios"
|
|
||||||
are_you_sure: "Esta seguro?"
|
|
||||||
destroy: "Destruir"
|
|
||||||
view_all: "Ver Todos"
|
|
||||||
message: "Mensaje"
|
|
||||||
owner: "Dueño"
|
|
||||||
|
|
@ -30,8 +30,6 @@ en:
|
||||||
new_album:
|
new_album:
|
||||||
create: "create"
|
create: "create"
|
||||||
add_a_new_album: "Add a new album"
|
add_a_new_album: "Add a new album"
|
||||||
create:
|
|
||||||
success: You've created an album called %{name}.
|
|
||||||
show:
|
show:
|
||||||
edit_album: "Edit Album"
|
edit_album: "Edit Album"
|
||||||
albums: "albums"
|
albums: "albums"
|
||||||
|
|
@ -43,14 +41,16 @@ en:
|
||||||
are_you_sure: "Are you sure?"
|
are_you_sure: "Are you sure?"
|
||||||
delete_album: "Delete Album"
|
delete_album: "Delete Album"
|
||||||
cancel: "Cancel"
|
cancel: "Cancel"
|
||||||
update:
|
|
||||||
success: Album %{name} successfully edited.
|
|
||||||
failure: Failed to edit album %{name}.
|
|
||||||
index:
|
index:
|
||||||
home: "home"
|
home: "home"
|
||||||
new_album: "New Album"
|
new_album: "New Album"
|
||||||
|
create:
|
||||||
|
success: "You've created an album called %{name}."
|
||||||
|
update:
|
||||||
|
success: "Album %{name} successfully edited."
|
||||||
|
failure: "Failed to edit album %{name}."
|
||||||
destroy:
|
destroy:
|
||||||
success: Album %{name} deleted.
|
success: "Album %{name} deleted."
|
||||||
aspects:
|
aspects:
|
||||||
index:
|
index:
|
||||||
photos: "photos"
|
photos: "photos"
|
||||||
|
|
@ -75,6 +75,8 @@ en:
|
||||||
picture: "Picture"
|
picture: "Picture"
|
||||||
editing_profile: "Editing profile"
|
editing_profile: "Editing profile"
|
||||||
albums: "Albums"
|
albums: "Albums"
|
||||||
|
you_dont_have_any_photos: "You don't have any photos! Go to the"
|
||||||
|
page_to_upload_some: "page to upload some."
|
||||||
comments:
|
comments:
|
||||||
comment:
|
comment:
|
||||||
ago: "ago"
|
ago: "ago"
|
||||||
|
|
|
||||||
|
|
@ -1,264 +1,123 @@
|
||||||
# Spanish translations for Rails
|
# Copyright (c) 2010, Diaspora Inc. This file is
|
||||||
# by Francisco Fernando García Nieto (ffgarcianieto@gmail.com)
|
# licensed under the Affero General Public License version 3. See
|
||||||
|
# the COPYRIGHT file.
|
||||||
|
|
||||||
"es":
|
|
||||||
# Action View
|
|
||||||
number:
|
|
||||||
# Used in number_with_delimiter()
|
|
||||||
# These are also the defaults for 'currency', 'percentage', 'precision', and 'human'
|
|
||||||
format:
|
|
||||||
# Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5)
|
|
||||||
separator: ","
|
|
||||||
# Delimets thousands (e.g. 1,000,000 is a million) (always in groups of three)
|
|
||||||
delimiter: "."
|
|
||||||
# Number of decimals, behind the separator (1 with a precision of 2 gives: 1.00)
|
|
||||||
precision: 3
|
|
||||||
# If set to true, precision will mean the number of significant digits instead
|
|
||||||
# of the number of decimal digits (1234 with precision 2 becomes 1200, 1.23543 becomes 1.2)
|
|
||||||
significant: false
|
|
||||||
# If set, the zeros after the decimal separator will always be stripped (eg.: 1.200 will be 1.2)
|
|
||||||
strip_insignificant_zeros: false
|
|
||||||
|
|
||||||
# Used in number_to_currency()
|
# Sample localization file for English. Add more files in this directory for other locales.
|
||||||
currency:
|
# See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
|
||||||
format:
|
|
||||||
# Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
|
|
||||||
format: "%n %u"
|
|
||||||
unit: "€"
|
|
||||||
# These three are to override number.format and are optional
|
|
||||||
separator: ","
|
|
||||||
delimiter: "."
|
|
||||||
precision: 2
|
|
||||||
significant: false
|
|
||||||
strip_insignificant_zeros: false
|
|
||||||
|
|
||||||
# Used in number_to_percentage()
|
|
||||||
percentage:
|
|
||||||
format:
|
|
||||||
# These three are to override number.format and are optional
|
|
||||||
# separator:
|
|
||||||
delimiter: ""
|
|
||||||
# precision:
|
|
||||||
|
|
||||||
# Used in number_to_precision()
|
es:
|
||||||
precision:
|
hello: "Hola Mundo"
|
||||||
format:
|
layouts:
|
||||||
# These three are to override number.format and are optional
|
application:
|
||||||
# separator:
|
edit_profile: "editar perfil"
|
||||||
delimiter: ""
|
logout: "desloguear"
|
||||||
# precision:
|
shared:
|
||||||
# significant: false
|
aspect_nav:
|
||||||
# strip_insignificant_zeros: false
|
all_aspects: "Todo los Aspectos"
|
||||||
|
manage: "Manejar"
|
||||||
# Used in number_to_human_size()
|
manage_your_aspects: "Maneja tus Aspectos"
|
||||||
human:
|
sub_header:
|
||||||
format:
|
all_aspects: "Todo los Aspectos"
|
||||||
# These three are to override number.format and are optional
|
manage_aspects: "Manejar Aspectos"
|
||||||
# separator:
|
publisher:
|
||||||
delimiter: ""
|
share: "Compartir"
|
||||||
precision: 1
|
aspect_friends:
|
||||||
significant: true
|
add_friends: "Añade amigos"
|
||||||
strip_insignificant_zeros: true
|
albums:
|
||||||
# Used in number_to_human_size()
|
album:
|
||||||
storage_units:
|
you: "usted"
|
||||||
format: "%n %u"
|
new_album:
|
||||||
units:
|
create: "Crear"
|
||||||
byte:
|
add_a_new_album: "Añade un nuevo álbum"
|
||||||
one: "Byte"
|
show:
|
||||||
other: "Bytes"
|
edit_album: "Editar Álbum"
|
||||||
kb: "KB"
|
albums: "álbumes"
|
||||||
mb: "MB"
|
updated: "actualizar"
|
||||||
gb: "GB"
|
by: "por"
|
||||||
tb: "TB"
|
edit:
|
||||||
# Used in number_to_human()
|
editing: "Editando"
|
||||||
decimal_units:
|
updated: "actualizado"
|
||||||
format: "%n %u"
|
are_you_sure: "Esta seguro?"
|
||||||
# Decimal units output formatting
|
delete_album: "Eliminar Album"
|
||||||
# By default we will only quantify some of the exponents
|
cancel: "Cancelar"
|
||||||
# but the commented ones might be defined or overridden
|
index:
|
||||||
# by the user.
|
home: "home"
|
||||||
units:
|
new_album: "Nuevo Album"
|
||||||
# femto: Quadrillionth
|
create:
|
||||||
# pico: Trillionth
|
success: "Creo el album llamado %{name}."
|
||||||
# nano: Billionth
|
update:
|
||||||
# micro: Millionth
|
success: "Album %{name} fue exitosamente editado."
|
||||||
# mili: Thousandth
|
failure: "Fallo el editar el album %{name}."
|
||||||
# centi: Hundredth
|
destroy:
|
||||||
# deci: Tenth
|
success: "Album %{name} fue eliminado."
|
||||||
unit: ""
|
aspects:
|
||||||
# ten:
|
index:
|
||||||
# one: Ten
|
photos: "fotos"
|
||||||
# other: Tens
|
show:
|
||||||
# hundred: Hundred
|
photos: "fotos"
|
||||||
thousand: "Mil"
|
manage:
|
||||||
million: "Millón"
|
add_a_new_aspect: "Añadir nuevo aspecto"
|
||||||
billion: "Mil millones"
|
add_a_new_friend: "Añadir nuevo amigo"
|
||||||
trillion: "Trillón"
|
show: "Mostrar"
|
||||||
quadrillion: "Cuatrillón"
|
update_aspects: "Actualizar Aspectos"
|
||||||
|
requests: "Requests"
|
||||||
# Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
|
ignore_remove: "Ignorar/Remover"
|
||||||
datetime:
|
new_aspect:
|
||||||
distance_in_words:
|
create: "Crear"
|
||||||
half_a_minute: "medio minuto"
|
users:
|
||||||
less_than_x_seconds:
|
edit:
|
||||||
one: "menos de 1 segundo"
|
cancel: "Cancelar"
|
||||||
other: "menos de %{count} segundos"
|
update_profile: "Actualizar Perfil"
|
||||||
x_seconds:
|
home: "Home"
|
||||||
one: "1 segundo"
|
diaspora_username: "USUARIO DE DIASPORA"
|
||||||
other: "%{count} segundos"
|
info: "Info"
|
||||||
less_than_x_minutes:
|
picture: "Picture"
|
||||||
one: "menos de 1 minuto"
|
editing_profile: "Editando perfil"
|
||||||
other: "menos de %{count} minutos"
|
albums: "Álbums"
|
||||||
x_minutes:
|
you_dont_have_any_photos: "No tienes ninguna foto! ve a la pagina"
|
||||||
one: "1 minuto"
|
page_to_upload_some: "para subir algunas"
|
||||||
other: "%{count} minutos"
|
comments:
|
||||||
about_x_hours:
|
comment:
|
||||||
one: "alrededor de 1 hora"
|
ago: "atras"
|
||||||
other: "alrededor de %{count} horas"
|
new_comment:
|
||||||
x_days:
|
comment: "Commentario"
|
||||||
one: "1 día"
|
photos:
|
||||||
other: "%{count} días"
|
show:
|
||||||
about_x_months:
|
prev: "prev"
|
||||||
one: "alrededor de 1 mes"
|
full_size: "tamaño actual"
|
||||||
other: "alrededor de %{count} meses"
|
next: "prox"
|
||||||
x_months:
|
edit_photo: "Editar Foto"
|
||||||
one: "1 mes"
|
delete_photo: "Eliminar Foto"
|
||||||
other: "%{count} meses"
|
are_you_sure: "Esta seguro?"
|
||||||
about_x_years:
|
comments: "comentarios"
|
||||||
one: "alrededor de 1 año"
|
edit:
|
||||||
other: "alrededor de %{count} años"
|
editing: "Editando"
|
||||||
over_x_years:
|
are_you_sure: "Esta seguro?"
|
||||||
one: "más de 1 año"
|
delete_photo: "Eliminar Foto"
|
||||||
other: "más de %{count} años"
|
photo:
|
||||||
almost_x_years:
|
show_comments: "mostrar comentarios"
|
||||||
one: "casi 1 año"
|
new:
|
||||||
other: "casi %{count} años"
|
new_photo: "Nueva Foto"
|
||||||
prompts:
|
back_to_list: "Devuelta a la lista"
|
||||||
year: "Año"
|
post_it: "post it!"
|
||||||
month: "Mes"
|
registrations:
|
||||||
day: "Día"
|
new:
|
||||||
hour: "Hora"
|
sign_up: "Registrate"
|
||||||
minute: "Minutos"
|
status_messages:
|
||||||
second: "Segundos"
|
new_status_message:
|
||||||
|
tell_me_something_good: "dime algo bueno"
|
||||||
helpers:
|
oh_yeah: "oh yeah!"
|
||||||
select:
|
status_message:
|
||||||
# Default value for :prompt => true in FormOptionsHelper
|
show_comments: "mostrar comentarios"
|
||||||
prompt: "Por favor seleccione"
|
delete: "Eliminar"
|
||||||
|
are_you_sure: "Esta seguro?"
|
||||||
# Default translation keys for submit FormHelper
|
show:
|
||||||
submit:
|
status_message: "Mensaje de status"
|
||||||
create: 'Guardar %{model}'
|
comments: "comentarios"
|
||||||
update: 'Actualizar %{model}'
|
are_you_sure: "Esta seguro?"
|
||||||
submit: 'Guardar %{model}'
|
destroy: "Destruir"
|
||||||
|
view_all: "Ver Todos"
|
||||||
# Attributes names common to most models
|
message: "Mensaje"
|
||||||
#attributes:
|
owner: "Dueño"
|
||||||
#created_at: "Created at"
|
|
||||||
#updated_at: "Updated at"
|
|
||||||
|
|
||||||
# Active Record models configuration
|
|
||||||
activerecord:
|
|
||||||
errors:
|
|
||||||
messages:
|
|
||||||
taken: "ya está en uso"
|
|
||||||
record_invalid: "La validación falló: %{errors}"
|
|
||||||
# Append your own errors here or at the model/attributes scope.
|
|
||||||
|
|
||||||
# You can define own errors for models or model attributes.
|
|
||||||
# The values :model, :attribute and :value are always available for interpolation.
|
|
||||||
#
|
|
||||||
# For example,
|
|
||||||
# models:
|
|
||||||
# user:
|
|
||||||
# blank: "This is a custom blank message for %{model}: %{attribute}"
|
|
||||||
# attributes:
|
|
||||||
# login:
|
|
||||||
# blank: "This is a custom blank message for User login"
|
|
||||||
# Will define custom blank validation message for User model and
|
|
||||||
# custom blank validation message for login attribute of User model.
|
|
||||||
#models:
|
|
||||||
|
|
||||||
# Translate model names. Used in Model.human_name().
|
|
||||||
#models:
|
|
||||||
# For example,
|
|
||||||
# user: "Dude"
|
|
||||||
# will translate User model name to "Dude"
|
|
||||||
|
|
||||||
# Translate model attribute names. Used in Model.human_attribute_name(attribute).
|
|
||||||
#attributes:
|
|
||||||
# For example,
|
|
||||||
# user:
|
|
||||||
# login: "Handle"
|
|
||||||
# will translate User attribute "login" as "Handle"
|
|
||||||
|
|
||||||
# Active Model
|
|
||||||
errors:
|
|
||||||
# The default format to use in full error messages.
|
|
||||||
format: "%{attribute} %{message}"
|
|
||||||
|
|
||||||
template:
|
|
||||||
header:
|
|
||||||
one: "No se pudo guardar este/a %{model} porque se encontró 1 error"
|
|
||||||
other: "No se pudo guardar este/a %{model} porque se encontraron %{count} errores"
|
|
||||||
# The variable :count is also available
|
|
||||||
body: "Se encontraron problemas con los siguientes campos:"
|
|
||||||
|
|
||||||
# The values :model, :attribute and :value are always available for interpolation
|
|
||||||
# The value :count is available when applicable. Can be used for pluralization.
|
|
||||||
messages:
|
|
||||||
inclusion: "no está incluido en la lista"
|
|
||||||
exclusion: "está reservado"
|
|
||||||
invalid: "no es válido"
|
|
||||||
confirmation: "no coincide con la confirmación"
|
|
||||||
accepted: "debe ser aceptado"
|
|
||||||
empty: "no puede estar vacío"
|
|
||||||
blank: "no puede estar en blanco"
|
|
||||||
too_long: "es demasiado largo (%{count} caracteres máximo)"
|
|
||||||
too_short: "es demasiado corto (%{count} caracteres mínimo)"
|
|
||||||
wrong_length: "no tiene la longitud correcta (%{count} caracteres exactos)"
|
|
||||||
not_a_number: "no es un número"
|
|
||||||
greater_than: "debe ser mayor que %{count}"
|
|
||||||
greater_than_or_equal_to: "debe ser mayor que o igual a %{count}"
|
|
||||||
equal_to: "debe ser igual a %{count}"
|
|
||||||
less_than: "debe ser menor que %{count}"
|
|
||||||
less_than_or_equal_to: "debe ser menor que o igual a %{count}"
|
|
||||||
odd: "debe ser impar"
|
|
||||||
even: "debe ser par"
|
|
||||||
|
|
||||||
# Active Support
|
|
||||||
date:
|
|
||||||
formats:
|
|
||||||
# Use the strftime parameters for formats.
|
|
||||||
# When no format has been given, it uses default.
|
|
||||||
# You can provide other formats here if you like!
|
|
||||||
default: "%e/%m/%Y"
|
|
||||||
short: "%e de %b"
|
|
||||||
long: "%e de %B de %Y"
|
|
||||||
|
|
||||||
day_names: [Domingo, Lunes, Martes, Miércoles, Jueves, Viernes, Sábado]
|
|
||||||
abbr_day_names: [Dom, Lun, Mar, Mie, Jue, Vie, Sab]
|
|
||||||
|
|
||||||
# Don't forget the nil at the beginning; there's no such thing as a 0th month
|
|
||||||
month_names: [~, Enero, Febrero, Marzo, Abril, Mayo, Junio, Julio, Agosto, Septiembre, Octubre, Noviembre, Diciembre]
|
|
||||||
abbr_month_names: [~, Ene, Feb, Mar, Abr, May, Jun, Jul, Ago, Sep, Oct, Nov, Dic]
|
|
||||||
# Used in date_select and datime_select.
|
|
||||||
order:
|
|
||||||
- :day
|
|
||||||
- :month
|
|
||||||
- :year
|
|
||||||
|
|
||||||
time:
|
|
||||||
formats:
|
|
||||||
default: "%A, %e de %B de %Y %H:%M:%S %z"
|
|
||||||
short: "%e de %b %H:%M"
|
|
||||||
long: "%e de %B de %Y %H:%M"
|
|
||||||
am: "am"
|
|
||||||
pm: "pm"
|
|
||||||
|
|
||||||
# Used in array.to_sentence.
|
|
||||||
support:
|
|
||||||
array:
|
|
||||||
words_connector: ", "
|
|
||||||
two_words_connector: " y "
|
|
||||||
last_word_connector: ", y "
|
|
||||||
Loading…
Reference in a new issue