translate a string in services#index view
This commit is contained in:
parent
408690f0fa
commit
b645a77be9
2 changed files with 2 additions and 1 deletions
|
|
@ -12,7 +12,7 @@
|
||||||
%b= service.nickname
|
%b= service.nickname
|
||||||
= link_to t('services.index.disconnect'), service_path(service), :confirm => t('services.index.really_disconnect', :service => service.provider), :method => :delete
|
= link_to t('services.index.disconnect'), service_path(service), :confirm => t('services.index.really_disconnect', :service => service.provider), :method => :delete
|
||||||
- else
|
- else
|
||||||
You haven't connected any services yet.
|
= t('.no_services')
|
||||||
|
|
||||||
- AppConfig.configured_services.each do |service|
|
- AppConfig.configured_services.each do |service|
|
||||||
- unless @services.any?{|x| x.provider == service}
|
- unless @services.any?{|x| x.provider == service}
|
||||||
|
|
|
||||||
|
|
@ -591,6 +591,7 @@ en:
|
||||||
connect_to_facebook: "Connect to Facebook"
|
connect_to_facebook: "Connect to Facebook"
|
||||||
connect_to_tumblr: "Connect to Tumblr"
|
connect_to_tumblr: "Connect to Tumblr"
|
||||||
edit_services: "Edit services"
|
edit_services: "Edit services"
|
||||||
|
no_services: 'You have not connected any services yet.'
|
||||||
create:
|
create:
|
||||||
success: "Authentication successful."
|
success: "Authentication successful."
|
||||||
destroy:
|
destroy:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue