From c7b8c185bd07e875b794fdf786629f84b69e321a Mon Sep 17 00:00:00 2001 From: Raphael Date: Thu, 18 Nov 2010 15:39:34 -0800 Subject: [PATCH] Disable with on publisher form --- app/views/shared/_publisher.haml | 4 ++-- config/locales/diaspora/en.yml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/shared/_publisher.haml b/app/views/shared/_publisher.haml index f196a5f7b..40703cbdd 100644 --- a/app/views/shared/_publisher.haml +++ b/app/views/shared/_publisher.haml @@ -32,9 +32,9 @@ .options_and_submit - if aspect == :all - = status.submit t('.share'), :title => t('.share_with_all') + = status.submit t('.share'), :title => t('.share_with_all'), :disable_with => t('.posting') - else - = status.submit t('.share'), :title => t('.share_with', :aspect => aspect) + = status.submit t('.share'), :title => t('.share_with', :aspect => aspect), :disable_with => t('.posting') - if aspect == :all .public_toggle diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index 244c4f846..9c40b8d93 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -66,6 +66,7 @@ en: everyone: "Everyone" add_a_new_aspect: "add a new aspect" publisher: + posting: "Posting..." share: "Share" post_a_message_to: "Post a message to %{aspect}" make_public: "make public"