Skip to content

Commit

Permalink
Update warehouse/templates/manage/project/publishing.html
Browse files Browse the repository at this point in the history
Co-authored-by: Dustin Ingram <di@users.noreply.github.com>
  • Loading branch information
facutuesca and di committed Jan 10, 2025
1 parent 43446fb commit 3f3f993
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion warehouse/locale/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -6115,7 +6115,8 @@ msgstr ""
#, python-format
msgid ""
"I understand that this Trusted Publisher will only allow uploads frow "
"CI/CD workflows running in %(constrained_environment_name)s"
"CI/CD workflows running in the '%(constrained_environment_name)s' "
"environment."
msgstr ""

#: warehouse/templates/manage/project/publishing.html:458
Expand Down
2 changes: 1 addition & 1 deletion warehouse/templates/manage/project/publishing.html
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ <h2 class="no-bottom-padding">{% trans %}Add a new publisher{% endtrans %}</h2>
{% set extra_description %}
<p>{% trans %}Restrict Trusted Publisher environment to: {% endtrans %}<strong>{{ constrained_environment_name }}</strong></p>
<ul class="no-bullets no-left-margin">
<li><input class="inline-checkbox" type="checkbox" data-action="input->confirm#check" data-confirm-target="checkbox"> {% trans %}I understand that this Trusted Publisher will only allow uploads frow CI/CD workflows running in {{ constrained_environment_name }}{% endtrans %}</li>
<li><input class="inline-checkbox" type="checkbox" data-action="input->confirm#check" data-confirm-target="checkbox"> {% trans %}I understand that this Trusted Publisher will only allow uploads frow CI/CD workflows running in the '{{ constrained_environment_name }}' environment.{% endtrans %}</li>
</ul>
{% endset %}
{{ confirm_modal(title=title, label=gettext("New Environment Name"), confirm_name="constrained_environment_name", confirm_string=constrained_environment_name, slug=slug, confirm_button_label=confirm_button_label, extra_fields=extra_fields, extra_description=extra_description, warning=False, confirm_string_in_title=False) }}
Expand Down

0 comments on commit 3f3f993

Please sign in to comment.