Patch #225 » redmine_custom_html_meta_tags.diff
/home/matt/workspace/dev/app/views/settings/edit.rhtml (working copy) | ||
---|---|---|
12 | 12 |
<p><label><%= l(:setting_welcome_text) %></label> |
13 | 13 |
<%= text_area_tag 'settings[welcome_text]', Setting.welcome_text, :cols => 60, :rows => 5 %></p> |
14 | 14 | |
15 |
<p><label><%= l(:setting_meta_description) %></label> |
|
16 |
<%= text_area_tag 'settings[meta_description]', Setting.meta_description, :cols => 60, :rows => 2 %></p> |
|
17 | ||
18 |
<p><label><%= l(:setting_meta_keywords) %></label> |
|
19 |
<%= text_field_tag 'settings[meta_keywords]', Setting.meta_keywords, :size => 60 %></p> |
|
20 | ||
15 | 21 |
<p><label><%= l(:setting_default_language) %></label> |
16 | 22 |
<%= select_tag 'settings[default_language]', options_for_select( lang_options_for_select(false), Setting.default_language) %></p> |
17 | 23 | |
... | ... | |
75 | 81 | |
76 | 82 |
<%= submit_tag l(:button_save) %> |
77 | 83 |
</div> |
78 |
<% end %> |
|
84 |
<% end %> |
/home/matt/workspace/dev/app/views/layouts/base.rhtml (working copy) | ||
---|---|---|
3 | 3 |
<head> |
4 | 4 |
<title><%= Setting.app_title + (@html_title ? ": #{@html_title}" : "") %></title> |
5 | 5 |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
6 |
<meta name="description" content="redMine" />
|
|
7 |
<meta name="keywords" content="issue,bug,tracker" />
|
|
6 |
<meta name="description" content="<%= Setting.meta_description %>" />
|
|
7 |
<meta name="keywords" content="<%= Setting.meta_keywords %>" />
|
|
8 | 8 |
<!--[if IE]> |
9 | 9 |
<style type="text/css"> |
10 | 10 |
body {behavior: url(<%= stylesheet_path "csshover.htc" %>);} |
/home/matt/workspace/dev/doc/docbook/en/redmine-userdoc-en.xml (working copy) | ||
---|---|---|
660 | 660 |
</listitem> |
661 | 661 | |
662 | 662 |
<listitem> |
663 |
<para><guilabel>Meta Description</guilabel></para> |
|
664 | ||
665 |
<para>Description that appears in the HTML meta tags in every |
|
666 |
page</para> |
|
667 |
</listitem> |
|
668 | ||
669 |
<listitem> |
|
670 |
<para><guilabel>Meta Keywords</guilabel></para> |
|
671 | ||
672 |
<para>Keywords that appears in the HTML meta tags in every |
|
673 |
page</para> |
|
674 |
</listitem> |
|
675 | ||
676 |
<listitem> |
|
663 | 677 |
<para><guilabel>Text formatting</guilabel></para> |
664 | 678 | |
665 | 679 |
<para>Formatting method applied to the "description" fields of the |
... | ... | |
986 | 1000 |
configuration.</para> |
987 | 1001 |
</section> |
988 | 1002 |
</chapter> |
989 |
</book> |
|
1003 |
</book> |
/home/matt/workspace/dev/config/settings.yml (working copy) | ||
---|---|---|
24 | 24 |
app_subtitle: |
25 | 25 |
default: Project management |
26 | 26 |
welcome_text: |
27 |
default: |
|
27 |
default: |
|
28 |
meta_description: |
|
29 |
default: redMine |
|
30 |
meta_keywords: |
|
31 |
default: 'issue,bug,tracker' |
|
28 | 32 |
login_required: |
29 | 33 |
default: 0 |
30 | 34 |
self_registration: |
/home/matt/workspace/dev/lang/zh.yml (working copy) | ||
---|---|---|
162 | 162 |
setting_app_title: 应用程序标题 |
163 | 163 |
setting_app_subtitle: 应用程序子标题 |
164 | 164 |
setting_welcome_text: 欢迎文字 |
165 |
setting_meta_description: Meta Description |
|
166 |
setting_meta_keywords: Meta Keywords |
|
165 | 167 |
setting_default_language: 默认语言 |
166 | 168 |
setting_login_required: 要求认证 |
167 | 169 |
setting_self_registration: 允许自注册 |
/home/matt/workspace/dev/lang/en.yml (working copy) | ||
---|---|---|
159 | 159 |
setting_app_title: Application title |
160 | 160 |
setting_app_subtitle: Application subtitle |
161 | 161 |
setting_welcome_text: Welcome text |
162 |
setting_meta_description: Meta Description |
|
163 |
setting_meta_keywords: Meta Keywords |
|
162 | 164 |
setting_default_language: Default language |
163 | 165 |
setting_login_required: Authent. required |
164 | 166 |
setting_self_registration: Self-registration enabled |
/home/matt/workspace/dev/lang/pt.yml (working copy) | ||
---|---|---|
159 | 159 |
setting_app_title: Título da aplicação |
160 | 160 |
setting_app_subtitle: Sub-título da aplicação |
161 | 161 |
setting_welcome_text: Texto de boas-vindas |
162 |
setting_meta_description: Meta Description |
|
163 |
setting_meta_keywords: Meta Keywords |
|
162 | 164 |
setting_default_language: Linguagem padrão |
163 | 165 |
setting_login_required: Autenticação obrigatória |
164 | 166 |
setting_self_registration: Registro permitido |
/home/matt/workspace/dev/lang/pt-br.yml (working copy) | ||
---|---|---|
158 | 158 |
|
159 | 159 |
setting_app_title: Titulo da aplicacao |
160 | 160 |
setting_app_subtitle: Sub-titulo da aplicacao |
161 |
setting_welcome_text: Texto de boa-vinda |
|
161 |
setting_welcome_text: Texto de boa-vinda |
|
162 |
setting_meta_description: Meta Description |
|
163 |
setting_meta_keywords: Meta Keywords |
|
162 | 164 |
setting_default_language: Lingua padrao |
163 | 165 |
setting_login_required: Autenticacao obrigatoria |
164 | 166 |
setting_self_registration: Registro de si mesmo permitido |
/home/matt/workspace/dev/lang/es.yml (working copy) | ||
---|---|---|
159 | 159 |
setting_app_title: Título del aplicación |
160 | 160 |
setting_app_subtitle: Subtítulo del aplicación |
161 | 161 |
setting_welcome_text: Texto acogida |
162 |
setting_meta_description: Meta Description |
|
163 |
setting_meta_keywords: Meta Keywords |
|
162 | 164 |
setting_default_language: Lengua del defecto |
163 | 165 |
setting_login_required: Autentif. requerida |
164 | 166 |
setting_self_registration: Registro permitido |
/home/matt/workspace/dev/lang/fr.yml (working copy) | ||
---|---|---|
159 | 159 |
setting_app_title: Titre de l'application |
160 | 160 |
setting_app_subtitle: Sous-titre de l'application |
161 | 161 |
setting_welcome_text: Texte d'accueil |
162 |
setting_meta_description: Meta Description |
|
163 |
setting_meta_keywords: Meta Keywords |
|
162 | 164 |
setting_default_language: Langue par défaut |
163 | 165 |
setting_login_required: Authentif. obligatoire |
164 | 166 |
setting_self_registration: Enregistrement autorisé |
/home/matt/workspace/dev/lang/bg.yml (working copy) | ||
---|---|---|
159 | 159 |
setting_app_title: Заглавие |
160 | 160 |
setting_app_subtitle: Описание |
161 | 161 |
setting_welcome_text: Допълнителен текст |
162 |
setting_meta_description: Meta Description |
|
163 |
setting_meta_keywords: Meta Keywords |
|
162 | 164 |
setting_default_language: Език по подразбиране |
163 | 165 |
setting_login_required: Изискване за вход |
164 | 166 |
setting_self_registration: Регистрация от потребители |
/home/matt/workspace/dev/lang/de.yml (working copy) | ||
---|---|---|
159 | 159 |
setting_app_title: Applikation Titel |
160 | 160 |
setting_app_subtitle: Applikation Untertitel |
161 | 161 |
setting_welcome_text: Willkommenstext |
162 |
setting_meta_description: Meta Description |
|
163 |
setting_meta_keywords: Meta Keywords |
|
162 | 164 |
setting_default_language: Default Sprache |
163 | 165 |
setting_login_required: Authent. erfordert |
164 | 166 |
setting_self_registration: Anmeldung ermöglicht |
/home/matt/workspace/dev/lang/sv.yml (working copy) | ||
---|---|---|
159 | 159 |
setting_app_title: Applikationstitel |
160 | 160 |
setting_app_subtitle: Applicationsunderrubrik |
161 | 161 |
setting_welcome_text: Välkommentext |
162 |
setting_meta_description: Meta Description |
|
163 |
setting_meta_keywords: Meta Keywords |
|
162 | 164 |
setting_default_language: Default språk |
163 | 165 |
setting_login_required: Authent. obligatoriskt |
164 | 166 |
setting_self_registration: Självregistrering påslaget |
/home/matt/workspace/dev/lang/nl.yml (working copy) | ||
---|---|---|
159 | 159 |
setting_app_title: Applicatie titel |
160 | 160 |
setting_app_subtitle: Applicatie ondertitel |
161 | 161 |
setting_welcome_text: Welkomsttekst |
162 |
setting_meta_description: Meta Description |
|
163 |
setting_meta_keywords: Meta Keywords |
|
162 | 164 |
setting_default_language: Default taal |
163 | 165 |
setting_login_required: Authent. nodig |
164 | 166 |
setting_self_registration: Zelf-registratie toegestaan |
/home/matt/workspace/dev/lang/ja.yml (working copy) | ||
---|---|---|
160 | 160 |
setting_app_title: アプリケーションのタイトル |
161 | 161 |
setting_app_subtitle: アプリケーションのサブタイトル |
162 | 162 |
setting_welcome_text: ウェルカムメッセージ |
163 |
setting_meta_description: Meta Description |
|
164 |
setting_meta_keywords: Meta Keywords |
|
163 | 165 |
setting_default_language: 既定の言語 |
164 | 166 |
setting_login_required: 認証が必要 |
165 | 167 |
setting_self_registration: ユーザは自分で登録できる |
/home/matt/workspace/dev/lang/it.yml (working copy) | ||
---|---|---|
159 | 159 |
setting_app_title: Titolo applicazione |
160 | 160 |
setting_app_subtitle: Sottotitolo applicazione |
161 | 161 |
setting_welcome_text: Testo di benvenuto |
162 |
setting_meta_description: Meta Description |
|
163 |
setting_meta_keywords: Meta Keywords |
|
162 | 164 |
setting_default_language: Lingua di default |
163 | 165 |
setting_login_required: Autenticazione richiesta |
164 | 166 |
setting_self_registration: Auto-registrazione abilitata |