From c2c8a629c1084c105f96e5d8f4fc9266dec73ecb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Pfla=CC=88ging?= Date: Thu, 11 Jul 2019 12:03:21 +0200 Subject: [PATCH] Make title work with quotes, update german translation --- config/locales/de.yml | 1 + lib/details_issue_hooks.rb | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config/locales/de.yml b/config/locales/de.yml index 7d360b4..b1c9838 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -1,3 +1,4 @@ +# Translation by Peter Pfläging de: ide_txt_validation_btn : 'Änderung bestätitgen' ide_txt_error_positive_number : 'Hier muss eine positive Zahl stehen' diff --git a/lib/details_issue_hooks.rb b/lib/details_issue_hooks.rb index 9cf5fdc..ea9cae9 100644 --- a/lib/details_issue_hooks.rb +++ b/lib/details_issue_hooks.rb @@ -155,8 +155,10 @@ class DetailsIssueHooks < Redmine::Hook::ViewListener end # Title + # Make quotings in subject! (PP) + clonesubject = issue.subject.gsub('"','"') o << "" - o << " " + o << " " o << " " o << " " o << ""