summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2018-04-26 14:37:46 +0000
committerGo MAEDA <maeda@farend.jp>2018-04-26 14:37:46 +0000
commite46fb350a62fc6f043c452fdce842779510eccd2 (patch)
tree30be75ac953c5072a80823aaab01c10a25faf758
parentd1a9d5dbf23fe8a98f443d928bfcc5eaa6643bbe (diff)
downloadredmine-e46fb350a62fc6f043c452fdce842779510eccd2.tar.gz
redmine-e46fb350a62fc6f043c452fdce842779510eccd2.zip
Clarify consequences of setting a project as public (#27009).
Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@17311 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/projects/_form.html.erb5
-rw-r--r--config/locales/de.yml2
-rw-r--r--config/locales/en.yml2
3 files changed, 8 insertions, 1 deletions
diff --git a/app/views/projects/_form.html.erb b/app/views/projects/_form.html.erb
index 5bd5a9f0c..fc758f4e9 100644
--- a/app/views/projects/_form.html.erb
+++ b/app/views/projects/_form.html.erb
@@ -10,7 +10,10 @@
<em class="info"><%= l(:text_length_between, :min => 1, :max => Project::IDENTIFIER_MAX_LENGTH) %> <%= l(:text_project_identifier_info).html_safe %></em>
<% end %></p>
<p><%= f.text_field :homepage, :size => 60 %></p>
-<p><%= f.check_box :is_public %></p>
+<p>
+ <%= f.check_box :is_public %>
+ <em class="info"><%= Setting.login_required? ? l(:text_project_is_public_non_member) : l(:text_project_is_public_anonymous) %></em>
+</p>
<% unless @project.allowed_parents.compact.empty? %>
<p><%= label(:project, :parent_id, l(:field_parent)) %><%= parent_project_select_tag(@project) %></p>
diff --git a/config/locales/de.yml b/config/locales/de.yml
index e75831c54..b4cef8a53 100644
--- a/config/locales/de.yml
+++ b/config/locales/de.yml
@@ -1239,3 +1239,5 @@ de:
text_login_required_html: Ohne erforderliche Authentifizierung sind öffentlichen Projekte und deren Inhalte ohne Anmeldung frei zugänglich. Sie können die <a href="%{anonymous_role_path}">verwendeten Berechtigungen anpassen</a>.
label_login_required_yes: "Ja"
label_login_required_no: "Nein, anonymen Zugriff auf öffentliche Projekte erlauben"
+ text_project_is_public_non_member: Öffentliche Projekte und deren Inhalte sind für alle angemeldeten Benutzer zugänglich.
+ text_project_is_public_anonymous: Öffentliche Projekte und deren Inhalte sind ohne Anmeldung frei zugänglich.
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 246968f16..225fc2bed 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -1219,3 +1219,5 @@ en:
text_login_required_html: When not requiring authentication, public projects and their contents are openly available on the network. You can <a href="%{anonymous_role_path}">edit the applicable permissions</a>.
label_login_required_yes: "Yes"
label_login_required_no: "No, allow anonymous access to public projects"
+ text_project_is_public_non_member: Public projects and their contents are available to all logged-in users.
+ text_project_is_public_anonymous: Public projects and their contents are openly available on the network.