muck-oauth 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. data/Rakefile +6 -0
  2. data/VERSION +1 -1
  3. data/app/controllers/oauth_consumers_controller.rb +12 -8
  4. data/app/helpers/muck_oauth_helper.rb +37 -0
  5. data/app/views/oauth/authorize.html.erb +4 -3
  6. data/app/views/oauth/authorize_failure.html.erb +1 -1
  7. data/app/views/oauth/authorize_success.html.erb +1 -1
  8. data/app/views/oauth_clients/_form.html.erb +4 -4
  9. data/app/views/oauth_clients/edit.html.erb +4 -4
  10. data/app/views/oauth_clients/index.html.erb +11 -11
  11. data/app/views/oauth_clients/new.html.erb +2 -2
  12. data/app/views/oauth_clients/show.html.erb +8 -8
  13. data/app/views/oauth_consumers/_oauth_available_services.html.erb +12 -0
  14. data/app/views/oauth_consumers/_oauth_current_services.html.erb +14 -0
  15. data/app/views/oauth_consumers/_oauth_fancybox_scripts.html.erb +10 -0
  16. data/app/views/oauth_consumers/index.html.erb +4 -29
  17. data/app/views/oauth_consumers/show.html.erb +3 -5
  18. data/lib/muck_oauth/tasks.rb +3 -1
  19. data/lib/muck_oauth.rb +3 -0
  20. data/locales/ar.yml +52 -0
  21. data/locales/bg.yml +52 -0
  22. data/locales/ca.yml +52 -0
  23. data/locales/cs.yml +52 -0
  24. data/locales/da.yml +52 -0
  25. data/locales/de.yml +52 -0
  26. data/locales/el.yml +52 -0
  27. data/locales/en.yml +53 -7
  28. data/locales/es.yml +52 -0
  29. data/locales/et.yml +52 -0
  30. data/locales/fa.yml +52 -0
  31. data/locales/fi.yml +52 -0
  32. data/locales/fr.yml +52 -0
  33. data/locales/gl.yml +52 -0
  34. data/locales/hi.yml +52 -0
  35. data/locales/hr.yml +52 -0
  36. data/locales/hu.yml +52 -0
  37. data/locales/id.yml +52 -0
  38. data/locales/it.yml +52 -0
  39. data/locales/iw.yml +52 -0
  40. data/locales/ja.yml +52 -0
  41. data/locales/ko.yml +52 -0
  42. data/locales/lt.yml +52 -0
  43. data/locales/lv.yml +52 -0
  44. data/locales/mt.yml +52 -0
  45. data/locales/nl.yml +52 -0
  46. data/locales/no.yml +53 -0
  47. data/locales/pl.yml +52 -0
  48. data/locales/pt-PT.yml +52 -0
  49. data/locales/ro.yml +52 -0
  50. data/locales/ru.yml +52 -0
  51. data/locales/sk.yml +52 -0
  52. data/locales/sl.yml +52 -0
  53. data/locales/sq.yml +52 -0
  54. data/locales/sr.yml +52 -0
  55. data/locales/sv.yml +52 -0
  56. data/locales/th.yml +52 -0
  57. data/locales/tl.yml +52 -0
  58. data/locales/tr.yml +52 -0
  59. data/locales/uk.yml +52 -0
  60. data/locales/vi.yml +52 -0
  61. data/locales/zh-CN.yml +52 -0
  62. data/locales/zh-TW.yml +52 -0
  63. data/locales/zh.yml +52 -0
  64. data/muck-oauth.gemspec +67 -3
  65. metadata +109 -3
  66. data/test/rails_root/public/system/locals/000/000/026/original/deploy-1.rb +0 -75
data/Rakefile CHANGED
@@ -17,6 +17,12 @@ begin
17
17
  gem.authors = ["Justin Ball"]
18
18
  gem.add_dependency "oauth"
19
19
  gem.add_dependency "oauth-plugin"
20
+ gem.add_dependency "twitter"
21
+ gem.add_dependency "portablecontacts"
22
+ gem.add_dependency "agree2"
23
+ gem.add_dependency "fireeagle"
24
+ gem.add_dependency "muck-engine"
25
+ gem.add_dependency "muck-users"
20
26
  gem.add_development_dependency "shoulda"
21
27
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
22
28
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -2,18 +2,22 @@ require 'oauth/controllers/consumer_controller'
2
2
  class OauthConsumersController < ApplicationController
3
3
  include Oauth::Controllers::ConsumerController
4
4
 
5
+ layout :choose_layout
6
+
5
7
  def index
6
- @consumer_tokens = ConsumerToken.all :conditions=>{:user_id => current_user.id}
7
- @services = OAUTH_CREDENTIALS.keys-@consumer_tokens.collect{|c| c.class.service_name}
8
8
  end
9
9
 
10
10
  protected
11
11
 
12
- # Change this to decide where you want to redirect user to after callback is finished.
13
- # params[:id] holds the service name so you could use this to redirect to various parts
14
- # of your application depending on what service you're connecting to.
15
- def go_back
16
- redirect_to root_url
17
- end
12
+ # Change this to decide where you want to redirect user to after callback is finished.
13
+ # params[:id] holds the service name so you could use this to redirect to various parts
14
+ # of your application depending on what service you're connecting to.
15
+ def go_back
16
+ redirect_to root_url
17
+ end
18
+
19
+ def choose_layout
20
+ 'popup'
21
+ end
18
22
 
19
23
  end
@@ -0,0 +1,37 @@
1
+ module MuckOauthHelper
2
+
3
+ # Renders fancybox javascript for oauth services
4
+ def oauth_fancybox_scripts
5
+ render :partial => 'oauth_consumers/oauth_fancybox_scripts'
6
+ end
7
+
8
+ # Render a list of a user's current oauth services.
9
+ # user: User for which to render services
10
+ # include_icons: If true this will render an iconf for the service
11
+ def oauth_current_services(user, include_icons = true)
12
+ render :partial => 'oauth_consumers/oauth_current_services', :locals => { :consumer_tokens => oauth_consumer_tokens(user), :include_icons => include_icons }
13
+ end
14
+
15
+ # Render a list of all available oauth services.
16
+ # include_icons: If true this will render an iconf for the service
17
+ def oauth_available_services(user = nil, include_icons = true)
18
+ render :partial => 'oauth_consumers/oauth_available_services', :locals => { :services => oauth_services(user), :include_icons => include_icons }
19
+ end
20
+
21
+ # Gets an caches the given user's oauth tokens
22
+ def oauth_consumer_tokens(user)
23
+ if user.blank?
24
+ @all_oauth_consumer_tokens ||= ConsumerToken.all
25
+ else
26
+ @oauth_consumer_tokens ||= ConsumerToken.all(:conditions => { :user_id => user.id })
27
+ end
28
+ end
29
+
30
+ # Gets and caches all services.
31
+ # user: If user is specified then the given user's current oauth services will be excluded from
32
+ # the returned list of services.
33
+ def oauth_services(user = nil)
34
+ @oauth_services ||= OAUTH_CREDENTIALS.keys-oauth_consumer_tokens(user).collect{ |c| c.class.service_name }
35
+ end
36
+
37
+ end
@@ -1,12 +1,13 @@
1
- <h1>Authorize access to your account</h1>
2
- <p>Would you like to authorize <%= link_to @token.client_application.name,@token.client_application.url %> (<%= link_to @token.client_application.url,@token.client_application.url %>) to access your account?</p>
1
+ <h1><%=translate('muck.oauth.authorize_access') %></h1>
2
+ <p><%=translate('muck.oauth.authorize_access_question', :link => link_to @token.client_application.url,@token.client_application.url,
3
+ :name => link_to @token.client_application.name,@token.client_application.url) %></p>
3
4
  <% form_tag authorize_url do %>
4
5
  <%= hidden_field_tag "oauth_token", @token.token %>
5
6
  <%- if params[:oauth_callback] -%>
6
7
  <%= hidden_field_tag "oauth_callback", params[:oauth_callback] %>
7
8
  <%- end -%>
8
9
  <p>
9
- <%= check_box_tag 'authorize' %> authorize access
10
+ <%= check_box_tag 'authorize' %> <%=translate('muck.oauth.authorize_access_label') %>
10
11
  </p>
11
12
  <p>
12
13
  <%= submit_tag %>
@@ -1 +1 @@
1
- <h1>You have disallowed this request</h1>
1
+ <h1><%=translate('muck.oauth.request_disallowed') %></h1>
@@ -1 +1 @@
1
- <h1>You have allowed this request</h1>
1
+ <h1><%=translate('muck.oauth.request_allowed') %></h1>
@@ -1,17 +1,17 @@
1
1
  <%= error_messages_for :client_application %>
2
2
  <div class="field">
3
- <label for="client_application_name">Name*</label><br/>
3
+ <label for="client_application_name"><%=translate('muck.oauth.name_label') %></label><br/>
4
4
  <%= f.text_field :name %>
5
5
  </div>
6
6
  <div class="field">
7
- <label for="client_application_url">Main Application URL*</label><br/>
7
+ <label for="client_application_url"><%=translate('muck.oauth.main_application_label') %></label><br/>
8
8
  <%= f.text_field :url %>
9
9
  </div>
10
10
  <div class="field">
11
- <label for="client_application_callback_url">Callback URL*</label><br/>
11
+ <label for="client_application_callback_url"><%=translate('muck.oauth.callback_label') %></label><br/>
12
12
  <%= f.text_field :callback_url %>
13
13
  </div>
14
14
  <div class="field">
15
- <label for="client_application_support_url">Support URL</label><br/>
15
+ <label for="client_application_support_url"><%=translate('muck.oauth.support_url_label') %></label><br/>
16
16
  <%= f.text_field :support_url %>
17
17
  </div>
@@ -1,7 +1,7 @@
1
- <h1>Edit your application</h1>
1
+ <h1><%=translate('muck.oauth.edit_application') %></h1>
2
2
  <% form_for :client_application, @client_application, :url => oauth_client_path(@client_application), :html => {:method => :put} do |f| %>
3
3
  <%= render :partial => "form", :locals => { :f => f } %>
4
- <%= submit_tag "Edit" %>
4
+ <%= submit_tag translate('muck.oauth.edit_label') %>
5
5
  <% end %>
6
- <%= link_to 'Show', oauth_client_path(@client_application) %> |
7
- <%= link_to 'Back', oauth_clients_path %>
6
+ <%= link_to translate('muck.oauth.show_label'), oauth_client_path(@client_application) %> |
7
+ <%= link_to translate('muck.oauth.back_label'), oauth_clients_path %>
@@ -1,9 +1,9 @@
1
1
  <div class="flash"><%= flash[:notice] %></div>
2
- <h1>OAuth Client Applications</h1>
2
+ <h1><%=translate('muck.oauth.oauth_client_applications') %></h1>
3
3
  <% unless @tokens.empty? %>
4
- <p>The following tokens have been issued to applications in your name</p>
4
+ <p><%=translate('muck.oauth.tokens_issued') %></p>
5
5
  <table>
6
- <tr><th>Application</th><th>Issued</th><th>&nbsp;</th></tr>
6
+ <tr><th><%=translate('muck.oauth.application') %></th><th><%=translate('muck.oauth.issued') %></th><th>&nbsp;</th></tr>
7
7
  <% @tokens.each do |token|%>
8
8
  <% content_tag_for :tr, token do %>
9
9
  <td><%= link_to token.client_application.name, token.client_application.url %></td>
@@ -11,7 +11,7 @@
11
11
  <td>
12
12
  <% form_tag :controller => 'oauth', :action => 'revoke' do %>
13
13
  <%= hidden_field_tag 'token', token.token %>
14
- <%= submit_tag "Revoke!" %>
14
+ <%= submit_tag translate('muck.oauth.revoke') %>
15
15
  <% end %>
16
16
  </td>
17
17
  <% end %>
@@ -19,25 +19,25 @@
19
19
 
20
20
  </table>
21
21
  <% end %>
22
- <h3>Application Developers</h3>
22
+ <h3><%=translate('muck.oauth.application_developers') %></h3>
23
23
  <% if @client_applications.empty? %>
24
24
  <p>
25
- Do you have an application you would like to register for use with us using the <a href="http://oauth.net">OAuth</a> standard?
25
+ <%=translate('muck.oauth.do_you_have_an_application_to_register', :link => '<a href="http://oauth.net">OAuth</a>') %>
26
26
  </p>
27
27
  <p>
28
- You must register your web application before it can make OAuth requests to this service
28
+ <%=translate('muck.oauth.you_must_register_your_web_application') %>
29
29
  </p>
30
30
  <% else %>
31
31
  <p>
32
- You have the following client applications registered:
32
+ <%=translate('muck.oauth.you_have_the_following_client_applications_registered') %>
33
33
  </p>
34
34
  <% @client_applications.each do |client|%>
35
35
  <% div_for client do %>
36
36
  <%= link_to client.name, oauth_client_path(client) %>-
37
- <%= link_to 'Edit', edit_oauth_client_path(client) %>
38
- <%= link_to 'Delete', oauth_client_path(client), :confirm => "Are you sure?", :method => :delete %>
37
+ <%= link_to translate('muck.oauth.edit'), edit_oauth_client_path(client) %>
38
+ <%= link_to translate('muck.oauth.delete'), oauth_client_path(client), :confirm => translate('muck.oauth.are_you_sure'), :method => :delete %>
39
39
  <% end %>
40
40
  <% end %>
41
41
  <% end %>
42
42
  <br />
43
- <h3><%= link_to "Register your application", :action => :new %></h3>
43
+ <h3><%= link_to translate('muck.oauth.register_your_application'), :action => :new %></h3>
@@ -1,5 +1,5 @@
1
- <h1>Register a new application</h1>
1
+ <h1><%=translate('muck.oauth.register_a_new_application') %></h1>
2
2
  <% form_for :client_application, :url => { :action => :create } do |f| %>
3
3
  <%= render :partial => "form", :locals => { :f => f } %>
4
- <%= submit_tag "Register" %>
4
+ <%= submit_tag translate('muck.oauth.register') %>
5
5
  <% end %>
@@ -1,27 +1,27 @@
1
1
  <h1>OAuth details for <%=@client_application.name %></h1>
2
2
  <p>
3
- <strong>Consumer Key:</strong>
3
+ <strong><%=translate('muck.oauth.consume_key') %></strong>
4
4
  <code><%=@client_application.key %></code>
5
5
  </p>
6
6
  <p>
7
- <strong>Consumer Secret:</strong>
7
+ <strong><%=translate('muck.oauth.consume_secret') %></strong>
8
8
  <code><%=@client_application.secret %></code>
9
9
  </p>
10
10
  <p>
11
- <strong>Request Token URL</strong>
11
+ <strong><%=translate('muck.oauth.request_token_url') %></strong>
12
12
  <code>http<%='s' if request.ssl? %>://<%= request.host_with_port %><%=@client_application.oauth_server.request_token_path %></code>
13
13
  </p>
14
14
  <p>
15
- <strong>Access Token URL</strong>
15
+ <strong><%=translate('muck.oauth.access_token_url') %></strong>
16
16
  <code>http<%='s' if request.ssl? %>://<%= request.host_with_port %><%=@client_application.oauth_server.access_token_path %></code>
17
17
  </p>
18
18
  <p>
19
- <strong>Authorize URL</strong>
19
+ <strong><%=translate('muck.oauth.authorize_url') %></strong>
20
20
  <code>http<%='s' if request.ssl? %>://<%= request.host_with_port %><%=@client_application.oauth_server.authorize_path %></code>
21
21
  </p>
22
22
 
23
23
  <p>
24
- We support hmac-sha1 (recommended) as well as plain text in ssl mode.
24
+ <%=translate('muck.oauth.we_support_hmac_sha') %>
25
25
  </p>
26
- <%= link_to 'Edit', edit_oauth_client_path(@client_application) %> |
27
- <%= link_to 'Back', oauth_clients_path %>
26
+ <%= link_to translate('muck.oauth.edit'), edit_oauth_client_path(@client_application) %> |
27
+ <%= link_to translate('muck.oauth.back'), oauth_clients_path %>
@@ -0,0 +1,12 @@
1
+ <div id="oauth_available_services" class="oauth-services">
2
+ <% unless services.empty? %>
3
+ <h3><%=translate('muck.oauth.you_can_connect_to_the_following_services') %></h3>
4
+ <ul <%='class="icon-list"' if include_icons%>>
5
+ <% services.each do |service| -%>
6
+ <li class="<%=service.to_s.parameterize%> oauth_service service-link" <%= service_icon_background(service) if include_icons%> title="<%=translate('muck.oauth.connect_to_account_title', :service => service.to_s.humanize) %>">
7
+ <%= link_to service.to_s.humanize, oauth_consumer_path(service), :class => 'oauthfancybox iframe' %>
8
+ </li>
9
+ <% end -%>
10
+ </ul>
11
+ <% end %>
12
+ </div>
@@ -0,0 +1,14 @@
1
+ <div id="oauth_current_services" class="oauth-services">
2
+ <% if consumer_tokens.empty? -%>
3
+ <p><%=translate('muck.oauth.you_are_currently_not_connected_to_any_external_services') %></p>
4
+ <% else -%>
5
+ <p><%=translate('muck.oauth.you_are_connected_to_the_following_services') %></p>
6
+ <ul <%='class="icon-list"' if include_icons%>>
7
+ <% consumer_tokens.each do |token| -%>
8
+ <li class="<%=token.class.service_name.to_s.parameterize%> oauth_service service-link" <%= service_icon_background(token.class.service_name) if include_icons %>>
9
+ <%= link_to token.class.service_name.to_s.humanize, oauth_consumer_path(token.class.service_name), :class => 'oauthfancybox iframe' %>
10
+ </li>
11
+ <% end -%>
12
+ </ul>
13
+ <% end -%>
14
+ </div>
@@ -0,0 +1,10 @@
1
+ <% content_for :javascript do -%>
2
+ jQuery(document).ready(function() {
3
+ jQuery('a.oauthfancybox').fancybox({
4
+ 'hideOnContentClick': true,
5
+ 'overlayShow': true,
6
+ 'frameWidth': 800,
7
+ 'frameHeight': 600
8
+ });
9
+ });
10
+ <% end -%>
@@ -1,29 +1,4 @@
1
- <h1>Services</h1>
2
-
3
- <% if @consumer_tokens.empty? %>
4
- <p>
5
- You are currently not connected to any external services.
6
- </p>
7
- <% else %>
8
- <p>
9
- You are connected to the following services:
10
- </p>
11
- <ul>
12
- <% @consumer_tokens.each do |token| %>
13
- <li>
14
- <%= link_to token.class.service_name.to_s.humanize, oauth_consumer_path(token.class.service_name) %>
15
- </li>
16
- <% end %>
17
- </ul>
18
- <% end %>
19
-
20
- <% unless @services.empty? %>
21
- <h3>You can connect to the following services:</h3>
22
- <ul>
23
- <% @services.each do |service| %>
24
- <li>
25
- <%= link_to service.to_s.humanize, oauth_consumer_path(service) %>
26
- </li>
27
- <% end %>
28
- </ul>
29
- <% end %>
1
+ <h1><%=translate('muck.oauth.services') %></h1>
2
+ <%= oauth_current_services(current_user) %>
3
+ <%= oauth_available_services(current_user) %>
4
+ <%= oauth_fancybox_scripts %>
@@ -1,7 +1,5 @@
1
- <h1>You are already Connected to <%=params[:id].humanize%></h1>
1
+ <h1><%=translate('muck.oauth.you_are_already_connected_to', :service => params[:id].humanize) %></h1>
2
2
  <% form_tag oauth_consumer_path(params[:id]),:method=>:delete do %>
3
- <%=submit_tag "Disconnect" %>
4
- or
5
- <%=submit_tag "Reconnect" %>
6
- if you experienced a problem.
3
+ <%=translate('muck.oauth.disconnect_or_reconnect', :disconnect => submit_tag(translate('muck.oauth.disconnect')),
4
+ :reconnect => submit_tag(translate('muck.oauth.reconnect'))) %>
7
5
  <% end %>
@@ -18,7 +18,9 @@ module MuckOauth
18
18
  path = File.join(File.dirname(__FILE__), *%w[.. ..])
19
19
  system "rsync -ruv #{path}/db ."
20
20
  system "rsync -ruv #{path}/public ."
21
- system "rsync -ruv #{path}/config/initializers ./config"
21
+ if !File.exists('./config/oauth_consumers.rb')
22
+ system "rsync -ruv #{path}/config/initializers/oauth_consumers.rb ./config/oauth_consumers.rb"
23
+ end
22
24
  end
23
25
  end
24
26
  end
data/lib/muck_oauth.rb CHANGED
@@ -1 +1,4 @@
1
+
2
+ ActionController::Base.send :helper, MuckOauthHelper
3
+
1
4
  I18n.load_path += Dir[ File.join(File.dirname(__FILE__), '..', 'locales', '*.{rb,yml}') ]
data/locales/ar.yml ADDED
@@ -0,0 +1,52 @@
1
+ ---
2
+ ar:
3
+ muck:
4
+ oauth:
5
+ access_token_url: "رمز وصول رابط"
6
+ application: تطبيق
7
+ application_developers: "التطبيق للمطورين"
8
+ are_you_sure: "هل أنت متأكد؟"
9
+ authorize_access: "تخويل الوصول إلى حسابك"
10
+ authorize_access_label: "السماح بالوصول"
11
+ authorize_access_question: "تريد أن يأذن ({{name}}){{link}}للوصول إلى حسابك؟"
12
+ authorize_url: "تأذن رابط"
13
+ back: خلف
14
+ back_label: خلف
15
+ callback_label: "رد رابط *"
16
+ consume_key: "الاستهلاكية الرئيسية :"
17
+ consume_secret: "المستهلك السري :"
18
+ delete: حذف
19
+ destroyed_successfully: "دمرت العميل طلب التسجيل"
20
+ disconnect: قطع
21
+ disconnect_or_reconnect: "{{disconnect}}أو {{reconnect}}إذا واجهت مشكلة."
22
+ do_you_have_an_application_to_register: "هل لديك تطبيق لكم نود أن نسجل للاستخدام مع لنا باستخدام معيار {{link}}؟"
23
+ edit: عدل
24
+ edit_application: "عدل طلبك"
25
+ edit_label: عدل
26
+ issued: أصدر
27
+ main_application_label: "* العنوان الرئيسي التطبيق"
28
+ name_label: "الاسم *"
29
+ oauth_client_applications: "OAuth تطبيقات العميل"
30
+ or: أو
31
+ reconnect: إعادة
32
+ register: سجل
33
+ register_a_new_application: "تسجيل طلب جديد"
34
+ register_your_application: "سجل طلبك"
35
+ registered_successfully: "تسجيل المعلومات بنجاح"
36
+ request_allowed: "كنت قد سمحت لهذا الطلب"
37
+ request_disallowed: "كنت قد ألغى هذا الطلب"
38
+ request_token_url: "طلب رمز عنوان"
39
+ revoke: إبطال!
40
+ services: الخدمات
41
+ show_label: يظهر
42
+ support_url_label: "رابط الدعم"
43
+ tokens_issued: "والرموز التالية قد صدرت إلى تطبيقات في اسمك"
44
+ updated_successfully: "تحديث معلومات العميل بنجاح"
45
+ we_support_hmac_sha: "نحن نؤيد hmac - sha1 (مستحسن) ، وكذلك نص عادي في وضع تصميم المواقع."
46
+ wrong_id: "تطبيق خاطئ معرف"
47
+ you_are_already_connected_to: "كنت بالفعل متصلة {{service}}"
48
+ you_are_connected_to_the_following_services: "كنت متصلا الخدمات التالية :"
49
+ you_are_currently_not_connected_to_any_external_services: "كنت حاليا لا علاقة لها بأي الخدمات الخارجية."
50
+ you_can_connect_to_the_following_services: "يمكنك الاتصال الخدمات التالية :"
51
+ you_have_the_following_client_applications_registered: "لديك ما يلي تطبيقات العميل المسجلة :"
52
+ you_must_register_your_web_application: "يجب عليك تسجيل تطبيقات الويب الخاصة بك قبل أن تتمكن من تقديم طلبات OAuth لهذه الخدمة"
data/locales/bg.yml ADDED
@@ -0,0 +1,52 @@
1
+ ---
2
+ bg:
3
+ muck:
4
+ oauth:
5
+ access_token_url: "Достъпът Знак URL"
6
+ application: Приложение
7
+ application_developers: "Application Developers"
8
+ are_you_sure: "Сигурни ли сте?"
9
+ authorize_access: "Разрешете достъп до профила си"
10
+ authorize_access_label: "разрешават достъп"
11
+ authorize_access_question: "Бихте ли искали да разрешат {{name}} ({{link}}) за достъп до вашия профил?"
12
+ authorize_url: "Разрешете URL"
13
+ back: Отзад
14
+ back_label: Отзад
15
+ callback_label: "Callback URL *"
16
+ consume_key: "Ключ на потребителите:"
17
+ consume_secret: "Тайната на потребителите:"
18
+ delete: Изтривам
19
+ destroyed_successfully: "Унищожени регистрацията клиентско приложение"
20
+ disconnect: Прекъсване
21
+ disconnect_or_reconnect: "{{disconnect}} Или {{reconnect}} ако сте имали проблем."
22
+ do_you_have_an_application_to_register: "Имате ли приложението, което биха искали да се регистрирате за употреба с нас чрез {{link}} стандарт?"
23
+ edit: Редактиране
24
+ edit_application: "Редактиране на вашата кандидатура"
25
+ edit_label: Редактиране
26
+ issued: Издава
27
+ main_application_label: "Основното приложение URL *"
28
+ name_label: "Име *"
29
+ oauth_client_applications: "OAuth клиентските приложения"
30
+ or: или
31
+ reconnect: "Включете отново"
32
+ register: Регистрация
33
+ register_a_new_application: "Регистрация на нов прилагане"
34
+ register_your_application: "Регистрация вашата кандидатура"
35
+ registered_successfully: "Регистриран на информация успешно"
36
+ request_allowed: "Можете да позволи това искане"
37
+ request_disallowed: "Имате право забранени тази заявка"
38
+ request_token_url: "Заявка Знак URL"
39
+ revoke: Отменете!
40
+ services: Услуги
41
+ show_label: Показвам
42
+ support_url_label: "Подкрепа URL"
43
+ tokens_issued: "Следните символи са издадени на приложения в името си"
44
+ updated_successfully: "Промяна на информация на клиента, успешно"
45
+ we_support_hmac_sha: "Ние подкрепяме HMAC-sha1 (препоръчително), както и като обикновен текст в SSL режим."
46
+ wrong_id: "Грешен ID на приложение"
47
+ you_are_already_connected_to: "Вие вече сте свързани към {{service}}"
48
+ you_are_connected_to_the_following_services: "Вие сте свързан към следните услуги:"
49
+ you_are_currently_not_connected_to_any_external_services: "Вие не сте свързани към всякакви външни услуги."
50
+ you_can_connect_to_the_following_services: "Можете да се свържете на следните услуги:"
51
+ you_have_the_following_client_applications_registered: "Имате следните приложения клиент регистрирани:"
52
+ you_must_register_your_web_application: "Трябва да се регистрирате вашия уеб приложение, преди да може да OAuth искания за тази услуга"
data/locales/ca.yml ADDED
@@ -0,0 +1,52 @@
1
+ ---
2
+ ca:
3
+ muck:
4
+ oauth:
5
+ access_token_url: "Testimoni d&#39;accés URL"
6
+ application: Sol.licitud
7
+ application_developers: "Desenvolupadors d&#39;aplicacions"
8
+ are_you_sure: "Estàs segur?"
9
+ authorize_access: "Autoritzar l&#39;accés al vostre compte"
10
+ authorize_access_label: "autoritzar l&#39;accés"
11
+ authorize_access_question: "T &#39;agradaria autoritzar ({{name}}) {{link}} per accedir al seu compte?"
12
+ authorize_url: "Autoritzar URL"
13
+ back: Esquena
14
+ back_label: Esquena
15
+ callback_label: "URL de l&#39;anomenada *"
16
+ consume_key: "Consumidor clau:"
17
+ consume_secret: "Secret dels consumidors:"
18
+ delete: Esborrar
19
+ destroyed_successfully: "Destruir la sol.licitud de registre de client"
20
+ disconnect: Desconnectar
21
+ disconnect_or_reconnect: "{{disconnect}} O {{reconnect}} si ha experimentat un problema."
22
+ do_you_have_an_application_to_register: "Té una aplicació que no està registrat per a l&#39;ús amb nosaltres utilitzant l&#39;estàndard {{link}}?"
23
+ edit: Edita
24
+ edit_application: "Edita la seva aplicació"
25
+ edit_label: Edita
26
+ issued: Atorgada
27
+ main_application_label: "Aplicació principal URL *"
28
+ name_label: "Nom *"
29
+ oauth_client_applications: "OAuth aplicacions client"
30
+ or: o
31
+ reconnect: "Tornar a connectar"
32
+ register: Registre
33
+ register_a_new_application: "Registrar una nova sol licitud"
34
+ register_your_application: "Registrar la seva aplicació"
35
+ registered_successfully: "Registrat la informació amb èxit"
36
+ request_allowed: "Han permès que aquesta petició"
37
+ request_disallowed: "Ha rebutjat la sol licitud"
38
+ request_token_url: "Sol.licitud d&#39;token d&#39;URL"
39
+ revoke: Revocar!
40
+ services: Serveis
41
+ show_label: Mostra
42
+ support_url_label: "URL de Suport"
43
+ tokens_issued: "Les fitxes següents s&#39;han publicat a les sol licituds en el seu nom"
44
+ updated_successfully: "Actualització de la informació del client amb èxit"
45
+ we_support_hmac_sha: "Donem suport HMAC-SHA1 (recomanat), així com a text sense format en el mode SSL."
46
+ wrong_id: "Aplicació incorrecta ID"
47
+ you_are_already_connected_to: "Vostè ja està connectat a {{service}}"
48
+ you_are_connected_to_the_following_services: "Està connectat als següents serveis:"
49
+ you_are_currently_not_connected_to_any_external_services: "Actualment no estàs connectat a qualsevol dels serveis externs."
50
+ you_can_connect_to_the_following_services: "Podeu connectar-se als següents serveis:"
51
+ you_have_the_following_client_applications_registered: "Vostè té les aplicacions de client després de registrats:"
52
+ you_must_register_your_web_application: "Vostè ha de registrar la seva aplicació web abans de que es pot fer peticions OAuth a aquest servei de"
data/locales/cs.yml ADDED
@@ -0,0 +1,52 @@
1
+ ---
2
+ cs:
3
+ muck:
4
+ oauth:
5
+ access_token_url: "Přístup Token URL"
6
+ application: Aplikace
7
+ application_developers: "Application Developers"
8
+ are_you_sure: "Jste si jistá?"
9
+ authorize_access: "Povolit přístup k vašemu účtu"
10
+ authorize_access_label: "povolit přístup"
11
+ authorize_access_question: "Chtěli byste povolit {{name}} ({{link}}) přístup k vašemu účtu?"
12
+ authorize_url: "Povolit URL"
13
+ back: Zpět
14
+ back_label: Zpět
15
+ callback_label: "Zpětné volání URL *"
16
+ consume_key: "Spotřebitelské Klíč:"
17
+ consume_secret: "Spotřebitelské Secret:"
18
+ delete: Odstranit
19
+ destroyed_successfully: "Zničil klientské aplikace zápis"
20
+ disconnect: Odpojit
21
+ disconnect_or_reconnect: "{{disconnect}} Nebo {{reconnect}} pokud jste zkušený problém."
22
+ do_you_have_an_application_to_register: "Máte aplikaci, kterou chcete zaregistrovat pro použití s námi za použití standardních {{link}}?"
23
+ edit: Upravit
24
+ edit_application: "Upravit aplikaci"
25
+ edit_label: Upravit
26
+ issued: Vydaných
27
+ main_application_label: "Hlavní aplikací URL *"
28
+ name_label: "Jméno *"
29
+ oauth_client_applications: "OAuth klientských aplikací"
30
+ or: nebo
31
+ reconnect: "Znovu připojit"
32
+ register: Registrovat
33
+ register_a_new_application: "Registrovat novou žádost"
34
+ register_your_application: "Zaregistrovat aplikace"
35
+ registered_successfully: "Registrovaných informací úspěšně"
36
+ request_allowed: "Máte možnost tuto žádost"
37
+ request_disallowed: "Máte nepovolené touto žádostí"
38
+ request_token_url: "Žádost Token URL"
39
+ revoke: Zrušit!
40
+ services: Služby
41
+ show_label: Ukázat
42
+ support_url_label: "Podpora URL"
43
+ tokens_issued: "Následující žetony, které byly vydány v žádosti své jméno"
44
+ updated_successfully: "Aktualizované informace o klientech, úspěšně"
45
+ we_support_hmac_sha: "Podporujeme HMAC-SHA1 (doporučeno), stejně jako prostý text v ssl módu."
46
+ wrong_id: "Nesprávná aplikace id"
47
+ you_are_already_connected_to: "Jste již připojeni k {{service}}"
48
+ you_are_connected_to_the_following_services: "Jste připojeni na následující služby:"
49
+ you_are_currently_not_connected_to_any_external_services: "Momentálně nejste připojeni k žádné externí služby."
50
+ you_can_connect_to_the_following_services: "Můžete se připojit k následující služby:"
51
+ you_have_the_following_client_applications_registered: "Máte následující klient registrovaných žádostí:"
52
+ you_must_register_your_web_application: "Musíte se registrovat webové aplikace, než bude moci udělat OAuth žádostí o tuto službu"
data/locales/da.yml ADDED
@@ -0,0 +1,52 @@
1
+ ---
2
+ da:
3
+ muck:
4
+ oauth:
5
+ access_token_url: "Access Token URL"
6
+ application: Ansøgning
7
+ application_developers: "Application Developers"
8
+ are_you_sure: "Er du sikker?"
9
+ authorize_access: "Tillade adgang til din konto"
10
+ authorize_access_label: "tillade adgang"
11
+ authorize_access_question: "Vil du tillade {{name}} ({{link}}) at få adgang til din konto?"
12
+ authorize_url: "Godkend URL"
13
+ back: Tilbage
14
+ back_label: Tilbage
15
+ callback_label: "Callback URL *"
16
+ consume_key: "Forbruger Key:"
17
+ consume_secret: "Forbruger Secret:"
18
+ delete: Slet
19
+ destroyed_successfully: "Ødelagt klientprogrammet registrering"
20
+ disconnect: Afbryd
21
+ disconnect_or_reconnect: "{{disconnect}} Eller {{reconnect}} hvis du oplever et problem."
22
+ do_you_have_an_application_to_register: "Har du et program du ønsker at registrere til brug sammen med os ved hjælp af {{link}} standard?"
23
+ edit: Rediger
24
+ edit_application: "Rediger din ansøgning"
25
+ edit_label: Rediger
26
+ issued: Udstedt
27
+ main_application_label: "Main Application URL *"
28
+ name_label: "Navn *"
29
+ oauth_client_applications: "OAuth Client Applications"
30
+ or: eller
31
+ reconnect: Reconnect
32
+ register: Register
33
+ register_a_new_application: "Registrer en ny ansøgning"
34
+ register_your_application: "Registrer din ansøgning"
35
+ registered_successfully: "Registrerede oplysninger succes"
36
+ request_allowed: "Du har tilladt denne anmodning"
37
+ request_disallowed: "Du har afvist denne anmodning"
38
+ request_token_url: "Request Token URL"
39
+ revoke: Tilbagekald!
40
+ services: Services
41
+ show_label: Vise
42
+ support_url_label: "Support URL"
43
+ tokens_issued: "Følgende tokens er blevet udstedt til ansøgninger i dit navn"
44
+ updated_successfully: "Opdateret den kundeoplysninger succes"
45
+ we_support_hmac_sha: "Vi støtter hmac-sha1 (anbefales) såvel som almindelig tekst i SSL-tilstand."
46
+ wrong_id: "Forkert anvendelse id"
47
+ you_are_already_connected_to: "Du allerede har forbindelse til {{service}}"
48
+ you_are_connected_to_the_following_services: "Du er forbundet til følgende ydelser:"
49
+ you_are_currently_not_connected_to_any_external_services: "Du er i øjeblikket ikke er tilsluttet nogen eksterne tjenester."
50
+ you_can_connect_to_the_following_services: "Du kan oprette forbindelse til følgende ydelser:"
51
+ you_have_the_following_client_applications_registered: "Du har følgende kunden registrerede programmer:"
52
+ you_must_register_your_web_application: "Du skal registrere din web-applikation, før det kan lade OAuth anmodninger om denne tjeneste"