From 03e79da17130f75446e38f10c778f8427df1504a Mon Sep 17 00:00:00 2001 From: Arzumy MD Date: Wed, 13 Jul 2011 12:17:26 +0800 Subject: [PATCH] fixed missing i18n key for no_services --- app/views/shared/_add_remove_services.haml | 2 +- config/locales/diaspora/en.yml | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/views/shared/_add_remove_services.haml b/app/views/shared/_add_remove_services.haml index 68fef5351..311d75bd8 100644 --- a/app/views/shared/_add_remove_services.haml +++ b/app/views/shared/_add_remove_services.haml @@ -12,7 +12,7 @@ %b= service.nickname = link_to t('services.index.disconnect'), service_path(service), :confirm => t('services.index.really_disconnect', :service => service.provider), :method => :delete - else - = t('.no_services') + = t('services.index.no_services') - AppConfig.configured_services.each do |service| - unless @services.any?{|x| x.provider == service} diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index 3703159d9..35a650d59 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -389,12 +389,12 @@ en: other: "and %{count} others" and: 'and' helper: - new_notifications: - zero: "No new notifications" - one: "1 new notifications" - few: "%{count} new notifications" - many: "%{count} new notifications" - other: "%{count} new notifications" + new_notifications: + zero: "No new notifications" + one: "1 new notifications" + few: "%{count} new notifications" + many: "%{count} new notifications" + other: "%{count} new notifications" notifier: hello: "Hello %{name}!"