summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-12-12 21:19:59 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-12-12 21:19:59 +0000
commitba2a47a8fb755a88914702d129bb6a727e45691a (patch)
tree9c2b682c14d2167a3fc4bf066952272d5347da81 /config
parentf3068cd37a2db2bc2778d69b82921c2fbd5c2d07 (diff)
downloadredmine-ba2a47a8fb755a88914702d129bb6a727e45691a.tar.gz
redmine-ba2a47a8fb755a88914702d129bb6a727e45691a.zip
Adds a setting to enable/disable formatting of commit messages (#22758).
git-svn-id: http://svn.redmine.org/redmine/trunk@16062 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r--config/locales/en.yml1
-rw-r--r--config/locales/fr.yml1
-rw-r--r--config/settings.yml2
3 files changed, 4 insertions, 0 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml
index e0ebe3bf1..ba839aa78 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -448,6 +448,7 @@ en:
setting_attachment_extensions_allowed: Allowed extensions
setting_attachment_extensions_denied: Disallowed extensions
setting_new_item_menu_tab: Project menu tab for creating new objects
+ setting_commit_logs_formatting: Apply text formatting to commit messages
permission_add_project: Create project
permission_add_subprojects: Create subprojects
diff --git a/config/locales/fr.yml b/config/locales/fr.yml
index 69cc6b896..abf39c8e6 100644
--- a/config/locales/fr.yml
+++ b/config/locales/fr.yml
@@ -460,6 +460,7 @@ fr:
setting_sys_api_key: Clé de protection de l'API
setting_lost_password: Autoriser la réinitialisation par email de mot de passe perdu
setting_new_item_menu_tab: Onglet de création d'objets dans le menu du project
+ setting_commit_logs_formatting: Appliquer le formattage de texte aux messages de commit
permission_add_project: Créer un projet
permission_add_subprojects: Créer des sous-projets
diff --git a/config/settings.yml b/config/settings.yml
index b9a82583f..8dd8b3dc9 100644
--- a/config/settings.yml
+++ b/config/settings.yml
@@ -239,6 +239,8 @@ repositories_encodings:
# encoding used to convert commit logs to UTF-8
commit_logs_encoding:
default: 'UTF-8'
+commit_logs_formatting:
+ default: 1
repository_log_display_limit:
format: int
default: 100