Commit 5302f54a authored by Dan Jensen's avatar Dan Jensen Committed by Ezekiel Kigbo

Change approved to merged in Contribution Analytics

Previously Contribution Analytics listed "approved" merge requests,
which meant merged. That use of non-standard terminology was confusing
to users, so this changes it to "merged" for clarity.
parent 7745bf3a
...@@ -63,7 +63,7 @@ Contributions per group member are also presented in tabular format. Click a col ...@@ -63,7 +63,7 @@ Contributions per group member are also presented in tabular format. Click a col
- Number of opened issues - Number of opened issues
- Number of closed issues - Number of closed issues
- Number of opened MRs - Number of opened MRs
- Number of accepted MRs - Number of merged MRs
- Number of total contributions - Number of total contributions
![Contribution analytics contributions table](img/group_stats_table.png) ![Contribution analytics contributions table](img/group_stats_table.png)
......
...@@ -5,8 +5,8 @@ const COLUMNS = [ ...@@ -5,8 +5,8 @@ const COLUMNS = [
{ name: 'push', text: __('Pushed') }, { name: 'push', text: __('Pushed') },
{ name: 'issuesCreated', text: __('Opened issues') }, { name: 'issuesCreated', text: __('Opened issues') },
{ name: 'issuesClosed', text: __('Closed issues') }, { name: 'issuesClosed', text: __('Closed issues') },
{ name: 'mergeRequestsCreated', text: __('Opened MR') }, { name: 'mergeRequestsCreated', text: __('Opened MRs') },
{ name: 'mergeRequestsMerged', text: __('Accepted MR') }, { name: 'mergeRequestsMerged', text: __('Merged MRs') },
{ name: 'totalEvents', text: __('Total Contributions') }, { name: 'totalEvents', text: __('Total Contributions') },
]; ];
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
- mr_created_count = @data_collector.total_merge_requests_created_count - mr_created_count = @data_collector.total_merge_requests_created_count
- mr_merged_count = @data_collector.total_merge_requests_merged_count - mr_merged_count = @data_collector.total_merge_requests_merged_count
- if mr_created_count > 0 || mr_merged_count > 0 - if mr_created_count > 0 || mr_merged_count > 0
= s_('ContributionAnalytics|<strong>%{created_count}</strong> created, <strong>%{accepted_count}</strong> accepted.').html_safe % { created_count: mr_created_count, accepted_count: mr_merged_count } = s_('ContributionAnalytics|<strong>%{created_count}</strong> created, <strong>%{merged_count}</strong> merged.').html_safe % { created_count: mr_created_count, merged_count: mr_merged_count }
- else - else
= s_('ContributionAnalytics|No merge requests for the selected time period.') = s_('ContributionAnalytics|No merge requests for the selected time period.')
......
---
title: Change approved to merged in Contribution Analytics
merge_request: 33535
author:
type: changed
...@@ -1033,9 +1033,6 @@ msgstr "" ...@@ -1033,9 +1033,6 @@ msgstr ""
msgid "Acceptable for use in this project" msgid "Acceptable for use in this project"
msgstr "" msgstr ""
msgid "Accepted MR"
msgstr ""
msgid "Access Tokens" msgid "Access Tokens"
msgstr "" msgstr ""
...@@ -6124,10 +6121,10 @@ msgstr "" ...@@ -6124,10 +6121,10 @@ msgstr ""
msgid "Contribution Analytics" msgid "Contribution Analytics"
msgstr "" msgstr ""
msgid "ContributionAnalytics|<strong>%{created_count}</strong> created, <strong>%{accepted_count}</strong> accepted." msgid "ContributionAnalytics|<strong>%{created_count}</strong> created, <strong>%{closed_count}</strong> closed."
msgstr "" msgstr ""
msgid "ContributionAnalytics|<strong>%{created_count}</strong> created, <strong>%{closed_count}</strong> closed." msgid "ContributionAnalytics|<strong>%{created_count}</strong> created, <strong>%{merged_count}</strong> merged."
msgstr "" msgstr ""
msgid "ContributionAnalytics|<strong>%{pushes}</strong> pushes, more than <strong>%{commits}</strong> commits by <strong>%{people}</strong> contributors." msgid "ContributionAnalytics|<strong>%{pushes}</strong> pushes, more than <strong>%{commits}</strong> commits by <strong>%{people}</strong> contributors."
...@@ -13734,6 +13731,9 @@ msgstr "" ...@@ -13734,6 +13731,9 @@ msgstr ""
msgid "Merged" msgid "Merged"
msgstr "" msgstr ""
msgid "Merged MRs"
msgstr ""
msgid "Merged branches are being deleted. This can take some time depending on the number of branches. Please refresh the page to see changes." msgid "Merged branches are being deleted. This can take some time depending on the number of branches. Please refresh the page to see changes."
msgstr "" msgstr ""
...@@ -15215,7 +15215,7 @@ msgstr "" ...@@ -15215,7 +15215,7 @@ msgstr ""
msgid "Opened" msgid "Opened"
msgstr "" msgstr ""
msgid "Opened MR" msgid "Opened MRs"
msgstr "" msgstr ""
msgid "Opened issues" msgid "Opened issues"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment