summaryrefslogtreecommitdiff
path: root/app/components
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-03-30 09:10:26 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-03-30 09:10:26 +0000
commite820415ceab5819ea8a29174543f9246b608b5fd (patch)
tree61b09e0bb6132ca630972f35a862b1a857387669 /app/components
parent488c34c7ebb40740a7f15f26acfb4de9b12462a4 (diff)
downloadgitlab-ce-e820415ceab5819ea8a29174543f9246b608b5fd.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/components')
-rw-r--r--app/components/diffs/overflow_warning_component.html.haml2
-rw-r--r--app/components/diffs/overflow_warning_component.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/app/components/diffs/overflow_warning_component.html.haml b/app/components/diffs/overflow_warning_component.html.haml
index 551d995cb22..bfc2f3f23a7 100644
--- a/app/components/diffs/overflow_warning_component.html.haml
+++ b/app/components/diffs/overflow_warning_component.html.haml
@@ -1,4 +1,4 @@
-= render Pajamas::AlertComponent.new(title: _('Too many changes to show.'),
+= render Pajamas::AlertComponent.new(title: _('Some changes are not shown.'),
variant: :warning,
alert_options: { class: 'gl-mb-5', data: { testid: "too-many-changes-alert" } }) do |c|
= c.body do
diff --git a/app/components/diffs/overflow_warning_component.rb b/app/components/diffs/overflow_warning_component.rb
index 5123809cfdc..34882885027 100644
--- a/app/components/diffs/overflow_warning_component.rb
+++ b/app/components/diffs/overflow_warning_component.rb
@@ -54,8 +54,8 @@ module Diffs
def message_text
_(
- "To preserve performance only %{strong_open}%{display_size} " \
- "of %{real_size}%{strong_close} files are displayed."
+ "For a faster browsing experience, only %{strong_open}%{display_size} of %{real_size}%{strong_close} " \
+ "files are shown. Download one of the files below to see all changes."
)
end