Merge branch 'master' of github.com:diaspora/diaspora

This commit is contained in:
maxwell 2010-11-18 12:37:02 -08:00
commit 8c092649f2
29 changed files with 70 additions and 13 deletions

View file

@ -9,6 +9,6 @@
%h4= link_to t('.invite'), "#invite_user_pane", :class => "invite_user_button", :class => "invite_user_button", :title => t('.invite')
- else
%h3=t('.nobody_in_aspect', :aspect_name => aspect.name)
%h4= link_to t('.add_contact_to', :aspect_name => aspect.name), "#add_request_pane", :class => "add_request_button"
%h4= link_to t('.add_contact_to', :aspect_name => aspect.name), "#manage_aspect_contacts_pane", :class => "manage_aspect_contacts_button"
%h4= link_to t('.invite', :aspect_name => aspect.name), "#invite_user_pane", :class => "invite_user_button", :class => "invite_user_button", :title => t('.invite')

View file

@ -2,12 +2,12 @@
-# licensed under the Affero General Public License version 3 or later. See
-# the COPYRIGHT file.
= form_for Comment.new, :remote => true do |comment|
= form_for Comment.new, :html => {:id => "new_comment_on_#{post.id}" }, :remote => true do |comment|
%p
= label_tag "comment_text_on_#{post.id}", t('.comment')
= comment.text_area :text, :rows => 1, :id => "comment_text_on_#{post.id}", :class => "comment_box"
= comment.hidden_field :post_id, :value => post.id
= comment.hidden_field :post_id, :id => "post_id_on_#{post.id}", :value => post.id
%p{:style => "text-align:right;"}
= comment.submit t('.comment'), :class => "comment_submit button"
= comment.submit t('.comment'), :id => "comment_submit_#{post.id}", :class => "comment_submit button"

View file

@ -19,6 +19,9 @@
%link{:rel => 'shortcut icon', :href => '/favicon.ico'}
%link{:rel => 'apple-touch-icon', :href => '/apple-touch-icon.png'}
/ Social Media Icons are by Paul Robert Lloyd @ http://paulrobertlloyd.com/2009/06/social_media_icons
= stylesheet_link_tag "blueprint/screen", :media => 'screen'
= stylesheet_link_tag "blueprint/print", :media => 'print'
= include_stylesheets :default, :media => 'all'

View file

@ -41,6 +41,12 @@
%p.checkbox_select
= status.check_box( :public, {}, true, false )
= status.label :public, t('.make_public')
= image_tag("social_media_logos/feed-16x16.png")
- if current_user.services
- for service in current_user.services
= image_tag("social_media_logos/#{service.provider}-24x24.png")
= link_to '(?)', "#question_mark_pane", :class => 'question_mark', :style=>"display:none;"
.fancybox_content

View file

@ -61,5 +61,6 @@
- if @step > 1
= link_to t('back'), getting_started_path(:step => @step-1), :class => "button", :id => "previous_step"
.bottom_notification
= link_to "#{t('.skip')} →", '#', :id => "getting_started_skip"
- if @user.getting_started
.bottom_notification
= link_to "#{t('.skip')} →", '#', :id => "getting_started_skip"

View file

@ -1,6 +1,4 @@
# Copyright (c) 2010, Diaspora Inc. This file is
# licensed under the Affero General Public License version 3 or later. See
# the COPYRIGHT file.
# Znaki przystankowe mogą być do kitu.
pl:
errors:
@ -19,6 +17,13 @@ pl:
timeout: 'Twoja sesja wygasła, zaloguj się ponownie by kontynuować.'
inactive: 'Twoje konto nie zostało jeszcze aktywowane.'
sessions:
new:
login: 'Login'
username: 'Nazwa użytkownika'
password: 'Hasło'
sign_in: 'Zaloguj się'
have_a_problem: "Jakiś kłopot? Znajdź odpowiedź tu"
remember_me: "Zapamiętaj sesję"
signed_in: 'Zalogowano pomyślnie.'
signed_out: 'Wylogowano.'
passwords:
@ -35,6 +40,33 @@ pl:
send_instructions: 'W ciągu kilku minut otrzymasz email z instrukcjami odblokowania konta.'
unlocked: 'Twoje konto zostało odblokowane, jesteś zalogowany.'
mailer:
confirmation_instructions: 'Instrukcje aktywacji'
reset_password_instructions: 'Instrukcje zmiany hasła'
unlock_instructions: 'Instrukcje odblokowania'
welcome: "Witaj %{email}!"
hello: "Cześć %{email}!"
confirmation_instructions:
subject: 'Instrukcje aktywacji'
you_can_confirm: "Możesz aktywować swoje konto klikając na poniższy link:"
confirm: "Aktywuj moje konto"
reset_password_instructions:
subject: 'Instrukcje zmiany hasła'
someone_requested: "Odebraliśmy zgłoszenie zmiany hasła, jeśli chcesz to zrobić kliknij na poniższy link:"
change: "Zmień moje hasło"
wont_change: "Twoje hasło zostanie zmienione dopiero gdy klikniesz na link i podasz nowe hasło."
ignore: "Jeśli nie chcesz zresetować hasła, zignoruj ten email."
unlock_instructions:
subject: 'Instrukcje odblokowania'
account_locked: "Twoje konto zostało zablokowane, ponieważ przekroczono limit nieudanych logowań."
click_to_unlock: "Kliknij na poniższy link, aby odblokować konto:"
unlock: "Odblokuj moje konto"
invitation:
subject: "Masz zaproszenie do Diaspory!"
has_invited_you: "%{name} zaprosił(a) Cię do Diaspory!"
have_invited_you: "%{names} zaprosili Cie do Diaspory"
accept_at: ", at %{url}, możesz zaakceptować zaproszenie klikając na poniższy link:"
accept: "Zaakceptuj zaproszenie"
ignore: "Jeśli nie chcesz zaakceptować zaproszenia, zignoruj ten email."
no_account_till: "Twoje konto nie zostanie założone dopuki nie klikniesz na link powyżej i nie zarejestrujesz sie.
shared:
links:
sign_in: 'Zaloguj się'
sign_up: 'Zarejestruj się'
forgot_your_password: 'Nie pamiętasz hasła?'

View file

@ -29,11 +29,17 @@ Feature: new user registration
When I follow "Save and continue"
Then I should see "You're all set up, O!"
And I should not see "skip getting started"
When I follow "Continue on to your everyone page, an overview of all of your aspects."
Then I should be on the aspects page
And I should see "bring them to Diaspora!"
Scenario: new user skips the setup wizard and returns to the setup wizard
When I follow "skip getting started"
And I go to the getting started page
Then I should not see "skip getting started"
Scenario: new user skips the setup wizard
When I follow "skip getting started"
And I wait for the aspects page to load

Binary file not shown.

After

Width:  |  Height:  |  Size: 345 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 889 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 814 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 598 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 390 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 929 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 742 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

View file

@ -693,6 +693,9 @@ form p.checkbox_select
label
:left 20px
:top 0
img
:position relative
:left 90px
label
:font

View file

@ -122,6 +122,12 @@ describe Invitation do
Invitation.create_invitee(:email => @email)
Devise.mailer.deliveries.first.body.raw_source.match(/have invited you to join/i).should be_false
end
it 'creates an invitation' do
pending "Invitations should be more flexible, allowing custom messages to be passed in without an inviter."
lambda {
Invitation.create_invitee(:email => @email)
}.should change(Invitation, :count).by(1)
end
end
end