Commit 1bea1a18 authored by Michael Le's avatar Michael Le Committed by Peter Hegman

Change question marks to Learn More in Settings

Replace the question icon
with the word “Learn more”

Changelog: changed
MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/73130
parent 63ae977c
<script> <script>
import { GlIcon } from '@gitlab/ui';
export default { export default {
components: {
GlIcon,
},
props: { props: {
label: { label: {
type: String, type: String,
...@@ -29,10 +24,14 @@ export default { ...@@ -29,10 +24,14 @@ export default {
<div class="project-feature-row"> <div class="project-feature-row">
<label v-if="label" class="label-bold"> <label v-if="label" class="label-bold">
{{ label }} {{ label }}
<a v-if="helpPath" :href="helpPath" target="_blank">
<gl-icon name="question-o" />
</a>
</label> </label>
<span v-if="helpText" class="form-text text-muted"> {{ helpText }} </span> <slot></slot> <div>
<span v-if="helpText" class="text-muted"> {{ helpText }} </span>
<span v-if="helpPath"
><a :href="helpPath" target="_blank">{{ __('Learn more') }}</a
>.</span
>
</div>
<slot></slot>
</div> </div>
</template> </template>
...@@ -395,6 +395,9 @@ export default { ...@@ -395,6 +395,9 @@ export default {
ref="project-visibility-settings" ref="project-visibility-settings"
:help-path="visibilityHelpPath" :help-path="visibilityHelpPath"
:label="s__('ProjectSettings|Project visibility')" :label="s__('ProjectSettings|Project visibility')"
:help-text="
s__('ProjectSettings|Manage who can see the project in the public access directory.')
"
> >
<div class="project-feature-controls gl-display-flex gl-align-items-center gl-my-3 gl-mx-0"> <div class="project-feature-controls gl-display-flex gl-align-items-center gl-my-3 gl-mx-0">
<div class="select-wrapper gl-flex-grow-1"> <div class="select-wrapper gl-flex-grow-1">
......
...@@ -26965,6 +26965,9 @@ msgstr "" ...@@ -26965,6 +26965,9 @@ msgstr ""
msgid "ProjectSettings|LFS objects from this repository are available to forks. %{linkStart}How do I remove them?%{linkEnd}" msgid "ProjectSettings|LFS objects from this repository are available to forks. %{linkStart}How do I remove them?%{linkEnd}"
msgstr "" msgstr ""
msgid "ProjectSettings|Manage who can see the project in the public access directory."
msgstr ""
msgid "ProjectSettings|Manages large files such as audio, video, and graphics files." msgid "ProjectSettings|Manages large files such as audio, video, and graphics files."
msgstr "" msgstr ""
......
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