Skip to content

Commit

Permalink
still more missing translations
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszdw committed Apr 12, 2014
1 parent fae589b commit e8b08f2
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
1 change: 0 additions & 1 deletion app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ def snippet(thought, wordcount=10)
thought.split[0..(wordcount-1)].join(" ") +(thought.split.size > wordcount ? "..." : "")
end

# komunikat wyswietlony zostanie tylko raz na stronie
def field_messages_for(model, attribute=nil)
if model && attribute
err = model.errors[attribute]
Expand Down
2 changes: 1 addition & 1 deletion app/views/ans/edit.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="title">
<h3>Edytuj odpowiedź na pytanie - <%= @an.thr.stitle %></h3>
<h3><%=t 'ans.edit.title' %> - <%= @an.thr.stitle %></h3>
</div>

<%= render 'form' %>
2 changes: 1 addition & 1 deletion app/views/shared/_flash_window.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<div id="flash_messages" class="flash_window">
<% if flash[:notice] || flash[:warning] || flash[:error] %>
<% if flash[:notice] %>
<h2>Komunikat</h2>
<h2>Alert</h2>
<% end %>
<% if flash[:warning] %>
<% end %>
Expand Down
3 changes: 2 additions & 1 deletion config/locales/ans/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ en:
create:
saved: "Answer was published"
edit:
title: "Edit answer for question"
update:
saved: "Answer was saved"
destroy:
Expand All @@ -19,7 +20,7 @@ en:

unauthorized:
read:
an: "You can't see/read/view this answer"
an: "You can't read this answer"
create:
an: "You can't create answer"
update:
Expand Down
4 changes: 2 additions & 2 deletions config/locales/global/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ en:
all: "You dont have access here"

unauthorize_desc: "<div style=\"margin-top:10px;\" class=\"small_font\">
Prawdopodobnie masz za mało punktów reputacji by wykonać tę czynność.
Pokręć się troche - zapytaj, odpowiedz, zgłoś - te działania zwiększają Twoja reputacje </div>"
You probably have not enough reputation points to perform this operation.
Stick around a bit - ask, answer, report - these activities increase your reputation </div>"

# Repeated actions and phreases. Unassign to any logic
show: "Show"
Expand Down

0 comments on commit e8b08f2

Please sign in to comment.