Merge remote branch 'MrZYX/untranslated-strings'
Conflicts: app/views/aspects/manage.html.haml config/locales/diaspora/en.yml
This commit is contained in:
commit
1bba4c60f7
24 changed files with 122 additions and 59 deletions
|
|
@ -48,7 +48,7 @@ class InvitationsController < Devise::InvitationsController
|
||||||
|
|
||||||
def check_token
|
def check_token
|
||||||
if User.find_by_invitation_token(params['invitation_token']).nil?
|
if User.find_by_invitation_token(params['invitation_token']).nil?
|
||||||
flash[:error] = "Invitation token not found"
|
flash[:error] = I18n.t 'invitations.check_token.not_found'
|
||||||
redirect_to root_url
|
redirect_to root_url
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ class PeopleController < ApplicationController
|
||||||
@posts = current_user.visible_posts(:person_id => @person.id).paginate :page => params[:page], :order => 'created_at DESC'
|
@posts = current_user.visible_posts(:person_id => @person.id).paginate :page => params[:page], :order => 'created_at DESC'
|
||||||
respond_with @person
|
respond_with @person
|
||||||
else
|
else
|
||||||
flash[:error] = "Person does not exist!"
|
flash[:error] = I18n.t 'people.show.does_not_exist'
|
||||||
redirect_to people_path
|
redirect_to people_path
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
@ -66,9 +66,9 @@ class PeopleController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
if current_user.update_profile params[:person][:profile]
|
if current_user.update_profile params[:person][:profile]
|
||||||
flash[:notice] = "Profile updated"
|
flash[:notice] = I18n.t 'people.update.updated'
|
||||||
else
|
else
|
||||||
flash[:error] = "Failed to update profile"
|
flash[:error] = I18n.t 'people.update.failed'
|
||||||
end
|
end
|
||||||
|
|
||||||
if params[:getting_started]
|
if params[:getting_started]
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,7 @@ class RequestsController < ApplicationController
|
||||||
if params[:getting_started]
|
if params[:getting_started]
|
||||||
redirect_to getting_started_path(:step=>params[:getting_started])
|
redirect_to getting_started_path(:step=>params[:getting_started])
|
||||||
else
|
else
|
||||||
flash[:notice] = "we tried our best to send a message to #{account}" unless flash[:error]
|
flash[:notice] = I18n.t('requests.create.tried', :account => account) unless flash[:error]
|
||||||
respond_with :location => aspects_manage_path
|
respond_with :location => aspects_manage_path
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -31,14 +31,14 @@ class ServicesController < ApplicationController
|
||||||
:uid => auth['uid'])
|
:uid => auth['uid'])
|
||||||
end
|
end
|
||||||
|
|
||||||
flash[:notice] = "Authentication successful."
|
flash[:notice] = I18n.t 'services.create.success'
|
||||||
redirect_to services_url
|
redirect_to services_url
|
||||||
end
|
end
|
||||||
|
|
||||||
def destroy
|
def destroy
|
||||||
@service = current_user.services.find(params[:id])
|
@service = current_user.services.find(params[:id])
|
||||||
@service.destroy
|
@service.destroy
|
||||||
flash[:notice] = "Successfully destroyed authentication."
|
flash[:notice] = I18n.t 'services.destroy.success'
|
||||||
redirect_to services_url
|
redirect_to services_url
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -31,15 +31,15 @@ class UsersController < ApplicationController
|
||||||
|
|
||||||
if params[:user][:password] && params[:user][:password_confirmation]
|
if params[:user][:password] && params[:user][:password_confirmation]
|
||||||
if @user.update_attributes(:password => params[:user][:password], :password_confirmation => params[:user][:password_confirmation])
|
if @user.update_attributes(:password => params[:user][:password], :password_confirmation => params[:user][:password_confirmation])
|
||||||
flash[:notice] = "Password Changed"
|
flash[:notice] = I18n.t 'users.update.password_changed'
|
||||||
else
|
else
|
||||||
flash[:error] = "Password Change Failed"
|
flash[:error] = I18n.t 'users.update.password_not_changed'
|
||||||
end
|
end
|
||||||
elsif params[:user][:language]
|
elsif params[:user][:language]
|
||||||
if @user.update_attributes(:language => params[:user][:language])
|
if @user.update_attributes(:language => params[:user][:language])
|
||||||
flash[:notice] = "Language Changed"
|
flash[:notice] = I18n.t 'users.update.language_changed'
|
||||||
else
|
else
|
||||||
flash[:error] = "Language Change Failed"
|
flash[:error] = I18n.t 'users.update.language_not_changed'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -50,7 +50,7 @@ class UsersController < ApplicationController
|
||||||
def destroy
|
def destroy
|
||||||
current_user.destroy
|
current_user.destroy
|
||||||
sign_out current_user
|
sign_out current_user
|
||||||
flash[:notice] = t('user.destroy')
|
flash[:notice] = I18n.t 'users.destroy'
|
||||||
redirect_to root_path
|
redirect_to root_path
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -63,7 +63,7 @@ class UsersController < ApplicationController
|
||||||
|
|
||||||
render :xml => director.build(ostatus_builder), :content_type => 'application/atom+xml'
|
render :xml => director.build(ostatus_builder), :content_type => 'application/atom+xml'
|
||||||
else
|
else
|
||||||
flash[:error] = "User #{params[:username]} does not exist!"
|
flash[:error] = I18n.t 'users.public.does_not_exists', :username => params[:username]
|
||||||
redirect_to root_url
|
redirect_to root_url
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,7 @@
|
||||||
= javascript_include_tag 'aspect-edit.js'
|
= javascript_include_tag 'aspect-edit.js'
|
||||||
|
|
||||||
#section_header
|
#section_header
|
||||||
%h2
|
%h2=t('.manage_aspects')
|
||||||
Manage aspects
|
|
||||||
.right
|
.right
|
||||||
= link_to("+ #{t('.add_a_new_aspect')}", "#add_aspect_pane", :class => "new_aspect add_aspect_button button", :title => t('.add_a_new_aspect'))
|
= link_to("+ #{t('.add_a_new_aspect')}", "#add_aspect_pane", :class => "new_aspect add_aspect_button button", :title => t('.add_a_new_aspect'))
|
||||||
|
|
||||||
|
|
@ -18,7 +17,7 @@
|
||||||
.requests
|
.requests
|
||||||
%ul.dropzone
|
%ul.dropzone
|
||||||
- if @remote_requests.size < 1
|
- if @remote_requests.size < 1
|
||||||
%li No new requests
|
%li=t('.no_requests')
|
||||||
- else
|
- else
|
||||||
- for request in @remote_requests
|
- for request in @remote_requests
|
||||||
%li.person.request{:data=>{:guid=>request.id, :person_id=>request.person.id}}
|
%li.person.request{:data=>{:guid=>request.id, :person_id=>request.person.id}}
|
||||||
|
|
@ -55,7 +54,7 @@
|
||||||
.circle
|
.circle
|
||||||
= person_image_tag(person)
|
= person_image_tag(person)
|
||||||
.draggable_info
|
.draggable_info
|
||||||
Drag to add people
|
=t('.drag_to_add')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
.span-12.prepend-6.last
|
.span-12.prepend-6.last
|
||||||
.floating
|
.floating
|
||||||
%h3
|
%h3
|
||||||
Forgot your password?
|
=t('.forgot_password')
|
||||||
= form_for(resource, :as => resource_name, :url => password_path(resource_name)) do |f|
|
= form_for(resource, :as => resource_name, :url => password_path(resource_name)) do |f|
|
||||||
= devise_error_messages!
|
= devise_error_messages!
|
||||||
%p
|
%p
|
||||||
= f.label :email
|
= f.label :email
|
||||||
= f.text_field :email
|
= f.text_field :email
|
||||||
%p
|
%p
|
||||||
= f.submit "Send me reset password instructions"
|
= f.submit t('.send_password_instructions')
|
||||||
= render :partial => "devise/shared/links"
|
= render :partial => "devise/shared/links"
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
%p
|
%p
|
||||||
= render :partial => "devise/shared/links"
|
= render :partial => "devise/shared/links"
|
||||||
%p
|
%p
|
||||||
= link_to "Have a problem? Find an answer here", 'http://diaspora.shapado.com/'
|
= link_to t('.have_a_problem'), 'http://diaspora.shapado.com/'
|
||||||
|
|
||||||
.span-13.last
|
.span-13.last
|
||||||
%h1
|
%h1
|
||||||
|
|
|
||||||
|
|
@ -12,9 +12,9 @@
|
||||||
|
|
||||||
.right{:style=>"display:inline;"}
|
.right{:style=>"display:inline;"}
|
||||||
- if person.id == current_user.person.id
|
- if person.id == current_user.person.id
|
||||||
thats you!
|
= t('.thats_you')
|
||||||
- elsif current_user.friends.include?(person)
|
- elsif current_user.friends.include?(person)
|
||||||
Already friends
|
= t('.already_friends')
|
||||||
- elsif current_user.pending_requests.find_by_person_id(person.id)
|
- elsif current_user.pending_requests.find_by_person_id(person.id)
|
||||||
= link_to =t('.pending_request'), aspects_manage_path
|
= link_to =t('.pending_request'), aspects_manage_path
|
||||||
- else
|
- else
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,6 @@
|
||||||
= form.file_field :image
|
= form.file_field :image
|
||||||
|
|
||||||
%p
|
%p
|
||||||
\...or select one from your already existing
|
\...#{t('.or_select_one')}
|
||||||
= link_to 'photos', person_photos_path(@person)
|
= link_to t('_photos'), person_photos_path(@person)
|
||||||
\.
|
\.
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
%ul#settings_nav
|
%ul#settings_nav
|
||||||
%li=link_to t('profile'), edit_person_path(current_user.person)
|
%li=link_to t('profile'), edit_person_path(current_user.person)
|
||||||
%li=link_to t('account'), edit_user_path(current_user)
|
%li=link_to t('account'), edit_user_path(current_user)
|
||||||
%li=link_to t('services'), services_path
|
%li=link_to t('_services'), services_path
|
||||||
|
|
||||||
.span-19.prepend-5.last
|
.span-19.prepend-5.last
|
||||||
= form_for @person, :html => { :multipart => true } do |person|
|
= form_for @person, :html => { :multipart => true } do |person|
|
||||||
|
|
@ -45,9 +45,9 @@
|
||||||
= render 'people/profile_photo_upload', :form => profile
|
= render 'people/profile_photo_upload', :form => profile
|
||||||
|
|
||||||
%h4
|
%h4
|
||||||
Search
|
= t('.search')
|
||||||
%p{:class=>"checkbox_select"}
|
%p{:class=>"checkbox_select"}
|
||||||
= profile.label :searchable, "Allow for people to search for you"
|
= profile.label :searchable, t('.allow_search')
|
||||||
= profile.check_box :searchable, {:checked => @person.profile.searchable}, true, false
|
= profile.check_box :searchable, {:checked => @person.profile.searchable}, true, false
|
||||||
|
|
||||||
.submit_block
|
.submit_block
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
.span-15.prepend-5.last
|
.span-15.prepend-5.last
|
||||||
%h2
|
%h2
|
||||||
search results for
|
=t('.results_for')
|
||||||
%u= params[:q]
|
%u= params[:q]
|
||||||
|
|
||||||
%ul#stream
|
%ul#stream
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@
|
||||||
|
|
||||||
%br
|
%br
|
||||||
%br
|
%br
|
||||||
= link_to 'photos', person_photos_path(@person)
|
= link_to t('_photos'), person_photos_path(@person)
|
||||||
|
|
||||||
|
|
||||||
.span-15.last
|
.span-15.last
|
||||||
|
|
@ -55,13 +55,13 @@
|
||||||
|
|
||||||
.floating
|
.floating
|
||||||
%h3
|
%h3
|
||||||
= "You're currently not friends with #{@person.real_name}"
|
= t('.not_friends', :name => @person.real_name)
|
||||||
|
|
||||||
|
|
||||||
- unless @pending_request
|
- unless @pending_request
|
||||||
%h3
|
%h3
|
||||||
.description
|
.description
|
||||||
If you'd like, you can request to place him/her in one of your aspects.
|
= t('.request_people')
|
||||||
|
|
||||||
= form_for Request.new do |f|
|
= form_for Request.new do |f|
|
||||||
= f.select(:aspect_id, @aspects_dropdown_array)
|
= f.select(:aspect_id, @aspects_dropdown_array)
|
||||||
|
|
@ -71,5 +71,5 @@
|
||||||
- else
|
- else
|
||||||
%h3
|
%h3
|
||||||
.description
|
.description
|
||||||
= "You have already sent a request to #{@person.real_name}."
|
= t('.already_requested', :name => @person.real_name)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
➔
|
➔
|
||||||
%ul
|
%ul
|
||||||
- if post.public?
|
- if post.public?
|
||||||
the world
|
%li= t('.the_world')
|
||||||
- else
|
- else
|
||||||
- for aspect in current_user.aspects_with_post( post.id )
|
- for aspect in current_user.aspects_with_post( post.id )
|
||||||
%li= link_to aspect.name, aspect
|
%li= link_to aspect.name, aspect
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
.right
|
.right
|
||||||
= link_to t('delete'), photo_path(post), :confirm => t('are_you_sure'), :method => :delete, :remote => true, :class => "delete"
|
= link_to t('delete'), photo_path(post), :confirm => t('are_you_sure'), :method => :delete, :remote => true, :class => "delete"
|
||||||
|
|
||||||
posted a photo
|
=t('.posted_a_photo')
|
||||||
|
|
||||||
%br
|
%br
|
||||||
%br
|
%br
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
= render 'shared/author_info', :person => @photo.person, :post => @photo
|
= render 'shared/author_info', :person => @photo.person, :post => @photo
|
||||||
|
|
||||||
%ul#breadcrumb
|
%ul#breadcrumb
|
||||||
%li= link_to "#{@photo.person.profile.first_name}'s Photos", person_photos_path(@photo.person)
|
%li= link_to "#{@photo.person.profile.first_name}'s #{t('_photos')}", person_photos_path(@photo.person)
|
||||||
%li= @photo.caption
|
%li= @photo.caption
|
||||||
|
|
||||||
/ we need to do next photo here
|
/ we need to do next photo here
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
-if @ownership
|
-if @ownership
|
||||||
.edit_pane
|
.edit_pane
|
||||||
.controls{:data=>{:actor=>"#{@photo.person.owner.id}",:actor_person=>"#{@photo.person.id}",:image_url=>"#{@photo.url(:thumb_medium)}"}}
|
.controls{:data=>{:actor=>"#{@photo.person.owner.id}",:actor_person=>"#{@photo.person.id}",:image_url=>"#{@photo.url(:thumb_medium)}"}}
|
||||||
= link_to 'make profile photo', '#', :class => "make_profile_photo"
|
= link_to t('.make_profile_photo'), '#', :class => "make_profile_photo"
|
||||||
= image_tag @photo.url(:scaled_full)
|
= image_tag @photo.url(:scaled_full)
|
||||||
|
|
||||||
-else
|
-else
|
||||||
|
|
@ -36,25 +36,25 @@
|
||||||
.caption
|
.caption
|
||||||
-if @ownership
|
-if @ownership
|
||||||
-if @photo.caption and @photo.caption != ""
|
-if @photo.caption and @photo.caption != ""
|
||||||
= link_to 'Edit','javascript:void(0)', :id => "edit-desc", :class => "edit-desc"
|
= link_to t('.edit_photo'),'javascript:void(0)', :id => "edit-desc", :class => "edit-desc"
|
||||||
.description
|
.description
|
||||||
= @photo.caption
|
= @photo.caption
|
||||||
|
|
||||||
-if @ownership
|
-if @ownership
|
||||||
%div{:class => 'clear'}
|
%div{:class => 'clear'}
|
||||||
-if !@photo.caption or @photo.caption == ""
|
-if !@photo.caption or @photo.caption == ""
|
||||||
= link_to 'Add a description','javascript:void(0)', :id => "add-description", :class => "edit-desc"
|
= link_to t('.add_a_description'),'javascript:void(0)', :id => "add-description", :class => "edit-desc"
|
||||||
|
|
||||||
%br
|
%br
|
||||||
%br
|
%br
|
||||||
|
|
||||||
= form_for @photo do |p|
|
= form_for @photo do |p|
|
||||||
= p.text_field :caption, :value => @photo.caption
|
= p.text_field :caption, :value => @photo.caption
|
||||||
= p.submit
|
= p.submit t('.update_photo')
|
||||||
%div{:class => 'clear'}
|
%div{:class => 'clear'}
|
||||||
|
|
||||||
-if @ownership
|
-if @ownership
|
||||||
= link_to t('.delete_photo'), @photo, :confirm => t('.are_you_sure'), :method => :delete, :class => 'button'
|
= link_to t('.delete_photo'), @photo, :confirm => t('are_you_sure'), :method => :delete, :class => 'button'
|
||||||
|
|
||||||
.span-9.last
|
.span-9.last
|
||||||
#stream.show
|
#stream.show
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
%ul#settings_nav
|
%ul#settings_nav
|
||||||
%li=link_to t('profile'), edit_person_path(current_user.person)
|
%li=link_to t('profile'), edit_person_path(current_user.person)
|
||||||
%li=link_to t('account'), edit_user_path(current_user)
|
%li=link_to t('account'), edit_user_path(current_user)
|
||||||
%li=link_to t('services'), services_path
|
%li=link_to t('_services'), services_path
|
||||||
|
|
||||||
.span-19.prepend-5.last
|
.span-19.prepend-5.last
|
||||||
%h2
|
%h2
|
||||||
|
|
|
||||||
|
|
@ -4,4 +4,4 @@
|
||||||
= hidden_field_tag :aspect_id, aspect.id
|
= hidden_field_tag :aspect_id, aspect.id
|
||||||
- if defined?(manage) && manage
|
- if defined?(manage) && manage
|
||||||
= hidden_field_tag :manage, true
|
= hidden_field_tag :manage, true
|
||||||
= submit_tag "add to #{aspect.name}"
|
= submit_tag t('.add_to', :aspect => aspect.name)
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
|
|
||||||
#left_pane
|
#left_pane
|
||||||
%h2= aspect == :all ? "Everyone" : aspect
|
%h2= aspect == :all ? t('.everyone') : aspect
|
||||||
|
|
||||||
.friend_pictures
|
.friend_pictures
|
||||||
= owner_image_link
|
= owner_image_link
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
= person_image_link(friend)
|
= person_image_link(friend)
|
||||||
|
|
||||||
-unless (aspect == :all)
|
-unless (aspect == :all)
|
||||||
= link_to (image_tag('add_friend_button.png', :title => "add to #{@aspect}")), "#add_request_pane", :class => 'add_request_button'
|
= link_to (image_tag('add_friend_button.png', :title => "#{t('.add_to', :aspect => @aspect)}")), "#add_request_pane", :class => 'add_request_button'
|
||||||
|
|
||||||
.fancybox_content
|
.fancybox_content
|
||||||
#add_request_pane
|
#add_request_pane
|
||||||
|
|
|
||||||
|
|
@ -5,12 +5,12 @@
|
||||||
#aspect_nav
|
#aspect_nav
|
||||||
%ul
|
%ul
|
||||||
%li{:class => ("selected" if @aspect == :all)}
|
%li{:class => ("selected" if @aspect == :all)}
|
||||||
= link_to "Everyone", root_url
|
= link_to t('.everyone'), root_url
|
||||||
- for aspect in @aspects
|
- for aspect in @aspects
|
||||||
%li{:class => ("selected" if current_aspect?(aspect))}
|
%li{:class => ("selected" if current_aspect?(aspect))}
|
||||||
= link_for_aspect aspect
|
= link_for_aspect aspect
|
||||||
%li
|
%li
|
||||||
= link_to '+', '#add_aspect_pane', :class => "add_aspect_button", :title => "add a new aspect"
|
= link_to '+', '#add_aspect_pane', :class => "add_aspect_button", :title => t('.add_a_new_aspect')
|
||||||
|
|
||||||
%ul.right{:style=>"bottom:0;"}
|
%ul.right{:style=>"bottom:0;"}
|
||||||
%li{ :style => "margin-right:0;", :class => ("selected" if @aspect == :manage)}
|
%li{ :style => "margin-right:0;", :class => ("selected" if @aspect == :manage)}
|
||||||
|
|
|
||||||
|
|
@ -4,19 +4,19 @@
|
||||||
|
|
||||||
.span-12.last
|
.span-12.last
|
||||||
.modal_title_bar
|
.modal_title_bar
|
||||||
%h4 You are about to post a public message!
|
%h4=t('.title')
|
||||||
%p
|
%p
|
||||||
Public messages will be available for others outside of Diaspora to see.
|
=t('.outside')
|
||||||
%br
|
%br
|
||||||
%br
|
%br
|
||||||
|
|
||||||
- if current_user.services
|
- if current_user.services
|
||||||
- for service in current_user.services
|
- for service in current_user.services
|
||||||
= "logged in to #{service.provider}"
|
= t('.logged_in', :service => service.provider)
|
||||||
%br
|
%br
|
||||||
|
|
||||||
= link_to "manage connected services", services_path
|
= link_to t('.manage'), services_path
|
||||||
|
|
||||||
%br
|
%br
|
||||||
%br
|
%br
|
||||||
= link_to "OK", '#', :class => "button", :onClick => '$.fancybox.close();'
|
= link_to t('ok'), '#', :class => "button", :onClick => '$.fancybox.close();'
|
||||||
|
|
|
||||||
|
|
@ -25,16 +25,16 @@
|
||||||
= form_for StatusMessage.new, :remote => true do |status|
|
= form_for StatusMessage.new, :remote => true do |status|
|
||||||
= status.error_messages
|
= status.error_messages
|
||||||
%p
|
%p
|
||||||
= status.label :message, t('.post_a_message_to', :aspect => aspect)
|
= status.label :message, t('.post_a_message_to', :aspect => (aspect == :all ? t('.all') : aspect))
|
||||||
= status.text_area :message, :rows => 2, :value => params[:prefill]
|
= status.text_area :message, :rows => 2, :value => params[:prefill]
|
||||||
|
|
||||||
= status.hidden_field :to, :value => (aspect == :all ? aspect : aspect.id)
|
= status.hidden_field :to, :value => (aspect == :all ? aspect : aspect.id)
|
||||||
|
|
||||||
.options_and_submit
|
.options_and_submit
|
||||||
- if aspect == :all
|
- if aspect == :all
|
||||||
= status.submit t('.share'), :title => "Share with all aspects"
|
= status.submit t('.share'), :title => t('.share_with_all')
|
||||||
- else
|
- else
|
||||||
= status.submit t('.share'), :title => "Share with #{aspect}"
|
= status.submit t('.share'), :title => t('.share_with', :aspect => aspect)
|
||||||
|
|
||||||
- if aspect == :all
|
- if aspect == :all
|
||||||
.public_toggle
|
.public_toggle
|
||||||
|
|
@ -50,3 +50,4 @@
|
||||||
#publisher_photo_upload
|
#publisher_photo_upload
|
||||||
= t('or')
|
= t('or')
|
||||||
= render 'photos/new_photo', :aspect_id => (aspect == :all ? aspect : aspect.id)
|
= render 'photos/new_photo', :aspect_id => (aspect == :all ? aspect : aspect.id)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
%ul#settings_nav
|
%ul#settings_nav
|
||||||
%li=link_to t('profile'), edit_person_path(current_user.person)
|
%li=link_to t('profile'), edit_person_path(current_user.person)
|
||||||
%li=link_to t('account'), edit_user_path(current_user)
|
%li=link_to t('account'), edit_user_path(current_user)
|
||||||
%li=link_to t('services'), services_path
|
%li=link_to t('_services'), services_path
|
||||||
|
|
||||||
.span-19.prepend-5.last
|
.span-19.prepend-5.last
|
||||||
%h2
|
%h2
|
||||||
|
|
@ -60,8 +60,8 @@
|
||||||
|
|
||||||
%h3
|
%h3
|
||||||
= t('.export_data')
|
= t('.export_data')
|
||||||
= link_to "download my xml", users_export_path, :class => "button"
|
= link_to t('.download_xml'), users_export_path, :class => "button"
|
||||||
= link_to "download my photos", users_export_photos_path, :class => "button"
|
= link_to t('.download_photos'), users_export_photos_path, :class => "button"
|
||||||
|
|
||||||
%br
|
%br
|
||||||
%br
|
%br
|
||||||
|
|
|
||||||
|
|
@ -20,11 +20,15 @@ en:
|
||||||
username: 'Username'
|
username: 'Username'
|
||||||
password: 'Password'
|
password: 'Password'
|
||||||
sign_in: 'Sign in'
|
sign_in: 'Sign in'
|
||||||
|
have_a_problem: "Have a problem? Find an answer here"
|
||||||
signed_in: 'Signed in successfully.'
|
signed_in: 'Signed in successfully.'
|
||||||
signed_out: 'Signed out successfully.'
|
signed_out: 'Signed out successfully.'
|
||||||
passwords:
|
passwords:
|
||||||
send_instructions: 'You will receive an email with instructions about how to reset your password in a few minutes.'
|
send_instructions: 'You will receive an email with instructions about how to reset your password in a few minutes.'
|
||||||
updated: 'Your password was changed successfully. You are now signed in.'
|
updated: 'Your password was changed successfully. You are now signed in.'
|
||||||
|
new:
|
||||||
|
forgot_password: "Forgot your password?"
|
||||||
|
send_password_instructions: "Send me reset password instructions"
|
||||||
confirmations:
|
confirmations:
|
||||||
send_instructions: 'You will receive an email with instructions about how to confirm your account in a few minutes.'
|
send_instructions: 'You will receive an email with instructions about how to confirm your account in a few minutes.'
|
||||||
confirmed: 'Your account was successfully confirmed. You are now signed in.'
|
confirmed: 'Your account was successfully confirmed. You are now signed in.'
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,10 @@ en:
|
||||||
settings: "Settings"
|
settings: "Settings"
|
||||||
profile: "Profile"
|
profile: "Profile"
|
||||||
account: "Account"
|
account: "Account"
|
||||||
services: "Services"
|
_services: "Services"
|
||||||
|
_photos: "photos"
|
||||||
|
stream: "stream"
|
||||||
|
ok: "OK"
|
||||||
cancel: "Cancel"
|
cancel: "Cancel"
|
||||||
delete: "Delete"
|
delete: "Delete"
|
||||||
or: "or"
|
or: "or"
|
||||||
|
|
@ -63,6 +66,8 @@ en:
|
||||||
all_aspects: "All Aspects"
|
all_aspects: "All Aspects"
|
||||||
manage: "Manage"
|
manage: "Manage"
|
||||||
manage_your_aspects: "Manage your Aspects"
|
manage_your_aspects: "Manage your Aspects"
|
||||||
|
everyone: "Everyone"
|
||||||
|
add_a_new_aspect: "add a new aspect"
|
||||||
sub_header:
|
sub_header:
|
||||||
all_aspects: "All Aspects"
|
all_aspects: "All Aspects"
|
||||||
manage_aspects: "Manage Aspects"
|
manage_aspects: "Manage Aspects"
|
||||||
|
|
@ -70,9 +75,14 @@ en:
|
||||||
share: "Share"
|
share: "Share"
|
||||||
post_a_message_to: "Post a message to %{aspect}"
|
post_a_message_to: "Post a message to %{aspect}"
|
||||||
make_public: "make public"
|
make_public: "make public"
|
||||||
|
share_with_all: "Share with all aspects"
|
||||||
|
share_with: "Share with %{aspect}"
|
||||||
|
create: "Create"
|
||||||
|
all: "all"
|
||||||
aspect_friends:
|
aspect_friends:
|
||||||
add_friends: "add friends"
|
add_friends: "add friends"
|
||||||
photos: "photos"
|
everyone: "Everyone"
|
||||||
|
add_to: "add to %{aspect}"
|
||||||
invitations:
|
invitations:
|
||||||
invites: 'Invites'
|
invites: 'Invites'
|
||||||
invite_a_friend: 'Invite a friend'
|
invite_a_friend: 'Invite a friend'
|
||||||
|
|
@ -81,6 +91,13 @@ en:
|
||||||
reshare: 'Reshare'
|
reshare: 'Reshare'
|
||||||
author_info:
|
author_info:
|
||||||
view_profile: 'View profile'
|
view_profile: 'View profile'
|
||||||
|
add_friend_dropdown:
|
||||||
|
add_to: "add to %{aspect}"
|
||||||
|
public_explain:
|
||||||
|
title: "You are about to post a public message!"
|
||||||
|
outside: "Public messages will be available for others outside of Diaspora to see."
|
||||||
|
logged_in: "logged in to %{service}"
|
||||||
|
manage: "manage connected services"
|
||||||
aspects:
|
aspects:
|
||||||
no_friends_message:
|
no_friends_message:
|
||||||
nobody: "We know you have friends — bring them to Diaspora!"
|
nobody: "We know you have friends — bring them to Diaspora!"
|
||||||
|
|
@ -97,6 +114,11 @@ en:
|
||||||
update_aspects: "Update Aspects"
|
update_aspects: "Update Aspects"
|
||||||
requests: "Requests"
|
requests: "Requests"
|
||||||
ignore_remove: "Ignore/Remove"
|
ignore_remove: "Ignore/Remove"
|
||||||
|
no_requests: "No new requests"
|
||||||
|
remove_from_aspect: "Remove from Aspect"
|
||||||
|
manage_aspects: "Manage aspects"
|
||||||
|
drag_to_remove: "Drag to remove person from aspect"
|
||||||
|
drag_to-add: "Drag to add people"
|
||||||
new_aspect:
|
new_aspect:
|
||||||
add_a_new_aspect: "Add a new aspect"
|
add_a_new_aspect: "Add a new aspect"
|
||||||
name: "Name"
|
name: "Name"
|
||||||
|
|
@ -126,6 +148,8 @@ en:
|
||||||
change_language: "Change Language"
|
change_language: "Change Language"
|
||||||
change_password: "Change Password"
|
change_password: "Change Password"
|
||||||
new_password: "New Password"
|
new_password: "New Password"
|
||||||
|
download_xml: "download my xml"
|
||||||
|
download_photos: "download my photos"
|
||||||
destroy: "Account successfully closed."
|
destroy: "Account successfully closed."
|
||||||
getting_started:
|
getting_started:
|
||||||
signup_steps: "Complete your sign-up by doing these things:"
|
signup_steps: "Complete your sign-up by doing these things:"
|
||||||
|
|
@ -135,6 +159,13 @@ en:
|
||||||
edit_profile: "Edit your profile"
|
edit_profile: "Edit your profile"
|
||||||
define_aspects: "Define your aspects"
|
define_aspects: "Define your aspects"
|
||||||
connect_services: "Connect your services"
|
connect_services: "Connect your services"
|
||||||
|
update:
|
||||||
|
password_changed: "Password Changed"
|
||||||
|
password_not_changed: "Password Change Failed"
|
||||||
|
language_changed: "Language Changed"
|
||||||
|
language_not_changed: "Language Change Failed"
|
||||||
|
public:
|
||||||
|
does_not_exist: "User %{username} does not exist!"
|
||||||
comments:
|
comments:
|
||||||
new_comment:
|
new_comment:
|
||||||
comment: "Comment"
|
comment: "Comment"
|
||||||
|
|
@ -146,12 +177,18 @@ en:
|
||||||
edit_photo: "Edit Photo"
|
edit_photo: "Edit Photo"
|
||||||
delete_photo: "Delete Photo"
|
delete_photo: "Delete Photo"
|
||||||
comments: "comments"
|
comments: "comments"
|
||||||
|
add_a_description: "Add a description"
|
||||||
|
uploads: "uploads"
|
||||||
|
make_profile_photo: "make profile photo"
|
||||||
|
update_photo: "Update Photo"
|
||||||
edit:
|
edit:
|
||||||
editing: "Editing"
|
editing: "Editing"
|
||||||
delete_photo: "Delete Photo"
|
delete_photo: "Delete Photo"
|
||||||
photo:
|
photo:
|
||||||
show_comments: "show comments"
|
show_comments: "show comments"
|
||||||
posted_a_new_photo_to: "posted a new photo to"
|
posted_a_new_photo_to: "posted a new photo to"
|
||||||
|
posted_a_photo: "posted a photo"
|
||||||
|
the_world: "the world"
|
||||||
new:
|
new:
|
||||||
new_photo: "New Photo"
|
new_photo: "New Photo"
|
||||||
back_to_list: "Back to List"
|
back_to_list: "Back to List"
|
||||||
|
|
@ -188,6 +225,8 @@ en:
|
||||||
message: 'Message:'
|
message: 'Message:'
|
||||||
send_an_invitation: 'Send an invitation'
|
send_an_invitation: 'Send an invitation'
|
||||||
send_invitation: 'Send invitation'
|
send_invitation: 'Send invitation'
|
||||||
|
check_token:
|
||||||
|
not_found: "Invitation token not found"
|
||||||
status_messages:
|
status_messages:
|
||||||
new_status_message:
|
new_status_message:
|
||||||
tell_me_something_good: "tell me something good"
|
tell_me_something_good: "tell me something good"
|
||||||
|
|
@ -207,6 +246,8 @@ en:
|
||||||
person:
|
person:
|
||||||
add_friend: "add friend"
|
add_friend: "add friend"
|
||||||
pending_request: "pending request"
|
pending_request: "pending request"
|
||||||
|
already_friends: "Already friends"
|
||||||
|
thats_you: "thats you!"
|
||||||
index:
|
index:
|
||||||
add_friend: "add friend"
|
add_friend: "add friend"
|
||||||
real_name: "real name"
|
real_name: "real name"
|
||||||
|
|
@ -214,6 +255,7 @@ en:
|
||||||
thats_you: "that's you!"
|
thats_you: "that's you!"
|
||||||
friend_request_pending: "friend request pending"
|
friend_request_pending: "friend request pending"
|
||||||
you_have_a_friend_request_from_this_person: "you have a friend request from this person"
|
you_have_a_friend_request_from_this_person: "you have a friend request from this person"
|
||||||
|
results_for: "search results for"
|
||||||
new:
|
new:
|
||||||
new_person: "New Person"
|
new_person: "New Person"
|
||||||
back_to_list: "Back to List"
|
back_to_list: "Back to List"
|
||||||
|
|
@ -225,6 +267,10 @@ en:
|
||||||
no_posts: "no posts to display!"
|
no_posts: "no posts to display!"
|
||||||
add_friend: "add friend"
|
add_friend: "add friend"
|
||||||
edit_my_profile: "Edit my profile"
|
edit_my_profile: "Edit my profile"
|
||||||
|
not_friends: "You're currently not friends with %{name}"
|
||||||
|
request_people: "If you'd like, you can request to place him/her in one of your aspects."
|
||||||
|
already_requested: "You have already sent a request to %{name}."
|
||||||
|
does_not_exist: "Person does not exist!"
|
||||||
edit:
|
edit:
|
||||||
info_available_to: "This info will be available to whomever you connect with on Diaspora."
|
info_available_to: "This info will be available to whomever you connect with on Diaspora."
|
||||||
your_profile: "Your profile"
|
your_profile: "Your profile"
|
||||||
|
|
@ -243,6 +289,13 @@ en:
|
||||||
editing_profile: "Editing profile"
|
editing_profile: "Editing profile"
|
||||||
you_dont_have_any_photos: "You don't have any photos! Go to the"
|
you_dont_have_any_photos: "You don't have any photos! Go to the"
|
||||||
page_to_upload_some: "page to upload some."
|
page_to_upload_some: "page to upload some."
|
||||||
|
search: "Search"
|
||||||
|
allow_search: "Allow for people to search for you"
|
||||||
|
profile_photo_upload:
|
||||||
|
or_select_one: "or select one from your already existing"
|
||||||
|
update:
|
||||||
|
updated: "Profile updated"
|
||||||
|
failed: "Failed to update profile"
|
||||||
requests:
|
requests:
|
||||||
new_request:
|
new_request:
|
||||||
add_a_new_friend_to: "Add a new friend to"
|
add_a_new_friend_to: "Add a new friend to"
|
||||||
|
|
@ -262,3 +315,9 @@ en:
|
||||||
already_friends: "You are already friends with %{destination_url}!"
|
already_friends: "You are already friends with %{destination_url}!"
|
||||||
success: "A friend request was sent to %{destination_url}."
|
success: "A friend request was sent to %{destination_url}."
|
||||||
horribly_wrong: "Something went horribly wrong."
|
horribly_wrong: "Something went horribly wrong."
|
||||||
|
tried: "we tried our best to send a message to %{account}"
|
||||||
|
services:
|
||||||
|
create:
|
||||||
|
success: "Authentication successful."
|
||||||
|
destroy:
|
||||||
|
success: "Successfully destroyed authentication."
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue