- Notifications
You must be signed in to change notification settings - Fork395
Traduccion json#441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Traduccion json#441
Changes from4 commits
813d8de
8b78177
da83710
44c5268
b05f9f5
c7969d3
38796ee
a541455
cf9c194
6d80721
b362f82
e8491cd
1ccd06c
9caad23
d7de288
72f9317
0598129
7fddbd7
3bbf0c1
84fd63c
d1272a0
044c35a
172629a
a21ce47
886fea7
96d46df
2b839bd
cffbf43
8096031
80f097e
bd8d9ce
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -6,28 +6,31 @@ | ||
# Check https://github.com/PyCampES/python-docs-es/blob/3.8/TRANSLATORS to | ||
# get the list of volunteers | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Python 3.8\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2020-05-05 12:54+0200\n" | ||
"PO-Revision-Date: 2020-06-23 23:38-0500\n" | ||
"Language-Team: python-doc-es\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Generated-By: Babel 2.8.0\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
"Last-Translator: \n" | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"Language: es_ES\n" | ||
"X-Generator: Poedit 2.3.1\n" | ||
#: ../Doc/library/json.rst:2 | ||
msgid ":mod:`json` --- JSON encoder and decoder" | ||
msgstr ":mod:`json` --- codificador y decodificador JSON" | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
#: ../Doc/library/json.rst:10 | ||
msgid "**Source code:** :source:`Lib/json/__init__.py`" | ||
msgstr "**Código fuente:** :source:`Lib/json/__init__.py`" | ||
# Not sure about the direct translation of "inspired by JavaScript object literal syntax" to "inspirado por la sintaxis de literal de objeto en Javascrpt". | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
#: ../Doc/library/json.rst:14 | ||
msgid "" | ||
"`JSON (JavaScript Object Notation) <http://json.org>`_, specified by :rfc:" | ||
@@ -37,44 +40,54 @@ msgid "" | ||
"wiki/JavaScript>`_ object literal syntax (although it is not a strict subset " | ||
"of JavaScript [#rfc-errata]_ )." | ||
msgstr "" | ||
"`JSON (JavaScript Object Notation) <http://json.org>`_, especificado por :" | ||
"rfc:'7159' (que obsoleta :rfc:`4627`) y por `ECMA-404 <http://www.ecma-" | ||
"international.org/publications/standards/Ecma-404.htm>`_, es un formato " | ||
"ligero de intercambio de datos inspirado por la sintaxis de literal de " | ||
"objeto en `JavaScript <https://en.wikipedia.org/wiki/JavaScript>`_ (aunque " | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"no es un subconjunto estricto de JavaScript [#rfc-errata]_ )." | ||
#: ../Doc/library/json.rst:21 | ||
msgid "" | ||
":mod:`json` exposes an API familiar to users of the standard library :mod:" | ||
"`marshal` and :mod:`pickle` modules." | ||
msgstr "" | ||
":mod:`json` expone una API familiar a los usuarios de los módulos de la " | ||
"biblioteca estándar :mod:`marshal` y :mod:`pickle`." | ||
#: ../Doc/library/json.rst:24 | ||
msgid "Encoding basic Python object hierarchies::" | ||
msgstr "Codificación de jerarquías básicas de objetos de Python:" | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
#: ../Doc/library/json.rst:43 | ||
msgid "Compact encoding::" | ||
msgstr "Codificación compacta:" | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
#: ../Doc/library/json.rst:49 | ||
msgid "Pretty printing::" | ||
msgstr "Impresión con sangría:" | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
#: ../Doc/library/json.rst:58 | ||
msgid "Decoding JSON::" | ||
msgstr "Descodificación JSON:" | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
#: ../Doc/library/json.rst:70 | ||
msgid "Specializing JSON object decoding::" | ||
msgstr "Decodificación personalizada de objetos JSON::" | ||
#: ../Doc/library/json.rst:85 | ||
msgid "Extending :class:`JSONEncoder`::" | ||
msgstr "Extendiendo :class:`JSONEncoder`::" | ||
#: ../Doc/library/json.rst:103 | ||
msgid "Using :mod:`json.tool` from the shell to validate and pretty-print:" | ||
msgstr "" | ||
"Usando :mod:`json.tool` desde el shell para validación e impresión con " | ||
"sangría:" | ||
#: ../Doc/library/json.rst:114 | ||
msgid "See :ref:`json-commandline` for detailed documentation." | ||
msgstr "Consulte :ref:`json-commandline` para obtener documentación detallada." | ||
#: ../Doc/library/json.rst:118 | ||
msgid "" | ||
@@ -83,12 +96,20 @@ msgid "" | ||
"value) is also a subset of YAML 1.0 and 1.1. This module can thus also be " | ||
"used as a YAML serializer." | ||
msgstr "" | ||
"JSON es un subconjunto de `YAML <http://yaml.org/>` _ 1.2. El JSON producido " | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"por la configuración predeterminada de este módulo (en particular, el valor " | ||
"predeterminado *separadores*) también es un subconjunto de YAML 1.0 y 1.1. " | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"Por lo tanto, este módulo también se puede utilizar como un serializador " | ||
"YAML." | ||
#: ../Doc/library/json.rst:125 | ||
msgid "" | ||
"This module's encoders and decoders preserve input and output order by " | ||
"default. Order is only lost if the underlying containers are unordered." | ||
msgstr "" | ||
"Los codificadores y decodificadores de este módulo conservan el orden de " | ||
"entrada y salida de forma predeterminada. El orden solo se pierde si los " | ||
"contenedores subyacentes no están ordenados." | ||
#: ../Doc/library/json.rst:128 | ||
msgid "" | ||
@@ -98,44 +119,67 @@ msgid "" | ||
"regular :class:`dict` became order preserving, so it is no longer necessary " | ||
"to specify :class:`collections.OrderedDict` for JSON generation and parsing." | ||
msgstr "" | ||
"Antes de Python 3.7, no se garantizaba que :class:`dict` fuera ordenado, por " | ||
"lo que las entradas y salidas se codificaban a menos que :class:` " | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"collections.OrderedDict` se solicitara específicamente. Comenzando con " | ||
"Python 3.7, la clase regular: `dict` conserva el orden, por lo que ya no es " | ||
"necesario especificar :class:`collections.OrderedDict` para la generación y " | ||
"análisis JSON." | ||
#: ../Doc/library/json.rst:137 | ||
msgid "Basic Usage" | ||
msgstr "Uso básico" | ||
#: ../Doc/library/json.rst:144 | ||
msgid "" | ||
"Serialize *obj* as a JSON formatted stream to *fp* (a ``.write()``-" | ||
"supporting :term:`file-like object`) using this :ref:`conversion table <py-" | ||
"to-json-table>`." | ||
msgstr "" | ||
"Serialice *obj* como una secuencia con formato JSON a *fp* (a ``.write ()`` -" | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"supporting: term: `file-like object`) usando esto :ref:`conversion table <py-" | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"to-json-table>`." | ||
# dict keys se traduce a claves del dict o llaves del dict o alguna otra traduccion? | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page.
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
#: ../Doc/library/json.rst:148 | ||
msgid "" | ||
"If *skipkeys* is true (default: ``False``), then dict keys that are not of a " | ||
"basic type (:class:`str`, :class:`int`, :class:`float`, :class:`bool`, " | ||
"``None``) will be skipped instead of raising a :exc:`TypeError`." | ||
msgstr "" | ||
"Si * skipkeys * es verdadero (predeterminado: ``False``), entonces las " | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"claves o llaves del dict que no son de un tipo básico (:class:`str`, :class:" | ||
"`int`, :class:`float`, :class:`bool`, ``None``) se omitirán en lugar de " | ||
"generar un :exc:`TypeError`." | ||
#: ../Doc/library/json.rst:152 | ||
msgid "" | ||
"The :mod:`json` module always produces :class:`str` objects, not :class:" | ||
"`bytes` objects. Therefore, ``fp.write()`` must support :class:`str` input." | ||
msgstr "" | ||
"El módulo :mod:`json` siempre produce: clase: objetos `str`, no objetos :" | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"class:`bytes`. Por lo tanto, ``fp.write ()`` debe admitir :class:`str` como " | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"entrada." | ||
#: ../Doc/library/json.rst:156 ../Doc/library/json.rst:431 | ||
msgid "" | ||
"If *ensure_ascii* is true (the default), the output is guaranteed to have " | ||
"all incoming non-ASCII characters escaped. If *ensure_ascii* is false, " | ||
"these characters will be output as-is." | ||
msgstr "" | ||
"Si *sure_ascii* es verdadero (el valor predeterminado), se garantiza que la " | ||
"salida tendrá todos los caracteres entrantes no ASCII escapados. Si " | ||
"*ensure_ascii* es falso, estos caracteres se mostrarán tal cual." | ||
#: ../Doc/library/json.rst:160 | ||
msgid "" | ||
"If *check_circular* is false (default: ``True``), then the circular " | ||
"reference check for container types will be skipped and a circular reference " | ||
"will result in an :exc:`OverflowError` (or worse)." | ||
msgstr "" | ||
"Si *check_circular* es falso (predeterminado: ``True``), se omitirá la " | ||
"verificación de referencia circular para los tipos de contenedor y una " | ||
"referencia circular dará como resultado :exc:`OverflowError` (o peor)." | ||
#: ../Doc/library/json.rst:164 | ||
msgid "" | ||
@@ -145,6 +189,11 @@ msgid "" | ||
"*allow_nan* is true, their JavaScript equivalents (``NaN``, ``Infinity``, ``-" | ||
"Infinity``) will be used." | ||
msgstr "" | ||
"Si *allow_nan* es falso (predeterminado: `` True``), entonces será un: exc:" | ||
"`ValueError` para serializar los valores fuera de rango :class:` float` " | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"(``nan``, ``inf` `,` `-inf``) en estricto cumplimiento de la especificación " | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"JSON. Si *allow_nan* es verdadero, se utilizarán sus equivalentes de " | ||
"JavaScript (``NaN``, ``Infinity``, ``-Infinity``)." | ||
#: ../Doc/library/json.rst:170 ../Doc/library/json.rst:450 | ||
msgid "" | ||
@@ -155,10 +204,17 @@ msgid "" | ||
"indent indents that many spaces per level. If *indent* is a string (such as " | ||
"``\"\\t\"``), that string is used to indent each level." | ||
msgstr "" | ||
"Si *indent* es un entero o cadena no negativa, los elementos de la matriz " | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"JSON y los miembros del objeto se imprimirán con ese nivel de sangría. Un " | ||
"nivel de sangría de 0, negativo o ``\"\"`` solo insertará nuevas líneas. " | ||
"``None`` (el valor predeterminado) selecciona la representación más " | ||
"compacta. El uso de una sangría de entero positivo agrega sangrías de muchos " | ||
"espacios por nivel. Si *indent* es una cadena (como `` \"\\t\"``), esa " | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"cadena se usa para agregarle sangría a cada nivel." | ||
#: ../Doc/library/json.rst:177 ../Doc/library/json.rst:457 | ||
msgid "Allow strings for *indent* in addition to integers." | ||
msgstr "Permitir cadenas para *indent* además de enteros." | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
#: ../Doc/library/json.rst:180 ../Doc/library/json.rst:460 | ||
msgid "" | ||
@@ -167,10 +223,15 @@ msgid "" | ||
"': ')`` otherwise. To get the most compact JSON representation, you should " | ||
"specify ``(',', ':')`` to eliminate whitespace." | ||
msgstr "" | ||
"Si se especifica, *separators* debe ser una tupla ``(separador_de_artículo, " | ||
cmaureir marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"separador_de_llave)``. El valor predeterminado es `` (', ', ':')`` si " | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"*indent* es ``None`` y ``(',', ':')`` de lo contrario. Para obtener la " | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"representación JSON más compacta, debe especificar ``(',', ':')`` para " | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"eliminar espacios en blanco." | ||
#: ../Doc/library/json.rst:185 ../Doc/library/json.rst:465 | ||
msgid "Use ``(',', ': ')`` as default if *indent* is not ``None``." | ||
msgstr "Use ``(',', ':')`` como predeterminado si *indent* no es ``None``." | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
#: ../Doc/library/json.rst:188 ../Doc/library/json.rst:468 | ||
msgid "" | ||
@@ -179,38 +240,57 @@ msgid "" | ||
"version of the object or raise a :exc:`TypeError`. If not specified, :exc:" | ||
"`TypeError` is raised." | ||
msgstr "" | ||
"Si se especifica, *default* debería ser una función que se llama para " | ||
"objetos que de otro modo no se pueden serializar. Debería devolver una " | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"versión codificable JSON del objeto o generar un :exc:`TypeError`. Si no se " | ||
"especifica, produce :exc:`TypeError`." | ||
#: ../Doc/library/json.rst:193 | ||
msgid "" | ||
"If *sort_keys* is true (default: ``False``), then the output of dictionaries " | ||
"will be sorted by key." | ||
msgstr "" | ||
"Si *sort_keys* es verdadero (predeterminado: ``False``), la salida de los " | ||
"diccionarios se ordenará por llave." | ||
#: ../Doc/library/json.rst:196 | ||
msgid "" | ||
"To use a custom :class:`JSONEncoder` subclass (e.g. one that overrides the :" | ||
"meth:`default` method to serialize additional types), specify it with the " | ||
"*cls* kwarg; otherwise :class:`JSONEncoder` is used." | ||
msgstr "" | ||
"Para usar una subclase personalizada :class:`JSONEncoder` (por ejemplo, una " | ||
"que anule el método :meth:`default` para serializar tipos adicionales), " | ||
"especifíquelo con *cls* kwarg; de lo contrario: se usa la clase: " | ||
"`JSONEncoder`." | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
#: ../Doc/library/json.rst:200 ../Doc/library/json.rst:273 | ||
msgid "" | ||
"All optional parameters are now :ref:`keyword-only <keyword-only_parameter>`." | ||
msgstr "" | ||
"Todos los parámetros opcionales son ahora :ref:`keyword-only <keyword-" | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"only_parameter>`." | ||
#: ../Doc/library/json.rst:205 | ||
msgid "" | ||
"Unlike :mod:`pickle` and :mod:`marshal`, JSON is not a framed protocol, so " | ||
"trying to serialize multiple objects with repeated calls to :func:`dump` " | ||
"using the same *fp* will result in an invalid JSON file." | ||
msgstr "" | ||
"A diferencia de :mod:`pickle` y :mod:`marshal`, JSON no es un protocolo " | ||
"enmarcado, por lo que intentar serializar varios objetos con llamadas " | ||
"repetidas a :func:`dump` utilando el mismo *fp* dará como resultado un " | ||
"archivo JSON no válido." | ||
#: ../Doc/library/json.rst:214 | ||
msgid "" | ||
"Serialize *obj* to a JSON formatted :class:`str` using this :ref:`conversion " | ||
"table <py-to-json-table>`. The arguments have the same meaning as in :func:" | ||
"`dump`." | ||
msgstr "" | ||
"Serialice *obj* en un JSON con formato :class:`str` usando esta :ref:`tabla " | ||
"de conversión <py-to-json-table>`. Los argumentos tienen el mismo " | ||
"significado que en :func:`dump`.</py-to-json-table>." | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
#: ../Doc/library/json.rst:220 | ||
msgid "" | ||
@@ -220,13 +300,25 @@ msgid "" | ||
"JSON and then back into a dictionary, the dictionary may not equal the " | ||
"original one. That is, ``loads(dumps(x)) != x`` if x has non-string keys." | ||
msgstr "" | ||
"Las claves de los pares clave/valor de JSON siempre son del tipo :class:" | ||
"`str`. Cuando un diccionario se convierte en JSON, todas las claves del " | ||
"diccionario se convierten en cadenas. Como resultado de esto, si un " | ||
"diccionario se convierte en JSON y, a continuación, se convierte nuevamente " | ||
"en un diccionario, el diccionario puede que no sea igual al original. Es " | ||
"decir, ``loads(dumps(x)) != x`` si x tiene claves que no son de tipo cadena " | ||
"de caracteres." | ||
adriaanbd marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
# un ``.read()``-compatible | ||
#: ../Doc/library/json.rst:229 | ||
#, fuzzy | ||
msgid "" | ||
"Deserialize *fp* (a ``.read()``-supporting :term:`text file` or :term:" | ||
"`binary file` containing a JSON document) to a Python object using this :ref:" | ||
"`conversion table <json-to-py-table>`." | ||
msgstr "" | ||
"Deserializar *fp* (un ``.read()``-compatible :term:`text file` o :term:" | ||
"`binary file` que contiene un documento JSON) a un objeto Python usando " | ||
"esta :ref:`tabla de conversión <json-to-py-table>`." | ||
#: ../Doc/library/json.rst:233 | ||
msgid "" | ||