From e46fb350a62fc6f043c452fdce842779510eccd2 Mon Sep 17 00:00:00 2001
From: Go MAEDA
<%= f.text_field :homepage, :size => 60 %>
-<%= f.check_box :is_public %>
++ <%= f.check_box :is_public %> + <%= Setting.login_required? ? l(:text_project_is_public_non_member) : l(:text_project_is_public_anonymous) %> +
<% unless @project.allowed_parents.compact.empty? %><%= label(:project, :parent_id, l(:field_parent)) %><%= parent_project_select_tag(@project) %>
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 verwendeten Berechtigungen anpassen. 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 edit the applicable permissions. 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. -- 2.39.5