Merge branch 'master' of github.com:diaspora/diaspora
This commit is contained in:
commit
66ec5f0570
6 changed files with 46 additions and 33 deletions
10
Gemfile.lock
10
Gemfile.lock
|
|
@ -116,7 +116,6 @@ GEM
|
||||||
rack (>= 1.0.0)
|
rack (>= 1.0.0)
|
||||||
rack-test (>= 0.5.4)
|
rack-test (>= 0.5.4)
|
||||||
selenium-webdriver (>= 0.0.3)
|
selenium-webdriver (>= 0.0.3)
|
||||||
columnize (0.3.1)
|
|
||||||
crack (0.1.8)
|
crack (0.1.8)
|
||||||
cucumber (0.9.0)
|
cucumber (0.9.0)
|
||||||
builder (~> 2.1.2)
|
builder (~> 2.1.2)
|
||||||
|
|
@ -152,7 +151,6 @@ GEM
|
||||||
i18n (0.4.1)
|
i18n (0.4.1)
|
||||||
json (1.4.6)
|
json (1.4.6)
|
||||||
json_pure (1.4.6)
|
json_pure (1.4.6)
|
||||||
linecache (0.43)
|
|
||||||
mail (2.2.6.1)
|
mail (2.2.6.1)
|
||||||
activesupport (>= 2.3.6)
|
activesupport (>= 2.3.6)
|
||||||
mime-types
|
mime-types
|
||||||
|
|
@ -201,7 +199,6 @@ GEM
|
||||||
rake (>= 0.8.4)
|
rake (>= 0.8.4)
|
||||||
thor (~> 0.14.0)
|
thor (~> 0.14.0)
|
||||||
rake (0.8.7)
|
rake (0.8.7)
|
||||||
redgreen (1.2.2)
|
|
||||||
rest-client (1.6.1)
|
rest-client (1.6.1)
|
||||||
mime-types (>= 1.16)
|
mime-types (>= 1.16)
|
||||||
rspec (2.0.0.beta.22)
|
rspec (2.0.0.beta.22)
|
||||||
|
|
@ -217,11 +214,6 @@ GEM
|
||||||
rspec-rails (2.0.0.beta.17)
|
rspec-rails (2.0.0.beta.17)
|
||||||
rspec (>= 2.0.0.beta.14)
|
rspec (>= 2.0.0.beta.14)
|
||||||
webrat (>= 0.7.0)
|
webrat (>= 0.7.0)
|
||||||
ruby-debug (0.10.3)
|
|
||||||
columnize (>= 0.1)
|
|
||||||
ruby-debug-base (~> 0.10.3.0)
|
|
||||||
ruby-debug-base (0.10.3)
|
|
||||||
linecache (>= 0.3)
|
|
||||||
rubyzip (0.9.4)
|
rubyzip (0.9.4)
|
||||||
selenium-webdriver (0.0.28)
|
selenium-webdriver (0.0.28)
|
||||||
ffi (>= 0.6.1)
|
ffi (>= 0.6.1)
|
||||||
|
|
@ -278,11 +270,9 @@ DEPENDENCIES
|
||||||
pubsubhubbub
|
pubsubhubbub
|
||||||
rails (= 3.0.0)
|
rails (= 3.0.0)
|
||||||
redfinger!
|
redfinger!
|
||||||
redgreen
|
|
||||||
roxml!
|
roxml!
|
||||||
rspec (>= 2.0.0.beta.17)
|
rspec (>= 2.0.0.beta.17)
|
||||||
rspec-rails (= 2.0.0.beta.17)
|
rspec-rails (= 2.0.0.beta.17)
|
||||||
ruby-debug
|
|
||||||
sprinkle!
|
sprinkle!
|
||||||
thin
|
thin
|
||||||
webmock
|
webmock
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,7 @@
|
||||||
|
|
||||||
#submit_block
|
#submit_block
|
||||||
= link_to t('.cancel'), root_path
|
= link_to t('.cancel'), root_path
|
||||||
or
|
= t('.or')
|
||||||
= f.submit t('.update_profile')
|
= f.submit t('.update_profile')
|
||||||
|
|
||||||
#content_bottom
|
#content_bottom
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
%h2 Services
|
%h2 Services
|
||||||
|
|
||||||
|
- if FACEBOOK
|
||||||
%h3 Facebook
|
%h3 Facebook
|
||||||
%p
|
%p
|
||||||
- if @logged_in
|
- if @logged_in
|
||||||
|
|
|
||||||
|
|
@ -7,13 +7,15 @@ require File.expand_path('../application', __FILE__)
|
||||||
Haml::Template.options[:format] = :html5
|
Haml::Template.options[:format] = :html5
|
||||||
Haml::Template.options[:escape_html] = true
|
Haml::Template.options[:escape_html] = true
|
||||||
|
|
||||||
|
if File.exists?(File.expand_path("./config/fb_config.yml"))
|
||||||
# Load facebook connection application credentials
|
# Load facebook connection application credentials
|
||||||
fb_config = YAML::load(File.open(File.expand_path("./config/fb_config.yml")))
|
fb_config = YAML::load(File.open(File.expand_path("./config/fb_config.yml")))
|
||||||
FB_API_KEY = fb_config['fb_api_key']
|
FB_API_KEY = fb_config['fb_api_key']
|
||||||
FB_SECRET = fb_config['fb_secret']
|
FB_SECRET = fb_config['fb_secret']
|
||||||
FB_APP_ID = fb_config['fb_app_id']
|
FB_APP_ID = fb_config['fb_app_id']
|
||||||
HOST = fb_config['host']
|
HOST = fb_config['host']
|
||||||
|
FACEBOOK = true
|
||||||
|
end
|
||||||
# Initialize the rails application
|
# Initialize the rails application
|
||||||
Diaspora::Application.initialize!
|
Diaspora::Application.initialize!
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -113,6 +113,7 @@ en:
|
||||||
albums: "Albums"
|
albums: "Albums"
|
||||||
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."
|
||||||
|
or: "or"
|
||||||
comments:
|
comments:
|
||||||
comment:
|
comment:
|
||||||
ago: "ago"
|
ago: "ago"
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,10 @@ ru:
|
||||||
add_a_new_aspect: "Добавить аспект"
|
add_a_new_aspect: "Добавить аспект"
|
||||||
create: "Создать"
|
create: "Создать"
|
||||||
create:
|
create:
|
||||||
success:"Нажмите на плюс слева, для того, что-бы указать Diaspora тех, кто может видеть ваш новый аспект."
|
success:"Нажмите на плюс слева, для того, что-бы указать Diaspora тех, кто может видеть ваш новый аспект
|
||||||
|
helper:
|
||||||
|
remove: "Удалить"
|
||||||
|
aspect_not_empty: "Аспект не пуст"
|
||||||
users:
|
users:
|
||||||
edit:
|
edit:
|
||||||
editing_profile: "Редактирование профиля"
|
editing_profile: "Редактирование профиля"
|
||||||
|
|
@ -79,8 +82,9 @@ ru:
|
||||||
picture: "Аватар"
|
picture: "Аватар"
|
||||||
editing_profile: "Редактирование профиля"
|
editing_profile: "Редактирование профиля"
|
||||||
albums: "Альбомы"
|
albums: "Альбомы"
|
||||||
you_dont_have_any_photos: "У вас нет ни одной фотографии! Перейдите на "
|
you_dont_have_any_photos: "У вас нет ни одной фотографии! Перейдите в"
|
||||||
page_to_upload_some: "страницу для загрузки."
|
page_to_upload_some: "для загрузки."
|
||||||
|
or: "или"
|
||||||
comments:
|
comments:
|
||||||
comment:
|
comment:
|
||||||
ago: "ранее"
|
ago: "ранее"
|
||||||
|
|
@ -142,3 +146,18 @@ ru:
|
||||||
save: "сохранить"
|
save: "сохранить"
|
||||||
are_you_sure: "Вы уверены?"
|
are_you_sure: "Вы уверены?"
|
||||||
remove_friend: "удалить друга"
|
remove_friend: "удалить друга"
|
||||||
|
requests:
|
||||||
|
new_request:
|
||||||
|
add_a_new_friend_to: "добавить нового друга к"
|
||||||
|
enter_a_diaspora_username: "Введите имя пользователя Diaspora:"
|
||||||
|
your_diaspora_username_is: "Ваше имя пользователя Diaspora: %{diaspora_handle}"
|
||||||
|
friends_username: "Имя пользователя друга"
|
||||||
|
destroy:
|
||||||
|
success: "Теперь вы друзья."
|
||||||
|
error: "Выберите аспект!"
|
||||||
|
ignore: "Игнорированные запросы дружбы."
|
||||||
|
create:
|
||||||
|
error: "Для этого адреса не найдено семя Diaspora!"
|
||||||
|
already_friends: "Вы уже друзья с %{destination_url}!"
|
||||||
|
success: "Запрос на дружбу выслан к %{destination_url}."
|
||||||
|
horribly_wrong: "Что-то пошло совсем не так."
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue