Skip to content

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

Fix typo: missing capital letter

Christophe Bliardf4211e0f60c2
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 7e7139b2aae..9807aca5bc9 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -1930,7 +1930,7 @@ en:
progress_mode_changed_to_status_based: Progress calculation mode set to status-based
status_excluded_from_totals_set_to_false_message: now included in hierarchy totals
status_excluded_from_totals_set_to_true_message: now excluded from hierarchy totals
- status_percent_complete_changed: "% complete changed from %{old_value}% to %{new_value}%"
+ status_percent_complete_changed: "% Complete changed from %{old_value}% to %{new_value}%"
system_update:
file_links_journal: >
From now on, activity related to file links (files stored in external storages) will appear here in the
diff --git a/spec/lib/journal_formatter/cause_spec.rb b/spec/lib/journal_formatter/cause_spec.rb
index 48228175961..649e74df9c1 100644
--- a/spec/lib/journal_formatter/cause_spec.rb
+++ b/spec/lib/journal_formatter/cause_spec.rb
@@ -314,11 +314,11 @@ RSpec.describe OpenProject::JournalFormatter::Cause do
it do
expect(cause).to render_html_variant("<strong>Status &#39;In progress&#39;</strong> " \
- "% complete changed from 20% to 40%")
+ "% Complete changed from 20% to 40%")
end
it do
- expect(cause).to render_raw_variant("Status 'In progress' % complete changed from 20% to 40%")
+ expect(cause).to render_raw_variant("Status 'In progress' % Complete changed from 20% to 40%")
end
it_behaves_like "XSS-proof rendering of status name"
@@ -412,12 +412,12 @@ RSpec.describe OpenProject::JournalFormatter::Cause do
it do
expect(cause).to render_html_variant("<strong>Status &#39;In progress&#39;</strong> " \
- "% complete changed from 20% to 40% and now excluded from hierarchy totals")
+ "% Complete changed from 20% to 40% and now excluded from hierarchy totals")
end
it do
expect(cause).to render_raw_variant("Status 'In progress' " \
- "% complete changed from 20% to 40% and now excluded from hierarchy totals")
+ "% Complete changed from 20% to 40% and now excluded from hierarchy totals")
end
it_behaves_like "XSS-proof rendering of status name"