Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Script rst2po.py to migrate tutorial.python.org.ar to this new version #27

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 30 commits into from
May 2, 2020
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
3be6970
Tutorial PyAr submodule
humitos May 2, 2020
f71c1fd
rst2po.py
humitos May 2, 2020
3951c61
Skel for the rst2po.py script
humitos May 2, 2020
3cea73b
Merge branch '3.7' into rst2po
humitos May 2, 2020
8cbe9ed
About to start the (english, spanish) mapping list
humitos May 2, 2020
a274828
Merge branch '3.7' of github.com:raulcd/python-docs-es into rst2po
humitos May 2, 2020
5e07374
Merge branch 'rst2po' of github.com:raulcd/python-docs-es into rst2po
humitos May 2, 2020
25b5aa7
Initial working version of rst2po.py
humitos May 2, 2020
9ff4f8c
Only save translated files
humitos May 2, 2020
cfb3344
Use tutorialpyar with fixes
humitos May 2, 2020
4a30a79
First pass reviewed
humitos May 2, 2020
7f679cf
ignore ! when comparing
gilgamezh May 2, 2020
5144e29
update translation
gilgamezh May 2, 2020
d7569d2
More translations
humitos May 2, 2020
ae92662
Merge branch 'rst2po' of github.com:raulcd/python-docs-es into rst2po
humitos May 2, 2020
72b4d3d
More inputoutput
humitos May 2, 2020
cf3a545
update datastructures.po translation (migration)
gilgamezh May 2, 2020
08e56cc
Update tutorialpyar submodule
humitos May 2, 2020
2b39104
update datastructures.po translation (migration)
gilgamezh May 2, 2020
7e9682c
update datastructures.po translation (migration)
gilgamezh May 2, 2020
5ba9b04
Merge branch 'rst2po' of github.com:raulcd/python-docs-es into rst2po
gilgamezh May 2, 2020
bfc7aec
Classes
humitos May 2, 2020
2a7a07f
Update tutorialpyar with fixes
humitos May 2, 2020
81a7350
Merge branch 'rst2po' of github.com:raulcd/python-docs-es into rst2po
humitos May 2, 2020
76368ac
Translate errors.po
humitos May 2, 2020
0dc54d5
modules.po
humitos May 2, 2020
a4d592e
stdlib.po translated from pyar tutorial
humitos May 2, 2020
3b5c9d0
update stdlib2 translation (migration)
gilgamezh May 2, 2020
edd1505
update stdlib2 translation (migration)
gilgamezh May 2, 2020
322f1a7
update submodule
gilgamezh May 2, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update datastructures.po translation (migration)
  • Loading branch information
gilgamezh committed May 2, 2020
commit cf3a545a14cb1b73655b5392935faef35f7f7153
49 changes: 43 additions & 6 deletions tutorial/datastructures.po
Original file line number Diff line number Diff line change
Expand Up @@ -565,75 +565,96 @@ msgstr ""

#: ../Doc/tutorial/datastructures.rst:517
msgid "Here is a small example using a dictionary::"
msgstr ""
msgstr "Un pequeño ejemplo de uso de un diccionario::"

#: ../Doc/tutorial/datastructures.rst:538
msgid ""
"The :func:`dict` constructor builds dictionaries directly from sequences of "
"key-value pairs::"
msgstr ""
"El constructor :func:`dict` crea un diccionario directamente desde "
"secuencias de pares clave-valor::"

#: ../Doc/tutorial/datastructures.rst:544
msgid ""
"In addition, dict comprehensions can be used to create dictionaries from "
"arbitrary key and value expressions::"
msgstr ""
"Además, las comprensiones de diccionarios se pueden usar para crear "
"diccionarios desde expresiones arbitrarias de clave y valor::"

#: ../Doc/tutorial/datastructures.rst:550
msgid ""
"When the keys are simple strings, it is sometimes easier to specify pairs "
"using keyword arguments::"
msgstr ""
"Cuando las claves son cadenas simples, a veces resulta más fácil especificar"
" los pares usando argumentos por palabra clave::"

#: ../Doc/tutorial/datastructures.rst:560
msgid "Looping Techniques"
msgstr ""
msgstr "Técnicas de iteración"

#: ../Doc/tutorial/datastructures.rst:562
msgid ""
"When looping through dictionaries, the key and corresponding value can be "
"retrieved at the same time using the :meth:`items` method. ::"
msgstr ""
"Cuando iteramos sobre diccionarios, se pueden obtener al mismo tiempo la "
"clave y su valor correspondiente usando el método :meth:`items`. ::"

#: ../Doc/tutorial/datastructures.rst:572
msgid ""
"When looping through a sequence, the position index and corresponding value "
"can be retrieved at the same time using the :func:`enumerate` function. ::"
msgstr ""
"Cuando se itera sobre una secuencia, se puede obtener el índice de posición "
"junto a su valor correspondiente usando la función :func:`enumerate`. ::"

#: ../Doc/tutorial/datastructures.rst:582
msgid ""
"To loop over two or more sequences at the same time, the entries can be "
"paired with the :func:`zip` function. ::"
msgstr ""
"Para iterar sobre dos o más secuencias al mismo tiempo, los valores pueden "
"emparejarse con la función :func:`zip`. ::"

#: ../Doc/tutorial/datastructures.rst:594
msgid ""
"To loop over a sequence in reverse, first specify the sequence in a forward "
"direction and then call the :func:`reversed` function. ::"
msgstr ""
"Para iterar sobre una secuencia en orden inverso, se especifica primero la "
"secuencia al derecho y luego se llama a la función :func:`reversed`. ::"

#: ../Doc/tutorial/datastructures.rst:606
msgid ""
"To loop over a sequence in sorted order, use the :func:`sorted` function "
"which returns a new sorted list while leaving the source unaltered. ::"
msgstr ""
"Para iterar sobre una secuencia ordenada, se utiliza la función "
":func:`sorted` la cual devuelve una nueva lista ordenada dejando a la "
"original intacta. ::"

#: ../Doc/tutorial/datastructures.rst:618
msgid ""
"It is sometimes tempting to change a list while you are looping over it; "
"however, it is often simpler and safer to create a new list instead. ::"
msgstr ""
"A veces uno intenta cambiar una lista mientras la está iterando; sin "
"embargo, a menudo es más simple y seguro crear una nueva lista::"

#: ../Doc/tutorial/datastructures.rst:635
msgid "More on Conditions"
msgstr ""
msgstr "Más acerca de condiciones"

#: ../Doc/tutorial/datastructures.rst:637
msgid ""
"The conditions used in ``while`` and ``if`` statements can contain any "
"operators, not just comparisons."
msgstr ""
"Las condiciones usadas en las instrucciones ``while`` e ``if`` pueden "
"contener cualquier operador, no sólo comparaciones."

#: ../Doc/tutorial/datastructures.rst:640
msgid ""
Expand All @@ -643,12 +664,20 @@ msgid ""
"mutable objects like lists. All comparison operators have the same "
"priority, which is lower than that of all numerical operators."
msgstr ""
"Los operadores de comparación ``in`` y ``not in`` verifican si un valor está"
" (o no está) en una secuencia. Los operadores ``is`` e ``is not`` comparan "
"si dos objetos son realmente el mismo objeto; esto es significativo sólo "
"para objetos mutables como las listas. Todos los operadores de comparación "
"tienen la misma prioridad, la cual es menor que la de todos los operadores "
"numéricos."

#: ../Doc/tutorial/datastructures.rst:646
msgid ""
"Comparisons can be chained. For example, ``a < b == c`` tests whether ``a`` "
"is less than ``b`` and moreover ``b`` equals ``c``."
msgstr ""
"Las comparaciones pueden encadenarse. Por ejemplo, ``a < b == c`` verifica "
"si ``a`` es menor que ``b`` y además si ``b`` es igual a ``c``."

#: ../Doc/tutorial/datastructures.rst:649
msgid ""
Expand Down Expand Up @@ -720,9 +749,17 @@ msgid ""
"sequences are considered equal. If one sequence is an initial sub-sequence "
"of the other, the shorter sequence is the smaller (lesser) one. "
"Lexicographical ordering for strings uses the Unicode code point number to "
"order individual characters. Some examples of comparisons between sequences "
"of the same type::"
msgstr ""
"order individual characters. Some examples of comparisons between sequences"
" of the same type::"
msgstr ""
"Las secuencias pueden compararse con otros objetos del mismo tipo de "
"secuencia. La comparación usa orden *lexicográfico*: primero se comparan los"
" dos primeros ítems, si son diferentes esto ya determina el resultado de la "
"comparación; si son iguales, se comparan los siguientes dos ítems, y así "
"sucesivamente hasta llegar al final de alguna de las secuencias. Si dos "
"ítems a comparar son ambos secuencias del mismo tipo, la comparación "
"lexicográfica es recursiva. Si todos los ítems de dos secuencias resultan "
"iguales, se considera que las secuencias son iguales."

#: ../Doc/tutorial/datastructures.rst:702
msgid ""
Expand Down