From 98ec33c872a00bb4957a09b385640c1b470d5bfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=C3=A1n=20Maureira-Fredes?= Date: Tue, 14 Dec 2021 14:57:30 +0100 Subject: [PATCH 1/3] finalizando c-api/long --- c-api/long.po | 37 +++++++++++++++---------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/c-api/long.po b/c-api/long.po index ab770445f1..9174f9acab 100644 --- a/c-api/long.po +++ b/c-api/long.po @@ -13,12 +13,12 @@ msgstr "" "POT-Creation-Date: 2021-10-16 21:42+0200\n" "PO-Revision-Date: 2021-08-02 01:24+0200\n" "Last-Translator: Cristián Maureira-Fredes \n" -"Language: es\n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1)\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" "Generated-By: Babel 2.9.1\n" #: ../Doc/c-api/long.rst:6 @@ -176,16 +176,14 @@ msgstr "" "recuperar del valor resultante usando :c:func:`PyLong_AsVoidPtr`." #: ../Doc/c-api/long.rst:118 ../Doc/c-api/long.rst:136 -#, fuzzy msgid "" "Return a C :c:type:`long` representation of *obj*. If *obj* is not an " "instance of :c:type:`PyLongObject`, first call its :meth:`__index__` method " "(if present) to convert it to a :c:type:`PyLongObject`." msgstr "" -"Retorna una representación de C :c:type:`long` de *obj*. Si *obj* no es una " -"instancia de :c:type:`PyLongObject`, primero llama a su método :meth:" -"`__index__` o :meth:`__int__` (si está presente) para convertirlo en un :c:" -"type:`PyLongObject`." +"Devuelve una representación C :c:type:`long` de *obj*. Si *obj* no es una " +"instancia de :c:type:`PyLongObject`, primero llame a su método :meth:" +"`__index__` (si está presente) para convertirlo en un :c:type:`PyLongObject`." #: ../Doc/c-api/long.rst:122 msgid "" @@ -229,16 +227,14 @@ msgstr "" "``-1`` como de costumbre." #: ../Doc/c-api/long.rst:159 ../Doc/c-api/long.rst:177 -#, fuzzy msgid "" "Return a C :c:type:`long long` representation of *obj*. If *obj* is not an " "instance of :c:type:`PyLongObject`, first call its :meth:`__index__` method " "(if present) to convert it to a :c:type:`PyLongObject`." msgstr "" -"Retorna una representación de C :c:type:`long long` de *obj*. Si *obj* no es " -"una instancia de :c:type:`PyLongObject`, primero llama a su método :meth:" -"`__index__` o :meth:`__int__` (si está presente) para convertirlo en un :c:" -"type:`PyLongObject`." +"Devuelve una representación C :c:type:`long long` de *obj*. Si *obj* no es " +"una instancia de :c:type:`PyLongObject`, primero llame a su método :meth:" +"`__index__` (si está presente) para convertirlo en un :c:type:`PyLongObject`." #: ../Doc/c-api/long.rst:163 msgid "" @@ -357,16 +353,14 @@ msgstr "" "`TypeError`." #: ../Doc/c-api/long.rst:264 -#, fuzzy msgid "" "Return a C :c:type:`unsigned long` representation of *obj*. If *obj* is not " "an instance of :c:type:`PyLongObject`, first call its :meth:`__index__` " "method (if present) to convert it to a :c:type:`PyLongObject`." msgstr "" -"Retorna una representación de C :c:type:`unsigned long` de *obj*. Si *obj* " -"no es una instancia de :c:type:`PyLongObject`, primero llama a su método :" -"meth:`__index__` o :meth:`__int__` (si está presente) para convertirlo en " -"un :c:type:`PyLongObject`." +"Devuelve una representación C :c:type:`unsigned long` de *obj*. Si *obj* no " +"es una instancia de :c:type:`PyLongObject`, primero llame a su método :meth:" +"`__index__` (si está presente) para convertirlo en un :c:type:`PyLongObject`." #: ../Doc/c-api/long.rst:268 msgid "" @@ -385,16 +379,15 @@ msgstr "" "para desambiguar." #: ../Doc/c-api/long.rst:283 -#, fuzzy msgid "" "Return a C :c:type:`unsigned long long` representation of *obj*. If *obj* " "is not an instance of :c:type:`PyLongObject`, first call its :meth:" "`__index__` method (if present) to convert it to a :c:type:`PyLongObject`." msgstr "" -"Retorna una representación de C :c:type:`unsigned long long` de *obj*. Si " -"*obj* no es una instancia de :c:type:`PyLongObject`, primero llama a su " -"método :meth:`__index__` o :meth:`__int__` (si está presente) para " -"convertirlo en un :c:type:`PyLongObject`." +"Devuelve una representación C :c:type:`unsigned long long` de *obj*. Si " +"*obj* no es una instancia de :c:type:`PyLongObject`, primero llame a su " +"método :meth:`__index__` (si está presente) para convertirlo en un :c:type:" +"`PyLongObject`." #: ../Doc/c-api/long.rst:288 msgid "" From 9b720c2cc5fe4b77233357b4d4cee2b581ee4261 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=C3=A1n=20Maureira-Fredes?= Date: Wed, 15 Dec 2021 09:43:40 +0100 Subject: [PATCH 2/3] Apply suggestions from code review Co-authored-by: rtobar --- c-api/long.po | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/c-api/long.po b/c-api/long.po index 9174f9acab..54edda4b65 100644 --- a/c-api/long.po +++ b/c-api/long.po @@ -181,8 +181,8 @@ msgid "" "instance of :c:type:`PyLongObject`, first call its :meth:`__index__` method " "(if present) to convert it to a :c:type:`PyLongObject`." msgstr "" -"Devuelve una representación C :c:type:`long` de *obj*. Si *obj* no es una " -"instancia de :c:type:`PyLongObject`, primero llame a su método :meth:" +"Retorna una representación C :c:type:`long` de *obj*. Si *obj* no es una " +"instancia de :c:type:`PyLongObject`, primero llama a su método :meth:" "`__index__` (si está presente) para convertirlo en un :c:type:`PyLongObject`." #: ../Doc/c-api/long.rst:122 @@ -232,7 +232,7 @@ msgid "" "instance of :c:type:`PyLongObject`, first call its :meth:`__index__` method " "(if present) to convert it to a :c:type:`PyLongObject`." msgstr "" -"Devuelve una representación C :c:type:`long long` de *obj*. Si *obj* no es " +"Retorna una representación C :c:type:`long long` de *obj*. Si *obj* no es " "una instancia de :c:type:`PyLongObject`, primero llame a su método :meth:" "`__index__` (si está presente) para convertirlo en un :c:type:`PyLongObject`." @@ -358,7 +358,7 @@ msgid "" "an instance of :c:type:`PyLongObject`, first call its :meth:`__index__` " "method (if present) to convert it to a :c:type:`PyLongObject`." msgstr "" -"Devuelve una representación C :c:type:`unsigned long` de *obj*. Si *obj* no " +"Retorna una representación C :c:type:`unsigned long` de *obj*. Si *obj* no " "es una instancia de :c:type:`PyLongObject`, primero llame a su método :meth:" "`__index__` (si está presente) para convertirlo en un :c:type:`PyLongObject`." @@ -384,7 +384,7 @@ msgid "" "is not an instance of :c:type:`PyLongObject`, first call its :meth:" "`__index__` method (if present) to convert it to a :c:type:`PyLongObject`." msgstr "" -"Devuelve una representación C :c:type:`unsigned long long` de *obj*. Si " +"Retorna una representación C :c:type:`unsigned long long` de *obj*. Si " "*obj* no es una instancia de :c:type:`PyLongObject`, primero llame a su " "método :meth:`__index__` (si está presente) para convertirlo en un :c:type:" "`PyLongObject`." From d35c3a722dfc5009c0d18dcfdf0d5dd8d0f9c887 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=C3=A1n=20Maureira-Fredes?= Date: Wed, 15 Dec 2021 09:49:00 +0100 Subject: [PATCH 3/3] powrap --- c-api/long.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/c-api/long.po b/c-api/long.po index 54edda4b65..2fe871435e 100644 --- a/c-api/long.po +++ b/c-api/long.po @@ -384,9 +384,9 @@ msgid "" "is not an instance of :c:type:`PyLongObject`, first call its :meth:" "`__index__` method (if present) to convert it to a :c:type:`PyLongObject`." msgstr "" -"Retorna una representación C :c:type:`unsigned long long` de *obj*. Si " -"*obj* no es una instancia de :c:type:`PyLongObject`, primero llame a su " -"método :meth:`__index__` (si está presente) para convertirlo en un :c:type:" +"Retorna una representación C :c:type:`unsigned long long` de *obj*. Si *obj* " +"no es una instancia de :c:type:`PyLongObject`, primero llame a su método :" +"meth:`__index__` (si está presente) para convertirlo en un :c:type:" "`PyLongObject`." #: ../Doc/c-api/long.rst:288