OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Remove redundant label
Mir Bhatia00d2f9871096
diff --git a/config/locales/en.yml b/config/locales/en.ymlindex 02fac87c461..4502fecd951 100644--- a/config/locales/en.yml+++ b/config/locales/en.yml@@ -2840,7 +2840,6 @@ en:text_work_packages_destroy_confirmation: "Are you sure you want to delete the selected work package(s)?"text_work_packages_ref_in_commit_messages: "Referencing and fixing work packages in commit messages"text_journal_added: "%{label} %{value} added"- text_journal_changed_html: "%{label} changed from %{old} %{linebreak}to %{new}"text_journal_changed_plain: "%{label} changed from %{old} %{linebreak}to %{new}"text_journal_changed_no_detail: "%{label} updated"text_journal_changed_with_diff: "%{label} changed (%{link})"diff --git a/lib/open_project/journal_formatter/subproject_named_association.rb b/lib/open_project/journal_formatter/subproject_named_association.rbindex 18c1c282aa9..da4b86bd103 100644--- a/lib/open_project/journal_formatter/subproject_named_association.rb+++ b/lib/open_project/journal_formatter/subproject_named_association.rb@@ -58,7 +58,7 @@ class OpenProject::JournalFormatter::SubprojectNamedAssociation < JournalFormattlinebreak = should_linebreak?(old_value.to_s, value.to_s)if options[:html]- I18n.t(:text_journal_changed_html,+ I18n.t(:text_journal_changed_plain,label:,linebreak: linebreak ? "<br/>".html_safe : '',old: old_value,diff --git a/spec/lib/journal_formatter/day_count_spec.rb b/spec/lib/journal_formatter/day_count_spec.rbindex 1955f9b0a38..09a950c7480 100644--- a/spec/lib/journal_formatter/day_count_spec.rb+++ b/spec/lib/journal_formatter/day_count_spec.rb@@ -40,7 +40,7 @@ describe JournalFormatter::DayCount dodescribe '#render' dodescribe 'when setting the old value to 1 day, and the new value to 3 days' dolet(:expected) do- I18n.t(:text_journal_changed_html,+ I18n.t(:text_journal_changed_plain,label: "<strong>Duration</strong>",old: '<i>1 day</i>',new: '<i>3 days</i>',