From 7339449c109c0e52bd44492f8d1f1a7f72b05c22 Mon Sep 17 00:00:00 2001 From: "karel.picman@lbcfree.net" Date: Thu, 7 May 2020 12:11:23 +0200 Subject: [PATCH] Label 'Permissions' replaced with 'Prohibit access for' --- app/views/dmsf/edit.html.erb | 10 +++++----- app/views/dmsf_folder_permissions/_new.html.erb | 10 +++------- config/locales/cs.yml | 3 ++- config/locales/de.yml | 3 ++- config/locales/en.yml | 3 ++- config/locales/es.yml | 3 ++- config/locales/fr.yml | 3 ++- config/locales/hu.yml | 3 ++- config/locales/it.yml | 3 ++- config/locales/ja.yml | 3 ++- config/locales/ko.yml | 3 ++- config/locales/nl.yml | 3 ++- config/locales/pl.yml | 3 ++- config/locales/pt-BR.yml | 3 ++- config/locales/ru.yml | 3 ++- config/locales/sl.yml | 3 ++- config/locales/zh-TW.yml | 3 ++- config/locales/zh.yml | 3 ++- 18 files changed, 40 insertions(+), 28 deletions(-) diff --git a/app/views/dmsf/edit.html.erb b/app/views/dmsf/edit.html.erb index 0d5676dc..b31c580a 100644 --- a/app/views/dmsf/edit.html.erb +++ b/app/views/dmsf/edit.html.erb @@ -48,19 +48,19 @@ <% end %> <% end %> <% unless @folder.locked? %> - <%= link_to(l(:button_delete), delete_dmsf_path(id: @project, folder_id: @folder), + <%= link_to l(:button_delete), delete_dmsf_path(id: @project, folder_id: @folder), data: { confirm: l(:text_are_you_sure) }, - title: l(:button_delete), class: 'icon icon-del', method: :delete) %> + title: l(:button_delete), class: 'icon icon-del', method: :delete %> <% end %> <% end %> <% create = @pathfolder == @parent %> <%= render partial: 'path', - locals: { folder: @pathfolder, filename: create ? l(:heading_new_folder) : nil, title: nil} %> + locals: { folder: @pathfolder, filename: create ? l(:heading_new_folder) : nil, title: nil } %> <%= labelled_form_for(@folder, - url: { action: create ? 'create' : 'save', id: @project, folder_id: @folder, parent_id: @parent}, + url: { action: create ? 'create' : 'save', id: @project, folder_id: @folder, parent_id: @parent }, html: { method: :post }) do |f| %> <%= error_messages_for @folder %> <%= f.hidden_field :redirect_to_folder_id, value: @redirect_to_folder_id %> @@ -94,7 +94,7 @@
<% end %> <% end %> - <%= label_tag '', l(:label_permissions) %> + <%= label_tag '', l(:label_dmsf_permissions) %> <% Role.givable.each do |role| %> <% checked = @folder.permission_for_role(role) %>