Skip to content

Translate whatsnew/2.2 #3310

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 3 commits into from
Nov 25, 2024
Merged
Changes from 1 commit
Commits
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
Adapt some snippets
  • Loading branch information
cmaureir committed Nov 23, 2024
commit ebecd5f7c7974d3f883b421d9e55418d7132b6dc
44 changes: 22 additions & 22 deletions whatsnew/2.2.po
Original file line number Diff line number Diff line change
Expand Up @@ -1158,22 +1158,22 @@ msgid ""
"Dec 12\n"
"Oct 10"
msgstr ""
">>> m = {'Ene': 1, 'Feb': 2, 'Mar': 3, 'Abr': 4, 'May': 5, 'Jun': 6,\n"
"... 'Jul': 7, 'Ago': 8, 'Sep': ​​9, 'Oct': 10, 'Nov': 11, 'Dic': 12}\n"
">>> para clave en m: print clave, m[clave]\n"
">>> m = {'Jan': 1, 'Feb': 2, 'Mar': 3, 'Apr': 4, 'May': 5, 'Jun': 6,\n"
"... 'Jul': 7, 'Aug': 8, 'Sep': 9, 'Oct': 10, 'Nov': 11, 'Dec': 12}\n"
">>> for key in m: print key, m[key]\n"
"...\n"
"3 Mar\n"
"2 Feb\n"
"8 Ago\n"
"9 Sep\n"
"5 May\n"
"6 Jun\n"
"7 Jul\n"
"1 Ene\n"
"4 Abr\n"
"11 Nov\n"
"12 Dic\n"
"10 Oct"
"Mar 3\n"
"Feb 2\n"
"Aug 8\n"
"Sep 9\n"
"May 5\n"
"Jun 6\n"
"Jul 7\n"
"Jan 1\n"
"Apr 4\n"
"Nov 11\n"
"Dec 12\n"
"Oct 10"

#: ../Doc/whatsnew/2.2.rst:513
msgid ""
Expand Down Expand Up @@ -1206,9 +1206,9 @@ msgid ""
" # do something for each line\n"
" ..."
msgstr ""
"para línea en archivo:\n"
"# hacer algo para cada línea\n"
"..."
"for line in file:\n"
" # do something for each line\n"
" ..."

#: ../Doc/whatsnew/2.2.rst:527
msgid ""
Expand Down Expand Up @@ -1280,8 +1280,8 @@ msgid ""
" yield i"
msgstr ""
"def generate_ints(N):\n"
"para i en rango(N):\n"
"rendimiento i"
" for i in range(N):\n"
" yield i"

#: ../Doc/whatsnew/2.2.rst:563
msgid ""
Expand Down Expand Up @@ -1471,8 +1471,8 @@ msgid ""
"sentence := \"Store it in the neighboring harbor\"\n"
"if (i := find(\"or\", sentence)) > 5 then write(i)"
msgstr ""
"oración := \"Guardarlo en el puerto vecino\"\n"
"si (i := find(\"o\", oración)) > 5 entonces write(i)"
"sentence := \"Store it in the neighboring harbor\"\n"
"if (i := find(\"or\", sentence)) > 5 then write(i)"

#: ../Doc/whatsnew/2.2.rst:645
msgid ""
Expand Down