From fa27df2c88d1ad41a675e55b10550dbcbe072ad6 Mon Sep 17 00:00:00 2001 From: Marcelo Júnior Date: Tue, 16 Dec 2014 11:58:00 -0300 Subject: [PATCH] community_hub: fix up translations --- plugins/community_hub/views/cms/community_hub_plugin/_hub.html.erb | 35 +++++++++++++++++++---------------- plugins/community_hub/views/content_viewer/hub.html.erb | 7 ++++--- script/updatepo/data/pt.upo | 28 ++++++++++++++++++++++++++++ 3 files changed, 51 insertions(+), 19 deletions(-) diff --git a/plugins/community_hub/views/cms/community_hub_plugin/_hub.html.erb b/plugins/community_hub/views/cms/community_hub_plugin/_hub.html.erb index ae18bcc..a930611 100644 --- a/plugins/community_hub/views/cms/community_hub_plugin/_hub.html.erb +++ b/plugins/community_hub/views/cms/community_hub_plugin/_hub.html.erb @@ -11,36 +11,39 @@

<%= _('Twitter Settings:') %>

-
- <%= check_box(:article, :twitter_enabled) %> <%= _("Turn on TWITTER") %> -
- <%= labelled_form_field(_('Twitter\'s Hashtags, comma separated words
(example: participa.br,participabr,arenanetmundial,netmundial'), text_field(:article, :twitter_hashtags)) %>
+ + <%= check_box(:article, :twitter_enabled) %> + <%= _("Turn on TWITTER") %> + + <%= labelled_form_field(_('Twitter\'s Hashtags, comma separated (example: participa.br,participabr)'), text_field(:article, :twitter_hashtags)) %> +
<%= labelled_form_field(_('Twitter\'s consumer key'), text_field(:article, :twitter_consumer_key)) %> -
+
<%= labelled_form_field(_('Twitter\'s consumer secret'), text_field(:article, :twitter_consumer_secret)) %> -
+
<%= labelled_form_field(_('Twitter\'s access token'), text_field(:article, :twitter_access_token)) %> -
+
<%= labelled_form_field(_('Twitter\'s access token secret'), text_field(:article, :twitter_access_token_secret)) %> -
-
+ +

<%= _('Facebook Settings:') %>

-
- <%= check_box(:article, :facebook_enabled) %> <%= _("Turn on FACEBOOK") %> -

- <%= labelled_form_field(_('Facebook\'s hashtag (example: #participabr)'), text_field(:article, :facebook_hashtag)) %> -
- <%= labelled_form_field(_('Facebook\'s access token'), text_field(:article, :facebook_access_token)) %> + + <%= check_box(:article, :facebook_enabled) %> + <%= _("Turn on FACEBOOK") %> + + <%= labelled_form_field(_('Facebook\'s hashtag (example: #participabr)'), text_field(:article, :facebook_hashtag)) %> + + <%= labelled_form_field(_('Facebook\'s access token'), text_field(:article, :facebook_access_token)) %>
<%= _('How to get a new access token?') %>
- \ No newline at end of file + diff --git a/plugins/community_hub/views/content_viewer/hub.html.erb b/plugins/community_hub/views/content_viewer/hub.html.erb index 8401b80..ad8dff4 100644 --- a/plugins/community_hub/views/content_viewer/hub.html.erb +++ b/plugins/community_hub/views/content_viewer/hub.html.erb @@ -35,10 +35,11 @@ :action => 'new_message', :article_id => @page.id } do |f| %> - <%= _("Streaming") %> + <%= _("Message") %>:
<%= f.text_area :body, :style => "width: 99%;", :cols => "38", :rows => "5", :placeholder => _("Type your message here") %> - <%= submit_button('add', _('Post'), :onclick => 'new_message(this); return false;') %> + <%= submit_button('add', _('Send'), :onclick => 'new_message(this); return false;') %> + <% end %> @@ -75,7 +76,7 @@ } do |f| %> <%= f.hidden_field :parent_id, :value => @page.id %> <%= f.text_area :body, :style => "width: 100%;", :class => "mceEditor" %> - <%= submit_button('add', _('Post'), :onclick => 'new_mediation(this); return false;') %> + <%= submit_button('add', _('Send'), :onclick => 'new_mediation(this); return false;') %> <% end %> diff --git a/script/updatepo/data/pt.upo b/script/updatepo/data/pt.upo index 4bb56ec..c3851b8 100644 --- a/script/updatepo/data/pt.upo +++ b/script/updatepo/data/pt.upo @@ -49,3 +49,31 @@ msgid "Full screen"# msgstr "Tela cheia" msgid "Upload"# msgstr "Enviar" msgid "Login with:"# msgstr "Entrar com:" msgid "Vote"# msgstr "Vote" +msgid "Defines a hub."# msgstr "Define um hub." +msgid "HUB Settings:"# msgstr "Configurações do HUB:" +msgid "Twitter Settings:"# msgstr "Configurações do Twitter:" +msgid "Turn on TWITTER"# msgstr "Habilitar TWITTER" +msgid "Twitter's Hashtags, comma separated (example: participa.br,participabr)"# msgstr "Hashtags do Twitter, separadas por vírgula (exemplo: participa.br,participabr)" +msgid "Twitter's consumer key"# msgstr "Chave do cliente Twitter" +msgid "Twitter's consumer secret"# msgstr "Segredo do cliente Twitter" +msgid "Twitter's access token"# msgstr "Token de acesso ao Twitter" +msgid "Twitter's access token secret"# msgstr "Segredo do token de acesso ao Twitter" +msgid "Facebook Settings:"# msgstr "Configurações do Facebook" +msgid "Turn on FACEBOOK"# msgstr "Habilitar FACEBOOK" +msgid "Facebook's hashtag (example: #participabr)"# msgstr "Hashtag do Facebook (exemplo: #participabr)" +msgid "Facebook's access token"# msgstr "Token de acesso ao Facebook" +msgid "How to get a new access token?"# msgstr "Como obter um novo token de acesso?" +msgid "User not promoted"# msgstr "Usuário não promovido" +msgid "User promoted"# msgstr "Usuário promovido" +msgid "Message pinned"# msgstr "Mensagem fixada" +msgid "Type your comment here"# msgstr "Escreva seu comentário aqui" +msgid "Post"# msgstr "Postagem" +msgid "Pin message"# msgstr "Fixar mensagem" +msgid "BANNER SPACE"# msgstr "Espaço para propaganda" +msgid "General settings"# msgstr "Configurações gerais" +msgid "Live"# msgstr "Ao vivo" +msgid "Mediation"# msgstr "Mediação" +msgid "Auto scrolling"# msgstr "Rolagem automática" +msgid "Type your message here"# msgstr "Escreva sua mensagem aqui" +msgid "Are you sure that you want to pin this message?"# msgstr "Tem certeza que quer fixar esta mensagem?" +msgid "Are you sure that you want to promote this user?"# msgstr "Tem certeza que quer promover este usuário?" -- libgit2 0.21.2