Skip to content

Commit 08af1c5

Browse files
Update messages.pot as of version f6c0291
1 parent 22dfb66 commit 08af1c5

1 file changed

Lines changed: 82 additions & 78 deletions

File tree

‎locales/messages.pot‎

Lines changed: 82 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python Packaging User Guide \n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2024-02-29 18:58+0000\n"
11+
"POT-Creation-Date: 2024-03-04 14:23+0000\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -1891,7 +1891,7 @@ msgstr ""
18911891

18921892
#: ../source/guides/analyzing-pypi-package-downloads.rst:75
18931893
#: ../source/specifications/dependency-specifiers.rst:29
1894-
#: ../source/specifications/direct-url-data-structure.rst:339
1894+
#: ../source/specifications/direct-url-data-structure.rst:342
18951895
#: ../source/specifications/version-specifiers.rst:1067
18961896
msgid "Examples"
18971897
msgstr ""
@@ -8024,7 +8024,7 @@ msgstr ""
80248024
#: ../source/specifications/binary-distribution-format.rst:419
80258025
#: ../source/specifications/core-metadata.rst:848
80268026
#: ../source/specifications/dependency-specifiers.rst:476
8027-
#: ../source/specifications/direct-url-data-structure.rst:389
8027+
#: ../source/specifications/direct-url-data-structure.rst:392
80288028
#: ../source/specifications/direct-url.rst:67
80298029
#: ../source/specifications/entry-points.rst:164
80308030
#: ../source/specifications/externally-managed-environments.rst:472
@@ -9161,269 +9161,273 @@ msgid "This document specifies a JSON-serializable abstract data structure that
91619161
msgstr ""
91629162

91639163
#: ../source/specifications/direct-url-data-structure.rst:13
9164-
msgid "The representation of the components of this data structure as a :rfc:`1738` URL is not formally specified at time of writing. A common representation is the pip URL format. Other examples are provided in the :ref:`Version specifier specification <version-specifiers>`."
9164+
msgid "At time of writing, it is not formally specified how to merge the parts of this data structure into a single URL that can be passed to tools. A common representation is the pip URL format (`VCS Support <pip-vcs-support_>`_), other examples are provided in the :ref:`Version specifier specification <version-specifiers>`."
91659165
msgstr ""
91669166

91679167
#: ../source/specifications/direct-url-data-structure.rst:21
91689168
msgid "The Direct URL Data Structure MUST be a dictionary, serializable to JSON according to :rfc:`8259`."
91699169
msgstr ""
91709170

91719171
#: ../source/specifications/direct-url-data-structure.rst:24
9172-
msgid "It MUST contain at least two fields. The first one is ``url``, with type ``string``. Depending on what ``url`` refers to, the second field MUST be one of ``vcs_info`` (if ``url`` is a VCS reference), ``archive_info`` (if ``url`` is a source archives or a wheel), or ``dir_info`` (if ``url`` is a local directory). These info fields have a (possibly empty) subdictionary as value, with the possible keys defined below."
9172+
msgid "It MUST contain at least two fields. The first one is ``url``, with type ``string``. Its content must be a valid URL according to the `WHATWG URL Standard <whatwg-url-standard_>`_."
91739173
msgstr ""
91749174

9175-
#: ../source/specifications/direct-url-data-structure.rst:31
9176-
msgid "When persisted, ``url`` MUST be stripped of any sensitive authentication information, for security reasons."
9175+
#: ../source/specifications/direct-url-data-structure.rst:28
9176+
msgid "Depending on what ``url`` refers to, the second field MUST be one of ``vcs_info`` (if ``url`` is a VCS reference), ``archive_info`` (if ``url`` is a source archive or a wheel), or ``dir_info`` (if ``url`` is a local directory). These info fields have a (possibly empty) subdictionary as value, with the possible keys defined below."
91779177
msgstr ""
91789178

91799179
#: ../source/specifications/direct-url-data-structure.rst:34
9180+
msgid "When persisted, ``url`` MUST be stripped of any sensitive authentication information, for security reasons."
9181+
msgstr ""
9182+
9183+
#: ../source/specifications/direct-url-data-structure.rst:37
91809184
msgid "The user:password section of the URL MAY however be composed of environment variables, matching the following regular expression:"
91819185
msgstr ""
91829186

9183-
#: ../source/specifications/direct-url-data-structure.rst:42
9187+
#: ../source/specifications/direct-url-data-structure.rst:45
91849188
msgid "Additionally, the user:password section of the URL MAY be a well-known, non security sensitive string. A typical example is ``git`` in the case of an URL such as ``ssh://git@gitlab.com/user/repo``."
91859189
msgstr ""
91869190

9187-
#: ../source/specifications/direct-url-data-structure.rst:47
9191+
#: ../source/specifications/direct-url-data-structure.rst:50
91889192
msgid "VCS URLs"
91899193
msgstr ""
91909194

9191-
#: ../source/specifications/direct-url-data-structure.rst:49
9195+
#: ../source/specifications/direct-url-data-structure.rst:52
91929196
msgid "When ``url`` refers to a VCS repository, the ``vcs_info`` key MUST be present as a dictionary with the following keys:"
91939197
msgstr ""
91949198

9195-
#: ../source/specifications/direct-url-data-structure.rst:52
9199+
#: ../source/specifications/direct-url-data-structure.rst:55
91969200
msgid "A ``vcs`` key (type ``string``) MUST be present, containing the name of the VCS (i.e. one of ``git``, ``hg``, ``bzr``, ``svn``). Other VCS's SHOULD be registered by writing a PEP to amend this specification. The ``url`` value MUST be compatible with the corresponding VCS, so an installer can hand it off without transformation to a checkout/download command of the VCS."
91979201
msgstr ""
91989202

9199-
#: ../source/specifications/direct-url-data-structure.rst:58
9203+
#: ../source/specifications/direct-url-data-structure.rst:61
92009204
msgid "A ``requested_revision`` key (type ``string``) MAY be present naming a branch/tag/ref/commit/revision/etc (in a format compatible with the VCS)."
92019205
msgstr ""
92029206

9203-
#: ../source/specifications/direct-url-data-structure.rst:60
9207+
#: ../source/specifications/direct-url-data-structure.rst:63
92049208
msgid "A ``commit_id`` key (type ``string``) MUST be present, containing the exact commit/revision number that was/is to be installed. If the VCS supports commit-hash based revision identifiers, such commit-hash MUST be used as ``commit_id`` in order to reference an immutable version of the source code."
92059209
msgstr ""
92069210

9207-
#: ../source/specifications/direct-url-data-structure.rst:68
9211+
#: ../source/specifications/direct-url-data-structure.rst:71
92089212
msgid "Archive URLs"
92099213
msgstr ""
92109214

9211-
#: ../source/specifications/direct-url-data-structure.rst:70
9215+
#: ../source/specifications/direct-url-data-structure.rst:73
92129216
msgid "When ``url`` refers to a source archive or a wheel, the ``archive_info`` key MUST be present as a dictionary with the following keys:"
92139217
msgstr ""
92149218

9215-
#: ../source/specifications/direct-url-data-structure.rst:73
9219+
#: ../source/specifications/direct-url-data-structure.rst:76
92169220
msgid "A ``hashes`` key SHOULD be present as a dictionary mapping a hash name to a hex encoded digest of the file."
92179221
msgstr ""
92189222

9219-
#: ../source/specifications/direct-url-data-structure.rst:76
9223+
#: ../source/specifications/direct-url-data-structure.rst:79
92209224
msgid "Multiple hashes can be included, and it is up to the consumer to decide what to do with multiple hashes (it may validate all of them or a subset of them, or nothing at all)."
92219225
msgstr ""
92229226

9223-
#: ../source/specifications/direct-url-data-structure.rst:80
9227+
#: ../source/specifications/direct-url-data-structure.rst:83
92249228
msgid "These hash names SHOULD always be normalized to be lowercase."
92259229
msgstr ""
92269230

9227-
#: ../source/specifications/direct-url-data-structure.rst:82
9231+
#: ../source/specifications/direct-url-data-structure.rst:85
92289232
msgid "Any hash algorithm available via :py:mod:`hashlib` (specifically any that can be passed to :py:func:`hashlib.new()` and do not require additional parameters) can be used as a key for the hashes dictionary. At least one secure algorithm from :py:data:`hashlib.algorithms_guaranteed` SHOULD always be included. At time of writing, ``sha256`` specifically is recommended."
92299233
msgstr ""
92309234

9231-
#: ../source/specifications/direct-url-data-structure.rst:88
9235+
#: ../source/specifications/direct-url-data-structure.rst:91
92329236
msgid "A deprecated ``hash`` key (type ``string``) MAY be present for backwards compatibility purposes, with value ``<hash-algorithm>=<expected-hash>``."
92339237
msgstr ""
92349238

9235-
#: ../source/specifications/direct-url-data-structure.rst:91
9239+
#: ../source/specifications/direct-url-data-structure.rst:94
92369240
msgid "Producers of the data structure SHOULD emit the ``hashes`` key whether one or multiple hashes are available. Producers SHOULD continue to emit the ``hash`` key in contexts where they did so before, so as to keep backwards compatibility for existing clients."
92379241
msgstr ""
92389242

9239-
#: ../source/specifications/direct-url-data-structure.rst:95
9243+
#: ../source/specifications/direct-url-data-structure.rst:98
92409244
msgid "When both the ``hash`` and ``hashes`` keys are present, the hash represented in the ``hash`` key MUST also be present in the ``hashes`` dictionary, so consumers can consider the ``hashes`` key only if it is present, and fall back to ``hash`` otherwise."
92419245
msgstr ""
92429246

9243-
#: ../source/specifications/direct-url-data-structure.rst:100
9247+
#: ../source/specifications/direct-url-data-structure.rst:103
92449248
msgid "Local directories"
92459249
msgstr ""
92469250

9247-
#: ../source/specifications/direct-url-data-structure.rst:102
9251+
#: ../source/specifications/direct-url-data-structure.rst:105
92489252
msgid "When ``url`` refers to a local directory, the ``dir_info`` key MUST be present as a dictionary with the following key:"
92499253
msgstr ""
92509254

9251-
#: ../source/specifications/direct-url-data-structure.rst:105
9255+
#: ../source/specifications/direct-url-data-structure.rst:108
92529256
msgid "``editable`` (type: ``boolean``): ``true`` if the distribution was/is to be installed in editable mode, ``false`` otherwise. If absent, default to ``false``."
92539257
msgstr ""
92549258

9255-
#: ../source/specifications/direct-url-data-structure.rst:108
9259+
#: ../source/specifications/direct-url-data-structure.rst:111
92569260
msgid "When ``url`` refers to a local directory, it MUST have the ``file`` scheme and be compliant with :rfc:`8089`. In particular, the path component must be absolute. Symbolic links SHOULD be preserved when making relative paths absolute."
92579261
msgstr ""
92589262

9259-
#: ../source/specifications/direct-url-data-structure.rst:114
9263+
#: ../source/specifications/direct-url-data-structure.rst:117
92609264
msgid "Projects in subdirectories"
92619265
msgstr ""
92629266

9263-
#: ../source/specifications/direct-url-data-structure.rst:116
9267+
#: ../source/specifications/direct-url-data-structure.rst:119
92649268
msgid "A top-level ``subdirectory`` field MAY be present containing a directory path, relative to the root of the VCS repository, source archive or local directory, to specify where ``pyproject.toml`` or ``setup.py`` is located."
92659269
msgstr ""
92669270

9267-
#: ../source/specifications/direct-url-data-structure.rst:121
9271+
#: ../source/specifications/direct-url-data-structure.rst:124
92689272
msgid "Registered VCS"
92699273
msgstr ""
92709274

9271-
#: ../source/specifications/direct-url-data-structure.rst:123
9275+
#: ../source/specifications/direct-url-data-structure.rst:126
92729276
msgid "This section lists the registered VCS's; expanded, VCS-specific information on how to use the ``vcs``, ``requested_revision``, and other fields of ``vcs_info``; and in some cases additional VCS-specific fields. Tools MAY support other VCS's although it is RECOMMENDED to register them by writing a PEP to amend this specification. The ``vcs`` field SHOULD be the command name (lowercased). Additional fields that would be necessary to support such VCS SHOULD be prefixed with the VCS command name."
92739277
msgstr ""
92749278

9275-
#: ../source/specifications/direct-url-data-structure.rst:133
9276-
msgid "Git"
9277-
msgstr ""
9278-
92799279
#: ../source/specifications/direct-url-data-structure.rst:136
9280-
#: ../source/specifications/direct-url-data-structure.rst:163
9281-
#: ../source/specifications/direct-url-data-structure.rst:181
9282-
#: ../source/specifications/direct-url-data-structure.rst:199
9283-
msgid "Home page"
9284-
msgstr ""
9285-
9286-
#: ../source/specifications/direct-url-data-structure.rst:136
9287-
msgid "https://git-scm.com/"
9280+
msgid "Git"
92889281
msgstr ""
92899282

92909283
#: ../source/specifications/direct-url-data-structure.rst:139
92919284
#: ../source/specifications/direct-url-data-structure.rst:166
92929285
#: ../source/specifications/direct-url-data-structure.rst:184
92939286
#: ../source/specifications/direct-url-data-structure.rst:202
9294-
msgid "vcs command"
9287+
msgid "Home page"
92959288
msgstr ""
92969289

92979290
#: ../source/specifications/direct-url-data-structure.rst:139
9298-
#: ../source/specifications/direct-url-data-structure.rst:142
9299-
msgid "git"
9291+
msgid "https://git-scm.com/"
93009292
msgstr ""
93019293

93029294
#: ../source/specifications/direct-url-data-structure.rst:142
93039295
#: ../source/specifications/direct-url-data-structure.rst:169
93049296
#: ../source/specifications/direct-url-data-structure.rst:187
93059297
#: ../source/specifications/direct-url-data-structure.rst:205
9306-
msgid "``vcs`` field"
9298+
msgid "vcs command"
93079299
msgstr ""
93089300

9309-
#: ../source/specifications/direct-url-data-structure.rst:146
9310-
#: ../source/specifications/direct-url-data-structure.rst:172
9311-
#: ../source/specifications/direct-url-data-structure.rst:190
9312-
#: ../source/specifications/direct-url-data-structure.rst:209
9313-
msgid "``requested_revision`` field"
9301+
#: ../source/specifications/direct-url-data-structure.rst:142
9302+
#: ../source/specifications/direct-url-data-structure.rst:145
9303+
msgid "git"
93149304
msgstr ""
93159305

93169306
#: ../source/specifications/direct-url-data-structure.rst:145
9317-
msgid "A tag name, branch name, Git ref, commit hash, shortened commit hash, or other commit-ish."
9307+
#: ../source/specifications/direct-url-data-structure.rst:172
9308+
#: ../source/specifications/direct-url-data-structure.rst:190
9309+
#: ../source/specifications/direct-url-data-structure.rst:208
9310+
msgid "``vcs`` field"
93189311
msgstr ""
93199312

93209313
#: ../source/specifications/direct-url-data-structure.rst:149
93219314
#: ../source/specifications/direct-url-data-structure.rst:175
93229315
#: ../source/specifications/direct-url-data-structure.rst:193
9323-
#: ../source/specifications/direct-url-data-structure.rst:214
9316+
#: ../source/specifications/direct-url-data-structure.rst:212
9317+
msgid "``requested_revision`` field"
9318+
msgstr ""
9319+
9320+
#: ../source/specifications/direct-url-data-structure.rst:148
9321+
msgid "A tag name, branch name, Git ref, commit hash, shortened commit hash, or other commit-ish."
9322+
msgstr ""
9323+
9324+
#: ../source/specifications/direct-url-data-structure.rst:152
9325+
#: ../source/specifications/direct-url-data-structure.rst:178
9326+
#: ../source/specifications/direct-url-data-structure.rst:196
9327+
#: ../source/specifications/direct-url-data-structure.rst:217
93249328
msgid "``commit_id`` field"
93259329
msgstr ""
93269330

9327-
#: ../source/specifications/direct-url-data-structure.rst:149
9331+
#: ../source/specifications/direct-url-data-structure.rst:152
93289332
msgid "A commit hash (40 hexadecimal characters sha1)."
93299333
msgstr ""
93309334

9331-
#: ../source/specifications/direct-url-data-structure.rst:153
9335+
#: ../source/specifications/direct-url-data-structure.rst:156
93329336
msgid "Tools can use the ``git show-ref`` and ``git symbolic-ref`` commands to determine if the ``requested_revision`` corresponds to a Git ref. In turn, a ref beginning with ``refs/tags/`` corresponds to a tag, and a ref beginning with ``refs/remotes/origin/`` after cloning corresponds to a branch."
93339337
msgstr ""
93349338

9335-
#: ../source/specifications/direct-url-data-structure.rst:160
9339+
#: ../source/specifications/direct-url-data-structure.rst:163
93369340
msgid "Mercurial"
93379341
msgstr ""
93389342

9339-
#: ../source/specifications/direct-url-data-structure.rst:163
9343+
#: ../source/specifications/direct-url-data-structure.rst:166
93409344
msgid "https://www.mercurial-scm.org/"
93419345
msgstr ""
93429346

9343-
#: ../source/specifications/direct-url-data-structure.rst:166
93449347
#: ../source/specifications/direct-url-data-structure.rst:169
9348+
#: ../source/specifications/direct-url-data-structure.rst:172
93459349
msgid "hg"
93469350
msgstr ""
93479351

9348-
#: ../source/specifications/direct-url-data-structure.rst:172
9352+
#: ../source/specifications/direct-url-data-structure.rst:175
93499353
msgid "A tag name, branch name, changeset ID, shortened changeset ID."
93509354
msgstr ""
93519355

9352-
#: ../source/specifications/direct-url-data-structure.rst:175
9356+
#: ../source/specifications/direct-url-data-structure.rst:178
93539357
msgid "A changeset ID (40 hexadecimal characters)."
93549358
msgstr ""
93559359

9356-
#: ../source/specifications/direct-url-data-structure.rst:178
9360+
#: ../source/specifications/direct-url-data-structure.rst:181
93579361
msgid "Bazaar"
93589362
msgstr ""
93599363

9360-
#: ../source/specifications/direct-url-data-structure.rst:181
9364+
#: ../source/specifications/direct-url-data-structure.rst:184
93619365
msgid "https://www.breezy-vcs.org/"
93629366
msgstr ""
93639367

9364-
#: ../source/specifications/direct-url-data-structure.rst:184
93659368
#: ../source/specifications/direct-url-data-structure.rst:187
9369+
#: ../source/specifications/direct-url-data-structure.rst:190
93669370
msgid "bzr"
93679371
msgstr ""
93689372

9369-
#: ../source/specifications/direct-url-data-structure.rst:190
9373+
#: ../source/specifications/direct-url-data-structure.rst:193
93709374
msgid "A tag name, branch name, revision id."
93719375
msgstr ""
93729376

9373-
#: ../source/specifications/direct-url-data-structure.rst:193
9377+
#: ../source/specifications/direct-url-data-structure.rst:196
93749378
msgid "A revision id."
93759379
msgstr ""
93769380

9377-
#: ../source/specifications/direct-url-data-structure.rst:196
9381+
#: ../source/specifications/direct-url-data-structure.rst:199
93789382
msgid "Subversion"
93799383
msgstr ""
93809384

9381-
#: ../source/specifications/direct-url-data-structure.rst:199
9385+
#: ../source/specifications/direct-url-data-structure.rst:202
93829386
msgid "https://subversion.apache.org/"
93839387
msgstr ""
93849388

9385-
#: ../source/specifications/direct-url-data-structure.rst:202
93869389
#: ../source/specifications/direct-url-data-structure.rst:205
9390+
#: ../source/specifications/direct-url-data-structure.rst:208
93879391
msgid "svn"
93889392
msgstr ""
93899393

9390-
#: ../source/specifications/direct-url-data-structure.rst:208
9394+
#: ../source/specifications/direct-url-data-structure.rst:211
93919395
msgid "``requested_revision`` must be compatible with ``svn checkout`` ``--revision`` option. In Subversion, branch or tag is part of ``url``."
93929396
msgstr ""
93939397

9394-
#: ../source/specifications/direct-url-data-structure.rst:212
9398+
#: ../source/specifications/direct-url-data-structure.rst:215
93959399
msgid "Since Subversion does not support globally unique identifiers, this field is the Subversion revision number in the corresponding repository."
93969400
msgstr ""
93979401

9398-
#: ../source/specifications/direct-url-data-structure.rst:217
9402+
#: ../source/specifications/direct-url-data-structure.rst:220
93999403
msgid "JSON Schema"
94009404
msgstr ""
94019405

9402-
#: ../source/specifications/direct-url-data-structure.rst:219
9406+
#: ../source/specifications/direct-url-data-structure.rst:222
94039407
msgid "The following JSON Schema can be used to validate the contents of ``direct_url.json``:"
94049408
msgstr ""
94059409

9406-
#: ../source/specifications/direct-url-data-structure.rst:341
9410+
#: ../source/specifications/direct-url-data-structure.rst:344
94079411
msgid "Source archive:"
94089412
msgstr ""
94099413

9410-
#: ../source/specifications/direct-url-data-structure.rst:354
9414+
#: ../source/specifications/direct-url-data-structure.rst:357
94119415
msgid "Git URL with tag and commit-hash:"
94129416
msgstr ""
94139417

9414-
#: ../source/specifications/direct-url-data-structure.rst:367
9418+
#: ../source/specifications/direct-url-data-structure.rst:370
94159419
msgid "Local directory:"
94169420
msgstr ""
94179421

9418-
#: ../source/specifications/direct-url-data-structure.rst:376
9422+
#: ../source/specifications/direct-url-data-structure.rst:379
94199423
msgid "Local directory in editable mode:"
94209424
msgstr ""
94219425

9422-
#: ../source/specifications/direct-url-data-structure.rst:391
9426+
#: ../source/specifications/direct-url-data-structure.rst:394
94239427
msgid "March 2020: This specification was approved through :pep:`610`, defining the ``direct_url.json`` metadata file."
94249428
msgstr ""
94259429

9426-
#: ../source/specifications/direct-url-data-structure.rst:393
9430+
#: ../source/specifications/direct-url-data-structure.rst:396
94279431
msgid "January 2023: Added the ``archive_info.hashes`` key (`discussion <archive-info-hashes_>`_)."
94289432
msgstr ""
94299433

0 commit comments

Comments
 (0)