@@ -1,7 +1,7 | |||||
1 | xml.instruct! |
|
1 | xml.instruct! | |
2 | xml.rss "version" => "2.0", "xmlns:dc" => "http://purl.org/dc/elements/1.1/" do |
|
2 | xml.rss "version" => "2.0", "xmlns:dc" => "http://purl.org/dc/elements/1.1/" do | |
3 | xml.channel do |
|
3 | xml.channel do | |
4 |
xml.title "#{Setting. |
|
4 | xml.title "#{Setting.app_title}: #{l(:label_news_latest)}" | |
5 | xml.link url_for(:controller => '', :only_path => false) |
|
5 | xml.link url_for(:controller => '', :only_path => false) | |
6 | xml.pubDate CGI.rfc1123_date(@news.first.created_on) |
|
6 | xml.pubDate CGI.rfc1123_date(@news.first.created_on) | |
7 | xml.description l(:label_news_latest) |
|
7 | xml.description l(:label_news_latest) |
@@ -1,7 +1,7 | |||||
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
|
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |
2 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
|
2 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> | |
3 | <head> |
|
3 | <head> | |
4 |
<title><%= Setting. |
|
4 | <title><%= Setting.app_title + (@html_title ? ": #{@html_title}" : "") %></title> | |
5 | <meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
|
5 | <meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
6 | <meta name="description" content="redMine" /> |
|
6 | <meta name="description" content="redMine" /> | |
7 | <meta name="keywords" content="issue,bug,tracker" /> |
|
7 | <meta name="keywords" content="issue,bug,tracker" /> | |
@@ -23,8 +23,8 | |||||
23 |
|
23 | |||
24 | <div id="header"> |
|
24 | <div id="header"> | |
25 | <div style="float: left;"> |
|
25 | <div style="float: left;"> | |
26 |
<h1><%= Setting. |
|
26 | <h1><%= Setting.app_title %></h1> | |
27 |
<h2><%= Setting. |
|
27 | <h2><%= Setting.app_subtitle %></h2> | |
28 | </div> |
|
28 | </div> | |
29 | <div style="float: right; padding-right: 1em; padding-top: 0.2em;"> |
|
29 | <div style="float: right; padding-right: 1em; padding-top: 0.2em;"> | |
30 | <% if loggedin? %><small><%=l(:label_logged_as)%> <b><%= @logged_in_user.login %></b></small><% end %> |
|
30 | <% if loggedin? %><small><%=l(:label_logged_as)%> <b><%= @logged_in_user.login %></b></small><% end %> |
@@ -2,34 +2,34 | |||||
2 |
|
2 | |||
3 | <%= start_form_tag({:action => 'edit'}, :class => "tabular") %> |
|
3 | <%= start_form_tag({:action => 'edit'}, :class => "tabular") %> | |
4 | <div class="box"> |
|
4 | <div class="box"> | |
5 |
<p><label> |
|
5 | <p><label><%= l(:setting_app_title) %></label> | |
6 |
<%= text_field_tag 'settings[ |
|
6 | <%= text_field_tag 'settings[app_title]', Setting.app_title, :size => 30 %></p> | |
7 |
|
7 | |||
8 |
<p><label> |
|
8 | <p><label><%= l(:setting_app_subtitle) %></label> | |
9 |
<%= text_field_tag 'settings[ |
|
9 | <%= text_field_tag 'settings[app_subtitle]', Setting.app_subtitle, :size => 60 %></p> | |
10 |
|
10 | |||
11 | <p><label>welcome_text</label> |
|
11 | <p><label><%= l(:setting_welcome_text) %></label> | |
12 | <%= text_area_tag 'settings[welcome_text]', Setting.welcome_text, :cols => 60, :rows => 5 %></p> |
|
12 | <%= text_area_tag 'settings[welcome_text]', Setting.welcome_text, :cols => 60, :rows => 5 %></p> | |
13 |
|
13 | |||
14 | <p><label>default_language</label> |
|
14 | <p><label><%= l(:setting_default_language) %></label> | |
15 | <%= select_tag 'settings[default_language]', options_for_select( lang_options_for_select(false), Setting.default_language) %></p> |
|
15 | <%= select_tag 'settings[default_language]', options_for_select( lang_options_for_select(false), Setting.default_language) %></p> | |
16 |
|
16 | |||
17 | <p><label>login_required</label> |
|
17 | <p><label><%= l(:setting_login_required) %></label> | |
18 | <%= check_box_tag 'settings[login_required]', 1, Setting.login_required? %><%= hidden_field_tag 'settings[login_required]', 0 %></p> |
|
18 | <%= check_box_tag 'settings[login_required]', 1, Setting.login_required? %><%= hidden_field_tag 'settings[login_required]', 0 %></p> | |
19 |
|
19 | |||
20 | <p><label>self_registration</label> |
|
20 | <p><label><%= l(:setting_self_registration) %></label> | |
21 | <%= check_box_tag 'settings[self_registration]', 1, Setting.self_registration? %><%= hidden_field_tag 'settings[self_registration]', 0 %></p> |
|
21 | <%= check_box_tag 'settings[self_registration]', 1, Setting.self_registration? %><%= hidden_field_tag 'settings[self_registration]', 0 %></p> | |
22 |
|
22 | |||
23 | <p><label>attachment_max_size</label> |
|
23 | <p><label><%= l(:setting_attachment_max_size) %></label> | |
24 | <%= text_field_tag 'settings[attachment_max_size]', Setting.attachment_max_size, :size => 6 %></p> |
|
24 | <%= text_field_tag 'settings[attachment_max_size]', Setting.attachment_max_size, :size => 6 %> KB</p> | |
25 |
|
25 | |||
26 | <p><label>mail_from</label> |
|
26 | <p><label><%= l(:setting_mail_from) %></label> | |
27 | <%= text_field_tag 'settings[mail_from]', Setting.mail_from, :size => 60 %></p> |
|
27 | <%= text_field_tag 'settings[mail_from]', Setting.mail_from, :size => 60 %></p> | |
28 |
|
28 | |||
29 | <p><label>host_name</label> |
|
29 | <p><label><%= l(:setting_host_name) %></label> | |
30 | <%= text_field_tag 'settings[host_name]', Setting.host_name, :size => 60 %></p> |
|
30 | <%= text_field_tag 'settings[host_name]', Setting.host_name, :size => 60 %></p> | |
31 |
|
31 | |||
32 | <p><label>text_formatting</label> |
|
32 | <p><label><%= l(:setting_text_formatting) %></label> | |
33 | <%= select_tag 'settings[text_formatting]', options_for_select( [[l(:label_none), 0], ["textile", "textile"]], Setting.text_formatting) %></p> |
|
33 | <%= select_tag 'settings[text_formatting]', options_for_select( [[l(:label_none), 0], ["textile", "textile"]], Setting.text_formatting) %></p> | |
34 |
|
34 | |||
35 | </div> |
|
35 | </div> |
@@ -19,9 +19,9 | |||||
19 | # DO NOT MODIFY THIS FILE !!! |
|
19 | # DO NOT MODIFY THIS FILE !!! | |
20 | # Settings can be defined through the application in Admin -> Settings |
|
20 | # Settings can be defined through the application in Admin -> Settings | |
21 |
|
21 | |||
22 |
|
|
22 | app_title: | |
23 | default: redMine |
|
23 | default: redMine | |
24 |
|
|
24 | app_subtitle: | |
25 | default: Project management |
|
25 | default: Project management | |
26 | welcome_text: |
|
26 | welcome_text: | |
27 | default: |
|
27 | default: |
@@ -140,6 +140,17 field_hide_mail: Mein email address verstecken | |||||
140 | field_comment: Anmerkung |
|
140 | field_comment: Anmerkung | |
141 | field_url: URL |
|
141 | field_url: URL | |
142 |
|
142 | |||
|
143 | setting_app_title: Applikation Titel | |||
|
144 | setting_app_subtitle: Applikation Untertitel | |||
|
145 | setting_welcome_text: Willkommener Text | |||
|
146 | setting_default_language: Rückstellung Sprache | |||
|
147 | setting_login_required: Authent. erfordert | |||
|
148 | setting_self_registration: Selbstausrichtung ermöglicht | |||
|
149 | setting_attachment_max_size: Dateimaximumgröße | |||
|
150 | setting_mail_from: Emission address | |||
|
151 | setting_host_name: Host Name | |||
|
152 | setting_text_formatting: Textformatierung | |||
|
153 | ||||
143 | label_user: Benutzer |
|
154 | label_user: Benutzer | |
144 | label_user_plural: Benutzer |
|
155 | label_user_plural: Benutzer | |
145 | label_user_new: Neuer Benutzer |
|
156 | label_user_new: Neuer Benutzer |
@@ -140,6 +140,17 field_hide_mail: Hide my email address | |||||
140 | field_comment: Comment |
|
140 | field_comment: Comment | |
141 | field_url: URL |
|
141 | field_url: URL | |
142 |
|
142 | |||
|
143 | setting_app_title: Application title | |||
|
144 | setting_app_subtitle: Application subtitle | |||
|
145 | setting_welcome_text: Welcome text | |||
|
146 | setting_default_language: Default language | |||
|
147 | setting_login_required: Authent. required | |||
|
148 | setting_self_registration: Self-registration enabled | |||
|
149 | setting_attachment_max_size: Attachment max. size | |||
|
150 | setting_mail_from: Emission mail address | |||
|
151 | setting_host_name: Host name | |||
|
152 | setting_text_formatting: Text formatting | |||
|
153 | ||||
143 | label_user: User |
|
154 | label_user: User | |
144 | label_user_plural: Users |
|
155 | label_user_plural: Users | |
145 | label_user_new: New user |
|
156 | label_user_new: New user |
@@ -140,6 +140,17 field_hide_mail: Ocultar mi email address | |||||
140 | field_comment: Comentario |
|
140 | field_comment: Comentario | |
141 | field_url: URL |
|
141 | field_url: URL | |
142 |
|
142 | |||
|
143 | setting_app_title: Título del aplicación | |||
|
144 | setting_app_subtitle: Subtítulo del aplicación | |||
|
145 | setting_welcome_text: Texto acogida | |||
|
146 | setting_default_language: Lengua del defecto | |||
|
147 | setting_login_required: Autentif. requerida | |||
|
148 | setting_self_registration: Registro permitido | |||
|
149 | setting_attachment_max_size: Tamaño máximo del fichero | |||
|
150 | setting_mail_from: Email de la emisión | |||
|
151 | setting_host_name: Nombre de anfitrión | |||
|
152 | setting_text_formatting: Formato de texto | |||
|
153 | ||||
143 | label_user: Usuario |
|
154 | label_user: Usuario | |
144 | label_user_plural: Usuarios |
|
155 | label_user_plural: Usuarios | |
145 | label_user_new: Nuevo usuario |
|
156 | label_user_new: Nuevo usuario |
@@ -140,6 +140,17 field_hide_mail: Cacher mon adresse mail | |||||
140 | field_comment: Commentaire |
|
140 | field_comment: Commentaire | |
141 | field_url: URL |
|
141 | field_url: URL | |
142 |
|
142 | |||
|
143 | setting_app_title: Titre de l'application | |||
|
144 | setting_app_subtitle: Sous-titre de l'application | |||
|
145 | setting_welcome_text: Texte d'accueil | |||
|
146 | setting_default_language: Langue par défaut | |||
|
147 | setting_login_required: Authentif. obligatoire | |||
|
148 | setting_self_registration: Enregistrement autorisé | |||
|
149 | setting_attachment_max_size: Taille max des fichiers | |||
|
150 | setting_mail_from: Adresse d'émission | |||
|
151 | setting_host_name: Nom d'hôte | |||
|
152 | setting_text_formatting: Formatage du texte | |||
|
153 | ||||
143 | label_user: Utilisateur |
|
154 | label_user: Utilisateur | |
144 | label_user_plural: Utilisateurs |
|
155 | label_user_plural: Utilisateurs | |
145 | label_user_new: Nouvel utilisateur |
|
156 | label_user_new: Nouvel utilisateur |
General Comments 0
You need to be logged in to leave comments.
Login now