added more translations missing on views

This commit is contained in:
Ariel Zavala 2010-09-17 10:43:59 -04:00
parent c6cdf65fc8
commit 375f4f6808
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ class AspectsController < ApplicationController
def create def create
@aspect = current_user.aspect params[:aspect] @aspect = current_user.aspect params[:aspect]
flash[:notice] = "Click on the plus on the left side to tell Diaspora who can see your new aspect." flash[:notice] = I18n.t('aspects.create.success')
respond_with :location => aspects_manage_path respond_with :location => aspects_manage_path
end end

View file

@ -3,7 +3,7 @@
-# the COPYRIGHT file. -# the COPYRIGHT file.
%h1 Add a new aspect %h1=t('.add_a_new_aspect')
= form_for Aspect.new do |f| = form_for Aspect.new do |f|
= f.error_messages = f.error_messages
%p %p