Skip to content

Commit

Permalink
Fix untranslated strings
Browse files Browse the repository at this point in the history
  • Loading branch information
cbliard committed Sep 4, 2023
1 parent e63baa2 commit ed6e875
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/controllers/wiki_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ def editable?(page = @page)
end

def default_breadcrumb
Wiki.name.humanize
Wiki.model_name.human
end

def show_local_breadcrumb
Expand Down
2 changes: 1 addition & 1 deletion app/views/forums/edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
See COPYRIGHT and LICENSE files for more details.
++#%>
<%= toolbar title: Forum.name.humanize %>
<%= toolbar title: Forum.model_name.human %>
<%= labelled_tabular_form_for [@project, @forum] do |f| %>
<%= render partial: 'form', locals: { f: f } %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/messages/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ See COPYRIGHT and LICENSE files for more details.
<% end %>
<% if !replying && !@message.new_record? && User.current.allowed_to?(:edit_messages, @project) %>
<div class="form--field">
<%= f.select :forum_id, @project.forums.collect {|b| [b.name, b.id]}, label: Forum.name.humanize, container_class: '-wide' %>
<%= f.select :forum_id, @project.forums.collect {|b| [b.name, b.id]}, label: Forum.model_name.human, container_class: '-wide' %>
</div>
<% end %>

Expand Down

0 comments on commit ed6e875

Please sign in to comment.