Commit 0faf9e816ce38c42cf67d88dee0806f2c87f36b7
1 parent
45c85fa7
Exists in
community_hub_submodule
community_hub: fix up translations
Showing
2 changed files
with
23 additions
and
19 deletions
Show diff stats
views/cms/community_hub_plugin/_hub.html.erb
| ... | ... | @@ -11,36 +11,39 @@ |
| 11 | 11 | <div> |
| 12 | 12 | <h2><%= _('Twitter Settings:') %></h2> |
| 13 | 13 | </div> |
| 14 | - <br /> | |
| 15 | - <%= check_box(:article, :twitter_enabled) %> <span><%= _("Turn on TWITTER") %></span> | |
| 16 | - <br /> | |
| 17 | - <span><%= labelled_form_field(_('Twitter\'s Hashtags, comma separated words<br>(example: participa.br,participabr,arenanetmundial,netmundial'), text_field(:article, :twitter_hashtags)) %></span> | |
| 14 | + | |
| 15 | + <%= check_box(:article, :twitter_enabled) %> | |
| 16 | + <span><%= _("Turn on TWITTER") %></span> | |
| 17 | + | |
| 18 | + <span><%= labelled_form_field(_('Twitter\'s Hashtags, comma separated (example: participa.br,participabr)'), text_field(:article, :twitter_hashtags)) %></span> | |
| 19 | + | |
| 18 | 20 | <div> |
| 19 | 21 | <%= labelled_form_field(_('Twitter\'s consumer key'), text_field(:article, :twitter_consumer_key)) %> |
| 20 | - </div> | |
| 22 | + </div> | |
| 21 | 23 | |
| 22 | 24 | <div> |
| 23 | 25 | <%= labelled_form_field(_('Twitter\'s consumer secret'), text_field(:article, :twitter_consumer_secret)) %> |
| 24 | - </div> | |
| 26 | + </div> | |
| 25 | 27 | |
| 26 | 28 | <div> |
| 27 | 29 | <%= labelled_form_field(_('Twitter\'s access token'), text_field(:article, :twitter_access_token)) %> |
| 28 | - </div> | |
| 30 | + </div> | |
| 29 | 31 | |
| 30 | 32 | <div> |
| 31 | 33 | <%= labelled_form_field(_('Twitter\'s access token secret'), text_field(:article, :twitter_access_token_secret)) %> |
| 32 | - </div> | |
| 33 | - <br /> | |
| 34 | + </div> | |
| 35 | + <br /> | |
| 34 | 36 | <div> |
| 35 | 37 | <h2><%= _('Facebook Settings:') %></h2> |
| 36 | 38 | </div> |
| 37 | - <br /> | |
| 38 | - <%= check_box(:article, :facebook_enabled) %> <span><%= _("Turn on FACEBOOK") %></span> | |
| 39 | - <br /><br /> | |
| 40 | - <span><%= labelled_form_field(_('Facebook\'s hashtag (example: #participabr)'), text_field(:article, :facebook_hashtag)) %></span> | |
| 41 | - <br /> | |
| 42 | - <span><%= labelled_form_field(_('Facebook\'s access token'), text_field(:article, :facebook_access_token)) %></span> | |
| 39 | + | |
| 40 | + <%= check_box(:article, :facebook_enabled) %> | |
| 41 | + <span><%= _("Turn on FACEBOOK") %></span> | |
| 42 | + | |
| 43 | + <span><%= labelled_form_field(_('Facebook\'s hashtag (example: #participabr)'), text_field(:article, :facebook_hashtag)) %></span> | |
| 44 | + | |
| 45 | + <span><%= labelled_form_field(_('Facebook\'s access token'), text_field(:article, :facebook_access_token)) %></span> | |
| 43 | 46 | <br /> |
| 44 | 47 | <a href='https://smashballoon.com/custom-facebook-feed/access-token/' ><%= _('How to get a new access token?') %><a> |
| 45 | 48 | <br /> |
| 46 | -</div> | |
| 47 | 49 | \ No newline at end of file |
| 50 | +</div> | ... | ... |
views/content_viewer/hub.html.erb
| ... | ... | @@ -35,10 +35,11 @@ |
| 35 | 35 | :action => 'new_message', |
| 36 | 36 | :article_id => @page.id |
| 37 | 37 | } do |f| %> |
| 38 | - <span><%= _("Streaming") %></span> | |
| 38 | + <span><%= _("Message") %>:</span> | |
| 39 | 39 | <br /> |
| 40 | 40 | <%= f.text_area :body, :style => "width: 99%;", :cols => "38", :rows => "5", :placeholder => _("Type your message here") %> |
| 41 | - <%= submit_button('add', _('Post'), :onclick => 'new_message(this); return false;') %> | |
| 41 | + <%= submit_button('add', _('Send'), :onclick => 'new_message(this); return false;') %> | |
| 42 | + | |
| 42 | 43 | <% end %> |
| 43 | 44 | |
| 44 | 45 | </div> |
| ... | ... | @@ -75,7 +76,7 @@ |
| 75 | 76 | } do |f| %> |
| 76 | 77 | <%= f.hidden_field :parent_id, :value => @page.id %> |
| 77 | 78 | <%= f.text_area :body, :style => "width: 100%;", :class => "mceEditor" %> |
| 78 | - <%= submit_button('add', _('Post'), :onclick => 'new_mediation(this); return false;') %> | |
| 79 | + <%= submit_button('add', _('Send'), :onclick => 'new_mediation(this); return false;') %> | |
| 79 | 80 | <% end %> |
| 80 | 81 | |
| 81 | 82 | </div> | ... | ... |