presence/app/views/chat/_settings.html.erb in social_stream-0.12.14 vs presence/app/views/chat/_settings.html.erb in social_stream-0.13.0
- old
+ new
@@ -1,17 +1,17 @@
<div class="block" id="chat_settings">
<div class="header">
<div class="header_text">
- Chat
+ <%=t('chat.title')%>
</div>
<div class="header_icon_right">
<%= link_to (image_tag('btn/edit.png')), "javascript:showSettings(\"chat_settings\");" %>
</div>
</div>
<div id="chat_settings_briefing" class="settings_briefing content">
<div class="form_row">
- Enable and configure Social Stream Chat
+ <%=t('chat.settings.title')%>
</div>
</div>
<div class="content settings_content" id="chat_settings_content" style="display:none;">
<%= form_tag(:controller => "Xmpp", :action => "updateSettings", :method => "get") do %>
<ul>
@@ -19,14 +19,14 @@
<div class="form_row">
</div>
<div class="form_sub_row">
<% checked = current_user.chat_enabled %>
<%= check_box_tag 'enable_chat', true, checked %>
- <%= label_tag(:enable_chat, "Enable or disable Social Stream Chat") %>
+ <%= label_tag(:enable_chat, t('chat.settings.checkbox')) %>
</div>
<div class="actions center">
<%= hidden_field_tag :settings_section, :chat %>
- <%= submit_tag "Update Settings", :class => "button" %>
+ <%= submit_tag t('chat.settings.update'), :class => "button" %>
</div>
</div>
</ul>
<% end %>
</div>