Project

General

Profile

Patch #27009 » 0001-Clarify-consequences-of-disabling-the-login_required.patch

Holger Just, 2017-09-15 16:35

View differences:

app/views/settings/_authentication.html.erb
1 1
<%= form_tag({:action => 'edit', :tab => 'authentication'}) do %>
2 2

  
3 3
<div class="box tabular settings">
4
<p><%= setting_check_box :login_required %></p>
4
<p>
5
<p><%= setting_select :login_required, [[l(:label_login_required_yes), "1"],
6
                                        [l(:label_login_required_no), "0"]] %>
7
  <em class="info"><%= t(:text_login_required_html, anonymous_role_path: edit_role_path(Role.anonymous)) %></em>
8
</p>
5 9

  
6 10
<p><%= setting_select :autologin, [[l(:label_disabled), 0]] + [1, 7, 30, 365].collect{|days| [l('datetime.distance_in_words.x_days', :count => days), days.to_s]} %></p>
7 11

  
config/locales/de.yml
1234 1234
  setting_timelog_accept_0_hours: Accept time logs with 0 hours
1235 1235
  setting_timelog_max_hours_per_day: Maximum hours that can be logged per day and user
1236 1236
  label_x_revisions: "%{count} revisions"
1237
  text_login_required_html: Ohne erforderliche Authentifizierung sind öffentlichen Projekte und deren Inhalte ohne Anmeldung im Internet frei zugänglich. Sie können die <a href="%{anonymous_role_path}">verwendeten Berechtigungen anpassen</a>.
1238
  label_login_required_yes: "Ja"
1239
  label_login_required_no: "Nein, anonymen Zugriff auf öffentliche Projekte erlauben"
config/locales/en.yml
1215 1215
  description_issue_category_reassign: Choose issue category
1216 1216
  description_wiki_subpages_reassign: Choose new parent page
1217 1217
  text_repository_identifier_info: 'Only lower case letters (a-z), numbers, dashes and underscores are allowed.<br />Once saved, the identifier cannot be changed.'
1218
  text_login_required_html: When not requiring authentication, public projects and their contents are openly available on the Internet. You can <a href="%{anonymous_role_path}">edit the applicable permissions</a>.
1219
  label_login_required_yes: "Yes"
1220
  label_login_required_no: "No, allow anonymous access to public projects"
(1-1/4)