Skip to content
代码片段 群组 项目
提交 abfdfe6b 编辑于 作者: Nicolò Maria Mezzopera's avatar Nicolò Maria Mezzopera
浏览文件

Merge branch 'package-registry-settings-text' into 'master'

Revised Package Registry settings text

See merge request gitlab-org/gitlab!66395
No related branches found
No related tags found
无相关合并请求
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' } %button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
= expanded_by_default? ? _('Collapse') : _('Expand') = expanded_by_default? ? _('Collapse') : _('Expand')
%p %p
= _("Settings related to the use and experience of using GitLab's Package Registry.") = _("Control how the GitLab Package Registry functions.")
= render_if_exists 'admin/application_settings/ee_package_registry' = render_if_exists 'admin/application_settings/ee_package_registry'
......
...@@ -7,8 +7,6 @@ ...@@ -7,8 +7,6 @@
.form-check .form-check
= f.check_box :npm_package_requests_forwarding, class: 'form-check-input' = f.check_box :npm_package_requests_forwarding, class: 'form-check-input'
= f.label :npm_package_requests_forwarding, class: 'form-check-label' do = f.label :npm_package_requests_forwarding, class: 'form-check-label' do
Enable forwarding of npm package requests to npmjs.org Forward npm package requests to the npm Registry if the packages are not found in the GitLab Package Registry
.form-text.text-muted
= _("When enabled, if an npm package isn't found in the GitLab Registry, we will attempt to pull from the global npm registry.")
= f.submit _('Save changes'), class: 'btn gl-button btn-confirm' = f.submit _('Save changes'), class: 'btn gl-button btn-confirm'
...@@ -268,7 +268,7 @@ ...@@ -268,7 +268,7 @@
it 'allows you to change the npm_forwaring setting' do it 'allows you to change the npm_forwaring setting' do
page.within('#js-package-settings') do page.within('#js-package-settings') do
check 'Enable forwarding of npm package requests to npmjs.org' check 'Forward npm package requests to the npm Registry if the packages are not found in the GitLab Package Registry'
click_button 'Save' click_button 'Save'
end end
......
...@@ -8892,6 +8892,9 @@ msgstr "" ...@@ -8892,6 +8892,9 @@ msgstr ""
msgid "Control emails linked to your account" msgid "Control emails linked to your account"
msgstr "" msgstr ""
   
msgid "Control how the GitLab Package Registry functions."
msgstr ""
msgid "Control whether to display third-party offers in GitLab." msgid "Control whether to display third-party offers in GitLab."
msgstr "" msgstr ""
   
...@@ -30005,9 +30008,6 @@ msgstr "" ...@@ -30005,9 +30008,6 @@ msgstr ""
msgid "Settings" msgid "Settings"
msgstr "" msgstr ""
   
msgid "Settings related to the use and experience of using GitLab's Package Registry."
msgstr ""
msgid "Setup" msgid "Setup"
msgstr "" msgstr ""
   
...@@ -36913,9 +36913,6 @@ msgstr "" ...@@ -36913,9 +36913,6 @@ msgstr ""
msgid "When disabled, an external authentication provider must be used." msgid "When disabled, an external authentication provider must be used."
msgstr "" msgstr ""
   
msgid "When enabled, if an npm package isn't found in the GitLab Registry, we will attempt to pull from the global npm registry."
msgstr ""
msgid "When enabled, users cannot use GitLab until the terms have been accepted." msgid "When enabled, users cannot use GitLab until the terms have been accepted."
msgstr "" msgstr ""
   
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册