diff --git a/warehouse/locale/messages.pot b/warehouse/locale/messages.pot index 5dd51857b8d8..fe2fe3cefa88 100644 --- a/warehouse/locale/messages.pot +++ b/warehouse/locale/messages.pot @@ -1224,9 +1224,9 @@ msgstr "" #: warehouse/templates/manage/organization/settings.html:272 #: warehouse/templates/manage/project/documentation.html:13 #: warehouse/templates/manage/project/release.html:209 -#: warehouse/templates/manage/project/settings.html:84 -#: warehouse/templates/manage/project/settings.html:130 -#: warehouse/templates/manage/project/settings.html:371 +#: warehouse/templates/manage/project/settings.html:78 +#: warehouse/templates/manage/project/settings.html:124 +#: warehouse/templates/manage/project/settings.html:365 #: warehouse/templates/manage/team/settings.html:62 msgid "Warning" msgstr "" @@ -1599,9 +1599,9 @@ msgstr "" #: warehouse/templates/manage/project/roles.html:364 #: warehouse/templates/manage/project/roles.html:397 #: warehouse/templates/manage/project/roles.html:416 -#: warehouse/templates/manage/project/settings.html:275 -#: warehouse/templates/manage/project/settings.html:291 -#: warehouse/templates/manage/project/settings.html:307 +#: warehouse/templates/manage/project/settings.html:269 +#: warehouse/templates/manage/project/settings.html:285 +#: warehouse/templates/manage/project/settings.html:301 #: warehouse/templates/manage/team/roles.html:104 #: warehouse/templates/manage/team/settings.html:22 #: warehouse/templates/packaging/submit-malware-observation.html:54 @@ -1932,9 +1932,9 @@ msgstr "" #: warehouse/templates/manage/project/history.html:295 #: warehouse/templates/manage/project/history.html:306 #: warehouse/templates/manage/project/history.html:317 -#: warehouse/templates/manage/project/settings.html:218 -#: warehouse/templates/manage/project/settings.html:273 -#: warehouse/templates/manage/project/settings.html:278 +#: warehouse/templates/manage/project/settings.html:212 +#: warehouse/templates/manage/project/settings.html:267 +#: warehouse/templates/manage/project/settings.html:272 #: warehouse/templates/manage/unverified-account.html:102 msgid "Name" msgstr "" @@ -2893,7 +2893,7 @@ msgstr "" #: warehouse/templates/manage/manage_base.html:347 #: warehouse/templates/manage/project/release.html:158 #: warehouse/templates/manage/project/releases.html:186 -#: warehouse/templates/manage/project/settings.html:69 +#: warehouse/templates/manage/project/settings.html:63 #: warehouse/templates/manage/unverified-account.html:169 #: warehouse/templates/manage/unverified-account.html:172 #: warehouse/templates/manage/unverified-account.html:187 @@ -3549,12 +3549,12 @@ msgid "Update password" msgstr "" #: warehouse/templates/manage/account.html:482 -#: warehouse/templates/manage/project/settings.html:35 +#: warehouse/templates/manage/project/settings.html:29 msgid "API tokens" msgstr "" #: warehouse/templates/manage/account.html:484 -#: warehouse/templates/manage/project/settings.html:36 +#: warehouse/templates/manage/project/settings.html:30 msgid "" "API tokens provide an alternative way to authenticate when uploading " "packages to PyPI." @@ -4800,7 +4800,7 @@ msgstr "" #: warehouse/templates/manage/project/publishing.html:255 #: warehouse/templates/manage/project/publishing.html:329 #: warehouse/templates/manage/project/roles.html:373 -#: warehouse/templates/manage/project/settings.html:328 +#: warehouse/templates/manage/project/settings.html:322 #: warehouse/templates/manage/team/roles.html:125 msgid "Add" msgstr "" @@ -5930,7 +5930,7 @@ msgstr "" #: warehouse/templates/manage/organization/roles.html:352 #: warehouse/templates/manage/project/release.html:96 #: warehouse/templates/manage/project/releases.html:98 -#: warehouse/templates/manage/project/settings.html:245 +#: warehouse/templates/manage/project/settings.html:239 msgid "Delete" msgstr "" @@ -6410,9 +6410,9 @@ msgstr "" #: warehouse/templates/manage/project/history.html:296 #: warehouse/templates/manage/project/history.html:307 #: warehouse/templates/manage/project/history.html:318 -#: warehouse/templates/manage/project/settings.html:219 -#: warehouse/templates/manage/project/settings.html:289 -#: warehouse/templates/manage/project/settings.html:294 +#: warehouse/templates/manage/project/settings.html:213 +#: warehouse/templates/manage/project/settings.html:283 +#: warehouse/templates/manage/project/settings.html:288 msgid "Url" msgstr "" @@ -6625,7 +6625,7 @@ msgstr "" #: warehouse/templates/manage/project/release.html:155 #: warehouse/templates/manage/project/releases.html:183 -#: warehouse/templates/manage/project/settings.html:66 +#: warehouse/templates/manage/project/settings.html:60 msgid "Dismiss" msgstr "" @@ -6962,29 +6962,29 @@ msgstr "" msgid "Project size:" msgstr "" -#: warehouse/templates/manage/project/settings.html:21 -#: warehouse/templates/manage/project/settings.html:31 +#: warehouse/templates/manage/project/settings.html:18 +#: warehouse/templates/manage/project/settings.html:25 #, python-format msgid "(request an increase)" msgstr "" -#: warehouse/templates/manage/project/settings.html:41 +#: warehouse/templates/manage/project/settings.html:35 #, python-format msgid "Create a token for %(project_name)s" msgstr "" -#: warehouse/templates/manage/project/settings.html:46 +#: warehouse/templates/manage/project/settings.html:40 #, python-format msgid "" "Verify your primary email address to add an API " "token for %(project_name)s." msgstr "" -#: warehouse/templates/manage/project/settings.html:54 +#: warehouse/templates/manage/project/settings.html:48 msgid "Project description and sidebar" msgstr "" -#: warehouse/templates/manage/project/settings.html:56 +#: warehouse/templates/manage/project/settings.html:50 #, python-format msgid "" "To set the '%(project_name)s' description, author, links, classifiers, " @@ -6997,147 +6997,147 @@ msgid "" "Python Packaging User Guide for more help." msgstr "" -#: warehouse/templates/manage/project/settings.html:82 +#: warehouse/templates/manage/project/settings.html:76 msgid "Remove project from organization" msgstr "" -#: warehouse/templates/manage/project/settings.html:85 +#: warehouse/templates/manage/project/settings.html:79 msgid "Removing this project from the organization will:" msgstr "" -#: warehouse/templates/manage/project/settings.html:89 -#: warehouse/templates/manage/project/settings.html:136 +#: warehouse/templates/manage/project/settings.html:83 +#: warehouse/templates/manage/project/settings.html:130 #, python-format msgid "Remove this project from the '%(organization_name)s' organization." msgstr "" -#: warehouse/templates/manage/project/settings.html:92 -#: warehouse/templates/manage/project/settings.html:139 +#: warehouse/templates/manage/project/settings.html:86 +#: warehouse/templates/manage/project/settings.html:133 #, python-format msgid "" "Revoke project permissions for teams in the '%(organization_name)s' " "organization." msgstr "" -#: warehouse/templates/manage/project/settings.html:95 -#: warehouse/templates/manage/project/settings.html:100 +#: warehouse/templates/manage/project/settings.html:89 +#: warehouse/templates/manage/project/settings.html:94 msgid "" "Individual owners and maintainers of the project will retain their " "project permissions." msgstr "" -#: warehouse/templates/manage/project/settings.html:99 +#: warehouse/templates/manage/project/settings.html:93 #, python-format msgid "" "This will remove the project from the '%(organization_name)s' " "organization." msgstr "" -#: warehouse/templates/manage/project/settings.html:103 +#: warehouse/templates/manage/project/settings.html:97 msgid "Remove project" msgstr "" -#: warehouse/templates/manage/project/settings.html:103 -#: warehouse/templates/manage/project/settings.html:177 -#: warehouse/templates/manage/project/settings.html:445 +#: warehouse/templates/manage/project/settings.html:97 +#: warehouse/templates/manage/project/settings.html:171 +#: warehouse/templates/manage/project/settings.html:439 msgid "Project Name" msgstr "" -#: warehouse/templates/manage/project/settings.html:107 +#: warehouse/templates/manage/project/settings.html:101 msgid "Cannot remove project from organization" msgstr "" -#: warehouse/templates/manage/project/settings.html:109 +#: warehouse/templates/manage/project/settings.html:103 msgid "" "Your organization is currently the sole owner of the " "project. You must add an individual owner to the project before you can " "remove the project from your organization." msgstr "" -#: warehouse/templates/manage/project/settings.html:124 +#: warehouse/templates/manage/project/settings.html:118 msgid "Transfer project to another organization" msgstr "" -#: warehouse/templates/manage/project/settings.html:126 +#: warehouse/templates/manage/project/settings.html:120 msgid "Transfer project to an organization" msgstr "" -#: warehouse/templates/manage/project/settings.html:131 +#: warehouse/templates/manage/project/settings.html:125 msgid "Transferring this project will:" msgstr "" -#: warehouse/templates/manage/project/settings.html:142 +#: warehouse/templates/manage/project/settings.html:136 msgid "Revoke your direct Owner role on the project." msgstr "" -#: warehouse/templates/manage/project/settings.html:143 +#: warehouse/templates/manage/project/settings.html:137 msgid "" "You will retain Owner permissions on the project through your " "organization role." msgstr "" -#: warehouse/templates/manage/project/settings.html:147 +#: warehouse/templates/manage/project/settings.html:141 msgid "Add the project to another organization that you own." msgstr "" -#: warehouse/templates/manage/project/settings.html:149 +#: warehouse/templates/manage/project/settings.html:143 msgid "Add the project to an organization that you own." msgstr "" -#: warehouse/templates/manage/project/settings.html:152 +#: warehouse/templates/manage/project/settings.html:146 msgid "Grant full project permissions to owners of the organization." msgstr "" -#: warehouse/templates/manage/project/settings.html:155 +#: warehouse/templates/manage/project/settings.html:149 msgid "" "All other individual owners and maintainers of the project will retain " "their project permissions." msgstr "" -#: warehouse/templates/manage/project/settings.html:177 +#: warehouse/templates/manage/project/settings.html:171 msgid "Transfer project" msgstr "" -#: warehouse/templates/manage/project/settings.html:183 +#: warehouse/templates/manage/project/settings.html:177 msgid "Cannot transfer project to another organization" msgstr "" -#: warehouse/templates/manage/project/settings.html:185 +#: warehouse/templates/manage/project/settings.html:179 msgid "Cannot transfer project to an organization" msgstr "" -#: warehouse/templates/manage/project/settings.html:190 +#: warehouse/templates/manage/project/settings.html:184 msgid "" "Organization owners can transfer the project to organizations that they " "own or manage." msgstr "" -#: warehouse/templates/manage/project/settings.html:191 +#: warehouse/templates/manage/project/settings.html:185 msgid "You are not an owner or manager of any other organizations." msgstr "" -#: warehouse/templates/manage/project/settings.html:193 +#: warehouse/templates/manage/project/settings.html:187 msgid "" "Project owners can transfer the project to organizations that they own or" " manage." msgstr "" -#: warehouse/templates/manage/project/settings.html:194 +#: warehouse/templates/manage/project/settings.html:188 msgid "You are not an owner or manager of any organizations." msgstr "" -#: warehouse/templates/manage/project/settings.html:201 +#: warehouse/templates/manage/project/settings.html:195 msgid "Alternate repository locations" msgstr "" -#: warehouse/templates/manage/project/settings.html:204 +#: warehouse/templates/manage/project/settings.html:198 #, python-format msgid "" "Provisional support for PEP 708 \"Alternate " "Locations\" Metadata." msgstr "" -#: warehouse/templates/manage/project/settings.html:208 +#: warehouse/templates/manage/project/settings.html:202 #, python-format msgid "" "Implementation may change, consider subscribing to %(count)s" @@ -7240,15 +7240,15 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: warehouse/templates/manage/project/settings.html:383 +#: warehouse/templates/manage/project/settings.html:377 msgid "Irreversibly delete the project" msgstr "" -#: warehouse/templates/manage/project/settings.html:387 +#: warehouse/templates/manage/project/settings.html:381 msgid "Make the project name available to any other PyPI user" msgstr "" -#: warehouse/templates/manage/project/settings.html:390 +#: warehouse/templates/manage/project/settings.html:384 msgid "" "This user will be able to make new releases under this project name, so " "long as the distribution filenames do not match filenames from a " diff --git a/warehouse/templates/manage/project/settings.html b/warehouse/templates/manage/project/settings.html index 7fdd9abf4585..11cf208dd449 100644 --- a/warehouse/templates/manage/project/settings.html +++ b/warehouse/templates/manage/project/settings.html @@ -13,21 +13,15 @@

{% trans %}Project settings{% endtrans %}

  • Project upload limit: - {% if project.upload_limit %} - {{ project.upload_limit|filesizeformat(binary=True) }} - {% else %} - Default ({{ MAX_FILESIZE|filesizeformat(binary=True) }}) - {% endif %} + {% if project.upload_limit_size == MAX_FILESIZE %}Default{% endif %} + {{ project.upload_limit_size|filesizeformat(binary=True) }} {% trans help_url=request.user_docs_url("/project-management/storage-limits", anchor="requesting-a-file-size-limit-increase") %} (request an increase){% endtrans %}
  • Project total size limit: - {% if project.total_size_limit %} - {{ project.total_size_limit|filesizeformat(binary=True) }} - {% else %} - Default ({{ MAX_PROJECT_SIZE|filesizeformat(binary=True) }}) - {% endif %} + {% if project.total_size_limit_value == MAX_PROJECT_SIZE %}Default{% endif %} + {{ project.total_size_limit_value|filesizeformat(binary=True) }} {% trans help_url=request.user_docs_url("/project-management/storage-limits", anchor="requesting-a-project-size-limit-increase") %} (request an increase){% endtrans %}